This documentation covers DMM-specific functionality. For ERC-20 functionality, see Pair (ERC-20).
See Pool Addresses.
Emitted each time liquidity tokens are created via mint.
Emitted each time liquidity tokens are destroyed via burn.
Emitted each time a swap occurs via swap.
1000 for all pairs.
Returns the factory address.
Returns the address of the pair token with the lower sort order.
Returns the address of the pair token with the higher sort order.
Returns the reserves of token0 and token1 used to price trades and distribute liquidity. Also returns the
2**32) of the last block during which an interaction occured for the pair.
Returns the actual and virtual balances of token0 and token1 used to price trades and distirbute liquidity. Also returns the dynamic trade fee being charged to the trader.
Returns the product of the reserves as of the most recent liquidity event. See Protocol Fee.
Creates pool tokens, which are sent to the
Destroys pool tokens.
Gets actual token balances to match the reserve accounted balances
Syncs virtual and actual reserve accounted balances with actual token balances.
- Emits Sync.