Transaction Hash:
Block:
15281190 at Aug-05-2022 08:20:09 AM +UTC
Transaction Fee:
0.001565148 ETH
$4.04
Gas Used:
120,396 Gas / 13 Gwei
Emitted Events:
19 |
BoneToken.Transfer( from=[Sender] 0x1d3d083dbedbc1f3741ed8301fa601f03886dd94, to=UniswapV2Pair, value=17878757573753560714 )
|
20 |
BoneToken.Approval( owner=[Sender] 0x1d3d083dbedbc1f3741ed8301fa601f03886dd94, spender=[Receiver] UniswapV2Router02, value=115792089237316195423570985008687907853269984665640564039057341651630359539143 )
|
21 |
WETH9.Transfer( src=UniswapV2Pair, dst=[Receiver] UniswapV2Router02, wad=12126600226716039 )
|
22 |
UniswapV2Pair.Sync( reserve0=7371918374091156726639853, reserve1=5015174298581808172162 )
|
23 |
UniswapV2Pair.Swap( sender=[Receiver] UniswapV2Router02, amount0In=17878757573753560714, amount1In=0, amount0Out=0, amount1Out=12126600226716039, to=[Receiver] UniswapV2Router02 )
|
24 |
WETH9.Withdrawal( src=[Receiver] UniswapV2Router02, wad=12126600226716039 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x1d3D083d...03886DD94 |
1.007127701656282071 Eth
Nonce: 60
|
1.01768915388299811 Eth
Nonce: 61
| 0.010561452226716039 | ||
0x9813037e...6778218d9 | |||||
0xC02aaA39...83C756Cc2 | 4,367,784.789819558211374827 Eth | 4,367,784.777692957984658788 Eth | 0.012126600226716039 | ||
0xEA674fdD...16B898ec8
Miner
| (Ethermine) | 903.575074925436685986 Eth | 903.575787770940855474 Eth | 0.000712845504169488 | |
0xEFb47fcF...3Ef20a477 |
Execution Trace
UniswapV2Router02.swapExactTokensForETH( amountIn=17878757573753560714, amountOutMin=12065836465972782, path=[0x9813037ee2218799597d83D4a5B6F3b6778218d9, 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2], to=0x1d3D083dbEDbC1f3741ed8301fA601f03886DD94, deadline=1659688762 ) => ( amounts=[17878757573753560714, 12126600226716039] )
-
UniswapV2Pair.STATICCALL( )
-
BoneToken.transferFrom( sender=0x1d3D083dbEDbC1f3741ed8301fA601f03886DD94, recipient=0xEFb47fcFCaD4F96c83D4ca676842fB03Ef20a477, amount=17878757573753560714 ) => ( True )
UniswapV2Pair.swap( amount0Out=0, amount1Out=12126600226716039, to=0x03f7724180AA6b939894B5Ca4314783B0b36b329, data=0x )
WETH9.withdraw( wad=12126600226716039 )
- ETH 0.012126600226716039
UniswapV2Router02.CALL( )
- ETH 0.012126600226716039
- ETH 0.012126600226716039
0x1d3d083dbedbc1f3741ed8301fa601f03886dd94.CALL( )
swapExactTokensForETH[UniswapV2Router02 (ln:274)]
getAmountsOut[UniswapV2Router02 (ln:282)]
getReserves[UniswapV2Library (ln:488)]
sortTokens[UniswapV2Library (ln:455)]
getReserves[UniswapV2Library (ln:456)]
pairFor[UniswapV2Library (ln:456)]
sortTokens[UniswapV2Library (ln:445)]
safeTransferFrom[UniswapV2Router02 (ln:284)]
call[TransferHelper (ln:533)]
encodeWithSelector[TransferHelper (ln:533)]
decode[TransferHelper (ln:534)]
pairFor[UniswapV2Router02 (ln:285)]
sortTokens[UniswapV2Library (ln:445)]
_swap[UniswapV2Router02 (ln:287)]
sortTokens[UniswapV2Router02 (ln:205)]
pairFor[UniswapV2Router02 (ln:208)]
sortTokens[UniswapV2Library (ln:445)]
swap[UniswapV2Router02 (ln:209)]
pairFor[UniswapV2Router02 (ln:209)]
sortTokens[UniswapV2Library (ln:445)]
withdraw[UniswapV2Router02 (ln:288)]
safeTransferETH[UniswapV2Router02 (ln:289)]
File 1 of 4: UniswapV2Router02
File 2 of 4: UniswapV2Pair
File 3 of 4: BoneToken
File 4 of 4: WETH9
12345678910111213141516// SPDX-License-Identifier: MITpragma solidity =0.6.12;import './libraries/UniswapV2Library.sol';import './libraries/SafeMath.sol';import './libraries/TransferHelper.sol';import './interfaces/IUniswapV2Router02.sol';import './interfaces/IUniswapV2Factory.sol';import './interfaces/IERC20.sol';import './interfaces/IWETH.sol';contract UniswapV2Router02 is IUniswapV2Router02 {using SafeMathUniswap for uint;address public immutable override factory;address public immutable override WETH;modifier ensure(uint deadline) {require(deadline >= block.timestamp, 'UniswapV2Router: EXPIRED');_;
File 2 of 4: UniswapV2Pair
12345678910111213141516// SPDX-License-Identifier: MITpragma solidity =0.6.12;import './UniswapV2ERC20.sol';import './libraries/Math.sol';import './libraries/UQ112x112.sol';import './interfaces/IERC20.sol';import './interfaces/IUniswapV2Factory.sol';import './interfaces/IUniswapV2Callee.sol';interface IMigrator {// Return the desired amount of liquidity token that the migrator wants.function desiredLiquidity() external view returns (uint256);}contract UniswapV2Pair is UniswapV2ERC20 {using SafeMathUniswap for uint;using UQ112x112 for uint224;uint public constant MINIMUM_LIQUIDITY = 10**3;
File 3 of 4: BoneToken
12345678910111213141516// SPDX-License-Identifier: MITpragma solidity 0.6.12;import "@openzeppelin/contracts/token/ERC20/ERC20.sol";import "@openzeppelin/contracts/access/Ownable.sol";// BoneToken with Governance.contract BoneToken is ERC20("BONE SHIBASWAP", "BONE"), Ownable {/// @notice Creates `_amount` token to `_to`. Must only be called by the owner (TopDog).function mint(address _to, uint256 _amount) public onlyOwner {_mint(_to, _amount);_moveDelegates(address(0), _delegates[_to], _amount);}function _transfer(address sender, address recipient, uint256 amount) internal override {super._transfer(sender, recipient, amount);_moveDelegates(_delegates[sender], _delegates[recipient], amount);}// Copied and modified from YAM code:
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;