Transaction Hash:
Block:
11794895 at Feb-05-2021 07:20:52 AM +UTC
Transaction Fee:
0.0206123676 ETH
$52.19
Gas Used:
128,346 Gas / 160.6 Gwei
Emitted Events:
119 |
WETH9.Deposit( dst=[Receiver] UniswapV2Router02, wad=100000000000000000 )
|
120 |
WETH9.Transfer( src=[Receiver] UniswapV2Router02, dst=UniswapV2Pair, wad=100000000000000000 )
|
121 |
Token.Transfer( from=UniswapV2Pair, to=[Sender] 0xac653cc80f6606ececb49df0e42e581ed0c41a4b, value=52922553347 )
|
122 |
UniswapV2Pair.Sync( reserve0=275506155456224, reserve1=519121890702064002826 )
|
123 |
UniswapV2Pair.Swap( sender=[Receiver] UniswapV2Router02, amount0In=0, amount1In=100000000000000000, amount0Out=52922553347, amount1Out=0, to=[Sender] 0xac653cc80f6606ececb49df0e42e581ed0c41a4b )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x05039795...A415B85a7 | |||||
0xaAAf91D9...9c977E73a | |||||
0xaC653cc8...Ed0c41a4b |
0.149423806369864685 Eth
Nonce: 30
|
0.028811438769864685 Eth
Nonce: 31
| 0.1206123676 | ||
0xC02aaA39...83C756Cc2 | 5,685,454.474794353828239074 Eth | 5,685,454.574794353828239074 Eth | 0.1 | ||
0xEA674fdD...16B898ec8
Miner
| (Ethermine) | 1,893.238910485768704076 Eth | 1,893.259522853368704076 Eth | 0.0206123676 |
Execution Trace
ETH 0.1
UniswapV2Router02.swapExactETHForTokens( amountOutMin=52659257061, path=[0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2, 0xaAAf91D9b90dF800Df4F55c205fd6989c977E73a], to=0xaC653cc80f6606eCeCB49Df0E42e581Ed0c41a4b, deadline=1612510751 ) => ( amounts=[100000000000000000, 52922553347] )
-
UniswapV2Pair.STATICCALL( )
- ETH 0.1
WETH9.CALL( )
-
WETH9.transfer( dst=0x050397956e1FC8A0a2e62Af035275f8A415B85a7, wad=100000000000000000 ) => ( True )
UniswapV2Pair.swap( amount0Out=52922553347, amount1Out=0, to=0xaC653cc80f6606eCeCB49Df0E42e581Ed0c41a4b, data=0x )
-
Token.transfer( _to=0xaC653cc80f6606eCeCB49Df0E42e581Ed0c41a4b, _value=52922553347 ) => ( success=True )
-
Token.balanceOf( 0x050397956e1FC8A0a2e62Af035275f8A415B85a7 ) => ( 275506155456224 )
-
WETH9.balanceOf( 0x050397956e1FC8A0a2e62Af035275f8A415B85a7 ) => ( 519121890702064002826 )
-
swapExactETHForTokens[UniswapV2Router02 (ln:467)]
getAmountsOut[UniswapV2Router02 (ln:476)]
getReserves[UniswapV2Library (ln:739)]
sortTokens[UniswapV2Library (ln:702)]
getReserves[UniswapV2Library (ln:703)]
pairFor[UniswapV2Library (ln:703)]
sortTokens[UniswapV2Library (ln:691)]
deposit[UniswapV2Router02 (ln:478)]
transfer[UniswapV2Router02 (ln:479)]
pairFor[UniswapV2Router02 (ln:479)]
sortTokens[UniswapV2Library (ln:691)]
_swap[UniswapV2Router02 (ln:480)]
sortTokens[UniswapV2Router02 (ln:430)]
pairFor[UniswapV2Router02 (ln:433)]
sortTokens[UniswapV2Library (ln:691)]
swap[UniswapV2Router02 (ln:434)]
pairFor[UniswapV2Router02 (ln:434)]
sortTokens[UniswapV2Library (ln:691)]
File 1 of 4: UniswapV2Router02
File 2 of 4: WETH9
File 3 of 4: UniswapV2Pair
File 4 of 4: Token
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 4: 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;
File 3 of 4: 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 4: Token
12345678910111213141516pragma solidity >=0.4.4;// Copyright 2017 Alchemy Limited LLC, Do not distributecontract Constants {uint DECIMALS = 8;}contract Owned {address public owner;modifier onlyOwner() {if (msg.sender != owner) throw;_;}