UniswapV2Router02
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
0
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
HQG | ERC-20 | 2.1 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "UniswapV2Router02"
ABI
ABI objects
Getter at block 21219519
WETH() view returns (address)
0x0000000000000000000000000000000000000000
factory() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
getAmountIn(uint256 amountOut, uint256 reserveIn, uint256 reserveOut) pure returns (uint256 amountIn)
getAmountOut(uint256 amountIn, uint256 reserveIn, uint256 reserveOut) pure returns (uint256 amountOut)
getAmountsIn(uint256 amountOut, address[] path) view returns (uint256[] amounts)
getAmountsOut(uint256 amountIn, address[] path) view returns (uint256[] amounts)
getPairState(address tokenA, address tokenB) view returns (uint256 reserveA, uint256 reserveB, uint256 totalSupply)
pairFor(address tokenA, address tokenB) view returns (address pair)
quote(uint256 amountA, uint256 reserveA, uint256 reserveB) pure returns (uint256 amountB)
sortTokens(address tokenA, address tokenB) pure returns (address token0, address token1)
State-modifying
Events abortStarkware(address tokenA, address tokenB, string id) returns (uint256 newVaultId)
addLiquidity(address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) returns (uint256 amountA, uint256 amountB, uint256 liquidity)
addLiquidityETH(address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) payable returns (uint256 amountToken, uint256 amountETH, uint256 liquidity)
createPair(address tokenA, address tokenB, address expectedPairAddress) returns (address pair)
depositAndActiveL2(address tokenA, address tokenB, uint256 pairAssetId, uint256 tokenAAssetId, uint256 tokenBAssetId, uint256 amountA, uint256 amountB, address to)
initialize(address _factory, address _WETH)
removeLiquidity(address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) returns (uint256 amountA, uint256 amountB)
removeLiquidityETH(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) returns (uint256 amountToken, uint256 amountETH)
settleStarkWare(address tokenA, address tokenB, string id) returns (bool)
setupAndActivateL2(address tokenA, address tokenB, uint256 pairAssetId, uint256 tokenAAssetId, uint256 tokenBAssetId)
setupStarkware(address tokenA, address tokenB, uint256 assetId, uint256 tokenAAssetId, uint256 tokenBAssetId)
swapETHForExactTokens(uint256 amountOut, address[] path, address to, uint256 deadline) payable returns (uint256[] amounts)
swapExactETHForTokens(uint256 amountOutMin, address[] path, address to, uint256 deadline) payable returns (uint256[] amounts)
swapExactTokensForETH(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns (uint256[] amounts)
swapExactTokensForTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns (uint256[] amounts)
swapTokensForExactETH(uint256 amountOut, uint256 amountInMax, address[] path, address to, uint256 deadline) returns (uint256[] amounts)
swapTokensForExactTokens(uint256 amountOut, uint256 amountInMax, address[] path, address to, uint256 deadline) returns (uint256[] amounts)
syncStarkware(struct StarkwareSyncDtosSwapArgs swapArgs, struct StarkwareSyncDtosFundingArgs fundingArgs, uint256 nonceToUse, address exchangeAddress, string id) returns (bool)
toggleLayer2(address tokenA, address tokenB, bool state)
Layer2StateChange(address indexed pair, bool isLayer2, uint256 balance0, uint256 balance1, uint256 totalSupply)
Sync(address indexed pair, string id, string name, uint256 vaultId)
This contract contains no constructor objects.
receive()
This contract contains no error objects.