CUBE
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
17
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 "CUBE"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "CUBE"
ABI
ABI objects
Getter at block 22719179
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
eip712Domain() view returns (bytes1 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] extensions)
(fields=0x0f, name=, version=, chainId=8453, verifyingContract=0xd0ab2d3621dc8a862389f89f52f08c097e3fe8b5, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
name() view returns (string)
proxiableUUID() view returns (bytes32)
0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc
s_isMintingActive() view returns (bool)
false
symbol() view returns (string)
Read-only
balanceOf(address owner) view returns (uint256)
getApproved(uint256 tokenId) view returns (address)
getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole(bytes32 role, address account) view returns (bool)
isApprovedForAll(address owner, address operator) view returns (bool)
ownerOf(uint256 tokenId) view returns (address)
supportsInterface(bytes4 interfaceId) view returns (bool)
tokenURI(uint256 _tokenId) view returns (string _tokenURI)
State-modifying
Events approve(address to, uint256 tokenId)
grantRole(bytes32 role, address account)
initialize(string _tokenName, string _tokenSymbol, string _signingDomain, string _signatureVersion, address _admin)
initializeQuest(uint256 questId, string[] communities, string title, uint8 difficulty, uint8 questType, string[] tags)
mintCubes(struct CUBECubeData[] cubeData, bytes[] signatures) payable
renounceRole(bytes32 role, address callerConfirmation)
revokeRole(bytes32 role, address account)
safeTransferFrom(address from, address to, uint256 tokenId)
safeTransferFrom(address from, address to, uint256 tokenId, bytes data)
setApprovalForAll(address operator, bool approved)
setIsMintingActive(bool _isMintingActive)
transferFrom(address from, address to, uint256 tokenId)
upgradeToAndCall(address newImplementation, bytes data) payable
withdraw()
Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)
ApprovalForAll(address indexed owner, address indexed operator, bool approved)
ContractWithdrawal(uint256 amount)
CubeClaim(uint256 indexed questId, uint256 indexed tokenId, address indexed claimer, uint256 issueNumber, string walletProvider, string embedOrigin)
CubeTransaction(uint256 indexed cubeTokenId, string txHash, string networkChainId)
EIP712DomainChanged()
FeePayout(address indexed recipient, uint256 amount)
Initialized(uint64 version)
MintingSwitch(bool isActive)
QuestMetadata(uint256 indexed questId, uint8 questType, uint8 difficulty, string title, string[] tags, string[] communities)
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)
TokenReward(uint256 indexed cubeTokenId, address indexed tokenAddress, uint256 indexed chainId, uint256 amount, uint256 tokenId, uint8 tokenType)
Transfer(address indexed from, address indexed to, uint256 indexed tokenId)
Upgraded(address indexed implementation)
constructor()
This contract contains no fallback and receive objects.
AccessControlBadConfirmation()
AccessControlUnauthorizedAccount(address account, bytes32 neededRole)
AddressEmptyCode(address target)
CUBE__BPSTooHigh()
CUBE__ExceedsContractBalance()
CUBE__ExcessiveFeePayout()
CUBE__FeeNotEnough()
CUBE__IsNotSigner()
CUBE__MintingIsNotActive()
CUBE__NonceAlreadyUsed()
CUBE__SignatureAndCubesInputMismatch()
CUBE__TransferFailed()
CUBE__WithdrawFailed()
ECDSAInvalidSignature()
ECDSAInvalidSignatureLength(uint256 length)
ECDSAInvalidSignatureS(bytes32 s)
ERC1967InvalidImplementation(address implementation)
ERC1967NonPayable()
ERC721IncorrectOwner(address sender, uint256 tokenId, address owner)
ERC721InsufficientApproval(address operator, uint256 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)