ETH Price: $2,619.75 (+3.15%)

Transaction Decoder

Block:
20815058 at Sep-23-2024 06:25:11 PM +UTC
Transaction Fee:
0.00319787170354827 ETH $8.38
Gas Used:
182,763 Gas / 17.49736929 Gwei

Emitted Events:

221 Deployyyyer.0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925( 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925, 0x0000000000000000000000009374176ba0e0e56d1f244b2f4ba32a794bf06e0e, 0x000000000000000000000000000000000022d473030f116ddee9f6b43ac78ba3, 00000000000000000000000000000000000000000000d3c21bcecceda1000000 )
222 Deployyyyer.Transfer( from=[Sender] 0x9374176ba0e0e56d1f244b2f4ba32a794bf06e0e, to=Deployyyyer, value=20000000000000000000000 )
223 Deployyyyer.Transfer( from=[Sender] 0x9374176ba0e0e56d1f244b2f4ba32a794bf06e0e, to=UniswapV2Pair, value=980000000000000000000000 )
224 WETH9.Transfer( src=UniswapV2Pair, dst=[Receiver] UniversalRouter, wad=140801136941170091 )
225 UniswapV2Pair.Sync( reserve0=90686509998868665432230151, reserve1=12927331585435030635 )
226 UniswapV2Pair.Swap( sender=[Receiver] UniversalRouter, amount0In=980000000000000000000000, amount1In=0, amount0Out=0, amount1Out=140801136941170091, to=[Receiver] UniversalRouter )
227 WETH9.Transfer( src=[Receiver] UniversalRouter, dst=FeeCollector, wad=352002842352925 )
228 WETH9.Withdrawal( src=[Receiver] UniversalRouter, wad=140449134098817166 )

Account State Difference:

  Address   Before After State Difference Code
0x3914BDB4...42d19680D
0x70Edf656...1c38BB857
0x9374176B...94BF06e0e
0.101937621064985009 Eth
Nonce: 219
0.239188883460253905 Eth
Nonce: 220
0.137251262395268896
(beaverbuild)
19.624514766408756918 Eth19.624844719488435147 Eth0.000329953079678229
0xC02aaA39...83C756Cc2 2,902,552.13315070617985909 Eth2,902,551.992701572081041924 Eth0.140449134098817166

Execution Trace

UniversalRouter.execute( commands=0x08060C, inputs=[AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAA08IbzsztoQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGg2ugeH+i5AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAORS9tBMDBvgPXY7gmcGARC0ZaA0AAAAAAAAAAAAAAADAKqo5siP+jQoOXE8n6tkIPHVswg==, AAAAAAAAAAAAAAAAwCqqObIj/o0KDlxPJ+rZCDx1bMIAAAAAAAAAAAAAAAAAAAD+4ToQOhDVk7muBrPgXy5+HAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAZ, AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABn9Aek88wdQ==], deadline=1727116463 )
  • Permit2.transferFrom( from=0x9374176Ba0e0E56D1F244B2f4Ba32A794BF06e0e, to=0x70Edf65689008c35f0Baf7f37c8ed8A1c38BB857, amount=1000000000000000000000000, token=0x3914BDB4130306f80F5d8ee099C180442d19680D )
    • Deployyyyer.23b872dd( )
      • NewTokenFacet.transferFrom( sender=0x9374176Ba0e0E56D1F244B2f4Ba32A794BF06e0e, recipient=0x70Edf65689008c35f0Baf7f37c8ed8A1c38BB857, amount=1000000000000000000000000 ) => ( True )
      • WETH9.balanceOf( 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 0 )
      • UniswapV2Pair.STATICCALL( )
      • Deployyyyer.70a08231( )
        • NewTokenFacet.balanceOf( account=0x70Edf65689008c35f0Baf7f37c8ed8A1c38BB857 ) => ( 90686509998868665432230151 )
        • UniswapV2Pair.swap( amount0Out=0, amount1Out=140801136941170091, to=0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD, data=0x )
          • WETH9.transfer( dst=0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD, wad=140801136941170091 ) => ( True )
          • Deployyyyer.70a08231( )
            • NewTokenFacet.balanceOf( account=0x70Edf65689008c35f0Baf7f37c8ed8A1c38BB857 ) => ( 90686509998868665432230151 )
            • WETH9.balanceOf( 0x70Edf65689008c35f0Baf7f37c8ed8A1c38BB857 ) => ( 12927331585435030635 )
            • WETH9.balanceOf( 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 140801136941170091 )
            • WETH9.balanceOf( 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 140801136941170091 )
            • WETH9.transfer( dst=0x000000fee13a103A10D593b9AE06b3e05F2E7E1c, wad=352002842352925 ) => ( True )
            • WETH9.balanceOf( 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 140449134098817166 )
            • WETH9.withdraw( wad=140449134098817166 )
              • ETH 0.140449134098817166 UniversalRouter.CALL( )
              • ETH 0.140449134098817166 0x9374176ba0e0e56d1f244b2f4ba32a794bf06e0e.CALL( )
                File 1 of 7: 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 7: Deployyyyer
                1
                2
                3
                4
                5
                6
                7
                8
                9
                10
                11
                12
                13
                14
                15
                16
                // SPDX-License-Identifier: MIT
                /*********************************************************************************************\\
                * Deployyyyer: https://deployyyyer.io
                * Twitter: https://x.com/deployyyyer
                * Telegram: https://t.me/Deployyyyer
                /*********************************************************************************************/
                pragma solidity ^0.8.23;
                import { LibDiamond } from "./libraries/LibDiamond.sol";
                import { IDiamondCut } from "./interfaces/IDiamondCut.sol";
                import "./libraries/LibDiamond.sol";
                import "./interfaces/IDiamondLoupe.sol";
                import "./interfaces/IDiamondCut.sol";
                import "./interfaces/IERC173.sol";
                import "./interfaces/IERC165.sol";
                import "./interfaces/IERC20.sol";
                import { INewToken, IUniswapV2Router02 } from "./interfaces/INewToken.sol";
                XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

                File 3 of 7: 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 7: 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 7: 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 7: 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 7 of 7: NewTokenFacet
                1
                2
                3
                4
                5
                6
                7
                8
                9
                10
                11
                12
                13
                14
                15
                16
                // SPDX-License-Identifier: MIT
                /*********************************************************************************************\\
                * Deployyyyer: https://deployyyyer.io
                * Twitter: https://x.com/deployyyyer
                * Telegram: https://t.me/Deployyyyer
                /*********************************************************************************************/
                pragma solidity ^0.8.23;
                import {Modifiers, AppStorage} from "../libraries/LibAppStorage.sol";
                import {LibDiamond} from "../libraries/LibDiamond.sol";
                import {IUniswapV2Factory, IUniswapV2Router02} from "../interfaces/INewToken.sol";
                import { INewToken } from "../interfaces/INewToken.sol";
                import { IERC20 } from "../interfaces/IERC20.sol";
                import { IHelper } from "../interfaces/IHelper.sol";
                import { IPresale } from "../interfaces/IPresale.sol";
                //import "hardhat/console.sol";
                library SafeCall {
                XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX