ERC1967Proxy
Verified contract
Proxy
Active on
Base with 260 txns
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 ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
OHNO | ERC-20 | 1 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 22748784 | 4 hours ago | | | 0 | 0.0000011741614 | |
| 22748463 | 5 hours ago | | | 0 | 0.000027968815 | |
| 22739392 | 10 hours ago | | | 0 | 0.000000202070028190 | |
| 22739310 | 10 hours ago | | | 0 | 0.0000047910932 | |
| 22712619 | a day ago | | | 0 | 0.0000011741614 | |
| 22712279 | a day ago | | | 0 | 0.000027968815 | |
| 22704579 | a day ago | | | 0 | 0.0000011741614 | |
| 22704539 | a day ago | | | 0 | 0.000027968815 | |
| 22697689 | a day ago | | | 0 | 0.0000011741614 | |
| 22697660 | a day ago | | | 0 | 0.000027968815 |
ABI
ABI objects
Getter at block 22756819 proxiableUUID() view returns (bytes32)
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
UPGRADE_INTERFACE_VERSION() view returns (string)
5.0.0
i_cube() view returns (address)
0x1195cf65f83b3a5768f3c496d3a05ad6412c64b7
Read-only
getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole(bytes32 role, address account) view returns (bool)
s_escrow_admin(uint256) view returns (address)
s_escrows(uint256) view returns (address)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events addTokenToWhitelist(uint256 questId, address token)
createEscrow(uint256 questId, address admin, address[] whitelistedTokens, address treasury)
distributeRewards(uint256 questId, address token, address to, uint256 amount, uint256 rewardTokenId, uint8 tokenType, uint256 rakeBps)
grantRole(bytes32 role, address account)
initialize(address admin)
removeTokenFromWhitelist(uint256 questId, address token)
renounceRole(bytes32 role, address callerConfirmation)
revokeRole(bytes32 role, address account)
updateEscrowAdmin(uint256 questId, address newAdmin)
upgradeToAndCall(address newImplementation, bytes data) payable
withdrawFunds(uint256 questId, address to, address token, uint256 tokenId, uint8 tokenType)
Upgraded(address indexed implementation)
EscrowAdminUpdated(address indexed updater, uint256 indexed questId, address indexed newAdmin)
EscrowRegistered(address indexed registror, address indexed escrowAddress, uint256 indexed questId)
EscrowWithdrawal(address indexed caller, address indexed receiver, address indexed tokenAddress, uint256 tokenId, uint256 amount, uint8 tokenType, uint256 questId)
Initialized(uint64 version)
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)
TokenPayout(address indexed receiver, address indexed tokenAddress, uint256 indexed tokenId, uint256 amount, uint8 tokenType, uint256 questId)
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)
ERC1967InvalidImplementation(address implementation)
ERC1967NonPayable()
Factory__CUBEQuestIsActive()
Factory__EscrowAlreadyExists()
Factory__NoQuestEscrowFound()
Factory__OnlyCallableByAdmin()
Factory__OnlyCallableByCUBE()
Factory__ZeroAddress()
FailedInnerCall()
InvalidInitialization()
NotInitializing()
UUPSUnauthorizedCallContext()
UUPSUnsupportedProxiableUUID(bytes32 slot)