AstroSwap
Verified contract
Proxy
Active on
Ethereum with 815 txns
Unified storage
Map
Table
Raw
Constants and immutables
4
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "AstroSwap"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 17412662 | a year ago | | | 0.053 | 0.0050509025 | |
| 17134905 | 2 years ago | | | 0.063 | 0.015643499 | |
| 17132205 | 2 years ago | | | 0.0886 | 0.062824415 | |
| 17132202 | 2 years ago | | | 0.0098 | 0.012515443 | |
| 17100219 | 2 years ago | | | 0.023899 | 0.011641408 | |
| 17028607 | 2 years ago | | | 1.5915 | 0.058520799 | |
| 17028605 | 2 years ago | | | 0.8253 | 0.029929611 | |
| 17028603 | 2 years ago | | | 1.49128 | 0.060140508 | |
| 17026611 | 2 years ago | | | 0.197 | 0.028195873 | |
| 17025811 | 2 years ago | | | 0.0481 | 0.020204576 |
ABI
ABI objects
Getter at block 21123414
owner() view returns (address)
0x3537db492e1b00adfcc4bb9b2dd45bb320c76a57
paused() view returns (bool)
false
weth() view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Read-only
onERC1155BatchReceived(address, address, uint256[], uint256[], bytes) pure returns (bytes4)
onERC1155Received(address, address, uint256, uint256, bytes) pure returns (bytes4)
onERC721Received(address, address, uint256, bytes) pure returns (bytes4)
proxies(address) view returns (bool)
State-modifying
Events approveERC20(address asset, address spender, uint256 amount)
batchSwapWithERC20(struct AstroSwapERC20Token[] erc20Tokens, struct AstroSwapProxyInput[] proxyInputs, uint256 amountToEth, uint256 amountToWeth) payable
batchSwapWithETH(struct AstroSwapProxyInput[] proxyInputs) payable
renounceOwnership()
setPaused(bool paused)
transferERC1155(address asset, address to, uint256[] tokenIds, uint256[] amounts)
transferERC20(address asset, address to, uint256 amount)
transferERC721(address asset, address to, uint256[] tokenIds)
transferETH(address to, uint256 amount)
transferOwnership(address newOwner)
updateProxies(address[] toAdd, address[] toRemove)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Paused(address account)
ProxyUpdated(address proxy, bool isRemoval)
Unpaused(address account)
constructor(address _weth)
receive()
This contract contains no error objects.