AnyswapV4Router

Verified contract

Active on Ethereum with 84,924 txns
Deployed by via 0x1aa3cbb9 at 12242619
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "AnyswapV4Router"

0xd8c2792e0e5a1e3446d4f5f7000824ab7e57d36522979968f5aa5e99c05aaf14
0x38db9fcb1834b554043c671f663ea1a4d014f3efbae18419f1dc17e083cd8874
0x8656abd30a18974419cf32bcc02e38d9ee7dd99ef0924882ff30f4074d0099d6
0xe209cb51c7d78ee5936a2b9b5f32edf86e23b3c02c91b79bed21b5c7dd40435b
0xc52215924fe93d7d723f47bbce197db9566f8bcbb5e98e4e97dfe63e8e189633
0xbff9c23461a15d60f1ad4cd7bae726d7941fe99bfaacca0e1fbae7cc43de42f4
0x25544ccafc085ff2704aa507cf63d66cfff2455f80573fb4b40d4e01012735f6
0x1e992f5acacde1cfda1e43794dc706205fdd064247776c4d057532189293ade9
0x349577b4a3f390d4bce4d5db83287663dbb71c431021ab0ee53115df9437b2db
0xf4430416740126b006a3febbdf3c00aa84a387cf3f3d93f488cbb0c46b5c5201

Functions
Getter at block 21247302
cID(view returns (uint256 id)
1
factory(view returns (address)
0x0000000000000000000000000000000000000000
mpc(view returns (address)
0x647dc1366da28f8a64eb831fc8e9f05c90d1ea5a
wNATIVE(view returns (address)
0x0000000000000000000000000000000000000000
Read-only
getAmountIn(uint256 amountOutuint256 reserveInuint256 reserveOutpure returns (uint256 amountIn)
getAmountOut(uint256 amountInuint256 reserveInuint256 reserveOutpure returns (uint256 amountOut)
getAmountsIn(uint256 amountOutaddress[] pathview returns (uint256[] amounts)
getAmountsOut(uint256 amountInaddress[] pathview returns (uint256[] amounts)
quote(uint256 amountAuint256 reserveAuint256 reserveBpure returns (uint256 amountB)
State-modifying
anySwapFeeTo(address tokenuint256 amount
anySwapIn(bytes32 txsaddress tokenaddress touint256 amountuint256 fromChainID
anySwapIn(bytes32[] txsaddress[] tokensaddress[] touint256[] amountsuint256[] fromChainIDs
anySwapInAuto(bytes32 txsaddress tokenaddress touint256 amountuint256 fromChainID
anySwapInExactTokensForNative(bytes32 txsuint256 amountInuint256 amountOutMinaddress[] pathaddress touint256 deadlineuint256 fromChainIDreturns (uint256[] amounts)
anySwapInExactTokensForTokens(bytes32 txsuint256 amountInuint256 amountOutMinaddress[] pathaddress touint256 deadlineuint256 fromChainIDreturns (uint256[] amounts)
anySwapInUnderlying(bytes32 txsaddress tokenaddress touint256 amountuint256 fromChainID
anySwapOut(address tokenaddress touint256 amountuint256 toChainID
anySwapOut(address[] tokensaddress[] touint256[] amountsuint256[] toChainIDs
anySwapOutExactTokensForNative(uint256 amountInuint256 amountOutMinaddress[] pathaddress touint256 deadlineuint256 toChainID
anySwapOutExactTokensForNativeUnderlying(uint256 amountInuint256 amountOutMinaddress[] pathaddress touint256 deadlineuint256 toChainID
anySwapOutExactTokensForNativeUnderlyingWithPermit(address fromuint256 amountInuint256 amountOutMinaddress[] pathaddress touint256 deadlineuint8 vbytes32 rbytes32 suint256 toChainID
anySwapOutExactTokensForNativeUnderlyingWithTransferPermit(address fromuint256 amountInuint256 amountOutMinaddress[] pathaddress touint256 deadlineuint8 vbytes32 rbytes32 suint256 toChainID
anySwapOutExactTokensForTokens(uint256 amountInuint256 amountOutMinaddress[] pathaddress touint256 deadlineuint256 toChainID
anySwapOutExactTokensForTokensUnderlying(uint256 amountInuint256 amountOutMinaddress[] pathaddress touint256 deadlineuint256 toChainID
anySwapOutExactTokensForTokensUnderlyingWithPermit(address fromuint256 amountInuint256 amountOutMinaddress[] pathaddress touint256 deadlineuint8 vbytes32 rbytes32 suint256 toChainID
anySwapOutExactTokensForTokensUnderlyingWithTransferPermit(address fromuint256 amountInuint256 amountOutMinaddress[] pathaddress touint256 deadlineuint8 vbytes32 rbytes32 suint256 toChainID
anySwapOutUnderlying(address tokenaddress touint256 amountuint256 toChainID
anySwapOutUnderlyingWithPermit(address fromaddress tokenaddress touint256 amountuint256 deadlineuint8 vbytes32 rbytes32 suint256 toChainID
anySwapOutUnderlyingWithTransferPermit(address fromaddress tokenaddress touint256 amountuint256 deadlineuint8 vbytes32 rbytes32 suint256 toChainID
changeMPC(address newMPCreturns (bool)
changeVault(address tokenaddress newVaultreturns (bool)
Events
LogAnySwapIn(bytes32 indexed txhashaddress indexed tokenaddress indexed touint256 amountuint256 fromChainIDuint256 toChainID
LogAnySwapOut(address indexed tokenaddress indexed fromaddress indexed touint256 amountuint256 fromChainIDuint256 toChainID
LogAnySwapTradeTokensForNative(address[] pathaddress indexed fromaddress indexed touint256 amountInuint256 amountOutMinuint256 fromChainIDuint256 toChainID
LogAnySwapTradeTokensForTokens(address[] pathaddress indexed fromaddress indexed touint256 amountInuint256 amountOutMinuint256 fromChainIDuint256 toChainID
LogChangeMPC(address indexed oldMPCaddress indexed newMPCuint256 indexed effectiveTimeuint256 chainID
LogChangeRouter(address indexed oldRouteraddress indexed newRouteruint256 chainID
Constructor
constructor(address _factoryaddress _wNATIVEaddress _mpc
Fallback and receive
receive(
Errors

This contract contains no error objects.