YayAgETHTokenUpgradeable

Verified contract

Implementation

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

No balances found for "YayAgETHTokenUpgradeable"

No transactions found for "YayAgETHTokenUpgradeable"


Functions
Getter at block 21216107
KELP_DAO_ETH_ASSET_ID(view returns (address)
0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
agETHToken(view returns (address)
0x0000000000000000000000000000000000000000
authority(view returns (address)
0x0000000000000000000000000000000000000000
decimals(view returns (uint8)
18
 
estimatedTotalValueLockedInETH(view returns (uint256)
 
getClaimableEpoch(view returns (uint256 yearuint256 monthuint256 dayuint256 claimableEpoch)
 
getWithdrawalFee(view returns (uint256)
isConsumingScheduledOp(view returns (bytes4)
0x00000000
kelpDepositPool(view returns (address)
0x0000000000000000000000000000000000000000
kelpReferralCode(view returns (string)
kelpRsETHAdapter(view returns (address)
0x0000000000000000000000000000000000000000
 
lagDuration(view returns (uint256)
maxStakeLimit(view returns (uint256)
0
 
minAmountToDeposit(view returns (uint256)
name(view returns (string)
rsETHToken(view returns (address)
0x0000000000000000000000000000000000000000
symbol(view returns (string)
totalSupply(view returns (uint256)
0
Read-only
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
getClaimableAmountByReceiver(uint256 yearuint256 monthuint256 dayaddress receiverAddrview returns (uint256)
getExpectedAgETHFromAsset(address assetuint256 amountview returns (uint256)
getExpectedAgETHfromETH(uint256 amountview returns (uint256)
getExpectedETHAmountfromAgETH(uint256 amountview returns (uint256)
getExpectedRsETHAmountfromAgETH(uint256 amountview returns (uint256)
maxAmountToDeposit(address receiverview returns (uint256)
totalStakedAssets(addressaddressview returns (uint256)
totalStakedETH(addressview returns (uint256)
totalUnStakedRsETH(addressview returns (uint256)
State-modifying
approve(address spenderuint256 valuereturns (bool)
customClaim(uint256 yearuint256 monthuint256 day
emergencyWithdrawToken(address beneficiaryaddress token
initialize(address initialAuthoritystring _namestring _symbolstring _kelpReferralCodeaddress _kelpDepositPooladdress _agETHTokenaddress _kelpRSETHAdapteraddress _rsETHTokenuint256 _maxStakeLimit
redeem(uint256 amount
setAuthority(address newAuthority
setKelpRSETHAdapterAddress(address _rsEthAdapterAddress
setKelpReferralCode(string _referralCode
setMaxStakeLimit(uint256 newLimit
stake(string referralCodepayable 
stakeAsset(address assetuint256 amountstring referralCode
transfer(address touint256 valuereturns (bool)
transferFrom(address fromaddress touint256 valuereturns (bool)
unstake(uint256 amount
Events
Approval(address indexed owneraddress indexed spenderuint256 value
AuthorityUpdated(address authority
Claimed(address indexed useruint256 agETHAmountuint256 claimableAmount
EmergencyWithdrawToken(address tokenaddress beneficiaryuint256 amount
Initialized(uint64 version
KelpRSETHAdapterChanged(address newRSETHAdapter
KelpReferralCodeChanged(string newReferralCode
MaxStakeLimitUpdated(uint256 newLimit
Redeemed(address indexed useruint256 agETHAmount
Staked(address indexed useruint256 ethAmountuint256 agETHAmountstring referralCode
StakedAsset(address indexed useraddress assetuint256 assetAmountuint256 agETHAmountstring referralCode
Transfer(address indexed fromaddress indexed touint256 value
UnstakeRequested(address indexed useruint256 agETHAmountuint256 claimableAmountuint256 claimableEpoch
Constructor

This contract contains no constructor objects.

Fallback and receive
receive(
Errors
AccessManagedInvalidAuthority(address authority
AccessManagedRequiredDelay(address calleruint32 delay
AccessManagedUnauthorized(address caller
AddressEmptyCode(address target
AddressInsufficientBalance(address account
ERC20InsufficientAllowance(address spenderuint256 allowanceuint256 needed
ERC20InsufficientBalance(address senderuint256 balanceuint256 needed
ERC20InvalidApprover(address approver
ERC20InvalidReceiver(address receiver
ERC20InvalidSender(address sender
ERC20InvalidSpender(address spender
FailedInnerCall(
InvalidInitialization(
NotInitializing(
ReentrancyGuardReentrantCall(
SafeERC20FailedOperation(address token