Transaction Hash:
Block:
17411467 at Jun-05-2023 02:47:35 AM +UTC
Transaction Fee:
0.002670000461812225 ETH
$8.01
Gas Used:
116,425 Gas / 22.933222777 Gwei
Emitted Events:
213 |
WETH9.Deposit( dst=[Receiver] UniswapV2Router02, wad=83003377607859083 )
|
214 |
WETH9.Transfer( src=[Receiver] UniswapV2Router02, dst=UniswapV2Pair, wad=83003377607859083 )
|
215 |
BoneToken.Transfer( from=UniswapV2Pair, to=[Sender] 0x82890d199df8f298a53b7c7b10505ec074a03e4e, value=200000000000000000000 )
|
216 |
UniswapV2Pair.Sync( reserve0=4092518224122219905336493, reserve1=1693451788464057366821 )
|
217 |
UniswapV2Pair.Swap( sender=[Receiver] UniswapV2Router02, amount0In=0, amount1In=83003377607859083, amount0Out=200000000000000000000, amount1Out=0, to=[Sender] 0x82890d199df8f298a53b7c7b10505ec074a03e4e )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x82890d19...074a03e4E |
0.097752923344221735 Eth
Nonce: 135
|
0.012079545274550427 Eth
Nonce: 136
| 0.085673378069671308 | ||
0x95222290...5CC4BAfe5
Miner
| (beaverbuild) | 15.566094425003797223 Eth | 15.566176187209074323 Eth | 0.0000817622052771 | |
0x9813037e...6778218d9 | |||||
0xC02aaA39...83C756Cc2 | 3,344,558.97247254154549108 Eth | 3,344,559.055475919153350163 Eth | 0.083003377607859083 | ||
0xEFb47fcF...3Ef20a477 |
Execution Trace
ETH 0.083418394495898378
UniswapV2Router02.swapETHForExactTokens( amountOut=200000000000000000000, path=[0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2, 0x9813037ee2218799597d83D4a5B6F3b6778218d9], to=0x82890d199df8F298a53b7c7B10505eC074a03e4E, deadline=1685934419 ) => ( amounts=[83003377607859083, 200000000000000000000] )
-
UniswapV2Pair.STATICCALL( )
- ETH 0.083003377607859083
WETH9.CALL( )
-
WETH9.transfer( dst=0xEFb47fcFCaD4F96c83D4ca676842fB03Ef20a477, wad=83003377607859083 ) => ( True )
UniswapV2Pair.swap( amount0Out=200000000000000000000, amount1Out=0, to=0x82890d199df8F298a53b7c7B10505eC074a03e4E, data=0x )
-
BoneToken.transfer( recipient=0x82890d199df8F298a53b7c7B10505eC074a03e4E, amount=200000000000000000000 ) => ( True )
-
BoneToken.balanceOf( account=0xEFb47fcFCaD4F96c83D4ca676842fB03Ef20a477 ) => ( 4092518224122219905336493 )
-
WETH9.balanceOf( 0xEFb47fcFCaD4F96c83D4ca676842fB03Ef20a477 ) => ( 1693451788464057366821 )
-
- ETH 0.000415016888039295
0x82890d199df8f298a53b7c7b10505ec074a03e4e.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: