BeefyUSDCeDAIStrategy
Overview
Constants
address public constant usdce = USDCE_POLYGON; // USDCe token address
address public constant dai = DAI_POLYGON; // DAI token address
uint256 constant _1_USDCE = 1e6; // One USDCe unit
uint256 constant _1_DAI = 1 ether; // One DAI unit
ICurveAtriCryptoZapper constant zapper = // Curve zapper for stable swaps
ICurveAtriCryptoZapper(CURVE_AAVE_ATRICRYPTO_ZAPPER_POLYGON);State Variables
IUniProxy public uniProxy; // Gamma's deposit proxy
IHypervisor public hypervisor; // Gamma's hypervisor contractFunctions
Initialization Functions
initialize
Core Functions
calculateUSDCeToSwap
_invest
_divest
Internal View Functions
_shareValue
_sharesForAmount
_convertUsdceToDai
Gamma Helper Functions
Last updated