ETH Price: $1,872.11 (-1.92%)

Transaction Decoder

Block:
20350629 at Jul-20-2024 10:08:47 PM +UTC
Transaction Fee:
0.00073310911090156 ETH $1.37
Gas Used:
169,810 Gas / 4.317231676 Gwei

Emitted Events:

444 BTC.Transfer( from=[Sender] 0x766daa0dd917de38e20d241027a652d5b52d5e91, to=UniswapV2Pair, value=45000000000000000 )
445 BTC.Approval( owner=[Sender] 0x766daa0dd917de38e20d241027a652d5b52d5e91, spender=Permit2, value=115792089237316195423570985008687907853269984665640564039457191097280162659779 )
446 WETH9.Transfer( src=UniswapV2Pair, dst=[Receiver] UniversalRouter, wad=57117632848654710 )
447 UniswapV2Pair.Sync( reserve0=22482855284087549924, reserve1=28565634236660196530 )
448 UniswapV2Pair.Swap( sender=[Receiver] UniversalRouter, amount0In=45000000000000000, amount1In=0, amount0Out=0, amount1Out=57117632848654710, to=[Receiver] UniversalRouter )
449 WETH9.Transfer( src=[Receiver] UniversalRouter, dst=FeeCollector, wad=142794082121636 )
450 WETH9.Withdrawal( src=[Receiver] UniversalRouter, wad=56974838766533074 )

Account State Difference:

  Address   Before After State Difference Code
0x43FD9De0...1c42D2955
(Titan Builder)
10.093788668025325594 Eth10.094128288025325594 Eth0.00033962
0x766dAA0d...5B52D5e91
0.006730969999312277 Eth
Nonce: 566
0.062972699654943791 Eth
Nonce: 567
0.056241729655631514
0xC02aaA39...83C756Cc2 2,724,164.158666230096467869 Eth2,724,164.101691391329934795 Eth0.056974838766533074
0xC5F05ce6...29aF351Fc

Execution Trace

