ScaleRouter

Verified contract

Active on Base with 73,576 txns
Deployed by via 0xe261538d at 4835227
Slot Value
0x0000000000000000000000000000000000000000000000000000000000000000 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000001 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000002 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000003 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000004 0x0000000000000000000000000000000000000000000000000000000000000000
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
0x9c9effbf48beb078b60005166f59231ea6a3d9a3855bd1636594e76f58b59439
0xca8ec489b76685b3584c0f0493b3217b7c79cdb496e545d04417a817030d85de
0xc4a7cdb6f18706e5b2049aca46cab5e10728b81f962e900f7b574e06c5a49aad
0x105d3151b41f680bebee7bb0b3c09caf03a35536ce535ff9500000ef0061ef4c
0x9b16a8da4e33031b2b18ed7463f81b33dd3e8f90cb2fa45783ba389111bd9be4
0x7da7377928836c919c9b5386277a8dbe3501268702efc635bc4f8b9beee013ea
0x4158c5a489d12eed3ab267d4b4af068f46d99457e9ae42cbd82f6486df8b4c64
0xd3e955e24a8c3f7613ee37d96547ebdc8fdbfff9c6689e74b72f18c9a3a133b7
0x925916b5211f20f776ecb17a58a0b4b83a2b8a309384ca2df944cf0a175465d2
0x46cb42e76b7bdadbb6a8520df47cf30b33ef776fcd2c8095b80aff1dcdd9b147

Functions
Getter at block 21750476
factory(view returns (address)
0xed8db60acc29e14bc867a497d94ca6e3ceb5ec04
pairCodeHash(view returns (bytes32)
0x7ba31a081e879b8e7f06d4e8bf5ee26b5c2680669c5701f4cdbdcde51727b275
voter(view returns (address)
0x46abb88ae1f2a35ea559925d99fdc5441b592687
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 ScaleRouterRoute[] 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 ScaleRouterRoute[] 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)
removeLiquidityETHSupportingFeeOnTransferTokens(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)
removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(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 ScaleRouterRoute[] routesaddress touint256 deadlinepayable returns (uint256[] amounts)
swapExactETHForTokensSupportingFeeOnTransferTokens(uint256 amountOutMinstruct ScaleRouterRoute[] routesaddress touint256 deadlinepayable 
swapExactTokensForETH(uint256 amountInuint256 amountOutMinstruct ScaleRouterRoute[] routesaddress touint256 deadlinereturns (uint256[] amounts)
swapExactTokensForETHSupportingFeeOnTransferTokens(uint256 amountInuint256 amountOutMinstruct ScaleRouterRoute[] routesaddress touint256 deadline
swapExactTokensForTokens(uint256 amountInuint256 amountOutMinstruct ScaleRouterRoute[] routesaddress touint256 deadlinereturns (uint256[] amounts)
swapExactTokensForTokensSimple(uint256 amountInuint256 amountOutMinaddress tokenFromaddress tokenTobool stableaddress touint256 deadlinereturns (uint256[] amounts)
swapExactTokensForTokensSupportingFeeOnTransferTokens(uint256 amountInuint256 amountOutMinstruct ScaleRouterRoute[] routesaddress touint256 deadline
Events

This contract contains no event objects.

Constructor
constructor(address _factoryaddress _wethaddress _voter
Fallback and receive
receive(
Errors

This contract contains no error objects.