UniswapV2Router02

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0xd4f55031 at 15281726
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--

No transactions found for "UniswapV2Router02"


Functions
Getter at block 21296787
WETH(view returns (address)
0x0000000000000000000000000000000000000000
factory(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)
getPairState(address tokenAaddress tokenBview returns (uint256 reserveAuint256 reserveBuint256 totalSupply)
pairFor(address tokenAaddress tokenBview returns (address pair)
quote(uint256 amountAuint256 reserveAuint256 reserveBpure returns (uint256 amountB)
sortTokens(address tokenAaddress tokenBpure returns (address token0address token1)
State-modifying
abortStarkware(address tokenAaddress tokenBstring idreturns (uint256 newVaultId)
addLiquidity(address tokenAaddress tokenBuint256 amountADesireduint256 amountBDesireduint256 amountAMinuint256 amountBMinaddress touint256 deadlinereturns (uint256 amountAuint256 amountBuint256 liquidity)
addLiquidityETH(address tokenuint256 amountTokenDesireduint256 amountTokenMinuint256 amountETHMinaddress touint256 deadlinepayable returns (uint256 amountTokenuint256 amountETHuint256 liquidity)
createPair(address tokenAaddress tokenBaddress expectedPairAddressreturns (address pair)
depositAndActiveL2(address tokenAaddress tokenBuint256 pairAssetIduint256 tokenAAssetIduint256 tokenBAssetIduint256 amountAuint256 amountBaddress to
initialize(address _factoryaddress _WETH
removeLiquidity(address tokenAaddress tokenBuint256 liquidityuint256 amountAMinuint256 amountBMinaddress touint256 deadlinereturns (uint256 amountAuint256 amountB)
removeLiquidityETH(address tokenuint256 liquidityuint256 amountTokenMinuint256 amountETHMinaddress touint256 deadlinereturns (uint256 amountTokenuint256 amountETH)
settleStarkWare(address tokenAaddress tokenBstring idreturns (bool)
setupAndActivateL2(address tokenAaddress tokenBuint256 pairAssetIduint256 tokenAAssetIduint256 tokenBAssetId
setupStarkware(address tokenAaddress tokenBuint256 assetIduint256 tokenAAssetIduint256 tokenBAssetId
swapETHForExactTokens(uint256 amountOutaddress[] pathaddress touint256 deadlinepayable returns (uint256[] amounts)
swapExactETHForTokens(uint256 amountOutMinaddress[] pathaddress touint256 deadlinepayable returns (uint256[] amounts)
swapExactTokensForETH(uint256 amountInuint256 amountOutMinaddress[] pathaddress touint256 deadlinereturns (uint256[] amounts)
swapExactTokensForTokens(uint256 amountInuint256 amountOutMinaddress[] pathaddress touint256 deadlinereturns (uint256[] amounts)
swapTokensForExactETH(uint256 amountOutuint256 amountInMaxaddress[] pathaddress touint256 deadlinereturns (uint256[] amounts)
swapTokensForExactTokens(uint256 amountOutuint256 amountInMaxaddress[] pathaddress touint256 deadlinereturns (uint256[] amounts)
syncStarkware(struct StarkwareSyncDtosSwapArgs swapArgsstruct StarkwareSyncDtosFundingArgs fundingArgsuint256 nonceToUseaddress exchangeAddressstring idreturns (bool)
toggleLayer2(address tokenAaddress tokenBbool state
Events
Layer2StateChange(address indexed pairbool isLayer2uint256 balance0uint256 balance1uint256 totalSupply
Sync(address indexed pairstring idstring nameuint256 vaultId
Constructor

This contract contains no constructor objects.

Fallback and receive
receive(
Errors

This contract contains no error objects.