Transaction Hash:
Block:
16351960 at Jan-07-2023 02:35:47 AM +UTC
Transaction Fee:
0.001713677634901668 ETH
$3.43
Gas Used:
116,437 Gas / 14.717638164 Gwei
Emitted Events:
66 |
WETH9.Deposit( dst=[Receiver] UniswapV2Router02, wad=112848905932061825 )
|
67 |
WETH9.Transfer( src=[Receiver] UniswapV2Router02, dst=UniswapV2Pair, wad=112848905932061825 )
|
68 |
BoneToken.Transfer( from=UniswapV2Pair, to=[Sender] 0x35665ddd41a81d90f73e4d9955d9a657b8623386, value=127623000000000000000 )
|
69 |
UniswapV2Pair.Sync( reserve0=3123179819909224276701308, reserve1=2753457335626447088160 )
|
70 |
UniswapV2Pair.Swap( sender=[Receiver] UniswapV2Router02, amount0In=0, amount1In=112848905932061825, amount0Out=127623000000000000000, amount1Out=0, to=[Sender] 0x35665ddd41a81d90f73e4d9955d9a657b8623386 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x35665DDd...7b8623386 |
0.127677796668994539 Eth
Nonce: 4
|
0.013115213102031046 Eth
Nonce: 5
| 0.114562583566963493 | ||
0x9813037e...6778218d9 | |||||
0xC02aaA39...83C756Cc2 | 3,784,084.846497130576479421 Eth | 3,784,084.959346036508541246 Eth | 0.112848905932061825 | ||
0xDAFEA492...692c98Bc5
Miner
| (Flashbots: Builder) | 1.177578325313453162 Eth | 1.177811199313453162 Eth | 0.000232874 | |
0xEFb47fcF...3Ef20a477 |
Execution Trace
ETH 0.113413150461722134
UniswapV2Router02.swapETHForExactTokens( amountOut=127623000000000000000, path=[0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2, 0x9813037ee2218799597d83D4a5B6F3b6778218d9], to=0x35665DDd41a81d90f73e4d9955d9A657b8623386, deadline=1673060111 ) => ( amounts=[112848905932061825, 127623000000000000000] )
-
UniswapV2Pair.STATICCALL( )
- ETH 0.112848905932061825
WETH9.CALL( )
-
WETH9.transfer( dst=0xEFb47fcFCaD4F96c83D4ca676842fB03Ef20a477, wad=112848905932061825 ) => ( True )
UniswapV2Pair.swap( amount0Out=127623000000000000000, amount1Out=0, to=0x35665DDd41a81d90f73e4d9955d9A657b8623386, data=0x )
-
BoneToken.transfer( recipient=0x35665DDd41a81d90f73e4d9955d9A657b8623386, amount=127623000000000000000 ) => ( True )
-
BoneToken.balanceOf( account=0xEFb47fcFCaD4F96c83D4ca676842fB03Ef20a477 ) => ( 3123179819909224276701308 )
-
WETH9.balanceOf( 0xEFb47fcFCaD4F96c83D4ca676842fB03Ef20a477 ) => ( 2753457335626447088160 )
-
- ETH 0.000564244529660309
0x35665ddd41a81d90f73e4d9955d9a657b8623386.CALL( )
swapETHForExactTokens[UniswapV2Router02 (ln:291)]
getAmountsIn[UniswapV2Router02 (ln:300)]
getReserves[UniswapV2Library (ln:498)]
sortTokens[UniswapV2Library (ln:455)]
getReserves[UniswapV2Library (ln:456)]
pairFor[UniswapV2Library (ln:456)]
sortTokens[UniswapV2Library (ln:445)]
deposit[UniswapV2Router02 (ln:302)]
transfer[UniswapV2Router02 (ln:303)]
pairFor[UniswapV2Router02 (ln:303)]
sortTokens[UniswapV2Library (ln:445)]
_swap[UniswapV2Router02 (ln:304)]
sortTokens[UniswapV2Router02 (ln:205)]
pairFor[UniswapV2Router02 (ln:208)]
sortTokens[UniswapV2Library (ln:445)]
swap[UniswapV2Router02 (ln:209)]
pairFor[UniswapV2Router02 (ln:209)]
sortTokens[UniswapV2Library (ln:445)]
safeTransferETH[UniswapV2Router02 (ln:306)]
File 1 of 4: UniswapV2Router02
File 2 of 4: WETH9
File 3 of 4: UniswapV2Pair
File 4 of 4: BoneToken
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: 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// 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 4 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: