AIXTreasury
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
5
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
| ERC-20 | 1 | -- | -- | |
0xf1a1…4f73 | ERC-1555 | 1 | -- | -- | |
0xf1a1…4f73 | ERC-1555 | 1 | -- | -- | |
0xf1a1…4f73 | ERC-1555 | 1 | -- | -- | |
0xf1a1…4f73 | ERC-1555 | 1 | -- | -- | |
0xf1a1…4f73 | ERC-1555 | 1 | -- | -- | |
0xf1a1…4f73 | ERC-1555 | 1 | -- | -- | |
0xf1a1…4f73 | ERC-1555 | 1 | -- | -- | |
0xf1a1…4f73 | ERC-1555 | 1 | -- | -- | |
0xf1a1…4f73 | ERC-1555 | 1 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "AIXTreasury"
ABI
ABI objects
Getter at block 21157659
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
DENOMINATOR() view returns (uint256)
10000
DISTRIBUTOR_ROLE() view returns (bytes32)
0xfbd454f36a7e1a388bd6fc3ab10d434aa4578f811acbbcf33afb1c697486313c
aix() view returns (address)
0x0000000000000000000000000000000000000000
anyoneCanDistribute() view returns (bool)
false
totalAixShares() view returns (uint256)
0
totalEthShares() view returns (uint256)
0
uniswapRouter() view returns (address)
0x0000000000000000000000000000000000000000
weth() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
aixReceivers(uint256) view returns (uint256 share, address receiver, bool doCallback)
ethReceivers(uint256) view returns (uint256 share, address receiver, bool doCallback)
getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole(bytes32 role, address account) view returns (bool)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events distribute(uint256 amount, uint256 minETHPerAIXPrice)
grantRole(bytes32 role, address account)
initialize(address _aix, address _uniswapRouter, address _weth, struct AIXTreasuryReceiver[] _aixReceivers, struct AIXTreasuryReceiver[] _ethReceivers)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
setAnyoneCanDistribute(bool value)
setReceivers(struct AIXTreasuryReceiver[] _aixReceivers, struct AIXTreasuryReceiver[] _ethReceivers)
AnyoneCanDistributeSet(bool value)
Distributed(address indexed token, address indexed receiver, uint256 amount)
Initialized(uint8 version)
ReceiversSet(struct AIXTreasuryReceiver[] aixReceivers, struct AIXTreasuryReceiver[] ethReceivers)
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)
TokensSwapped(uint256 aixAmount, uint256 ethAmount)
TotalDistribution(uint256 inputAixAmount, uint256 distributedAixAmount, uint256 swappedEthAmount, uint256 distributedEthAmount)
TransferETH(address indexed to, uint256 value)
This contract contains no constructor objects.
receive()
This contract contains no error objects.