Transaction Hash:
Block:
10876348 at Sep-17-2020 12:20:37 AM +UTC
Transaction Fee:
0.186598839 ETH
$800.03
Gas Used:
2,704,331 Gas / 69 Gwei
Emitted Events:
186 |
UniswapV2Factory.PairCreated( token0=Uni, token1=WETH9, pair=UniswapV2Pair, 9342 )
|
187 |
Uni.Transfer( from=[Sender] 0x26921a182cf9d6f33730d7f37e1a86fd430863af, to=UniswapV2Pair, amount=100000000000000000000 )
|
188 |
WETH9.Deposit( dst=[Receiver] UniswapV2Router02, wad=1000000000000000000 )
|
189 |
WETH9.Transfer( src=[Receiver] UniswapV2Router02, dst=UniswapV2Pair, wad=1000000000000000000 )
|
190 |
UniswapV2Pair.Transfer( from=0x0000000000000000000000000000000000000000, to=0x0000000000000000000000000000000000000000, value=1000 )
|
191 |
UniswapV2Pair.Transfer( from=0x0000000000000000000000000000000000000000, to=[Sender] 0x26921a182cf9d6f33730d7f37e1a86fd430863af, value=9999999999999999000 )
|
192 |
UniswapV2Pair.Sync( reserve0=100000000000000000000, reserve1=1000000000000000000 )
|
193 |
UniswapV2Pair.Mint( sender=[Receiver] UniswapV2Router02, amount0=100000000000000000000, amount1=1000000000000000000 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x1f9840a8...C4201F984 | |||||
0x26921A18...d430863Af |
4.217455565744757883 Eth
Nonce: 154
|
3.030856726744757883 Eth
Nonce: 155
| 1.186598839 | ||
0x5A0b54D5...D3E029c4c
Miner
| (Spark Pool) | 71.574089026573601835 Eth | 71.760687865573601835 Eth | 0.186598839 | |
0x5C69bEe7...B9cc5aA6f | (Uniswap V2: Factory Contract) | ||||
0xC02aaA39...83C756Cc2 | 5,988,410.42470555900986519 Eth | 5,988,411.42470555900986519 Eth | 1 | ||
0xd3d2E269...513033a17 |
0 Eth
Nonce: 0
|
0 Eth
Nonce: 1
|
Execution Trace
ETH 1
UniswapV2Router02.addLiquidityETH( token=0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984, amountTokenDesired=100000000000000000000, amountTokenMin=100000000000000000000, amountETHMin=1000000000000000000, to=0x26921A182Cf9D6F33730D7F37E1a86fd430863Af, deadline=1600303186 ) => ( amountToken=100000000000000000000, amountETH=1000000000000000000, liquidity=9999999999999999000 )
-
UniswapV2Factory.getPair( 0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984, 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 ) => ( 0x0000000000000000000000000000000000000000 )
UniswapV2Factory.createPair( tokenA=0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984, tokenB=0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 ) => ( pair=0xd3d2E2692501A5c9Ca623199D38826e513033a17 )
-
UniswapV2Pair.60806040( )
-
UniswapV2Pair.initialize( _token0=0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984, _token1=0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 )
-
-
UniswapV2Pair.STATICCALL( )
-
Uni.transferFrom( src=0x26921A182Cf9D6F33730D7F37E1a86fd430863Af, dst=0xd3d2E2692501A5c9Ca623199D38826e513033a17, rawAmount=100000000000000000000 ) => ( False )
- ETH 1
WETH9.CALL( )
-
WETH9.transfer( dst=0xd3d2E2692501A5c9Ca623199D38826e513033a17, wad=1000000000000000000 ) => ( True )
UniswapV2Pair.mint( to=0x26921A182Cf9D6F33730D7F37E1a86fd430863Af ) => ( liquidity=9999999999999999000 )
-
Uni.balanceOf( account=0xd3d2E2692501A5c9Ca623199D38826e513033a17 ) => ( 100000000000000000000 )
-
WETH9.balanceOf( 0xd3d2E2692501A5c9Ca623199D38826e513033a17 ) => ( 1000000000000000000 )
-
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: Uni
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: Uni
12345678910111213141516/***Submitted for verification at Etherscan.io on 2020-09-15*/pragma solidity ^0.5.16;pragma experimental ABIEncoderV2;// From https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/math/Math.sol// Subject to the MIT license./*** @dev Wrappers over Solidity's arithmetic operations with added overflow* checks.** Arithmetic operations in Solidity wrap on overflow. This can easily result* in bugs, because programmers usually assume that an overflow raises an
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;