RewardVault

Verified contract

Active on Ethereum with 6,253 txns
Deployed by via 0xd33dba5d at 18621067
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 2 additional slots
-
variable spans 2 additional slots
ERC-20
Value $27,827,517.34
ERC-20
Value $0
0x2efd41b092a5c28c37a0840c1ee44b55ce07c6885965273afbc92c59a5e2daa6
0x605c19ddba6483c12254194cc9441dbb944e08e2ebe0bf0b35ecfead24f76da0
0x279ae1a624753738f2aaadaa8570382b6c45716b6a784f0932d292589a23f51d
0x83d82da9e7d92a2ac8fa3f581c13f1c0aa82a979ead939dc18f970ab5b30456c
0x059e3813021595cd115e5bae324bd07d1f8c0048da63599cfa7a09126571647d
0xd65ee8b7f3174d3527fc26a1917c00a5bf095b43af57f94958fc6f9632d23d9c
0x62c3d67593ec4c1aa28a7431ac0f99b73bb71a5b766e142d9cddfa0c77d88f5c
0x81eff410ddd45387db244b8b060b5b5954955bb71612f40269ae889685cc4c51
0xb92158e56d20520f1a7af2429be67669715e23838b23870b8a7f574e83796108
0x358520f400dd2521b5822c2df37cb07e4200fb16367bbbb76f6de07ad0445f58
From

Functions
Getter at block 21222771
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
PAUSER_ROLE(view returns (bytes32)
0x65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a
REWARDER_ROLE(view returns (bytes32)
0xbeec13769b5f410b0584f69811bfd923818456d5edcf426b0e31cf90eed7a3f6
defaultAdmin(view returns (address)
0xf5df3d2750e3b18b1caa2b7e30796973bb9be715
defaultAdminDelay(view returns (uint48)
0
defaultAdminDelayIncreaseWait(view returns (uint48)
432000
getDelegationRate(view returns (uint256)
400
getFinalVestingCheckpointData(view returns (struct RewardVaultVestingCheckpointData)
(0, 0, 0)
getMultiplierDuration(view returns (uint256)
7776000
getRewardBuckets(view returns (struct RewardVaultRewardBuckets)
((5886136666666666, 1739033811, 89801833230020077), (55993212800000001, 1739033811, 46121766634529288), (2333050533333333, 1739033811, 35573819424885419))
getRewardPerTokenUpdatedAt(view returns (uint256uint256)
(1732021595, 1732030751)
getStakingPools(view returns (address[])
[0xA1d76A7cA72128541E9FCAcafBdA3a92EF94fDc5, 0xBc10f2E862ED4502144c7d632a3459F49DFCDB5e]
getUnvestedRewards(view returns (uint256uint256uint256)
(392094936333363207002544, 41217930998346661998304, 16337289013890130999152)
hasRewardAdded(view returns (bool)
true
isOpen(view returns (bool)
true
isPaused(view returns (bool)
false
owner(view returns (address)
0xf5df3d2750e3b18b1caa2b7e30796973bb9be715
paused(view returns (bool)
false
pendingDefaultAdmin(view returns (address newAdminuint48 schedule)
(newAdmin=0x0000000000000000000000000000000000000000, schedule=0)
pendingDefaultAdminDelay(view returns (uint48 newDelayuint48 schedule)
(newDelay=0, schedule=0)
typeAndVersion(pure returns (string)
RewardVault 1.0.0
Read-only
calculateLatestStakerReward(address stakerview returns (struct IRewardVaultStakerRewarduint256)
getMultiplier(address stakerview returns (uint256)
getReward(address stakerview returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
getStoredReward(address stakerview returns (struct IRewardVaultStakerReward)
hasRewardDurationEnded(address stakingPoolview returns (bool)
hasRole(bytes32 roleaddress accountview returns (bool)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
acceptDefaultAdminTransfer(
addReward(address pooluint256 amountuint256 emissionRate
beginDefaultAdminTransfer(address newAdmin
cancelDefaultAdminTransfer(
changeDefaultAdminDelay(uint48 newDelay
claimReward(returns (uint256)
close(
concludeRewardPeriod(address stakeruint256 oldPrincipaluint256 stakedAtuint256 unstakedAmountbool shouldForfeit
emergencyPause(
emergencyUnpause(
grantRole(bytes32 roleaddress account
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
rollbackDefaultAdminDelay(
setDelegationRate(uint256 newDelegationRate
updateReward(address stakeruint256 stakerPrincipal
Events
CommunityPoolRewardUpdated(uint256 baseRewardPerToken
DefaultAdminDelayChangeCanceled(
DefaultAdminDelayChangeScheduled(uint48 newDelayuint48 effectSchedule
DefaultAdminTransferCanceled(
DefaultAdminTransferScheduled(address indexed newAdminuint48 acceptSchedule
DelegationRateSet(uint256 oldDelegationRateuint256 newDelegationRate
ForfeitedRewardDistributed(uint256 vestedRewarduint256 vestedRewardPerTokenuint256 reclaimedRewardbool isOperatorReward
OperatorPoolRewardUpdated(uint256 baseRewardPerTokenuint256 delegatedRewardPerToken
Paused(address account
RewardAdded(address indexed pooluint256 amountuint256 emissionRate
RewardClaimed(address indexed stakeruint256 claimedRewards
RewardFinalized(address indexed stakerbool shouldForfeit
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
StakerRewardUpdated(address indexed stakeruint256 vestedBaseRewarduint256 vestedDelegatedRewarduint256 baseRewardPerTokenuint256 operatorDelegatedRewardPerTokenuint256 claimedBaseRewardsInPeriod
Unpaused(address account
VaultClosed(uint256 totalUnvestedRewards
VaultOpened(
Constructor
constructor(RewardVaultConstructorParams params
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AccessForbidden(
InsufficentRewardsForDelegationRate(
InvalidDelegationRate(
InvalidEmissionRate(
InvalidPool(
InvalidRewardAmount(
InvalidZeroAddress(
NoRewardToClaim(
RewardDurationTooShort(
VaultAlreadyClosed(