aix-agx-migration-contract.agx.eth
Verified contract
Active on
Ethereum with 3,230 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($218,239.67)
Native
Value
$14,340.68
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
ETH | Native | 4.602405 | $3,115.91 |
$14,340.68 | |
AGX | ERC-20 | 1.918706M | $0.106269 |
$203,898.99 | |
AIX | ERC-20 | 567.460129K | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21203499 | 14 hours ago | | | 0 | 0.0014405444 | |
| 21199212 | a day ago | | | 0 | 0.0019943900 | |
| 21181264 | 4 days ago | | | 0 | 0.0094879727 | |
| 21179625 | 4 days ago | | | 0 | 0.012934376 | |
| 21178817 | 4 days ago | | | 0 | 0.0045507092 | |
| 21176636 | 4 days ago | | | 0 | 0.0034173149 | |
| 21175241 | 5 days ago | | | 0 | 0.0036396268 | |
| 21174186 | 5 days ago | | | 0 | 0.0069448461 | |
| 21174163 | 5 days ago | | | 0 | 0.0064737179 | |
| 21173968 | 5 days ago | | | 0 | 0.0029955594 |
ABI
ABI objects
Getter at block 21207659
WETH() view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
active() view returns (bool)
true
agx() view returns (address)
0xe2432110c32d0717e33c245fe0cfa2b26c07f47a
aix() view returns (address)
0x40e9187078032afe1a30cfcf76e4fe3d7ab5c6c5
merkleRoot() view returns (bytes32)
0x9a5d78b177d94f09e332cf0d69b5b11a5aab2ef7294054624b70bfd7d2f3e05f
minAIXToSwap() view returns (uint256)
2000000000000000000000000
owner() view returns (address)
0xc5b2408cb82519aca97f6d74c7792daf6c0ace52
questsVerifier() view returns (address)
0x0000000000000000000000000000000000000000
swapAIXToETHEnabled() view returns (bool)
true
uniswapV2Router() view returns (address)
0x7a250d5630b4cf539739df2c5dacb4c659f2488d
Read-only
blacklist(address) view returns (bool)
claimedAmount(address) view returns (uint256)
getEthSignedMessageHash(address user) pure returns (bytes32)
getSignableMessage(address user) pure returns (bytes32)
verifyMerkleProof(address user, uint256 maxClaimableAmount, bytes32[] proof) view returns (bool)
verifySignature(address user, bytes signature) view returns (bool)
State-modifying
Events migrate(uint256 amount, uint256 maxClaimableAmount, bytes32[] proof, bytes signature, uint256 minAmountETHOut)
renounceOwnership()
setActive(bool _active)
setBlacklist(address user, bool isBlacklisted)
setMerkleRoot(bytes32 _merkleRoot)
setMinAIXToSwap(uint256 _minAIXToSwap)
setQuestsVerifier(address _questsVerifier)
setSwapAIXToETHEnabled(bool _enabled)
swapAIXtoETH(uint256 amount, uint256 minAmountETHOut)
transferOwnership(address newOwner)
withdrawAGX()
withdrawAGXAmount(uint256 amount)
withdrawAIX()
withdrawAIXAmount(uint256 amount)
withdrawETH()
withdrawETHAmount(uint256 amount)
MerkleRootUpdated(address indexed user, bytes32 merkleRoot)
Migrated(address indexed user, uint256 amount)
MigrationActiveUpdated(bool active)
MinAIXToSwapUpdated(uint256 minAIXToSwap)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
QuestsVerifierUpdated(address indexed user, address questsVerifier)
SetBlacklist(address indexed user, bool isBlacklisted)
SwapAIXToETHEnabledUpdated(bool enabled)
Withdrawn(address indexed token, uint256 amount)
constructor(address _aix, address _agx, bytes32 _merkleRoot, address _questsVerifier, bool _swapAIXToETHEnabled)
receive()
This contract contains no error objects.