AIXTreasury

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x83777280 at 18596767
Slot
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
ERC-20
--
 (#25)
ERC-1555
--
 (#24)
ERC-1555
--
 (#23)
ERC-1555
--
 (#22)
ERC-1555
--
 (#21)
ERC-1555
--
 (#20)
ERC-1555
--
 (#19)
ERC-1555
--
 (#18)
ERC-1555
--
 (#17)
ERC-1555
--

No transactions found for "AIXTreasury"


Functions
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(uint256view returns (uint256 shareaddress receiverbool doCallback)
ethReceivers(uint256view returns (uint256 shareaddress receiverbool doCallback)
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
distribute(uint256 amountuint256 minETHPerAIXPrice
grantRole(bytes32 roleaddress account
initialize(address _aixaddress _uniswapRouteraddress _wethstruct AIXTreasuryReceiver[] _aixReceiversstruct AIXTreasuryReceiver[] _ethReceivers
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setAnyoneCanDistribute(bool value
setReceivers(struct AIXTreasuryReceiver[] _aixReceiversstruct AIXTreasuryReceiver[] _ethReceivers
Events
AnyoneCanDistributeSet(bool value
Distributed(address indexed tokenaddress indexed receiveruint256 amount
Initialized(uint8 version
ReceiversSet(struct AIXTreasuryReceiver[] aixReceiversstruct AIXTreasuryReceiver[] ethReceivers
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
TokensSwapped(uint256 aixAmountuint256 ethAmount
TotalDistribution(uint256 inputAixAmountuint256 distributedAixAmountuint256 swappedEthAmountuint256 distributedEthAmount
TransferETH(address indexed touint256 value
Constructor

This contract contains no constructor objects.

Fallback and receive
receive(
Errors

This contract contains no error objects.