ConvexUSDCCrvUSDStrategy
Overview
Constants
address public constant crvUsd = CRV_USD_POLYGON; // CRVUSD token address
address public constant wpol = WPOL_POLYGON; // Wrapped MATIC address
address public constant crv = CRV_POLYGON; // CRV token address
address public constant usdc = USDC_POLYGON; // USDC token address
uint256 public constant CRVUSD_USDC_CONVEX_POOL_ID = CRVUSD_USDC_CONVEX_POOL_ID_POLYGON; // Convex pool ID
address public constant pool = UNISWAP_V3_USDC_USDCE_POOL_POLYGON; // Uniswap V3 pool
address public constant triCryptoPool = TRI_CRYPTO_POOL_POLYGON; // CrvTricrypto poolState Variables
IRouter public router; // Router for swaps
ICurveLpPool public curveLpPool; // Main Curve pool
IConvexBoosterPolygon public constant convexBooster = IConvexBoosterPolygon(CONVEX_BOOSTER_POLYGON); // Convex booster
ICurveAtriCryptoZapper public constant zapper = ICurveAtriCryptoZapper(CURVE_CRV_ATRICRYPTO_ZAPPER_POLYGON); // Curve zapperFunctions
Initialization Functions
constructor
initialize
Configuration Functions
setRouter
Core Functions
_invest
_divest
_unwindRewards
View Functions
previewLiquidate
Internal View Functions
_lpValue
_lpForAmount
_lpPrice
_estimateAmountOut
_crv
_crvUsdBalance
_simulateHarvest
Last updated