RewardOpenSlim

Verified contract

Active on Ethereum with 27 txns
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $45.08
ERC-20
--
0x9a193924618a64b3af8b934958f3e2b507b91ef1a2613653b23618ce1c7d3dc1
0x11b6d190c6e16f8d560b4874e6f7ec767d92dfbd944a8afff21d311148260abd
0x17495057f6e558627d7f769bd8626dbb74fae87fff2ba4b3d29cec944794c462
0x54f93f9fab544405d698a103b8bcd04597520f85241b918f9797271dd6ab9a69
0xd63f9491e5c1427c679f8210a5f0dcb54524428583c11cc7478084f9a8408798
0x98f2de4ed34e03c0befb0563c12ff73847e06678f574852d4306ff0df786c9c2
0x10922e7c66a86227b3ca3c9a2a2b199f7423fe4e6bc9b67c4155036081805afa
0xfe3c9a2a10c00a5d565352dc8aae76c8041a4bc9d42466d0d01143c7078b5202
0xfdc6e6c9aef8dd162970bbb640586d9f42995acd44c7c43d24c87c00ec10995d
0x9f9bbbc63ae4f00c9ec4e90aa1c80c975118ecfae8fbca7fa0c994acd6cf645e

Functions
Getter at block 21216808
MAX_REWARD_TOKENS(view returns (uint8)
16
globalActive(view returns (uint256 _data)
2
rewardFactory(view returns (address)
0x4f24d73773fcce560f4fd641125c23a2b93fcb05
rewardInfo(view returns (struct IRewardRewardInfo[] info)
[(0, 0, 0, 0, 0x0000000000000000000000000000000000000000), (1706185319, 1706185319, 31090189900548701, 918962834251679848446, 0x40d16fc0246ad3160ccc09b8d0d3a2cd28ae6c2f)]
stakingToken(view returns (address)
0x24b335a474a1504f63d52a9e6b367bf957495683
totalSupply(view returns (uint256)
44637810030374135
Read-only
balanceOf(addressview returns (uint256)
earned(address accountview returns (struct IRewardEarnedInfo[] earnedInfo)
earned(address accountaddress rewardTokenAddressview returns (uint256)
rewardData(uint256view returns (uint256 finishAtuint256 updatedAtuint256 rewardRateuint256 rewardPerTokenStoreduint256 escrowedRewarduint256 globalResetCountaddress rewardToken)
tokenIndex(addressview returns (uint8)
State-modifying
getReward(address recipientuint8 rewardTokenIndexreturns (uint256)
getReward(address recipientuint8[] rewardTokenIndices
multicall(bytes[] datareturns (bytes[] results)
notifyAndTransfer(address rewardTokenAddressuint256 amountuint256 duration
removeStaleToken(uint8 rewardTokenIndex
stake(uint256 amountaddress account
unstake(uint256 amountaddress recipient
unstakeAll(address recipient
Events
AddRewardToken(address rewardTokenAddressuint8 rewardTokenIndex
GetReward(address senderaddress accountaddress recipientuint8 rewardTokenIndexaddress rewardTokenAddressuint256 rewardPaid
NotifyRewardAmount(address senderaddress rewardTokenAddressuint256 amountuint256 durationuint256 rewardRate
RemoveRewardToken(address rewardTokenAddressuint8 rewardTokenIndex
Stake(address senderaddress supplieruint256 amountaddress accountuint256 userBalanceuint256 totalSupply
UnStake(address senderaddress accountuint256 amountaddress recipientuint256 userBalanceuint256 totalSupply
Constructor
constructor(address _stakingTokenaddress _rewardFactory
Fallback and receive

This contract contains no fallback and receive objects.

Errors
DurationOutOfBounds(uint256 duration
NotValidRewardToken(address rewardTokenAddress
OnlyFactoryOwner(
RewardAmountBelowThreshold(uint256 amountuint256 minimumAmount
RewardStillActive(uint8 rewardTokenIndex
StaleToken(uint8 rewardTokenIndex
TokenNotStale(uint8 rewardTokenIndex
TooManyRewardTokens(
ZeroAmount(