Transaction Hash:
Block:
12817535 at Jul-13-2021 07:48:16 AM +UTC
Transaction Fee:
0.001148436 ETH
$4.35
Gas Used:
49,932 Gas / 23 Gwei
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x077f3739...C66e8ec28 |
0.060744580051537634 Eth
Nonce: 350
|
0.059596144051537634 Eth
Nonce: 351
| 0.001148436 | ||
0xEA674fdD...16B898ec8
Miner
| (Ethermine) | 2,082.589401901554518557 Eth | 2,082.590550337554518557 Eth | 0.001148436 |
Execution Trace
ETH 0.005924567529898875
UniswapV2Router02.swapETHForExactTokens( amountOut=1000, path=[0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2, 0xdB25f211AB05b1c97D595516F45794528a807ad8], to=0x077f37398771C7863B6ce7A3231e12dC66e8ec28, deadline=1626163972 )
-
UniswapV2Pair.STATICCALL( )
- ETH 0.00589509206955112
WETH9.CALL( )
swapETHForExactTokens[UniswapV2Router02 (ln:516)]
getAmountsIn[UniswapV2Router02 (ln:525)]
getReserves[UniswapV2Library (ln:750)]
sortTokens[UniswapV2Library (ln:702)]
getReserves[UniswapV2Library (ln:703)]
pairFor[UniswapV2Library (ln:703)]
sortTokens[UniswapV2Library (ln:691)]
deposit[UniswapV2Router02 (ln:527)]
transfer[UniswapV2Router02 (ln:528)]
pairFor[UniswapV2Router02 (ln:528)]
sortTokens[UniswapV2Library (ln:691)]
_swap[UniswapV2Router02 (ln:529)]
sortTokens[UniswapV2Router02 (ln:430)]
pairFor[UniswapV2Router02 (ln:433)]
sortTokens[UniswapV2Library (ln:691)]
swap[UniswapV2Router02 (ln:434)]
pairFor[UniswapV2Router02 (ln:434)]
sortTokens[UniswapV2Library (ln:691)]
safeTransferETH[UniswapV2Router02 (ln:531)]
File 1 of 3: UniswapV2Router02
File 2 of 3: UniswapV2Pair
File 3 of 3: 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 3: 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 3 of 3: 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;