ETH Price: $2,582.31 (+1.97%)

Transaction Decoder

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 Code
0x1d3D083d...03886DD94
1.007127701656282071 Eth
Nonce: 60
1.01768915388299811 Eth
Nonce: 61
0.010561452226716039
0x9813037e...6778218d9
0xC02aaA39...83C756Cc2 4,367,784.789819558211374827 Eth4,367,784.777692957984658788 Eth0.012126600226716039
(Ethermine)
903.575074925436685986 Eth903.575787770940855474 Eth0.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.transfer( dst=0x03f7724180AA6b939894B5Ca4314783B0b36b329, wad=12126600226716039 ) => ( True )
    • BoneToken.balanceOf( account=0xEFb47fcFCaD4F96c83D4ca676842fB03Ef20a477 ) => ( 7371918374091156726639853 )
    • WETH9.balanceOf( 0xEFb47fcFCaD4F96c83D4ca676842fB03Ef20a477 ) => ( 5015174298581808172162 )
    • WETH9.withdraw( wad=12126600226716039 )
      • ETH 0.012126600226716039 UniswapV2Router02.CALL( )
      • ETH 0.012126600226716039 0x1d3d083dbedbc1f3741ed8301fa601f03886dd94.CALL( )
        File 1 of 4: UniswapV2Router02
        1
        2
        3
        4
        5
        6
        7
        8
        9
        10
        11
        12
        13
        14
        15
        16
        // SPDX-License-Identifier: MIT
        pragma 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');
        _;
        XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

        File 2 of 4: UniswapV2Pair
        1
        2
        3
        4
        5
        6
        7
        8
        9
        10
        11
        12
        13
        14
        15
        16
        // SPDX-License-Identifier: MIT
        pragma 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;
        XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

        File 3 of 4: BoneToken
        1
        2
        3
        4
        5
        6
        7
        8
        9
        10
        11
        12
        13
        14
        15
        16
        // SPDX-License-Identifier: MIT
        pragma 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:
        XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

        File 4 of 4: WETH9
        1
        2
        3
        4
        5
        6
        7
        8
        9
        10
        11
        12
        13
        14
        15
        16
        // 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;
        XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX