YayAgETHTokenUpgradeable
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
7
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
Balances ($0.00)
No balances found for "YayAgETHTokenUpgradeable"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "YayAgETHTokenUpgradeable"
ABI
ABI objects
Getter at block 21214781 estimatedTotalValueLockedInETH() view returns (uint256) getClaimableEpoch() view returns (uint256 year, uint256 month, uint256 day, uint256 claimableEpoch) getWithdrawalFee() view returns (uint256) lagDuration() view returns (uint256) minAmountToDeposit() view returns (uint256)
KELP_DAO_ETH_ASSET_ID() view returns (address)
0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
agETHToken() view returns (address)
0x0000000000000000000000000000000000000000
authority() view returns (address)
0x0000000000000000000000000000000000000000
decimals() view returns (uint8)
18
isConsumingScheduledOp() view returns (bytes4)
0x00000000
kelpDepositPool() view returns (address)
0x0000000000000000000000000000000000000000
kelpReferralCode() view returns (string)
kelpRsETHAdapter() view returns (address)
0x0000000000000000000000000000000000000000
maxStakeLimit() view returns (uint256)
0
name() view returns (string)
rsETHToken() view returns (address)
0x0000000000000000000000000000000000000000
symbol() view returns (string)
totalSupply() view returns (uint256)
0
Read-only
allowance(address owner, address spender) view returns (uint256)
balanceOf(address account) view returns (uint256)
getClaimableAmountByReceiver(uint256 year, uint256 month, uint256 day, address receiverAddr) view returns (uint256)
getExpectedAgETHFromAsset(address asset, uint256 amount) view returns (uint256)
getExpectedAgETHfromETH(uint256 amount) view returns (uint256)
getExpectedETHAmountfromAgETH(uint256 amount) view returns (uint256)
getExpectedRsETHAmountfromAgETH(uint256 amount) view returns (uint256)
maxAmountToDeposit(address receiver) view returns (uint256)
totalStakedAssets(address, address) view returns (uint256)
totalStakedETH(address) view returns (uint256)
totalUnStakedRsETH(address) view returns (uint256)
State-modifying
Events approve(address spender, uint256 value) returns (bool)
customClaim(uint256 year, uint256 month, uint256 day)
emergencyWithdrawToken(address beneficiary, address token)
initialize(address initialAuthority, string _name, string _symbol, string _kelpReferralCode, address _kelpDepositPool, address _agETHToken, address _kelpRSETHAdapter, address _rsETHToken, uint256 _maxStakeLimit)
redeem(uint256 amount)
setAuthority(address newAuthority)
setKelpRSETHAdapterAddress(address _rsEthAdapterAddress)
setKelpReferralCode(string _referralCode)
setMaxStakeLimit(uint256 newLimit)
stake(string referralCode) payable
stakeAsset(address asset, uint256 amount, string referralCode)
transfer(address to, uint256 value) returns (bool)
transferFrom(address from, address to, uint256 value) returns (bool)
unstake(uint256 amount)
Approval(address indexed owner, address indexed spender, uint256 value)
AuthorityUpdated(address authority)
Claimed(address indexed user, uint256 agETHAmount, uint256 claimableAmount)
EmergencyWithdrawToken(address token, address beneficiary, uint256 amount)
Initialized(uint64 version)
KelpRSETHAdapterChanged(address newRSETHAdapter)
KelpReferralCodeChanged(string newReferralCode)
MaxStakeLimitUpdated(uint256 newLimit)
Redeemed(address indexed user, uint256 agETHAmount)
Staked(address indexed user, uint256 ethAmount, uint256 agETHAmount, string referralCode)
StakedAsset(address indexed user, address asset, uint256 assetAmount, uint256 agETHAmount, string referralCode)
Transfer(address indexed from, address indexed to, uint256 value)
UnstakeRequested(address indexed user, uint256 agETHAmount, uint256 claimableAmount, uint256 claimableEpoch)
constructor()
receive()
AccessManagedInvalidAuthority(address authority)
AccessManagedRequiredDelay(address caller, uint32 delay)
AccessManagedUnauthorized(address caller)
AddressEmptyCode(address target)
AddressInsufficientBalance(address account)
ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed)
ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed)
ERC20InvalidApprover(address approver)
ERC20InvalidReceiver(address receiver)
ERC20InvalidSender(address sender)
ERC20InvalidSpender(address spender)
FailedInnerCall()
InvalidInitialization()
NotInitializing()
ReentrancyGuardReentrantCall()
SafeERC20FailedOperation(address token)