Core
The core of Savmswap comprises a unique factory and numerous pairs, with the factory responsible for their creation and indexing. These contracts are intentionally minimalistic, adhering to a philosophy of functional elegance and simplicity. This design principle ensures ease of understanding, reduced susceptibility to bugs, and greater operational efficiency. A major advantage of this approach is the ability to assert many of the system's desired properties directly in the code, minimizing the scope for errors. However, one trade-off is the user-unfriendliness of core contracts. Direct interaction with these contracts is generally not advised for most users; instead, it is preferable to utilize a peripheral contract.
Last updated