NFTStake

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x05cdf60d at 16443791
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 49 additional slots

No balances found for "NFTStake"

No transactions found for "NFTStake"


Functions
Getter at block 21274484
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
contractType(pure returns (bytes32)
0x4e46545374616b65000000000000000000000000000000000000000000000000
contractURI(view returns (string)
contractVersion(pure returns (uint8)
1
getRewardTokenBalance(view returns (uint256)
0
 
getRewardsPerUnitTime(view returns (uint256 _rewardsPerUnitTime)
 
getTimeUnit(view returns (uint256 _timeUnit)
rewardToken(view returns (address)
0x0000000000000000000000000000000000000000
stakingToken(view returns (address)
0x0000000000000000000000000000000000000000
Read-only
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address member)
getRoleMemberCount(bytes32 roleview returns (uint256 count)
getStakeInfo(address _stakerview returns (uint256[] _tokensStakeduint256 _rewards)
hasRole(bytes32 roleaddress accountview returns (bool)
hasRoleWithSwitch(bytes32 roleaddress accountview returns (bool)
indexedTokens(uint256view returns (uint256)
isIndexed(uint256view returns (bool)
isTrustedForwarder(address forwarderview returns (bool)
onERC721Received(addressaddressuint256bytesview returns (bytes4)
stakerAddress(uint256view returns (address)
stakers(addressview returns (uint256 amountStakeduint256 timeOfLastUpdateuint256 unclaimedRewardsuint256 conditionIdOflastUpdate)
stakersArray(uint256view returns (address)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
claimRewards(
depositRewardTokens(uint256 _amountpayable 
grantRole(bytes32 roleaddress account
initialize(address _defaultAdminstring _contractURIaddress[] _trustedForwardersaddress _rewardTokenaddress _stakingTokenuint256 _timeUnituint256 _rewardsPerUnitTime
multicall(bytes[] datareturns (bytes[] results)
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setContractURI(string _uri
setRewardsPerUnitTime(uint256 _rewardsPerUnitTime
setTimeUnit(uint256 _timeUnit
stake(uint256[] _tokenIds
withdraw(uint256[] _tokenIds
withdrawRewardTokens(uint256 _amount
Events
ContractURIUpdated(string prevURIstring newURI
Initialized(uint8 version
RewardTokensDepositedByAdmin(uint256 _amount
RewardTokensWithdrawnByAdmin(uint256 _amount
RewardsClaimed(address indexed stakeruint256 rewardAmount
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
TokensStaked(address indexed stakeruint256[] indexed tokenIds
TokensWithdrawn(address indexed stakeruint256[] indexed tokenIds
UpdatedRewardsPerUnitTime(uint256 oldRewardsPerUnitTimeuint256 newRewardsPerUnitTime
UpdatedTimeUnit(uint256 oldTimeUnituint256 newTimeUnit
Constructor
constructor(address _nativeTokenWrapper
Fallback and receive
receive(
Errors

This contract contains no error objects.