TransparentUpgradeableProxy

Verified contract

Proxy

Active on Ethereum with 1,558 txns
Deployed by via 0xec196082 at 20588431
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
 (#12565)
ERC-721
--
 (#12564)
ERC-721
--
 (#12563)
ERC-721
--
 (#12562)
ERC-721
--
 (#12561)
ERC-721
--
 (#12559)
ERC-721
--
 (#12558)
ERC-721
--
 (#12557)
ERC-721
--
 (#12556)
ERC-721
--
 (#12555)
ERC-721
--
0x0f2431bfe8d11eb1afde6a487071a2b715d16d622a0662f4d01c70d0b0cb9fbe
0xc6f78a4fe6679b91b13a12b3137fdf1d83774d563695de5e1ddbdd017203bdb5
0xfd43669bb2a82af6cb811e512483a6c0f66a9f07123ad2bee01bcca12fa78e71
0x3a53dc783ec910007f13f9039230e8bcf3cccee9139d227053f3a536b12ad952
0x3c3d8bf4b4d8e8eaac38a154f52b4484b339d1a9d4719a404f91271d0a7f67d8
0xb46e1d49b301770c1b0b64ca47ef0a8fd30d34c56d262a0fdb22b10db296c402
0xfbf46fd9cd90207701f33d7de4d4c240979ee14655757a5700154bc927d31cf4
0xf1d128a310872136a9d4d27b7ec65c58f94da5d4783107f13039c7345a5bae0e
0x8fce8c0e02eb7ce7cbb1816a77c44f56e2faad60109d117c1a88efa86114afc3
0x21afd21780ca9c9ef7ea4e6b45c231125e44323d6cec6a14eae8607951895ecb

Functions
Getter at block 21247821
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
DEVELOPER_ROLE(view returns (bytes32)
0x2714cbbaddbb71bcae9366d8bf7770636ec7ae63227b573986d2f54fffacb39d
defaultAdmin(view returns (address)
0xc8cbf6da545bf01a7e35f0fa5506983493229a15
defaultAdminDelay(view returns (uint48)
86400
defaultAdminDelayIncreaseWait(view returns (uint48)
432000
getStakingScheduleIds(view returns (uint256[] scheduleIds)
[0, 1]
 
getStakingSchedules(view returns (uint256[] allStakingScheduleIdsstruct ERC721StakingStakingSchedule[] allStakingSchedules)
owner(view returns (address)
0xc8cbf6da545bf01a7e35f0fa5506983493229a15
paused(view returns (bool)
false
pendingDefaultAdmin(view returns (address newAdminuint48 schedule)
(newAdmin=0x0000000000000000000000000000000000000000, schedule=0)
pendingDefaultAdminDelay(view returns (uint48 newDelayuint48 schedule)
(newDelay=0, schedule=0)
Read-only
balanceOf(address ownerview returns (uint256 balance)
balancesOf(address[] ownersview returns (uint256[] balances)
getRoleAdmin(bytes32 roleview returns (bytes32)
getStakedTokenData(address collectionAddressuint256 tokenIdview returns (struct ERC721StakingStakedToken stakedToken)
getStakedTokensData(address collectionAddressuint256[] tokenIdsview returns (struct ERC721StakingStakedToken[] stakedTokens)
getStakingSchedule(uint256 stakingScheduleIdview returns (struct ERC721StakingStakingSchedule stakingSchedule)
getUserStakedTokenByCollection(address owneraddress collectionAddressview returns (uint256[] tokenIds)
getUserStakedTokens(address ownerview returns (struct ERC721StakingUserStakedTokenInfo[] userStakedTokens)
hasRole(bytes32 roleaddress accountview returns (bool)
onERC721Received(addressaddressuint256bytespure returns (bytes4)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
acceptDefaultAdminTransfer(
batchStake(address[] _collectionAddressesuint256[] _tokenIdsuint256[] _stakingScheduleIds
batchUnstake(address[] _collectionAddressesuint256[] _tokenIds
batchUpdateTokenStakeStartTime(address[] _collectionAddressesuint256[] _tokenIdsuint256[] _newStakeStartTimes
beginDefaultAdminTransfer(address newAdmin
cancelDefaultAdminTransfer(
changeDefaultAdminDelay(uint48 newDelay
createStakingSchedule(struct ERC721StakingStakingSchedule _stakingSchedulereturns (uint256 stakingScheduleId)
emergencyUnlock(address[] _collectionAddressesuint256[] _tokenIds
emergencyUnlockAndTransfer(address[] _collectionAddressesuint256[] _tokenIds
grantRole(bytes32 roleaddress account
initialize(address _defaultAdminAddressaddress[] _developers
pause(
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
rollbackDefaultAdminDelay(
unpause(
updateStakingSchedule(uint256 _stakingScheduleIdstruct ERC721StakingStakingSchedule _stakingSchedule
updateTokenStakeStartTime(address _collectionAddressuint256 _tokenIduint256 _newStakeStartTime
Events
AdminChanged(address previousAdminaddress newAdmin
Upgraded(address indexed implementation
DefaultAdminDelayChangeCanceled(
DefaultAdminDelayChangeScheduled(uint48 newDelayuint48 effectSchedule
DefaultAdminTransferCanceled(
DefaultAdminTransferScheduled(address indexed newAdminuint48 acceptSchedule
Initialized(uint64 version
Paused(address account
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
StakingScheduleCreated(uint256 indexed stakingScheduleIdstruct ERC721StakingStakingSchedule stakingSchedule
StakingScheduleUpdated(uint256 indexed stakingScheduleIdstruct ERC721StakingStakingSchedule stakingSchedule
TokenEmergencyUnlocked(address indexed useraddress indexed collectionAddressuint256 indexed tokenId
TokenEmergencyUnlockedAndTransferred(address indexed useraddress indexed collectionAddressuint256 indexed tokenId
TokenStakeStartTimeUpdated(address indexed collectionAddressuint256 indexed tokenIduint256 currentStakeStartTimeuint256 newStakeStartTime
TokenStaked(address indexed useraddress indexed collectionAddressuint256 indexed tokenIduint256 stakingScheduleId
TokenWithdrawn(address indexed useraddress indexed collectionAddressuint256 indexed tokenId
Unpaused(address account
Constructor
constructor(address _logicaddress initialOwnerbytes _data
Fallback and receive
fallback(
Errors
AddressEmptyCode(address target
ERC1967InvalidAdmin(address admin
ERC1967InvalidImplementation(address implementation
ERC1967NonPayable(
FailedInnerCall(
ProxyDeniedAdminAccess(
AccessControlBadConfirmation(
AccessControlEnforcedDefaultAdminDelay(uint48 schedule
AccessControlEnforcedDefaultAdminRules(
AccessControlInvalidDefaultAdmin(address defaultAdmin
AccessControlUnauthorizedAccount(address accountbytes32 neededRole
CollectionNotWhitelisted(
EnforcedPause(
ExpectedPause(
InvalidCollectionAddress(
InvalidInitialization(
InvalidLockDuration(
InvalidPageSize(
InvalidSchedule(
InvalidScheduleId(
MismatchedArrays(
NotInitializing(
NotOwner(
ReentrancyGuardReentrantCall(
SafeCastOverflowedUintDowncast(uint8 bitsuint256 value
ScheduleInactive(
StakingDurationNotEnded(
TokenNotStaked(