ERC1967Proxy
Verified contract
Proxy
Active on
Base with 237 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) |
---|---|---|---|---|---|---|---|
| 22021258 | 7 hours ago | | | 0 | 0.000090880901 | |
| 22021245 | 7 hours ago | | | 0 | 0.0021648054 | |
| 21975560 | a day ago | | | 0 | 0.000090616051 | |
| 21975447 | a day ago | | | 0 | 0.0021585721 | |
| 21973007 | a day ago | | | 0 | 0.000090544969 | |
| 21972954 | a day ago | | | 0 | 0.0021566636 | |
| 21876925 | 4 days ago | | | 0 | 0.000090840280 | |
| 21876787 | 4 days ago | | | 0 | 0.0021631508 | |
| 21751859 | 7 days ago | | | 0 | 0.000090880901 | |
| 21750294 | 7 days ago | | | 0 | 0.0021644677 |
ABI
ABI objects
Getter at block 22034343 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)