ArcadeTreasury

Verified contract

Active on Ethereum with 12 txns
Deployed by via 0x375954b6 at 18420398
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $710,618.27
0x294d0054bfa646523e2144ee05bcc371082ee39509ea565b4d1fb0fe8ff22885
0x15fcff4e29a8ae9763f4aa2017e705ce4d8d3eb8138b80ca44c932ed76aa744a
0xf9a74d2f1f62fbdbecde3e80e91faf11476b2afd909aeb7c59946a39838391d1
0x82de54cd85bb87441ad7c0421f9059ca35f2e76bdb7b8c175e6b242a5c62a65a
0x71e9801fdc3f5cf54c0270709361f70f03aa96b050e0470bead4c316b5ce22e5
0x76a84a8f4befd96f47497ca6314d73ded6e80304f266204c0425d1e2cf2aaec1
0xfc1d7e611bc66c882a73dcc036209d9359896e57480b10d8851a2c7e7bbcec91
0x7f2c3be0148d167629a29cc1327579553a0d34f49e75235a08a5727f061caccc
0xbcbb975925e594fcbb0c0941139ceb2315deba2b7f9c63918424798a246211a9
0x8d3c8891fd756fb32bb4b382b63e656faf99200efbe02529dbfc6d563fa748f1

Functions
Getter at block 21394754
ADMIN_ROLE(view returns (bytes32)
0xdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec42
CORE_VOTING_ROLE(view returns (bytes32)
0xa03d5e35ed6e147ad31d18547402c0b7a7af8daf4981f49a281906cd22e30b74
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
GSC_CORE_VOTING_ROLE(view returns (bytes32)
0x8aa473cfcbc2f47e563b0347f1895bc8c575e9a4a6ef2d6f6b36961335761c67
SET_ALLOWANCE_COOL_DOWN(view returns (uint48)
604800
Read-only
blockExpenditure(uint256uint256view returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
gscAllowance(addressview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
lastAllowanceSet(addressview returns (uint48)
spendThresholds(addressview returns (uint256 smalluint256 mediumuint256 large)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
approveLargeSpend(address tokenaddress spenderuint256 amount
approveMediumSpend(address tokenaddress spenderuint256 amount
approveSmallSpend(address tokenaddress spenderuint256 amount
batchCalls(address[] targetsbytes[] calldatas
grantRole(bytes32 roleaddress account
gscApprove(address tokenaddress spenderuint256 amount
gscSpend(address tokenuint256 amountaddress destination
largeSpend(address tokenuint256 amountaddress destination
mediumSpend(address tokenuint256 amountaddress destination
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setGSCAllowance(address tokenuint256 newAllowance
setThreshold(address tokenstruct IArcadeTreasurySpendThreshold thresholds
smallSpend(address tokenuint256 amountaddress destination
Events
GSCAllowanceUpdated(address indexed tokenuint256 amount
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
SpendThresholdsUpdated(address indexed tokenstruct IArcadeTreasurySpendThreshold thresholds
TreasuryApproval(address indexed tokenaddress indexed spenderuint256 amount
TreasuryTransfer(address indexed tokenaddress indexed destinationuint256 amount
Constructor
constructor(address _timelock
Fallback and receive
receive(
Errors
T_ArrayLengthMismatch(
T_BlockSpendLimit(
T_CallFailed(
T_CoolDownPeriod(uint256 currentTimeuint256 coolDownPeriodEnd
T_InvalidAllowance(uint256 newAllowanceuint256 smallSpendThreshold
T_InvalidTarget(address target
T_ThresholdsNotAscending(
T_ZeroAddress(string addressType
T_ZeroAmount(