SeeSwap Pools
SeeSwap Pools are smart contracts that implement the SeeSwap Protocol and each SeeSwap pool is a market place for a pair of HRC20 tokens.
Anyone can become a liquidity provider for a pool by depositing an equivalent value of each underlying token in return for pool_tokens
. These tokens track pro-rata LP shares of the total reserves and can be redeemed for the underlying assets at any time.
What can I do with a SeeSwap Pool?
There are three categories of things you can do with pools.
Trade - using the swap functions
Provide liquidity - using the join/exit pool functions
Manage the pool - if you are the controller (e.g., change its parameters)
Terminology
Core Pool: A
SPool
contract object - this is the "base" pool that actually holds the HRC20 tokensBalance: The total token balance of a pool. Does not refer to any user balance.
Denorm: Denormalized weight. Weights on a
SPool
, though often displayed as percentages, are configured and stored in their denormalized form. For instance, in a two-token pool with denormalized weights of A=38 and B=2, token A's percentage weight would be 38/(38+2), or 95%. Conversely, token B's proportion would be 2/(38+2), or 5%.Controller: The pool's "owner"; an address that can call
CONTROL
capabilities.Factory: The official
SPool
factory. Pools deployed from this factory appear on SeeSwap user interfaces (e.g., the Exchange and Pool Manager).
Last updated