Layer3 CUBE

Verified contract

Proxy

Active on Base
Deployed by via 0xfde47673 at 9014292
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $37,796.26
ERC-20
Value $0.02
ERC-20
Value $0
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0x470b80821f2ee5e2f7f32cb28ad443a2c36e9439a3a3510a6cd45dfbb167bcb4
0x6adcb0a09570983cf7969c846a7c23f448a47f4788ca5acbc1ddced8186e8e27
0x1b0d464f663feaeda70769e92808493a99e48e7a2a8d564a0a47f30c986c3fbb
0xc6996db094cc482a350e523739df979aa23e7968d3a6c15dfe5d423f1172ed55
0x2e12696cf2408525d16aab1eab0c10d7461101e3a216524ee334fe4460864747
0xca42a4b5fe5a2aa26b17d96c39b4279259a6be04d4e1399ca2c2a4a61f33527c
0x4011281fd798579359b6e6d45881a34ebc831af4bbeeacff3f778635ad19afa2
0xe694db9a18564a32ada992c976de9e9f2d298789d1ba68ecf3b1d633447af178
0x69a6db648385fa675d4fd1c611761298c4a59d362ea28e5245086d9bb5c084d2
0x5859d7a938b4043a013dc065d84c70bdd17e04a75782de3f6cb6a8a52eb5e302

Functions
Getter at block 21732768
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
SIGNER_ROLE(view returns (bytes32)
0x2aeb38be3df14d720aeb10a2de6df09b0fb3cd5c5ec256283a22d4593110ca40
UPGRADER_ROLE(view returns (bytes32)
0xa615a8afb6fffcb8c6809ac0997b5c9c12b8cc97651150f14c8f6203168cff4c
UPGRADE_INTERFACE_VERSION(view returns (string)
5.0.0
cubeVersion(pure returns (string)
2
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=LAYER3, version=1, chainId=8453, verifyingContract=0x1195cf65f83b3a5768f3c496d3a05ad6412c64b7, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
name(view returns (string)
Layer3 CUBE
 
proxiableUUID(view returns (bytes32)
s_isMintingActive(view returns (bool)
true
symbol(view returns (string)
CUBE
Read-only
balanceOf(address ownerview returns (uint256)
getApproved(uint256 tokenIdview returns (address)
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
isApprovedForAll(address owneraddress operatorview returns (bool)
isQuestActive(uint256 questIdview returns (bool)
ownerOf(uint256 tokenIdview returns (address)
supportsInterface(bytes4 interfaceIdview returns (bool)
tokenURI(uint256 _tokenIdview returns (string _tokenURI)
State-modifying
approve(address touint256 tokenId
grantRole(bytes32 roleaddress account
initialize(string _tokenNamestring _tokenSymbolstring _signingDomainstring _signatureVersionaddress _admin
initializeQuest(uint256 questIdstring[] communitiesstring titleuint8 difficultyuint8 questTypestring[] tags
mintCube(struct CUBECubeData cubeDatabytes signaturepayable 
mintCubes(struct CUBECubeData[] cubeDatabytes[] signaturespayable 
renounceRole(bytes32 roleaddress callerConfirmation
revokeRole(bytes32 roleaddress account
safeTransferFrom(address fromaddress touint256 tokenId
safeTransferFrom(address fromaddress touint256 tokenIdbytes data
setApprovalForAll(address operatorbool approved
setIsMintingActive(bool _isMintingActive
transferFrom(address fromaddress touint256 tokenId
unpublishQuest(uint256 questId
upgradeToAndCall(address newImplementationbytes datapayable 
withdraw(
Events
Upgraded(address indexed implementation
Approval(address indexed owneraddress indexed approveduint256 indexed tokenId
ApprovalForAll(address indexed owneraddress indexed operatorbool approved
ContractWithdrawal(uint256 amount
CubeClaim(uint256 indexed questIduint256 indexed tokenIdaddress indexed claimeruint256 issueNumberstring walletProviderstring embedOrigin
CubeTransaction(uint256 indexed cubeTokenIdstring txHashstring networkChainId
EIP712DomainChanged(
FeePayout(address indexed recipientuint256 amount
Initialized(uint64 version
MintingSwitch(bool isActive
QuestDisabled(uint256 indexed questId
QuestMetadata(uint256 indexed questIduint8 questTypeuint8 difficultystring titlestring[] tagsstring[] communities
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
TokenReward(uint256 indexed cubeTokenIdaddress indexed tokenAddressuint256 indexed chainIduint256 amountuint256 tokenIduint8 tokenType
Transfer(address indexed fromaddress indexed touint256 indexed tokenId
Upgraded(address indexed implementation
Constructor
constructor(address implementationbytes _data
Fallback and receive
fallback(
Errors
AddressEmptyCode(address target
ERC1967InvalidImplementation(address implementation
ERC1967NonPayable(
FailedInnerCall(
AccessControlBadConfirmation(
AccessControlUnauthorizedAccount(address accountbytes32 neededRole
AddressEmptyCode(address target
CUBE__BPSTooHigh(
CUBE__ExceedsContractBalance(
CUBE__ExcessiveFeePayout(
CUBE__FeeNotEnough(
CUBE__IsNotSigner(
CUBE__MintingIsNotActive(
CUBE__NonceAlreadyUsed(
CUBE__QuestNotActive(
CUBE__SignatureAndCubesInputMismatch(
CUBE__TransferFailed(
CUBE__WithdrawFailed(
ECDSAInvalidSignature(
ECDSAInvalidSignatureLength(uint256 length
ECDSAInvalidSignatureS(bytes32 s
ERC1967InvalidImplementation(address implementation
ERC1967NonPayable(
ERC721IncorrectOwner(address senderuint256 tokenIdaddress owner
ERC721InsufficientApproval(address operatoruint256 tokenId
ERC721InvalidApprover(address approver
ERC721InvalidOperator(address operator
ERC721InvalidOwner(address owner
ERC721InvalidReceiver(address receiver
ERC721InvalidSender(address sender
ERC721NonexistentToken(uint256 tokenId
FailedInnerCall(
InvalidInitialization(
NotInitializing(
ReentrancyGuardReentrantCall(
UUPSUnauthorizedCallContext(
UUPSUnsupportedProxiableUUID(bytes32 slot