CUBE

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0x735f5976 at 12293836
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "CUBE"

No transactions found for "CUBE"


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=, version=, chainId=8453, verifyingContract=0x409e6d672c5ff9c271a869ad467fc5fdcb777f4d, 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 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
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(
Fallback and receive

This contract contains no fallback and receive objects.

Errors
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