Core protocol functions
Core functions to issue and settle derivative assets using DIVA Protocol
Last updated
function addLiquidity(
uint256 _poolId, // Id of the pool that a user wants to add collateral to
uint256 _collateralAmountIncr // Incremental collateral amount to be added to the pool expressed as an integer with collateral token decimals
)
external;function removeLiquidity(
uint256 _poolId, // Id of the pool that a user wants to remove collateral from
uint256 _amount // Number of position tokens to return (expressed as an integer with position token decimals)
)
external;