CUBE

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0x19c4eb07 at 22143807
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 22816576
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)
3
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=, version=, chainId=8453, verifyingContract=0x4742232a5067d5acc887b58f5e3a7e990558abff, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
name(view returns (string)
proxiableUUID(view returns (bytes32)
0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc
s_isMintingActive(view returns (bool)
false
s_l3Token(view returns (address)
0x0000000000000000000000000000000000000000
s_treasury(view returns (address)
0x0000000000000000000000000000000000000000
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 
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
setL3TokenAddress(address _l3
setTreasury(address _treasury
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 claimerbool isNativeuint256 priceuint256 issueNumberstring walletProviderstring embedOrigin
CubeTransaction(uint256 indexed cubeTokenIdstring txHashstring networkChainId
EIP712DomainChanged(
FeePayout(address indexed recipientuint256 amountbool isNative
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
UpdatedL3Address(address indexed token
UpdatedTreasury(address indexed newTreasury
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__ERC20TransferFailed(
CUBE__ExceedsContractAllowance(
CUBE__ExceedsContractBalance(
CUBE__ExcessiveFeePayout(
CUBE__FeeNotEnough(
CUBE__InvalidAdminAddress(
CUBE__IsNotSigner(
CUBE__L3TokenNotSet(
CUBE__MintingIsNotActive(
CUBE__NativePaymentFailed(
CUBE__NonceAlreadyUsed(
CUBE__QuestNotActive(
CUBE__SignatureAndCubesInputMismatch(
CUBE__TransferFailed(
CUBE__TreasuryNotSet(
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