There was an error while loading. Please reload this page.
This contract allows users to directly stake into the safety pool
contract IERC4626 safetyPool
The safety pool contract
contract IERC20 zai
The ZAI stablecoin
address odos
error TokenTransferFailed()
error ZaiTransferFailed()
constructor(address _safetyPool, address _zai, address _odos) public
Initializes the contract with the required contracts
function zapIntoSafetyPool(contract IPegStabilityModule psm, uint256 amountIn) external
Allows a user to zap into the safety pool
function zapIntoSafetyPoolWithOdos(contract IPegStabilityModule psm, contract IERC20 swapAsset, uint256 swapAmount, uint256 minShares, bytes odosCallData) external payable
function sweep(contract IERC20 token) public