ERC721Staking
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
10
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "ERC721Staking"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "ERC721Staking"
ABI
ABI objects
Getter at block 21276128
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
DEVELOPER_ROLE() view returns (bytes32)
0x2714cbbaddbb71bcae9366d8bf7770636ec7ae63227b573986d2f54fffacb39d
defaultAdmin() view returns (address)
0x0000000000000000000000000000000000000000
defaultAdminDelay() view returns (uint48)
0
defaultAdminDelayIncreaseWait() view returns (uint48)
432000
getStakingScheduleIds() view returns (uint256[] scheduleIds)
[]
getStakingSchedules() view returns (uint256[] allStakingScheduleIds, struct ERC721StakingStakingSchedule[] allStakingSchedules)
(allStakingScheduleIds=[], allStakingSchedules=[])
owner() view returns (address)
0x0000000000000000000000000000000000000000
paused() view returns (bool)
false
pendingDefaultAdmin() view returns (address newAdmin, uint48 schedule)
(newAdmin=0x0000000000000000000000000000000000000000, schedule=0)
pendingDefaultAdminDelay() view returns (uint48 newDelay, uint48 schedule)
(newDelay=0, schedule=0)
Read-only
balanceOf(address owner) view returns (uint256 balance)
balancesOf(address[] owners) view returns (uint256[] balances)
getRoleAdmin(bytes32 role) view returns (bytes32)
getStakedTokenData(address collectionAddress, uint256 tokenId) view returns (struct ERC721StakingStakedToken stakedToken)
getStakedTokensData(address collectionAddress, uint256[] tokenIds) view returns (struct ERC721StakingStakedToken[] stakedTokens)
getStakingSchedule(uint256 stakingScheduleId) view returns (struct ERC721StakingStakingSchedule stakingSchedule)
getUserStakedTokenByCollection(address owner, address collectionAddress) view returns (uint256[] tokenIds)
getUserStakedTokens(address owner) view returns (struct ERC721StakingUserStakedTokenInfo[] userStakedTokens)
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 acceptDefaultAdminTransfer()
batchStake(address[] _collectionAddresses, uint256[] _tokenIds, uint256[] _stakingScheduleIds)
batchUnstake(address[] _collectionAddresses, uint256[] _tokenIds)
batchUpdateTokenStakeStartTime(address[] _collectionAddresses, uint256[] _tokenIds, uint256[] _newStakeStartTimes)
beginDefaultAdminTransfer(address newAdmin)
cancelDefaultAdminTransfer()
changeDefaultAdminDelay(uint48 newDelay)
createStakingSchedule(struct ERC721StakingStakingSchedule _stakingSchedule) returns (uint256 stakingScheduleId)
emergencyUnlock(address[] _collectionAddresses, uint256[] _tokenIds)
emergencyUnlockAndTransfer(address[] _collectionAddresses, uint256[] _tokenIds)
grantRole(bytes32 role, address account)
initialize(address _defaultAdminAddress, address[] _developers)
pause()
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
rollbackDefaultAdminDelay()
unpause()
updateStakingSchedule(uint256 _stakingScheduleId, struct ERC721StakingStakingSchedule _stakingSchedule)
updateTokenStakeStartTime(address _collectionAddress, uint256 _tokenId, uint256 _newStakeStartTime)
DefaultAdminDelayChangeCanceled()
DefaultAdminDelayChangeScheduled(uint48 newDelay, uint48 effectSchedule)
DefaultAdminTransferCanceled()
DefaultAdminTransferScheduled(address indexed newAdmin, uint48 acceptSchedule)
Initialized(uint64 version)
Paused(address account)
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)
StakingScheduleCreated(uint256 indexed stakingScheduleId, struct ERC721StakingStakingSchedule stakingSchedule)
StakingScheduleUpdated(uint256 indexed stakingScheduleId, struct ERC721StakingStakingSchedule stakingSchedule)
TokenEmergencyUnlocked(address indexed user, address indexed collectionAddress, uint256 indexed tokenId)
TokenEmergencyUnlockedAndTransferred(address indexed user, address indexed collectionAddress, uint256 indexed tokenId)
TokenStakeStartTimeUpdated(address indexed collectionAddress, uint256 indexed tokenId, uint256 currentStakeStartTime, uint256 newStakeStartTime)
TokenStaked(address indexed user, address indexed collectionAddress, uint256 indexed tokenId, uint256 stakingScheduleId)
TokenWithdrawn(address indexed user, address indexed collectionAddress, uint256 indexed tokenId)
Unpaused(address account)
constructor()
This contract contains no fallback and receive objects.
AccessControlBadConfirmation()
AccessControlEnforcedDefaultAdminDelay(uint48 schedule)
AccessControlEnforcedDefaultAdminRules()
AccessControlInvalidDefaultAdmin(address defaultAdmin)
AccessControlUnauthorizedAccount(address account, bytes32 neededRole)
CollectionNotWhitelisted()
EnforcedPause()
ExpectedPause()
InvalidCollectionAddress()
InvalidInitialization()
InvalidLockDuration()
InvalidPageSize()
InvalidSchedule()
InvalidScheduleId()
MismatchedArrays()
NotInitializing()
NotOwner()
ReentrancyGuardReentrantCall()
SafeCastOverflowedUintDowncast(uint8 bits, uint256 value)
ScheduleInactive()
StakingDurationNotEnded()
TokenNotStaked()