We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
This contract allows users to perform a Zap operation by swapping collateral for zai tokens, adding liquidity to curve LP, and staking the LP tokens.
function zapWithZaiIntoLP(uint256 zaiAmount, uint256 collateralAmount, uint256 minLpAmount) external
Zaps ZAI and collateral into LP tokens
This function is used when the user already has ZAI tokens.
function _addLiquidity(uint256 zaiAmt, uint256 collatAmt, uint256 minLp) internal virtual