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.
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)
- Core Pool: A
SPoolcontract object - this is the "base" pool that actually holds the HRC20 tokens
- Balance: 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
- Factory: The official
SPoolfactory. Pools deployed from this factory appear on SeeSwap user interfaces (e.g., the Exchange and Pool Manager).