Layer3 CUBE
Verified contract
Proxy
Active on
Base
Unified storage
Map
Table
Raw
Constants and immutables
1
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($69,956.65)
Native
Value
$69,956.55
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
Eth | Native | 21.240662 | $3,293.52 |
$69,956.55 | |
WGC | ERC-20 | 200 | $0.000504 |
$0.1 | |
USA | ERC-20 | 1 | $0.000876 |
$0 | |
kurbi | ERC-20 | 0.2 | $0.001322 |
$0 | |
BROGE | ERC-20 | 10K | -- | -- | |
BILLY | ERC-20 | 133.777K | -- | -- | |
OHNO | ERC-20 | 58.815129K | -- | -- | |
GTC | ERC-20 | 4.8K | -- | -- | |
| ERC-20 | 4.2K | -- | -- | |
| ERC-20 | 2.4K | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 22701849 | a few seconds ago | | | 0.000075 | 0.0000090762150 | |
| 22701848 | a few seconds ago | | | 0.000075 | 0.0000090667922 | |
| 22701840 | a few seconds ago | | | 0.000075 | 0.000019482170 | |
| 22701803 | 2 minutes ago | | | 0 | 0.0000095686688 | |
| 22701799 | 2 minutes ago | | | 0 | 0.0000096449584 | |
| 22701795 | 2 minutes ago | | | 0 | 0.0000095594190 | |
| 22701783 | 3 minutes ago | | | 0 | 0.0000096462541 | |
| 22701781 | 3 minutes ago | | | 0 | 0.0000096470828 | |
| 22701780 | 3 minutes ago | | | 0 | 0.0000096126070 | |
| 22701754 | 4 minutes ago | | | 0 | 0.000010391752 |
ABI
ABI objects
Getter at block 22701854 proxiableUUID() view returns (bytes32)
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 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] extensions)
(fields=0x0f, name=LAYER3, version=1, chainId=8453, verifyingContract=0x1195cf65f83b3a5768f3c496d3a05ad6412c64b7, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
name() view returns (string)
Layer3 CUBE
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 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)
isQuestActive(uint256 questId) 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)
mintCube(struct CUBECubeData cubeData, bytes signature) 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)
setL3TokenAddress(address _l3)
setTreasury(address _treasury)
transferFrom(address from, address to, uint256 tokenId)
unpublishQuest(uint256 questId)
upgradeToAndCall(address newImplementation, bytes data) payable
withdraw()
Upgraded(address indexed implementation)
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, bool isNative, uint256 price, uint256 issueNumber, string walletProvider, string embedOrigin)
CubeTransaction(uint256 indexed cubeTokenId, string txHash, string networkChainId)
EIP712DomainChanged()
FeePayout(address indexed recipient, uint256 amount, bool isNative)
Initialized(uint64 version)
MintingSwitch(bool isActive)
QuestDisabled(uint256 indexed questId)
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)
UpdatedL3Address(address indexed token)
UpdatedTreasury(address indexed newTreasury)
Upgraded(address indexed implementation)
constructor(address implementation, bytes _data)
fallback()
AddressEmptyCode(address target)
ERC1967InvalidImplementation(address implementation)
ERC1967NonPayable()
FailedInnerCall()
AccessControlBadConfirmation()
AccessControlUnauthorizedAccount(address account, bytes32 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 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)