AnyswapV6Router

Verified contract

Active on Ethereum with 38,737 txns
Deployed by via 0xc64a3137 at 14698380
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $8.51
0x74a0ede40bee48c8ab03a7ec4c9ca95e5eae9afbf05aa2b8b6472588cfc64ac1
0x9c288816c944921a135ac94fe4b33cf48c3f1a64090d93e4ff9bd30aea001a5f
0x47b9bdcc384678e18a7f3c929ca2e82bf0a3ad9664ff103ddfe128ee3bac6af8
0x7e46c0cf709629cb66b8d023a771233ffcf8e8f8b1b95b9bacef5a8b77d22ac8
0xb0b24427e938e2624f59f294007a3e60adb04c4c3ef8615b7c18b873eafb1e5a
0xdde1bb8b0e7b8927cd410a5942e3570a475533ba478c233848503495ace52271
0x690913791af1cb81f02e1889008811ec84b112c5bd7c12918cd62bb735936e07
0x8e2ebd6a8421274aaeea9ffaa41f1c4710d81cfc16e9ce24fd2ac3fae601072d
0x20e4e090ed068a1c78a19459e8e093f5fbcdc2c52c898e7dce4a3654e1aceaf4
0xb2a610c77e60be5c732ac281bfb4e5e47e2c6d0242ac8229095ded61e7c6a202

Functions
Getter at block 20887069
cID(view returns (uint256 id)
1
enableSwapTrade(view returns (bool)
false
factory(view returns (address)
0xc0aee478e3658e2610c5f7a4a2e1777ce9e4f2ac
mpc(view returns (address)
0xe19105463d6fe2f2bd86c69ad478f4b76ce49c53
wNATIVE(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
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 tokenstring 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
anySwapOutExactTokensForTokens(uint256 amountInuint256 amountOutMinaddress[] pathaddress touint256 deadlineuint256 toChainID
anySwapOutExactTokensForTokensUnderlying(uint256 amountInuint256 amountOutMinaddress[] pathaddress touint256 deadlineuint256 toChainID
anySwapOutNative(address tokenaddress touint256 toChainIDpayable 
anySwapOutNative(address tokenstring touint256 toChainIDpayable 
anySwapOutUnderlying(address tokenaddress touint256 amountuint256 toChainID
anySwapOutUnderlying(address tokenstring touint256 amountuint256 toChainID
applyMinter(address token
changeMPC(address newMPCreturns (bool)
changeVault(address tokenaddress newVaultreturns (bool)
depositNative(address tokenaddress topayable returns (uint256)
revokeMinter(address tokenaddress _auth
setEnableSwapTrade(bool enable
setMinter(address tokenaddress _auth
withdrawNative(address tokenuint256 amountaddress toreturns (uint256)
Events
LogAnySwapIn(bytes32 indexed txhashaddress indexed tokenaddress indexed touint256 amountuint256 fromChainIDuint256 toChainID
LogAnySwapOut(address indexed tokenaddress indexed fromaddress indexed touint256 amountuint256 fromChainIDuint256 toChainID
LogAnySwapOut(address indexed tokenaddress indexed fromstring 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.