ERC1967Proxy

Verified contract

Proxy

Active on Base with 260 txns
Deployed by via 0x812ee928 at 12294079
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
0x4575dd6ef99183925f1c763f696e326a77526d0c83fdcc45ddd8b47607148037
0xde3c7abbc4318974be851f5565b6fa98f69a9d410329577b85e5e7a252ae36a6
0x390456119c992f5f2bca155d9857d7c1c160fa3af66a42accddf8bf8869bdc85
0xcf9f2480ae09865aa147ce01c79373fa6f26a9aec3985c95985105043071edc2
0xc067346ff1cc1b8111e8b80b213665c1f40a5f7520c1d45fddd8c3398bd4a843
0x3778745466ad4a5e61ad6f9cc14e1e9b43a6aae215113e03f870d207d08faa61
0x0414981f0223c226cfcdb5a683031077934b2383b4653e1b55207a94c8572e7f
0x8bd4c13925b42a5860ef97798f54357e07dd1062bf15602476c1e4b463dbf63b
0x06b4835db7cec230244b82d157cde0016c94ecbaa083396028fce1867afa9ee9
0x6dae10d4077dac123b926b7cd795d5e76fae237283e27fd1f63c28ebc2a0ef3c

Functions
Getter at block 22756819
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
UPGRADE_INTERFACE_VERSION(view returns (string)
5.0.0
i_cube(view returns (address)
0x1195cf65f83b3a5768f3c496d3a05ad6412c64b7
 
proxiableUUID(view returns (bytes32)
Read-only
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
s_escrow_admin(uint256view returns (address)
s_escrows(uint256view returns (address)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
addTokenToWhitelist(uint256 questIdaddress token
createEscrow(uint256 questIdaddress adminaddress[] whitelistedTokensaddress treasury
distributeRewards(uint256 questIdaddress tokenaddress touint256 amountuint256 rewardTokenIduint8 tokenTypeuint256 rakeBps
grantRole(bytes32 roleaddress account
initialize(address admin
removeTokenFromWhitelist(uint256 questIdaddress token
renounceRole(bytes32 roleaddress callerConfirmation
revokeRole(bytes32 roleaddress account
updateEscrowAdmin(uint256 questIdaddress newAdmin
upgradeToAndCall(address newImplementationbytes datapayable 
withdrawFunds(uint256 questIdaddress toaddress tokenuint256 tokenIduint8 tokenType
Events
Upgraded(address indexed implementation
EscrowAdminUpdated(address indexed updateruint256 indexed questIdaddress indexed newAdmin
EscrowRegistered(address indexed registroraddress indexed escrowAddressuint256 indexed questId
EscrowWithdrawal(address indexed calleraddress indexed receiveraddress indexed tokenAddressuint256 tokenIduint256 amountuint8 tokenTypeuint256 questId
Initialized(uint64 version
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
TokenPayout(address indexed receiveraddress indexed tokenAddressuint256 indexed tokenIduint256 amountuint8 tokenTypeuint256 questId
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
ERC1967InvalidImplementation(address implementation
ERC1967NonPayable(
Factory__CUBEQuestIsActive(
Factory__EscrowAlreadyExists(
Factory__NoQuestEscrowFound(
Factory__OnlyCallableByAdmin(
Factory__OnlyCallableByCUBE(
Factory__ZeroAddress(
FailedInnerCall(
InvalidInitialization(
NotInitializing(
UUPSUnauthorizedCallContext(
UUPSUnsupportedProxiableUUID(bytes32 slot