AnyswapV3Router
Verified contract
Active on
Ethereum with 59,570 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($5,785.72)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
FTM | ERC-20 | 5.96318K | $0.82629 |
$4,927.32 | |
USDC | ERC-20 | 814.32 | $1.001 |
$815.13 | |
YFI | ERC-20 | 0.006503 | $6,654.68 |
$43.27 | |
Evmos | ERC-20 | 10M | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21060405 | 15 days ago | | | 0 | 0.00048212114 | |
| 20145118 | 5 months ago | | | 0 | 0.000080640000 | |
| 19291684 | 9 months ago | | | 0 | 0.0014027165 | |
| 19291684 | 9 months ago | | | 0 | 0.0017766642 | |
| 19168540 | 9 months ago | | | 0 | 0.0016955567 | |
| 19167981 | 9 months ago | | | 0 | 0.0031363835 | |
| 19113744 | 9 months ago | | | 0 | 0.0014944714 | |
| 19094786 | 10 months ago | | | 0 | 0.00043316036 | |
| 19094786 | 10 months ago | | | 0 | 0.00043316036 | |
| 19094786 | 10 months ago | | | 0 | 0.00090972242 |
ABI
ABI objects
Getter at block 21168151
cID() view returns (uint256 id)
1
factory() view returns (address)
0xc0aee478e3658e2610c5f7a4a2e1777ce9e4f2ac
mpc() view returns (address)
0xf39fee2fdfe7db022591f4a82e3537fa0b55fb9c
wNATIVE() view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Read-only
getAmountIn(uint256 amountOut, uint256 reserveIn, uint256 reserveOut) pure returns (uint256 amountIn)
getAmountOut(uint256 amountIn, uint256 reserveIn, uint256 reserveOut) pure returns (uint256 amountOut)
getAmountsIn(uint256 amountOut, address[] path) view returns (uint256[] amounts)
getAmountsOut(uint256 amountIn, address[] path) view returns (uint256[] amounts)
quote(uint256 amountA, uint256 reserveA, uint256 reserveB) pure returns (uint256 amountB)
State-modifying
Events anySwapFeeTo(address token, uint256 amount)
anySwapIn(bytes32 txs, address token, address to, uint256 amount, uint256 fromChainID)
anySwapIn(bytes32[] txs, address[] tokens, address[] to, uint256[] amounts, uint256[] fromChainIDs)
anySwapInAuto(bytes32 txs, address token, address to, uint256 amount, uint256 fromChainID)
anySwapInExactTokensForNative(bytes32 txs, uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline, uint256 fromChainID) returns (uint256[] amounts)
anySwapInExactTokensForTokens(bytes32 txs, uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline, uint256 fromChainID) returns (uint256[] amounts)
anySwapInUnderlying(bytes32 txs, address token, address to, uint256 amount, uint256 fromChainID)
anySwapOut(address token, address to, uint256 amount, uint256 toChainID)
anySwapOut(address[] tokens, address[] to, uint256[] amounts, uint256[] toChainIDs)
anySwapOutExactTokensForNative(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline, uint256 toChainID)
anySwapOutExactTokensForNativeUnderlying(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline, uint256 toChainID)
anySwapOutExactTokensForNativeUnderlyingWithPermit(address from, uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline, uint8 v, bytes32 r, bytes32 s, uint256 toChainID)
anySwapOutExactTokensForNativeUnderlyingWithTransferPermit(address from, uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline, uint8 v, bytes32 r, bytes32 s, uint256 toChainID)
anySwapOutExactTokensForTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline, uint256 toChainID)
anySwapOutExactTokensForTokensUnderlying(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline, uint256 toChainID)
anySwapOutExactTokensForTokensUnderlyingWithPermit(address from, uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline, uint8 v, bytes32 r, bytes32 s, uint256 toChainID)
anySwapOutExactTokensForTokensUnderlyingWithTransferPermit(address from, uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline, uint8 v, bytes32 r, bytes32 s, uint256 toChainID)
anySwapOutNative(address token, address to, uint256 toChainID) payable
anySwapOutUnderlying(address token, address to, uint256 amount, uint256 toChainID)
anySwapOutUnderlyingWithPermit(address from, address token, address to, uint256 amount, uint256 deadline, uint8 v, bytes32 r, bytes32 s, uint256 toChainID)
anySwapOutUnderlyingWithTransferPermit(address from, address token, address to, uint256 amount, uint256 deadline, uint8 v, bytes32 r, bytes32 s, uint256 toChainID)
changeMPC(address newMPC) returns (bool)
changeVault(address token, address newVault) returns (bool)
depositNative(address token, address to) payable returns (uint256)
withdrawNative(address token, uint256 amount, address to) returns (uint256)
LogAnySwapIn(bytes32 indexed txhash, address indexed token, address indexed to, uint256 amount, uint256 fromChainID, uint256 toChainID)
LogAnySwapOut(address indexed token, address indexed from, address indexed to, uint256 amount, uint256 fromChainID, uint256 toChainID)
LogAnySwapTradeTokensForNative(address[] path, address indexed from, address indexed to, uint256 amountIn, uint256 amountOutMin, uint256 fromChainID, uint256 toChainID)
LogAnySwapTradeTokensForTokens(address[] path, address indexed from, address indexed to, uint256 amountIn, uint256 amountOutMin, uint256 fromChainID, uint256 toChainID)
LogChangeMPC(address indexed oldMPC, address indexed newMPC, uint256 indexed effectiveTime, uint256 chainID)
LogChangeRouter(address indexed oldRouter, address indexed newRouter, uint256 chainID)
constructor(address _factory, address _wNATIVE, address _mpc)
receive()
This contract contains no error objects.