NftStaking

Verified contract

Active on Ethereum with 8,256 txns
Deployed by via 0xeed93ad5 at 14972588
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
ERC-20
--
 (#9790)
ERC-721
--
 (#9783)
ERC-721
--
 (#9775)
ERC-721
--
 (#9769)
ERC-721
--
 (#9755)
ERC-721
--
 (#9753)
ERC-721
--
 (#9752)
ERC-721
--
 (#9733)
ERC-721
--
 (#9684)
ERC-721
--
0x108dc0bd9a883e9c7ab04b87c5529347b6bcf492708f240d0c78eb754e307b97
0xd726adfaed08c5f58a61bcd690f074af9a0272d2abd165477e499c72b87dd1ac
0x4b20eaff048bc8c1e499ffb05cec99d25a64c4abace05774008e2aa4a416ec96
0xed01176cbd7aa9a23ef75af0be0bf0d55a6c6598cd9117678c9a733e8f118ad9
0x99c156ed73da4b5666b52d840ef4956f10be4d22db44cbe510f2ae57f60ec5af
0x394104acfdcdb52e8168d3855e898d2379802fac5007e0997de4113370b1555c
0xd2f68b30971f195d64197a0dd1fa16648b058344f81ce53c78f749556ceff2ce
0x2b5898b3b42d851e15867be32511465f4e375b6c524b6e3b0b5e5ce4f5dcc7e0
0x6a2fb58d283fbf30e8dae8a4562e23bd5628163e3566a301f1e482729b6ffd3f
0x1aa8d40b39bacf58821624deb12162cb688f190de52c86c83de7d7f734c163c9

Functions
Getter at block 20812991
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
 
getWhitelistedContracts(view returns (struct INftStakingWhitelistedContract[] whitelistedContracts)
Read-only
getReward(struct INftStakingNFT nftview returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
getUserStakes(address userview returns (struct INftStakingUserNFTStake[] nftStakes)
hasRole(bytes32 roleaddress accountview returns (bool)
onERC721Received(addressaddressuint256bytespure returns (bytes4)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
announceWithdraw(
cancelWithdraw(
claimRewards(struct INftStakingNFT[] nfts
grantRole(bytes32 roleaddress account
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setDailyReward(address nftContractuint256 dailyReward
stake(struct INftStakingNFTWithPlanId[] nfts
unstake(struct INftStakingNFT[] nfts
withdraw(address recipient
Events
RewardClaimed(address indexed useruint8 planIdaddress indexed nftContractuint256 indexed tokenIduint256 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 useruint8 planIdaddress nftContractuint256 tokenId
Unstaked(address indexed useruint8 planIdaddress nftContractuint256 tokenId
WithdrawAnnounced(uint256 timestamp
WithdrawCancelled(
Withdrawn(uint256 amount
Constructor
constructor(address _rewardTokenaddress _admin
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.