QuipuSwap stable swap DEX
Last updated
Last updated
Stable DEX, as a part of the growing QuipuSwap ecosystem, provides a platform for price-efficient and low-risk stablecoin or equal-price token trading. We intend to create a solution for the Tezos ecosystem akin to that Curve and Ellipsis have created for Ethereum and BSC, respectively.
Is the all-in-one contract with a contract admin
that allowed to add new DEX pools.
Each pool stored in storage by poolId
is an exchange between 2-4 tokens and has a corresponding LP token of FA2 standard with token ID = poold
. Main DEX methods of each pool shown at
Also, the standalone includes Developer module inside it (Admin =/= Developer).
Allows use DaaS way to deploy new DEX pools for QUIPU fee and use own Stable Exchange with own params. For security reasons, each DEX pool is deployed as a separate contract.
🟠Initialize new DEX flowThese deployed pools almost have the same logic as the standalone variant with a little difference - only one pool per contract. Each contract knows about factory, where located Developer module.
Developer
, formally is the administrator of Factory. This address performs the initial setup of lambda methods
and some additional setters
🟢Factory paramsIn short, the difference is that
Standalone pool | Factory pool |
---|---|
each pool has own | each pool LP token is an FA2 typed with token Id |
only administrator allowed to add new pools | everyone could start a new pool when paid gas fees and some deploy fee in QUIPU tokens. |
contract owns developer params | pool calls factory views for developer params |
Developer represents person or group that create and improve code of Standalone or Factory contract. This address allows to claim fee rewards and manage some values. More info about main developer setter/storage module is shown here
🛠️Developer moduleAdditional values stored inside the implementation of specific contract - Factory or Standalone.