Libraries
Functionalities used by other contracts
DiverLiquidityAmounts
getLiquidityFromCs
Computes the amount of liquidity to be received by the pool, for a given amount of collateral and price range
Params:
Returns:
getLiquidityFromSToken
Computes the amount of liquidity to be received by the pool, for a given amount of Spear or Shield tokens and price range
Params:
Returns:
CallbackValidation
Provides validation for callbacks from battle
verifyCallback
Verifies the arena address of the battle
Params:
Last updated