YearnAjnaDAIStakingStrategy
Overview
Constants
address public constant ajna = AJNA_MAINNET; // AJNA token address
address public constant weth = WETH_MAINNET; // WETH token address
address public constant dai = DAI_MAINNET; // DAI token address
IRouter public constant router = IRouter(UNISWAP_V3_ROUTER_MAINNET); // Uniswap V3 router
ICurveTriPool public constant triPool = ICurveTriPool(CURVE_3POOL_POOL_MAINNET); // Curve 3pool
IStakingRewardsMulti public constant yearnStakingRewards = // Yearn staking rewards
IStakingRewardsMulti(0x54C6b2b293297e65b1d163C3E8dbc45338bfE443);State Variables
uint256 public minSwapAjna; // Minimum amount of AJNA to swapFunctions
Constructor
Initialization Functions
initialize
Core Functions
liquidateExact
maxLiquidateExact
Internal Core Functions
_beforePrepareReturn
_invest
_divest
_liquidatePosition
_liquidateAllPositions
_unwindRewards
Internal View Functions
_ajnaBalance
_shareBalance
_shareValue
_sharesForAmount
Last updated