Transaction Hash:
Block:
12441658 at May-15-2021 10:13:35 PM +UTC
Transaction Fee:
0.008508096 ETH
$15.93
Gas Used:
118,168 Gas / 72 Gwei
Emitted Events:
317 |
WBCBToken.Transfer( from=[Sender] 0x000eaefaebea699a33e9e63711da5f9053829a04, to=UniswapV2Pair, value=89227000000000000000 )
|
318 |
WBCBToken.Approval( owner=[Sender] 0x000eaefaebea699a33e9e63711da5f9053829a04, spender=[Receiver] UniswapV2Router02, value=115792089237316195423570985008687907853269984665640564038162920677109529163172 )
|
319 |
WETH9.Transfer( src=UniswapV2Pair, dst=[Receiver] UniswapV2Router02, wad=75722409868166021 )
|
320 |
UniswapV2Pair.Sync( reserve0=18472972704984678339, reserve1=21791429486715789632356 )
|
321 |
UniswapV2Pair.Swap( sender=[Receiver] UniswapV2Router02, amount0In=0, amount1In=89227000000000000000, amount0Out=75722409868166021, amount1Out=0, to=[Receiver] UniswapV2Router02 )
|
322 |
WETH9.Withdrawal( src=[Receiver] UniswapV2Router02, wad=75722409868166021 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x000eaEFa...053829a04 |
1.711056505390430349 Eth
Nonce: 119
|
1.77827081925859637 Eth
Nonce: 120
| 0.067214313868166021 | ||
0x3cd1C0b9...7b31E1c02 | |||||
0x5A0b54D5...D3E029c4c
Miner
| (Spark Pool) | 50.090269669320640952 Eth | 50.098777765320640952 Eth | 0.008508096 | |
0xC02aaA39...83C756Cc2 | 6,443,094.644398424476344611 Eth | 6,443,094.56867601460817859 Eth | 0.075722409868166021 | ||
0xDc99BDc0...d3447f9E0 |
Execution Trace
UniswapV2Router02.swapExactTokensForETH( amountIn=89227000000000000000, amountOutMin=75345681460861712, path=[0xDc99BDc0c6428ADDf4D1762560801F5d3447f9E0, 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2], to=0x000eaEFaEBea699a33E9e63711da5F9053829a04, deadline=1621117984 ) => ( amounts=[89227000000000000000, 75722409868166021] )
-
UniswapV2Pair.STATICCALL( )
-
WBCBToken.transferFrom( sender=0x000eaEFaEBea699a33E9e63711da5F9053829a04, recipient=0x3cd1C0b98be4451CA51265BbaEb76Cf7b31E1c02, amount=89227000000000000000 ) => ( True )
UniswapV2Pair.swap( amount0Out=75722409868166021, amount1Out=0, to=0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D, data=0x )
WETH9.withdraw( wad=75722409868166021 )
- ETH 0.075722409868166021
UniswapV2Router02.CALL( )
- ETH 0.075722409868166021
- ETH 0.075722409868166021
0x000eaefaebea699a33e9e63711da5f9053829a04.CALL( )
swapExactTokensForETH[UniswapV2Router02 (ln:499)]
getAmountsOut[UniswapV2Router02 (ln:507)]
getReserves[UniswapV2Library (ln:739)]
sortTokens[UniswapV2Library (ln:702)]
getReserves[UniswapV2Library (ln:703)]
pairFor[UniswapV2Library (ln:703)]
sortTokens[UniswapV2Library (ln:691)]
safeTransferFrom[UniswapV2Router02 (ln:509)]
call[TransferHelper (ln:772)]
encodeWithSelector[TransferHelper (ln:772)]
decode[TransferHelper (ln:773)]
pairFor[UniswapV2Router02 (ln:510)]
sortTokens[UniswapV2Library (ln:691)]
_swap[UniswapV2Router02 (ln:512)]
sortTokens[UniswapV2Router02 (ln:430)]
pairFor[UniswapV2Router02 (ln:433)]
sortTokens[UniswapV2Library (ln:691)]
swap[UniswapV2Router02 (ln:434)]
pairFor[UniswapV2Router02 (ln:434)]
sortTokens[UniswapV2Library (ln:691)]
withdraw[UniswapV2Router02 (ln:513)]
safeTransferETH[UniswapV2Router02 (ln:514)]
File 1 of 4: UniswapV2Router02
File 2 of 4: UniswapV2Pair
File 3 of 4: WBCBToken
File 4 of 4: 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 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 3 of 4: WBCBToken
12345678910111213141516pragma solidity ^0.5.16;library SafeMath {/*** @dev Returns the addition of two unsigned integers, reverting on* overflow.** Counterpart to Solidity's `+` operator.** Requirements:* - Addition cannot overflow.*/function add(uint256 a, uint256 b) internal pure returns (uint256) {uint256 c = a + b;require(c >= a, "SafeMath: addition overflow");
File 4 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;