Transaction Hash:
Block:
20961825 at Oct-14-2024 05:48:23 AM +UTC
Transaction Fee:
0.026211672460036504 ETH
$100.96
Gas Used:
2,709,143 Gas / 9.675263528 Gwei
Emitted Events:
175 |
UniswapV2Factory.PairCreated( token0=StandardToken, token1=WETH9, pair=UniswapV2Pair, 378890 )
|
176 |
StandardToken.Transfer( from=[Sender] 0x6e7ac47ae6fe7407212d443006f8b6529e1690e4, to=UniswapV2Pair, value=10000000000000000000000 )
|
177 |
StandardToken.Approval( owner=[Sender] 0x6e7ac47ae6fe7407212d443006f8b6529e1690e4, spender=[Receiver] UniswapV2Router02, value=115792089237316195423570985008687907853269984665640564029457584007913129639935 )
|
178 |
WETH9.Deposit( dst=[Receiver] UniswapV2Router02, wad=20000000000000000000 )
|
179 |
WETH9.Transfer( src=[Receiver] UniswapV2Router02, dst=UniswapV2Pair, wad=20000000000000000000 )
|
180 |
UniswapV2Pair.Transfer( from=0x0000000000000000000000000000000000000000, to=0x0000000000000000000000000000000000000000, value=1000 )
|
181 |
UniswapV2Pair.Transfer( from=0x0000000000000000000000000000000000000000, to=[Sender] 0x6e7ac47ae6fe7407212d443006f8b6529e1690e4, value=447213595499957938281 )
|
182 |
UniswapV2Pair.Sync( reserve0=10000000000000000000000, reserve1=20000000000000000000 )
|
183 |
UniswapV2Pair.Mint( sender=[Receiver] UniswapV2Router02, amount0=10000000000000000000000, amount1=20000000000000000000 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x5C69bEe7...B9cc5aA6f | (Uniswap V2: Factory Contract) | ||||
0x66f85E38...f12e46CCf | |||||
0x6e7AC47a...29e1690E4 |
20.977568115433353221 Eth
Nonce: 2
|
0.951356442973316717 Eth
Nonce: 3
| 20.026211672460036504 | ||
0x95222290...5CC4BAfe5
Miner
| (beaverbuild) | 11.639145325222919301 Eth | 11.641854468222919301 Eth | 0.002709143 | |
0xaaD6b3a2...d8c1c8327 |
0 Eth
Nonce: 0
|
0 Eth
Nonce: 1
| |||
0xC02aaA39...83C756Cc2 | 2,946,652.703984129203742598 Eth | 2,946,672.703984129203742598 Eth | 20 |
Execution Trace
ETH 20
UniswapV2Router02.addLiquidityETH( token=0x66f85E3865D0cFDC009acf6280a8621f12e46CCf, amountTokenDesired=10000000000000000000000, amountTokenMin=10000000000000000000000, amountETHMin=20000000000000000000, to=0x6e7AC47aE6Fe7407212d443006F8B6529e1690E4, deadline=1728885479 ) => ( amountToken=10000000000000000000000, amountETH=20000000000000000000, liquidity=447213595499957938281 )
-
UniswapV2Factory.getPair( 0x66f85E3865D0cFDC009acf6280a8621f12e46CCf, 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 ) => ( 0x0000000000000000000000000000000000000000 )
UniswapV2Factory.createPair( tokenA=0x66f85E3865D0cFDC009acf6280a8621f12e46CCf, tokenB=0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 ) => ( pair=0xaaD6b3a2279C18097c3CbfB6f90fae2d8c1c8327 )
-
UniswapV2Pair.60806040( )
-
UniswapV2Pair.initialize( _token0=0x66f85E3865D0cFDC009acf6280a8621f12e46CCf, _token1=0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 )
-
-
UniswapV2Pair.STATICCALL( )
-
StandardToken.transferFrom( sender=0x6e7AC47aE6Fe7407212d443006F8B6529e1690E4, recipient=0xaaD6b3a2279C18097c3CbfB6f90fae2d8c1c8327, amount=10000000000000000000000 ) => ( True )
- ETH 20
WETH9.CALL( )
-
WETH9.transfer( dst=0xaaD6b3a2279C18097c3CbfB6f90fae2d8c1c8327, wad=20000000000000000000 ) => ( True )
UniswapV2Pair.mint( to=0x6e7AC47aE6Fe7407212d443006F8B6529e1690E4 ) => ( liquidity=447213595499957938281 )
-
StandardToken.balanceOf( account=0xaaD6b3a2279C18097c3CbfB6f90fae2d8c1c8327 ) => ( 10000000000000000000000 )
-
WETH9.balanceOf( 0xaaD6b3a2279C18097c3CbfB6f90fae2d8c1c8327 ) => ( 20000000000000000000 )
-
UniswapV2Factory.STATICCALL( )
-
addLiquidityETH[UniswapV2Router02 (ln:292)]
_addLiquidity[UniswapV2Router02 (ln:300)]
getPair[UniswapV2Router02 (ln:257)]
createPair[UniswapV2Router02 (ln:258)]
getReserves[UniswapV2Router02 (ln:260)]
sortTokens[UniswapV2Library (ln:702)]
getReserves[UniswapV2Library (ln:703)]
pairFor[UniswapV2Library (ln:703)]
sortTokens[UniswapV2Library (ln:691)]
pairFor[UniswapV2Router02 (ln:308)]
sortTokens[UniswapV2Library (ln:691)]
safeTransferFrom[UniswapV2Router02 (ln:309)]
call[TransferHelper (ln:772)]
encodeWithSelector[TransferHelper (ln:772)]
decode[TransferHelper (ln:773)]
deposit[UniswapV2Router02 (ln:310)]
transfer[UniswapV2Router02 (ln:311)]
mint[UniswapV2Router02 (ln:312)]
safeTransferETH[UniswapV2Router02 (ln:314)]
File 1 of 5: UniswapV2Router02
File 2 of 5: UniswapV2Factory
File 3 of 5: UniswapV2Pair
File 4 of 5: StandardToken
File 5 of 5: WETH9
12345678910111213141516pragma solidity =0.6.6;interface IUniswapV2Factory {event PairCreated(address indexed token0, address indexed token1, address pair, uint);function feeTo() external view returns (address);function feeToSetter() external view returns (address);function getPair(address tokenA, address tokenB) external view returns (address pair);function allPairs(uint) external view returns (address pair);function allPairsLength() external view returns (uint);function createPair(address tokenA, address tokenB) external returns (address pair);function setFeeTo(address) external;function setFeeToSetter(address) external;
File 2 of 5: UniswapV2Factory
12345678910111213141516pragma solidity =0.5.16;interface IUniswapV2Factory {event PairCreated(address indexed token0, address indexed token1, address pair, uint);function feeTo() external view returns (address);function feeToSetter() external view returns (address);function getPair(address tokenA, address tokenB) external view returns (address pair);function allPairs(uint) external view returns (address pair);function allPairsLength() external view returns (uint);function createPair(address tokenA, address tokenB) external returns (address pair);function setFeeTo(address) external;function setFeeToSetter(address) external;
File 3 of 5: UniswapV2Pair
12345678910111213141516// File: contracts/interfaces/IUniswapV2Pair.solpragma solidity >=0.5.0;interface IUniswapV2Pair {event Approval(address indexed owner, address indexed spender, uint value);event Transfer(address indexed from, address indexed to, uint value);function name() external pure returns (string memory);function symbol() external pure returns (string memory);function decimals() external pure returns (uint8);function totalSupply() external view returns (uint);function balanceOf(address owner) external view returns (uint);function allowance(address owner, address spender) external view returns (uint);function approve(address spender, uint value) external returns (bool);
File 4 of 5: StandardToken
12345678910111213141516// Dependency file: @openzeppelin/contracts/token/ERC20/IERC20.sol// SPDX-License-Identifier: MIT// pragma solidity ^0.8.0;/*** @dev Interface of the ERC20 standard as defined in the EIP.*/interface IERC20 {/*** @dev Returns the amount of tokens in existence.*/function totalSupply() external view returns (uint256);/**
File 5 of 5: WETH9
12345678910111213141516// Copyright (C) 2015, 2016, 2017 Dapphub// This program is free software: you can redistribute it and/or modify// it under the terms of the GNU General Public License as published by// the Free Software Foundation, either version 3 of the License, or// (at your option) any later version.// This program is distributed in the hope that it will be useful,// but WITHOUT ANY WARRANTY; without even the implied warranty of// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the// GNU General Public License for more details.// You should have received a copy of the GNU General Public License// along with this program. If not, see <http://www.gnu.org/licenses/>.pragma solidity ^0.4.18;