Router

Verified contract

Active on Base with 62,508 txns
Deployed by via 0x0a804fd3 at 11704805
Slot Value
0x0000000000000000000000000000000000000000000000000000000000000000 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000001 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000002 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000003 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000004 0x0000000000000000000000000000000000000000000000000000000000000000
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0x665c31aa81a9829274a863b5e9ca97553545a384f6eb66693893890167fdf87d
0x6bd5aa97bd8a63628672906148792b5838ef45053864527eee8fcaf0acad38c9
0xec68758c1e765d51aaaf49e38396ceba3884112b4f278965d4f15d2ccc830701
0x6c920227455676c4b0677248135237349c5a4e5d40db398db4a225a2413790bd
0xb2272117890ad20b86f1b16a8e5f71c1a00fd556f782d98a98cc82ce4538ffc7
0x8a7edbd6e9e9def49f4939fc131feae79737c9b8efa923ae865e3d840aae1408
0xc16f4c8b7bc6f1522840029ba05002a354acdb66d4a289ea38edbbf03e19e691
0xc47b69ad7bebc2cdb445b0f66f9a3a8c91f3e4cd5199ac4a01427595708a53f4
0x2cb9ccaddced42f997167e2eb7dcc3325520e4f485f0bd1b1fe80451eddb5630
0xc1e6f71763af0860d095ac713fb6e2872e2ce37e11871fdb99d9ea7c68d17e4b

Functions
Getter at block 22756144
factory(view returns (address)
0x2d9a3a2bd6400ee28d770c7254ca840c82faf23f
lockFactory(view returns (address)
0x2d259c6c1a7acb410326ca662a26ca3fddb890ba
weth(view returns (address)
0x4200000000000000000000000000000000000006
Read-only
getAmountOut(uint256 amountInaddress tokenInaddress tokenOutview returns (uint256 amountbool stable)
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 tokenBuint256 amountADesireduint256 amountBDesireduint256 amountAMinuint256 amountBMinaddress touint256 deadlinebool stableuint256 lockerFeesPreturns (uint256 amountAuint256 amountBuint256 liquidity)
addLiquidityETH(address tokenuint256 amountTokenDesireduint256 amountTokenMinuint256 amountETHMinaddress touint256 deadlinebool stableuint256 lockerFeesPpayable 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 _lockFactoryaddress _weth
Fallback and receive
receive(
Errors
AddressEmptyCode(address target
AddressInsufficientBalance(address account
FailedInnerCall(
SafeERC20FailedOperation(address token