NftStaking
Verified contract
Active on
Ethereum with 8,257 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
PRIME | ERC-20 | 35.639738M | -- | -- | |
PKP | ERC-721 | 1 | -- | -- | |
PKP | ERC-721 | 1 | -- | -- | |
PKP | ERC-721 | 1 | -- | -- | |
PKP | ERC-721 | 1 | -- | -- | |
PKP | ERC-721 | 1 | -- | -- | |
PKP | ERC-721 | 1 | -- | -- | |
PKP | ERC-721 | 1 | -- | -- | |
PKP | ERC-721 | 1 | -- | -- | |
PKP | ERC-721 | 1 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 20960737 | a month ago | | | 0 | 0.0014427675 | |
| 20199681 | 5 months ago | | | 0 | 0.0014269152 | |
| 20176744 | 5 months ago | | | 0 | 0.0067024903 | |
| 20103715 | 5 months ago | | | 0 | 0.0013162506 | |
| 20021141 | 6 months ago | | | 0 | 0.0023039028 | |
| 20013279 | 6 months ago | | | 0 | 0.0023674146 | |
| 19946225 | 6 months ago | | | 0 | 0.00064606096 | |
| 19722196 | 7 months ago | | | 0 | 0.0017227004 | |
| 19722182 | 7 months ago | | | 0 | 0.0020170473 | |
| 19722041 | 7 months ago | | | 0 | 0.0026192666 |
ABI
ABI objects
Getter at block 21276276 getWhitelistedContracts() view returns (struct INftStakingWhitelistedContract[] whitelistedContracts)
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
Read-only
getReward(struct INftStakingNFT nft) view returns (uint256)
getRoleAdmin(bytes32 role) view returns (bytes32)
getUserStakes(address user) view returns (struct INftStakingUserNFTStake[] nftStakes)
hasRole(bytes32 role, address account) view returns (bool)
onERC721Received(address, address, uint256, bytes) pure returns (bytes4)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events announceWithdraw()
cancelWithdraw()
claimRewards(struct INftStakingNFT[] nfts)
grantRole(bytes32 role, address account)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
setDailyReward(address nftContract, uint256 dailyReward)
stake(struct INftStakingNFTWithPlanId[] nfts)
unstake(struct INftStakingNFT[] nfts)
withdraw(address recipient)
RewardClaimed(address indexed user, uint8 planId, address indexed nftContract, uint256 indexed tokenId, uint256 amount)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
Staked(address indexed user, uint8 planId, address nftContract, uint256 tokenId)
Unstaked(address indexed user, uint8 planId, address nftContract, uint256 tokenId)
WithdrawAnnounced(uint256 timestamp)
WithdrawCancelled()
Withdrawn(uint256 amount)
constructor(address _rewardToken, address _admin)
This contract contains no fallback and receive objects.
This contract contains no error objects.