UniversalRouter.execute( commands=0x08060C, inputs=[AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAn99C9uSAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADIQleUG2XkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAQ/2d4Gu2mtdxVW4XH5YKkcQtKVUAAAAAAAAAAAAAAADAKqo5siP+jQoOXE8n6tkIPHVswg==, AAAAAAAAAAAAAAAAwCqqObIj/o0KDlxPJ+rZCDx1bMIAAAAAAAAAAAAAAAAAAAD+4ToQOhDVk7muBrPgXy5+HAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAZ, AAAAAAAAAAAAAAAAdm2qDdkX3jjiDSQQJ6ZS1bUtXpEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAx8ItHp3jtw==], deadline=1721509358904 )
  • Permit2.transferFrom( from=0x766dAA0dd917De38E20D241027a652D5B52D5e91, to=0xC5F05ce6C07f203b82Ad9e1ba84010729aF351Fc, amount=45000000000000000, token=0x43FD9De06bb69aD771556E171f960A91c42D2955 )
    • BTC.transferFrom( sender=0x766dAA0dd917De38E20D241027a652D5B52D5e91, recipient=0xC5F05ce6C07f203b82Ad9e1ba84010729aF351Fc, amount=45000000000000000 ) => ( True )
    • WETH9.balanceOf( 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 0 )
    • UniswapV2Pair.STATICCALL( )
    • BTC.balanceOf( account=0xC5F05ce6C07f203b82Ad9e1ba84010729aF351Fc ) => ( 22482855284087549924 )
    • UniswapV2Pair.swap( amount0Out=0, amount1Out=57117632848654710, to=0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD, data=0x )
      • WETH9.transfer( dst=0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD, wad=57117632848654710 ) => ( True )
      • BTC.balanceOf( account=0xC5F05ce6C07f203b82Ad9e1ba84010729aF351Fc ) => ( 22482855284087549924 )
      • WETH9.balanceOf( 0xC5F05ce6C07f203b82Ad9e1ba84010729aF351Fc ) => ( 28565634236660196530 )
      • WETH9.balanceOf( 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 57117632848654710 )
      • WETH9.balanceOf( 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 57117632848654710 )
      • WETH9.transfer( dst=0x000000fee13a103A10D593b9AE06b3e05F2E7E1c, wad=142794082121636 ) => ( True )
      • WETH9.balanceOf( 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 56974838766533074 )
      • WETH9.withdraw( wad=56974838766533074 )
        • ETH 0.056974838766533074 UniversalRouter.CALL( )
        • ETH 0.056974838766533074 0x766daa0dd917de38e20d241027a652d5b52d5e91.CALL( )
          File 1 of 6: UniversalRouter
          1
          2
          3
          4
          5
          6
          7
          8
          9
          10
          11
          12
          13
          14
          15
          16
          // SPDX-License-Identifier: GPL-3.0-or-later
          pragma solidity ^0.8.17;
          // Command implementations
          import {Dispatcher} from './base/Dispatcher.sol';
          import {RewardsCollector} from './base/RewardsCollector.sol';
          import {RouterParameters, RouterImmutables} from './base/RouterImmutables.sol';
          import {Commands} from './libraries/Commands.sol';
          import {IUniversalRouter} from './interfaces/IUniversalRouter.sol';
          contract UniversalRouter is RouterImmutables, IUniversalRouter, Dispatcher, RewardsCollector {
          modifier checkDeadline(uint256 deadline) {
          if (block.timestamp > deadline) revert TransactionDeadlinePassed();
          _;
          }
          constructor(RouterParameters memory params) RouterImmutables(params) {}
          /// @inheritdoc IUniversalRouter
          function execute(bytes calldata commands, bytes[] calldata inputs, uint256 deadline)
          XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

          File 2 of 6: UniswapV2Pair
          1
          2
          3
          4
          5
          6
          7
          8
          9
          10
          11
          12
          13
          14
          15
          16
          // File: contracts/interfaces/IUniswapV2Pair.sol
          pragma 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);
          XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

          File 3 of 6: BTC
          1
          2
          3
          4
          5
          6
          7
          8
          9
          10
          11
          12
          13
          14
          15
          16
          // SPDX-License-Identifier: MIT
          /*
          Bullish Trump Coin is a presidential Coin for the People, the art of the deal in the crypto world.
          A Symbol of Freedom and Independence and A Patriotic Investment.
          A symbol of MAGA and TRUMP.
          TG : https://t.me/BullishTrumpCoinERC20
          TWT : https://x.com/bullishtrumpERC
          WEB : https://bullishtrumpcoin.io
          */
          pragma solidity 0.8.23;
          abstract contract Context {
          function _msgSender() internal view virtual returns (address) {
          XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

          File 4 of 6: 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

          File 5 of 6: FeeCollector
          1
          2
          3
          4
          5
          6
          7
          8
          9
          10
          11
          12
          13
          14
          15
          16
          // SPDX-License-Identifier: GPL-2.0-or-later
          pragma solidity ^0.8.0;
          import {Owned} from "solmate/auth/Owned.sol";
          import {ERC20} from "solmate/tokens/ERC20.sol";
          import {SafeTransferLib} from "solmate/utils/SafeTransferLib.sol";
          import {IFeeCollector} from "./interfaces/IFeeCollector.sol";
          import {IPermit2} from "./external/IPermit2.sol";
          /// @notice The collector of protocol fees that will be used to swap and send to a fee recipient address.
          contract FeeCollector is Owned, IFeeCollector {
          using SafeTransferLib for ERC20;
          address public universalRouter;
          ERC20 public immutable feeToken;
          IPermit2 public immutable permit2;
          uint256 public constant MAX_APPROVAL_AMOUNT = type(uint256).max;
          uint160 public constant MAX_PERMIT2_APPROVAL_AMOUNT = type(uint160).max;
          uint48 public constant MAX_PERMIT2_DEADLINE = type(uint48).max;
          XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

          File 6 of 6: Permit2
          1
          2
          3
          4
          5
          6
          7
          8
          9
          10
          11
          12
          13
          14
          15
          16
          // SPDX-License-Identifier: AGPL-3.0-only
          pragma solidity >=0.8.0;
          /// @notice Modern and gas efficient ERC20 + EIP-2612 implementation.
          /// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC20.sol)
          /// @author Modified from Uniswap (https://github.com/Uniswap/uniswap-v2-core/blob/master/contracts/UniswapV2ERC20.sol)
          /// @dev Do not manually set balances without updating totalSupply, as the sum of all user balances must not exceed it.
          abstract contract ERC20 {
          /*//////////////////////////////////////////////////////////////
          EVENTS
          //////////////////////////////////////////////////////////////*/
          event Transfer(address indexed from, address indexed to, uint256 amount);
          event Approval(address indexed owner, address indexed spender, uint256 amount);
          /*//////////////////////////////////////////////////////////////
          METADATA STORAGE
          //////////////////////////////////////////////////////////////*/
          string public name;
          XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX