The latest block we've processed for this chain is 20897482, which is 6 minutes old. We're running behind the tip but working to resolve the issue.

YearnV2Strategy

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x4ab7da4e at 18080516
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 44 additional slots
-
variable spans 48 additional slots

No balances found for "YearnV2Strategy"

No transactions found for "YearnV2Strategy"


Functions
Getter at block 20897461
assetGroupId(view returns (uint256)
0
assetRatio(pure returns (uint256[])
[1]
 
assets(view returns (address[])
decimals(view returns (uint8)
18
 
getUnderlyingAssetAmounts(view returns (uint256[] amounts)
name(view returns (string)
oneShare(view returns (uint96)
0
strategyName(view returns (string)
symbol(view returns (string)
totalSupply(view returns (uint256)
0
yTokenVault(view returns (address)
0x0000000000000000000000000000000000000000
Read-only
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
State-modifying
approve(address spenderuint256 amountreturns (bool)
beforeDepositCheck(uint256[] amountsuint256[] slippages
beforeRedeemalCheck(uint256 sstsuint256[] slippages
claimShares(address smartVaultuint256 amount
decreaseAllowance(address spenderuint256 subtractedValuereturns (bool)
depositFast(address[] assetGroupuint256[] exchangeRatesaddress priceFeedManageruint256[] slippagesstruct SwapInfo[] swapInforeturns (uint256)
doHardWork(struct StrategyDhwParameterBag dhwParamsreturns (struct DhwInfo dhwInfo)
emergencyWithdraw(uint256[] slippagesaddress recipient
getProtocolRewards(returns (address[]uint256[])
getUsdWorth(uint256[] exchangeRatesaddress priceFeedManagerreturns (uint256)
increaseAllowance(address spenderuint256 addedValuereturns (bool)
initialize(string name_uint256 assetGroupId_address yTokenVault_
redeemFast(uint256 sharesaddress masterWalletaddress[] assetGroupuint256[] slippagesreturns (uint256[])
redeemShares(uint256 sharesaddress redeemeraddress[] assetGroupuint256[] slippagesreturns (uint256[])
releaseShares(address smartVaultuint256 amount
transfer(address touint256 amountreturns (bool)
transferFrom(address fromaddress touint256 amountreturns (bool)
Events
Approval(address indexed owneraddress indexed spenderuint256 value
BeforeDepositCheckSlippages(uint256[] amounts
BeforeRedeemalCheckSlippages(uint256 ssts
Deposited(uint256 mintedSharesuint256 usdWorthDepositeduint256[] assetsBeforeSwapuint256[] assetsDeposited
Initialized(uint8 version
PlatformFeesCollected(address indexed strategyuint256 sharesMinted
Slippages(bool isDeposituint256 slippagebytes data
Transfer(address indexed fromaddress indexed touint256 value
Withdrawn(uint256 withdrawnSharesuint256 usdWorthWithdrawnuint256[] withdrawnAssets
Constructor
constructor(address assetGroupRegistry_address accessControl_
Fallback and receive

This contract contains no fallback and receive objects.

Errors
ConfigurationAddressZero(
InvalidAssetGroup(uint256 assetGroupId
InvalidAssetGroupIdInitialization(
InvalidConfiguration(
MissingRole(bytes32 roleaddress account
NotFastRedeemer(address user
StrategyWorthIsZero(
YearnV2BeforeDepositCheckFailed(
YearnV2BeforeRedeemalCheckFailed(
YearnV2DepositToProtocolSlippagesFailed(
YearnV2NotRedeemedEnough(
YearnV2RedeemSlippagesFailed(