Transaction Hash:
Block:
11018325 at Oct-09-2020 01:26:52 AM +UTC
Transaction Fee:
0.00533312 ETH
$13.71
Gas Used:
133,328 Gas / 40 Gwei
Emitted Events:
67 |
WETH9.Deposit( dst=[Receiver] UniswapV2Router02, wad=100000000000000000 )
|
68 |
WETH9.Transfer( src=[Receiver] UniswapV2Router02, dst=UniswapV2Pair, wad=100000000000000000 )
|
69 |
FiatTokenProxy.0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef( 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef, 0x000000000000000000000000b4e16d0168e52d35cacd2c6185b44281ec28c9dc, 0x00000000000000000000000015ae76920e6c3570e13e443677a0503e6e95bf79, 0000000000000000000000000000000000000000000000000000000002138968 )
|
70 |
UniswapV2Pair.Sync( reserve0=260650216466971, reserve1=746002152216484343012504 )
|
71 |
UniswapV2Pair.Swap( sender=[Receiver] UniswapV2Router02, amount0In=0, amount1In=100000000000000000, amount0Out=34834792, amount1Out=0, to=[Sender] 0x15ae76920e6c3570e13e443677a0503e6e95bf79 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x15ae7692...E6e95bF79 |
1 Eth
Nonce: 0
|
0.89466688 Eth
Nonce: 1
| 0.10533312 | ||
0xA0b86991...E3606eB48 | |||||
0xB4e16d01...1Ec28C9Dc | |||||
0xC02aaA39...83C756Cc2 | 7,468,325.82329319214773992 Eth | 7,468,325.92329319214773992 Eth | 0.1 | ||
0xC4aEb207...332b9BC77
Miner
| (Easy2Mine) | 939.05116659883575923 Eth | 939.05649971883575923 Eth | 0.00533312 |
Execution Trace
ETH 0.1
UniswapV2Router02.swapExactETHForTokens( amountOutMin=34661525, path=[0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2, 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48], to=0x15ae76920e6C3570E13e443677A0503E6e95bF79, deadline=1602207937 ) => ( amounts=[100000000000000000, 34834792] )
-
UniswapV2Pair.STATICCALL( )
- ETH 0.1
WETH9.CALL( )
-
WETH9.transfer( dst=0xB4e16d0168e52d35CaCD2c6185b44281Ec28C9Dc, wad=100000000000000000 ) => ( True )
UniswapV2Pair.swap( amount0Out=34834792, amount1Out=0, to=0x15ae76920e6C3570E13e443677A0503E6e95bF79, data=0x )
FiatTokenProxy.a9059cbb( )
-
FiatTokenV2.transfer( to=0x15ae76920e6C3570E13e443677A0503E6e95bF79, value=34834792 ) => ( True )
-
FiatTokenProxy.70a08231( )
-
FiatTokenV2.balanceOf( account=0xB4e16d0168e52d35CaCD2c6185b44281Ec28C9Dc ) => ( 260650216466971 )
-
-
WETH9.balanceOf( 0xB4e16d0168e52d35CaCD2c6185b44281Ec28C9Dc ) => ( 746002152216484343012504 )
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 5: UniswapV2Router02
File 2 of 5: WETH9
File 3 of 5: UniswapV2Pair
File 4 of 5: FiatTokenProxy
File 5 of 5: FiatTokenV2
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: 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 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: FiatTokenProxy
12345678910111213141516pragma solidity ^0.4.24;// File: zos-lib/contracts/upgradeability/Proxy.sol/*** @title Proxy* @dev Implements delegation of calls to other contracts, with proper* forwarding of return values and bubbling of failures.* It defines a fallback function that delegates all calls to the address* returned by the abstract _implementation() internal function.*/contract Proxy {/*** @dev Fallback function.* Implemented entirely in `_fallback`.*/
File 5 of 5: FiatTokenV2
12345678910111213141516// File: @openzeppelin/contracts/math/SafeMath.sol// License: MITpragma solidity ^0.6.0;/*** @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* error, which is the standard behavior in high level programming languages.* `SafeMath` restores this intuition by reverting the transaction when an* operation overflows.*