LiquidityPool.sol
Users can supply WBTC, WETH, or USDC to the liquidity pools to earn interest from borrowers (traders). LPs earn interest rate paid by users of margin account.
There are three liquidity pools to which liquidity providers can supply tokens:
USDC Pool: earns USDC, issuing debt in USDC
WBTC Pool: earns WBTC, issuing debt in WBTC
WETH Pool: earns WETH, issuing debt in WETH
Taking into account aspects of risk management for each liquidity pool, a maximum pool capacity is applied that blocks the ability to supply tokens when the current pool balance is equal to or greater than the maximum pool capacity. This prevents the system from growing to a size that cannot be properly managed and protects LPs from a downgrade in the interest rate when more capital is added to the pool.
How to provide liquidity
Will be added soon.
How to withdraw liquidity
Will be added soon.
How to get the current amount of share tokens
Will be added soon.
Last updated