Router

Verified contract

Active on Base with 31,228 txns
Deployed by via 0xb7d9fa83 at 1962648
Slot Value
0x0000000000000000000000000000000000000000000000000000000000000000 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000001 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000002 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000003 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000004 0x0000000000000000000000000000000000000000000000000000000000000000
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
)
ERC-721
--
ERC-20
--
0x1ddaf6710f73ee358fbfcbf9fcf2f8dc3ac9bd77c160b3bdabee8fc5912c92b7
0x6412820ddae68ce662575038f7a214baba6151e69d405ace7bc86b2dce5d7a70
0x7f9c69a3b3da95fe2c7ee77ee9d7e5f177be7c77cae035edc4756327fb00f76d
0x6d17497454396c97ccd6b573457522cbab7f9c2e7053867cba24ae87dd7b7928
0x0c08b018783336b3dee6f16ac5c82707c9f5738c6842f7b278d0d889ad653789
0x9f059b0df8d3448f96cb3625ab87b971af66cc6b199c902aa0e3fdbe9d14356f
0xf11dca1912c8f295282dac74f9ddfbe4c2efd5d7291fa87cf3a5c8be6a21c01c
0xb348af3140fd1ea984ae1fa02061e5ec03d7c81a07f0a2201efa0875d2b9fb46
0x21d2309214fa8524e8e7efae1f19eb241b3289a2062c3038098c555409d49b13
0x2637b074599f8dc2ea7b2a8b7b51ac0f1d3c692c2e248806de0f686e641e78e8

Functions
Getter at block 22745879
factory(view returns (address)
0xe21aac7f113bd5dc2389e4d8a8db854a87fd6951
weth(view returns (address)
0x4200000000000000000000000000000000000006
Read-only
getAmountOut(uint256 amountInaddress tokenInaddress tokenOutview returns (uint256 amountbool stable)
getAmountOut(uint256 amountInaddress tokenInaddress tokenOutbool stableview returns (uint256 amount)
getAmountsOut(uint256 amountInstruct Routerroute[] routesview returns (uint256[] amounts)
getReserves(address tokenAaddress tokenBbool stableview returns (uint256 reserveAuint256 reserveB)
isPair(address pairview returns (bool)
pairFor(address tokenAaddress tokenBbool stableview returns (address pair)
quoteAddLiquidity(address tokenAaddress tokenBbool stableuint256 amountADesireduint256 amountBDesiredview returns (uint256 amountAuint256 amountBuint256 liquidity)
quoteRemoveLiquidity(address tokenAaddress tokenBbool stableuint256 liquidityview returns (uint256 amountAuint256 amountB)
sortTokens(address tokenAaddress tokenBpure returns (address token0address token1)
State-modifying
UNSAFE_swapExactTokensForTokens(uint256[] amountsstruct Routerroute[] routesaddress touint256 deadlinereturns (uint256[])
addLiquidity(address tokenAaddress tokenBbool stableuint256 amountADesireduint256 amountBDesireduint256 amountAMinuint256 amountBMinaddress touint256 deadlinereturns (uint256 amountAuint256 amountBuint256 liquidity)
addLiquidityETH(address tokenbool stableuint256 amountTokenDesireduint256 amountTokenMinuint256 amountETHMinaddress touint256 deadlinepayable returns (uint256 amountTokenuint256 amountETHuint256 liquidity)
removeLiquidity(address tokenAaddress tokenBbool stableuint256 liquidityuint256 amountAMinuint256 amountBMinaddress touint256 deadlinereturns (uint256 amountAuint256 amountB)
removeLiquidityETH(address tokenbool stableuint256 liquidityuint256 amountTokenMinuint256 amountETHMinaddress touint256 deadlinereturns (uint256 amountTokenuint256 amountETH)
removeLiquidityETHWithPermit(address tokenbool stableuint256 liquidityuint256 amountTokenMinuint256 amountETHMinaddress touint256 deadlinebool approveMaxuint8 vbytes32 rbytes32 sreturns (uint256 amountTokenuint256 amountETH)
removeLiquidityWithPermit(address tokenAaddress tokenBbool stableuint256 liquidityuint256 amountAMinuint256 amountBMinaddress touint256 deadlinebool approveMaxuint8 vbytes32 rbytes32 sreturns (uint256 amountAuint256 amountB)
swapExactETHForTokens(uint256 amountOutMinstruct Routerroute[] routesaddress touint256 deadlinepayable returns (uint256[] amounts)
swapExactTokensForETH(uint256 amountInuint256 amountOutMinstruct Routerroute[] routesaddress touint256 deadlinereturns (uint256[] amounts)
swapExactTokensForTokens(uint256 amountInuint256 amountOutMinstruct Routerroute[] routesaddress touint256 deadlinereturns (uint256[] amounts)
swapExactTokensForTokensSimple(uint256 amountInuint256 amountOutMinaddress tokenFromaddress tokenTobool stableaddress touint256 deadlinereturns (uint256[] amounts)
Events

This contract contains no event objects.

Constructor
constructor(address _factoryaddress _weth
Fallback and receive
receive(
Errors

This contract contains no error objects.