GeneralTreasury

Verified contract

Active on Ethereum with 5 txns
Deployed by via 0xfe7b36b1 at 17115255
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
-
variable spans 1 additional slot
ERC-20
Value $18.06
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0x38a82d216032244f0e095f5df9c03ed7436b76a0e1a75ba64b0fe648198b63d8
0xb0ab9ab0207af54e9bef5e7e8a0121f602da625dd1b0c9620b1341b2a47a06b1
0x2528b75cf53305e6ec0eb883ca9f5adacb316a57d30f1b99c348d0cf9116b32c
0xc404300b5a739fe5d1fc469957e96d65f5f815f188048a37430a60780db5a73c
0xf9fa55122fc7c7843d447dc096c4ff47960ddbe3f21b7dc014feaa527c7c517c

Functions
Getter at block 21419451
BACKEND_ROLE(view returns (bytes32)
0x25cf2b509f2a7f322675b2a5322b182f44ad2c03ac941a0af17c9b178f5d5d5f
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
DENOMINATOR(view returns (uint8)
100
ROUTER(view returns (address)
0x7a250d5630b4cf539739df2c5dacb4c659f2488d
USDC(view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
gelAllAvailableFunds(view returns (uint256)
18058750
 
getListOfActiveTokens(view returns (address[])
 
getListOfAllTokens(view returns (address[])
multicall(view returns (address)
0xaf70f0f28889ed6297f3e8d281250bacfbe15717
Read-only
getAllAltcoinPurchases(address altcoinview returns (struct GeneralTreasuryPurchase[])
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
purchases(addressuint256view returns (uint256 purchasedAmountuint256 spendedAmountuint256 alreadySolduint256 pricePerOneToken)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
emergencyWithdrawTokens(address _token
grantRole(bytes32 roleaddress account
purchaseNewAltcoin(uint256 amountuint256 amountOutMinaddress[] pathreturns (uint256)
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
sellAltcoin(address[] pathuint256 iduint8 sellPercentuint256 amountOutMinreturns (uint256)
setMulticall(address _multicall
Events
PurchaseNewAltcoin(address altcoinuint256 purchasedAmountuint256 spendedAmountuint256 id
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
SellAltcoin(address altcoinuint256 iduint256 solduint256 receiveduint256 profit
Constructor
constructor(address[5] _addresses
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.