The Kuru AMM Vault contract is for managing the AMM Vault and is tightly integrated with the OrderBook contract. It allows users to deposit liquidity in exchange for shares, withdraw liquidity by paying in shares and manages vault prices and sizes in the OrderBook contract.
address token1
- The base token addressuint256 token1Decimals
- The base token decimalsaddress token2
- The quote token addressuint256 token2Decimals
- The quote token decimalsIMarginAccount marginAccount
- The margin account interfaceIOrderBook market
- The market with which the vault is integratedMarketParams marketParams
- The market params of the integrated marketThe Kuru AMM Vault is deployed when the OrderBook contract is deployed itself and is initialized after the OrderBook initialization.