StakingContract

Verified contract

Active on Base with 1,174 txns
Deployed by via 0x3d960e14 at 12471934
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $35.65
ERC-20
Value $1.51
ERC-20
Value $0.01
ERC-20
Value $0
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
 (#274)
ERC-721
--
0xf1a0513ca5a96a22bde0e54aba7255f788b0719d2523edca21563560c0747af4
0x1a5c0e35f4a22efcb95e6674192d6d2a699c97a9452ab0db78c5f4c74a7a393f
0x33c37464520b35d1cb2ec0375efa6701d30b22ed7fda2e2358c5ebd8ee0f3e19
0xced4d3699a8625da87b78a7a177639a4a72d76442d63be8404466d63600bea10
0xc2bed6c32840ddc5bf3085f59ef2f4d6bd799a0f16a5fa9b05f37600a6f402b2
0x78bfa3879c38e9a5f7d178f9cabc4d613d541d17ef5aeedae14ec2c782627041
0x9d261de55a83f72f53383a2dc6462d9029d0eb9ac5ea0a139d6fe7c9e40d72d5
0xf6651413237428839ddf87b34c02460f6d49d5bd79bd9197cbf5fa1427bb3996
0x2cc89d7fcd23bb2d35e721c14e904d5b56233f5ee77314d8a391da3fac4b6eb4
0x4833f82e46b297154c4a01e81499e09fb51f99dce25c6a363fb1ec69ae57611b

Functions
Getter at block 22769429
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
DURATION(view returns (uint256)
86400
STAKING_ADMIN_ROLE(view returns (bytes32)
0x24791c44c040514a5d2580696fc45e7d3cb6c9fa65bf3db2e4755362d6c155b5
erc20Token(view returns (address)
0xb472838c1fb18aa671a63bdd42b0c00e34ce622a
getTokenBalance(view returns (uint256)
11772347999999999999958748
stakersCount(view returns (uint256)
489
Read-only
getClaimableReward(address _useraddress _nftAddressview returns (uint256)
getNftCount(address _nftAddressview returns (uint256)
getRewardRate(address _nftAddressview returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
getStakedNFTs(address _useraddress _nftAddressview returns (uint256[])
getTokensEarnedTotal(address _useraddress _nftAddressview returns (uint256)
getTotalClaimableReward(address _useraddress[] _nftAddressesview returns (uint256)
getUserBalance(address _userview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
nftsCount(addressview returns (uint256)
rewardRate(addressview returns (uint256)
stakingInfo(addressaddressview returns (uint256 startTimeuint256 tokensEarned)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
claimReward(address _useraddress[] _nftAddresses
grantRole(bytes32 roleaddress account
grantStakingAdminRole(address _admin
onERC721Received(addressaddressuint256bytesreturns (bytes4)
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
revokeStakingAdminRole(address _admin
setRewardRate(address _nftAddressuint256 _rewardRate
stakeAll(uint256[] _nftIdsaddress _nftAddress
unstakeAll(address _nftAddress
withdrawETH(uint256 _amount
withdrawTokens(address _tokenAddressuint256 _amount
Events
Claimed(address indexed useruint256 amount
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Staked(address indexed useruint256[] nftIdsaddress nftAddress
Unstaked(address indexed useraddress nftAddressuint256[] nftIds
Constructor
constructor(address _erc20Token
Fallback and receive
receive(
Errors

This contract contains no error objects.