TransparentUpgradeableProxy

Verified contract

Proxy

Active on Ethereum with 1,102 txns
Deployed by via 0x4c0da3a2 at 16391925
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 48 additional slots
-
variable spans 48 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 49 additional slots
-
variable spans 127 additional slots
4 additional variables
 (#7773)
ERC-721
--
 (#7772)
ERC-721
--
 (#7766)
ERC-721
--
 (#7765)
ERC-721
--
 (#7764)
ERC-721
--
 (#7759)
ERC-721
--
 (#7749)
ERC-721
--
 (#7744)
ERC-721
--
 (#7742)
ERC-721
--
 (#7741)
ERC-721
--
0xd24573a8412caf64cbcc14bb570f597ba7712c4e5e17ac7a994ce25141bfc2db
0x4723362cd8df1ffe1e59924a652eecf058c9aa9c3d3c4a0f44c08b1b7c17e6bd
0x53d271f56e0707a721c875905bbe410629e0ede0a10c8b1d1af467c6db1034f8
0x29ca77801316c543c574a823fda504149ab019c8ebbfb9f69d1570b44e6b569a
0x6f7c02f9fada6b525284abb3708d98ca4a07542d9a781a3a9e898e6ea720ecfc
0x9325fcf5821801d7d252866b16ddea5e5c182eb218fab83889dbaa51a8997e75
0xf17c71e5186d1bb98c38e48d60776bc30c8c140936e813975852557e0311c0b7
0xc87f2b02bf68d4ac860f951628d363f7399d7610fb96eae895ed2d54297fe65e
0x65632ea440b4d2cb48345beb3adc048bd54de8bfc5b57a87464cb768589ee2d7
0x698b3b5350fc8c92573a3d227748de415cbd8d3637a499b76af8503e05911698

Functions
Getter at block 21158779
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
DEFAULT_BYPASS_ROLE(view returns (bytes32)
0xd098f4c753f75902ebb69ef03b95b84df1fde8bb94bfd8fd196d9bfaed82adf4
owner(view returns (address)
0x06cbc97e60b3fae6e364e080651b31bce1b15ea9
paused(view returns (bool)
false
Read-only
canTokenBeTransferred(address collectionaddressaddressuint256 tokenIdview returns (bool)
getDynamicAttributes(address collectionuint256 tokenIdview returns (struct Attribute[] attributes)
getRoleAdmin(bytes32 roleview returns (bytes32)
getTokenStakingData(address collectionuint256 tokenIdview returns (struct StakedNFT stakingData)
hasRole(bytes32 roleaddress accountview returns (bool)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
admin(returns (address admin_)
changeAdmin(address newAdmin
implementation(returns (address implementation_)
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
batchTrainingHeroesAndVillains(uint256[2][] pairs
batchTrainingHeroesAndVillainsSigned(uint256[2][] pairsstruct NFTBaseAttributesRequest nFTBaseAttributesRequestbytes signature
batchUnTrainingHeroesAndVillains(uint256[2][] pairs
bypassTokenId(address collectionuint256 tokenId
grantRole(bytes32 roleaddress account
initialize(string domainNamestring versionaddress heroesAddressaddress lilVillainsAddressaddress proxyControllerstring badgeNamestruct Badge[] badges
onERC721Received(addressaddressuint256bytesreturns (bytes4)
pause(
removeBypassTokenId(address collectionuint256 tokenId
renounceOwnership(
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setBadgePropertyName(string value
setBadges(struct Badge[] values
setLegendaries(address collectionuint256[] tokenIds
transferOwnership(address newOwner
unpause(
Events
AdminChanged(address previousAdminaddress newAdmin
BeaconUpgraded(address indexed beacon
Upgraded(address indexed implementation
BatchTraining(address whoTraininguint256[2][] pairsuint256 trainingAt
BatchUnTraining(address whoTraininguint256[2][] pairs
Initialized(uint8 version
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
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
SetBaseAttributes(bytes signature
Stake(address collectionuint256 tokenIduint256 startAt
UnStake(address collectionuint256 tokenIduint256 totalStakedTime
Unpaused(address account
Constructor
constructor(address _logicaddress admin_bytes _data
Fallback and receive
fallback(
receive(
Errors
CallerIsNotOwner(address calleraddress collectionuint256 tokenId
InvalidPair(uint256 heroTokenIduint256 villainTokenId
TokenAlreadyInStaking(address collectionuint256 tokenId
TokenIsNotInStaking(address collectionuint256 tokenId