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 $69,956.55
ERC-20
Value $0.1
ERC-20
Value $0
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0xaa8c96781117eff75de56bddbcc49ed000b2f6e5809dee7204ffc26d39907da1
0x8fabf481b421c21a683a0abbe9274a14f52f4d68fbb40d787543a266c7686f01
0x5844202ddd6012a04efca90f98c7b09dc109db8638928728de336bec8ec0a06b
0xcb4acd66ac6dd6ea7a541ae98c25c08aa7ef901aef2f3833a58ade3c92f593ec
0x127ad809310883262b14010365215c6dbf94058affeb0041e69e7fbd9448fde5
0xaaa14a01412a5407a54eb6623dfba6d8393d8c66b2a8df5ed04abccda4df010b
0x947e649edc75e380151adac0821a2e9af7af726c3a4323c03d64fae01bb9bd6c
0x0a2979cf7cafb4ce255a81b9aadae64473c3cf438ece8440fe71694a0bc29659
0x2d6fd591c7ea51ab7973bb9c58ae5407283a574c969ed5547c33f7d7be9bd4b9
0x6a7dd3ec0f5cab085140e33ca3eb6a33188c9a03242007a84d95ff5683a26989

Functions
Getter at block 22701854
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=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
s_l3Token(view returns (address)
0x46777c76dbbe40fabb2aab99e33ce20058e76c59
s_treasury(view returns (address)
0x88b3c2d4690390d6fe63fcec984497a3785c6240
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 
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
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 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(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__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