StakeToken

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0xb8d600c2 at 19034132
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "StakeToken"

No transactions found for "StakeToken"


Functions
Getter at block 21192700
CLAIM_HELPER_ROLE(view returns (uint256)
2
COOLDOWN_ADMIN_ROLE(view returns (uint256)
1
DOMAIN_SEPARATOR(view returns (bytes32)
0x59eb284e89e3bfb13f4e93b16db5e19efac75c44e84ad9a5e710b7aee19dfa4c
EMISSION_MANAGER(view returns (address)
0x5300a1a15135ea4dc7ad5a167152c01efc9b192a
EXCHANGE_RATE_UNIT(view returns (uint256)
1000000000000000000
INITIAL_EXCHANGE_RATE(view returns (uint216)
1000000000000000000
LOWER_BOUND(view returns (uint256)
1000000000000000000
PRECISION(view returns (uint8)
18
REWARDS_VAULT(view returns (address)
0x25f2226b597e8f9514b3f68f00f494cf4f286491
REWARD_TOKEN(view returns (address)
0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9
SLASH_ADMIN_ROLE(view returns (uint256)
0
STAKED_TOKEN(view returns (address)
0x3de27efa2f1aa663ae5d458857e731c129069f29
UNSTAKE_WINDOW(view returns (uint256)
172800
decimals(view returns (uint8)
18
distributionEnd(view returns (uint256)
0
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=stk AAVE/wstETH BPTv2, version=1, chainId=1, verifyingContract=0x4ad4a620eeae490d5872f69845104faefb67efc4, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
getCooldownSeconds(view returns (uint256)
0
getExchangeRate(view returns (uint216)
0
getMaxSlashablePercentage(view returns (uint256)
0
inPostSlashingPeriod(view returns (bool)
false
name(view returns (string)
symbol(view returns (string)
totalSupply(view returns (uint256)
0
Read-only
allowance(address owneraddress spenderview returns (uint256)
assets(addressview returns (uint128 emissionPerSeconduint128 lastUpdateTimestampuint256 index)
balanceOf(address accountview returns (uint256)
getAdmin(uint256 roleview returns (address)
getPendingAdmin(uint256 roleview returns (address)
getTotalRewardsBalance(address stakerview returns (uint256)
getUserAssetData(address useraddress assetview returns (uint256)
nonces(address ownerview returns (uint256)
previewRedeem(uint256 sharesview returns (uint256)
previewStake(uint256 assetsview returns (uint256)
stakerRewardsToClaim(addressview returns (uint256)
stakersCooldowns(addressview returns (uint40 timestampuint216 amount)
State-modifying
approve(address spenderuint256 valuereturns (bool)
claimRewards(address touint256 amount
claimRewardsAndRedeem(address touint256 claimAmountuint256 redeemAmount
claimRewardsAndRedeemOnBehalf(address fromaddress touint256 claimAmountuint256 redeemAmount
claimRewardsOnBehalf(address fromaddress touint256 amountreturns (uint256)
claimRoleAdmin(uint256 role
configureAssets(struct DistributionTypesAssetConfigInput[] assetsConfigInput
cooldown(
cooldownOnBehalfOf(address from
initialize(string namestring symboladdress slashingAdminaddress cooldownPauseAdminaddress claimHelperuint256 maxSlashablePercentageuint256 cooldownSeconds
permit(address owneraddress spenderuint256 valueuint256 deadlineuint8 vbytes32 rbytes32 s
redeem(address touint256 amount
redeemOnBehalf(address fromaddress touint256 amount
returnFunds(uint256 amount
setCooldownSeconds(uint256 cooldownSeconds
setDistributionEnd(uint256 newDistributionEnd
setMaxSlashablePercentage(uint256 percentage
setPendingAdmin(uint256 roleaddress newPendingAdmin
settleSlashing(
slash(address destinationuint256 amountreturns (uint256)
stake(address touint256 amount
stakeWithPermit(uint256 amountuint256 deadlineuint8 vbytes32 rbytes32 s
transfer(address touint256 valuereturns (bool)
transferFrom(address fromaddress touint256 valuereturns (bool)
Events
Approval(address indexed owneraddress indexed spenderuint256 value
AssetConfigUpdated(address indexed assetuint256 emission
AssetIndexUpdated(address indexed assetuint256 index
Cooldown(address indexed useruint256 amount
CooldownSecondsChanged(uint256 cooldownSeconds
DistributionEndChanged(uint256 endTimestamp
EIP712DomainChanged(
ExchangeRateChanged(uint216 exchangeRate
FundsReturned(uint256 amount
Initialized(uint64 version
MaxSlashablePercentageChanged(uint256 newPercentage
PendingAdminChanged(address indexed newPendingAdminuint256 role
Redeem(address indexed fromaddress indexed touint256 assetsuint256 shares
RewardsAccrued(address useruint256 amount
RewardsClaimed(address indexed fromaddress indexed touint256 amount
RoleClaimed(address indexed newAdminuint256 role
Slashed(address indexed destinationuint256 amount
SlashingExitWindowDurationChanged(uint256 windowSeconds
SlashingSettled(
Staked(address indexed fromaddress indexed touint256 assetsuint256 shares
Transfer(address indexed fromaddress indexed touint256 value
UserIndexUpdated(address indexed useraddress indexed assetuint256 index
Constructor
constructor(string nameaddress stakedTokenaddress rewardTokenuint256 unstakeWindowaddress rewardsVaultaddress emissionManager
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AddressEmptyCode(address target
AddressInsufficientBalance(address account
ECDSAInvalidSignature(
ECDSAInvalidSignatureLength(uint256 length
ECDSAInvalidSignatureS(bytes32 s
ERC20InsufficientAllowance(address spenderuint256 allowanceuint256 needed
ERC20InsufficientBalance(address senderuint256 balanceuint256 needed
ERC20InvalidApprover(address approver
ERC20InvalidReceiver(address receiver
ERC20InvalidSender(address sender
ERC20InvalidSpender(address spender
ERC2612ExpiredSignature(uint256 deadline
ERC2612InvalidSigner(address signeraddress owner
FailedInnerCall(
InvalidAccountNonce(address accountuint256 currentNonce
InvalidInitialization(
InvalidShortString(
NotInitializing(
SafeCastOverflowedUintDowncast(uint8 bitsuint256 value
SafeERC20FailedOperation(address token
StringTooLong(string str