ETH Price: $2,524.21 (-1.23%)

Transaction Decoder

Block:
20267740 at Jul-09-2024 08:27:11 AM +UTC
Transaction Fee:
0.000882984204022752 ETH $2.23
Gas Used:
198,432 Gas / 4.449807511 Gwei

Emitted Events:

112 Permit2.Permit( owner=[Sender] 0xa0accda51d6347214479c6ce76c2a0fa78427069, token=SuperElon, spender=[Receiver] UniversalRouter, amount=1461501637330902918203684832716283019655932542975, expiration=1723105614, nonce=0 )
113 SuperElon.Transfer( from=[Sender] 0xa0accda51d6347214479c6ce76c2a0fa78427069, to=UniswapV2Pair, value=1487889350588982419055 )
114 SuperElon.Approval( owner=[Sender] 0xa0accda51d6347214479c6ce76c2a0fa78427069, spender=Permit2, value=115792089237316195423570985008687907853269984665640564037969694657324147220880 )
115 WETH9.Transfer( src=UniswapV2Pair, dst=[Receiver] UniversalRouter, wad=1604715473611967 )
116 UniswapV2Pair.Sync( reserve0=2362770134367772066961776, reserve1=2554348492648007260 )
117 UniswapV2Pair.Swap( sender=[Receiver] UniversalRouter, amount0In=1487889350588982419055, amount1In=0, amount0Out=0, amount1Out=1604715473611967, to=[Receiver] UniversalRouter )
118 WETH9.Transfer( src=[Receiver] UniversalRouter, dst=FeeCollector, wad=4011788684029 )
119 WETH9.Withdrawal( src=[Receiver] UniversalRouter, wad=1600703684927938 )

Account State Difference:

  Address   Before After State Difference Code
0x00000000...43aC78BA3
(Uniswap Protocol: Permit2)
0x08980B25...41871f285
(Titan Builder)
5.42989751735457375 Eth5.43008422202337375 Eth0.0001867046688
0xa0acCdA5...A78427069
0.014605174912004541 Eth
Nonce: 33
0.015322894392909727 Eth
Nonce: 34
0.000717719480905186
0xA1895F1c...Df25481f2
0xC02aaA39...83C756Cc2 2,736,231.724867481315677118 Eth2,736,231.72326677763074918 Eth0.001600703684927938

Execution Trace

UniversalRouter.execute( commands=0x0A08060C, inputs=[AAAAAAAAAAAAAAAACJgLJZU9gZRzBrGwCl/0pBhx8oUAAAAAAAAAAAAAAAD//////////////////////////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABmtIFOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/yRo6/XA5XNSWxkfVpsydSyt/rQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABmjPtWAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQc7g614TZp8PfuF9nCeMvOIx9VdUIF/DxbAxu0tczpt/E7b8zbU4nSdueD1Vg+dDO2Yf6nkGGGCk+eC2c3cvLI4bAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==, AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFConNkvXvDebwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFbfstftVIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAACJgLJZU9gZRzBrGwCl/0pBhx8oUAAAAAAAAAAAAAAADAKqo5siP+jQoOXE8n6tkIPHVswg==, AAAAAAAAAAAAAAAAwCqqObIj/o0KDlxPJ+rZCDx1bMIAAAAAAAAAAAAAAAAAAAD+4ToQOhDVk7muBrPgXy5+HAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAZ, AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABWqBlvtQ6A==], deadline=1720514207 )
  • Permit2.permit( owner=0xa0acCdA51d6347214479c6ce76c2a0fA78427069, permitSingle=[{name:details, type:tuple, order:1, indexed:false, value:[{name:token, type:address, order:1, indexed:false, value:0x08980B25953D81947306b1b00a5Ff4a41871f285, valueString:0x08980B25953D81947306b1b00a5Ff4a41871f285}, {name:amount, type:uint160, order:2, indexed:false, value:1461501637330902918203684832716283019655932542975, valueString:1461501637330902918203684832716283019655932542975}, {name:expiration, type:uint48, order:3, indexed:false, value:1723105614, valueString:1723105614}, {name:nonce, type:uint48, order:4, indexed:false, value:0, valueString:0}], valueString:[{name:token, type:address, order:1, indexed:false, value:0x08980B25953D81947306b1b00a5Ff4a41871f285, valueString:0x08980B25953D81947306b1b00a5Ff4a41871f285}, {name:amount, type:uint160, order:2, indexed:false, value:1461501637330902918203684832716283019655932542975, valueString:1461501637330902918203684832716283019655932542975}, {name:expiration, type:uint48, order:3, indexed:false, value:1723105614, valueString:1723105614}, {name:nonce, type:uint48, order:4, indexed:false, value:0, valueString:0}]}, {name:spender, type:address, order:2, indexed:false, value:0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD, valueString:0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD}, {name:sigDeadline, type:uint256, order:3, indexed:false, value:1720515414, valueString:1720515414}], signature=0xCEE0EB5E13669F0F7EE17D9C278CBCE231F55754205FC3C5B031BB4B5CCE9B7F13B6FCCDB5389D276E783D5583E7433B661FEA79061860A4F9E0B673772F2C8E1B )
    • Null: 0x000...001.66365cf3( )
    • Permit2.transferFrom( from=0xa0acCdA51d6347214479c6ce76c2a0fA78427069, to=0xA1895F1cae8d161eD51aD7534F20c16Df25481f2, amount=1487889350588982419055, token=0x08980B25953D81947306b1b00a5Ff4a41871f285 )
      • SuperElon.transferFrom( sender=0xa0acCdA51d6347214479c6ce76c2a0fA78427069, recipient=0xA1895F1cae8d161eD51aD7534F20c16Df25481f2, amount=1487889350588982419055 ) => ( True )
      • WETH9.balanceOf( 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 0 )
      • UniswapV2Pair.STATICCALL( )
      • SuperElon.balanceOf( account=0xA1895F1cae8d161eD51aD7534F20c16Df25481f2 ) => ( 2362770134367772066961776 )
      • UniswapV2Pair.swap( amount0Out=0, amount1Out=1604715473611967, to=0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD, data=0x )
        • WETH9.transfer( dst=0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD, wad=1604715473611967 ) => ( True )
        • SuperElon.balanceOf( account=0xA1895F1cae8d161eD51aD7534F20c16Df25481f2 ) => ( 2362770134367772066961776 )
        • WETH9.balanceOf( 0xA1895F1cae8d161eD51aD7534F20c16Df25481f2 ) => ( 2554348492648007260 )
        • WETH9.balanceOf( 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 1604715473611967 )
        • WETH9.balanceOf( 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 1604715473611967 )
        • WETH9.transfer( dst=0x000000fee13a103A10D593b9AE06b3e05F2E7E1c, wad=4011788684029 ) => ( True )
        • WETH9.balanceOf( 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 1600703684927938 )
        • WETH9.withdraw( wad=1600703684927938 )
          • ETH 0.001600703684927938 UniversalRouter.CALL( )
          • ETH 0.001600703684927938 0xa0accda51d6347214479c6ce76c2a0fa78427069.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: 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

            File 3 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 4 of 6: SuperElon
            1
            2
            3
            4
            5
            6
            7
            8
            9
            10
            11
            12
            13
            14
            15
            16
            // SPDX-License-Identifier: MIT
            /*
            $sELON - Super Elon Token: The Mars Mission
            https://x.com/cb_doge/status/1688897693354020864
            https://x.com/cb_doge/status/1799395957655712195
            https://x.com/cb_doge/status/1687074240695267328
            https://x.com/cb_doge/status/1773447007295967387
            https://t.me/SuperElonETH
            https://x.com/SuperElonETH
            https://themarsmission.dev/
            */
            pragma solidity 0.8.20;
            XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

            File 5 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 6 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