Skip to main content

IPrimitiveLiquidityCallback.sol

Read code on GitHub

Methods

allocateCallback

Triggered when providing liquidity to an Engine

Solidity
function allocateCallback(uint256 delRisky, uint256 delStable, bytes data) external nonpayable

Parameters

NameTypeDescription
delRiskyuint256Amount of risky tokens required to provide to risky reserve
delStableuint256Amount of stable tokens required to provide to stable reserve
databytesCalldata passed on allocate function call