WBVSNFTStaker

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x6cb926fa at 18933651
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "WBVSNFTStaker"

No transactions found for "WBVSNFTStaker"


Functions
Getter at block 21158000
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MINTER_ROLE(view returns (bytes32)
0x9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6
UPGRADER_ROLE(view returns (bytes32)
0x189ab7a9244df0848122154315af71fe140f3db0fe014031783b0946b8c9d2e3
UPGRADE_INTERFACE_VERSION(view returns (string)
5.0.0
nft(view returns (address)
0x0000000000000000000000000000000000000000
proxiableUUID(view returns (bytes32)
0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc
Read-only
getRoleAdmin(bytes32 roleview returns (bytes32)
getStakedAmount(address ownerview returns (uint256)
getStakedIds(address ownerview returns (uint256[])
getTokenStakedTime(uint256 tokenIdaddress ownerview returns (uint256)
getTotalStakedTime(address ownerview returns (uint256 total)
hasRole(bytes32 roleaddress accountview returns (bool)
isTokenStaked(uint256 tokenIdaddress ownerview returns (bool)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
grantRole(bytes32 roleaddress account
initialize(address owneraddress _nft
renounceRole(bytes32 roleaddress callerConfirmation
revokeRole(bytes32 roleaddress account
stake(uint256[] tokenIds
stakeFor(address nftOwneruint256 firstIDuint256 lastID
unstake(uint256[] tokenIds
upgradeToAndCall(address newImplementationbytes datapayable 
Events
Initialized(uint64 version
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 stakeruint256 indexed iduint256 timestamp
Unstaked(address indexed stakeruint256 indexed iduint256 timestamp
Upgraded(address indexed implementation
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors
AccessControlBadConfirmation(
AccessControlUnauthorizedAccount(address accountbytes32 neededRole
AddressEmptyCode(address target
ERC1967InvalidImplementation(address implementation
ERC1967NonPayable(
FailedInnerCall(
InvalidInitialization(
MintingInProgress(
NotInitializing(
NotOwner(
StakedIndexNotFound(uint256 id
UUPSUnauthorizedCallContext(
UUPSUnsupportedProxiableUUID(bytes32 slot