⭐Maker
Collection of contracts for each maker (liquidity framework) type. See the subpage for details.
Key maker concepts
minMarginRatio
minMarginRatio
This is a minimum margin ratio set by a maker (LPs / pool participant). If this ratio is reached, the maker will stop providing more liquidity. In some Liquidity Strategies it is possible to LP with leverage (e.g. oracle pools), and in some Strategies leverage is not desirable (e.g. spot-hedge pools), and minMarginRatio
controls the amount of leverage the maker allows.
fillOrder
fillOrder
Maker contracts provide a public fillOrder function to allow users to fill orders using pool liquidity.
Callback
Some maker types, such as spot hedge, may function best when funds can be removed from the vault for user in hedging or other functions. This ability is named callback
, and is initially restricted to whitelisted LPs. This function will either be made permissionless or replaced by a more secure mechanism in the future.
Matching priority
Currently there is no prioritization. Orders will be filled using the maker with the best price including fees.
Future
More maker types will be added to the liquidity framework as they are developed. Maker types can be developed by the Foundation team and by 3rd parties. The scope for maker types is very broad and can include JIT liquidity, off-chain orderbooks, and much more.
Please Contact us if you are interested in developing novel liquidity framework strategies!
Last updated