ERC1967Proxy

Verified contract

Proxy

Active on Base with 237 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
--
0x7f70a4a149d943c199c7c27cfbf3ed9ce037e83000caf8470662fe10593a0819
0x08f6743ef9c82e221b47a70ec32c0775b2b489b50d1169f530314049f7057978
0x7c9e2fb215401349f8da555293f3604f3fba3787d4ec691f59a68aac05dad608
0x47ba0c6599c09af788c31ca82a11fbfd88b60f53df45ee1d599097a4c00bfb7e
0xfc8b3ea7e41123aeb5a1972e8c2cd11903b8f03a6e54610fd93e3100df8452f3
0xa09897fbf5997ae37bafa5fc06879376bfa76ec2988d26c17004dd1f07bd5fc9
0x8c6e69906078641a722098dcc859f6b9351e90a7897e66c9f3f81d8471f996f9
0x914b6a36030e0b3947b65b63bf9c1bdac80bb67c70720cda0b96dfa1c63f15e0
0x32e37849c0d39216ddd0d2eb255be1fda16762526362b21fe69a1632f8c182de
0xf15cd724ef8ea0129bde9bc0b481345757e3793953d77115857dba7068726340

Functions
Getter at block 22034343
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