ETH Price: $2,609.75 (+3.26%)

Transaction Decoder

Block:
22555616 at May-24-2025 10:16:11 PM +UTC
Transaction Fee:
0.000517790672128992 ETH $1.35
Gas Used:
218,424 Gas / 2.370575908 Gwei

Emitted Events:

20 Permit2.Permit( owner=[Sender] 0x27c470e110bd0952ac9de0c1244bbae1b8143277, token=AIAgentFactory, spender=[Receiver] UniversalRouter, amount=1461501637330902918203684832716283019655932542975, expiration=1750803344, nonce=0 )
21 AIAgentFactory.Transfer( from=[Sender] 0x27c470e110bd0952ac9de0c1244bbae1b8143277, to=AIAgentFactory, value=44000000000000000000000 )
22 AIAgentFactory.Transfer( from=[Sender] 0x27c470e110bd0952ac9de0c1244bbae1b8143277, to=UniswapV2Pair, value=836000000000000000000000 )
23 WETH9.Transfer( src=UniswapV2Pair, dst=[Receiver] UniversalRouter, wad=33927929127281814 )
24 UniswapV2Pair.Sync( reserve0=208058167634472761590409828, reserve1=8435136770483823832 )
25 UniswapV2Pair.Swap( sender=[Receiver] UniversalRouter, amount0In=836000000000000000000000, amount1In=0, amount0Out=0, amount1Out=33927929127281814, to=[Receiver] UniversalRouter )
26 WETH9.Transfer( src=[Receiver] UniversalRouter, dst=FeeCollector, wad=84819822818204 )
27 WETH9.Withdrawal( src=[Receiver] UniversalRouter, wad=33843109304463610 )

Account State Difference:

  Address   Before After State Difference Code
0x00000000...43aC78BA3
(Uniswap Protocol: Permit2)
0x27C470E1...1B8143277
0.01404702608553756 Eth
Nonce: 16
0.047372344717872178 Eth
Nonce: 17
0.033325318632334618
0x37b009f5...09e40702b
(quasarbuilder)
20.728424329732795825 Eth20.728861177732795825 Eth0.000436848
0x92d3447E...E66424D5D
0xC02aaA39...83C756Cc2 2,855,749.242020012999826577 Eth2,855,749.208176903695362967 Eth0.03384310930446361

Execution Trace

UniversalRouter.execute( commands=0x0A08060C, inputs=[AAAAAAAAAAAAAAAAktNEfpVmE+4GatW0B3qMbmZCTV0AAAAAAAAAAAAAAAD//////////////////////////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABoWyOQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/yRo6/XA5XNSWxkfVpsydSyt/rQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABoMkwYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQbNSplXZeGhxkPMVXeXjpeTZJIF90H2yFJH1aQzBfKyCCfUZw+vk5G8Juoj+G3J0HvNP3oCNUjdA5cDNLotsh6UbAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==, AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAuljlRVgtRgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB378DFzqZQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAktNEfpVmE+4GatW0B3qMbmZCTV0AAAAAAAAAAAAAAADAKqo5siP+jQoOXE8n6tkIPHVswg==, AAAAAAAAAAAAAAAAwCqqObIj/o0KDlxPJ+rZCDx1bMIAAAAAAAAAAAAAAAAAAAD+4ToQOhDVk7muBrPgXy5+HAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAZ, AAAAAAAAAAAAAAAAJ8Rw4RC9CVKsneDBJEu64bgUMncAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAd6L+XumnLQ==] )
  • Permit2.permit( owner=0x27C470E110bd0952AC9de0C1244bBAE1B8143277, permitSingle=[{name:details, type:tuple, order:1, indexed:false, value:[{name:token, type:address, order:1, indexed:false, value:0x92d3447E956613Ee066AD5B4077a8C6E66424D5D, valueString:0x92d3447E956613Ee066AD5B4077a8C6E66424D5D}, {name:amount, type:uint160, order:2, indexed:false, value:1461501637330902918203684832716283019655932542975, valueString:1461501637330902918203684832716283019655932542975}, {name:expiration, type:uint48, order:3, indexed:false, value:1750803344, valueString:1750803344}, {name:nonce, type:uint48, order:4, indexed:false, value:0, valueString:0}], valueString:[{name:token, type:address, order:1, indexed:false, value:0x92d3447E956613Ee066AD5B4077a8C6E66424D5D, valueString:0x92d3447E956613Ee066AD5B4077a8C6E66424D5D}, {name:amount, type:uint160, order:2, indexed:false, value:1461501637330902918203684832716283019655932542975, valueString:1461501637330902918203684832716283019655932542975}, {name:expiration, type:uint48, order:3, indexed:false, value:1750803344, valueString:1750803344}, {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:1748126744, valueString:1748126744}], signature=0xB352A655D978687190F3155DE5E3A5E4D924817DD07DB21491F5690CC17CAC8209F519C3EBE4E46F09BA88FE1B72741EF34FDE808D523740E5C0CD2E8B6C87A51B )
    • Null: 0x000...001.5ccc1cab( )
    • Permit2.transferFrom( from=0x27C470E110bd0952AC9de0C1244bBAE1B8143277, to=0x37b009f5db54E967fdC39D70169cC5809e40702b, amount=880000000000000000000000, token=0x92d3447E956613Ee066AD5B4077a8C6E66424D5D )
      • AIAgentFactory.transferFrom( from=0x27C470E110bd0952AC9de0C1244bBAE1B8143277, to=0x37b009f5db54E967fdC39D70169cC5809e40702b, value=880000000000000000000000 ) => ( True )
      • WETH9.balanceOf( 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 0 )
      • UniswapV2Pair.STATICCALL( )
      • AIAgentFactory.balanceOf( account=0x37b009f5db54E967fdC39D70169cC5809e40702b ) => ( 208058167634472761590409828 )
      • UniswapV2Pair.swap( amount0Out=0, amount1Out=33927929127281814, to=0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD, data=0x )
        • WETH9.transfer( dst=0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD, wad=33927929127281814 ) => ( True )
        • AIAgentFactory.balanceOf( account=0x37b009f5db54E967fdC39D70169cC5809e40702b ) => ( 208058167634472761590409828 )
        • WETH9.balanceOf( 0x37b009f5db54E967fdC39D70169cC5809e40702b ) => ( 8435136770483823832 )
        • WETH9.balanceOf( 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 33927929127281814 )
        • WETH9.balanceOf( 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 33927929127281814 )
        • WETH9.transfer( dst=0x000000fee13a103A10D593b9AE06b3e05F2E7E1c, wad=84819822818204 ) => ( True )
        • WETH9.balanceOf( 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 33843109304463610 )
        • WETH9.withdraw( wad=33843109304463610 )
          • ETH 0.03384310930446361 UniversalRouter.CALL( )
          • ETH 0.03384310930446361 0x27c470e110bd0952ac9de0c1244bbae1b8143277.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: AIAgentFactory
            1
            2
            3
            4
            5
            6
            7
            8
            9
            10
            11
            12
            13
            14
            15
            16
            /*
            X : https://x.com/AIAgentFactoryX
            TG : https://t.me/aiagentfactory
            Website : https://aiagentfactory.io/
            */
            // SPDX-License-Identifier: MIT
            pragma solidity 0.8.28;
            // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)
            /**
            * @dev Interface of the ERC20 standard as defined in the EIP.
            */
            interface IERC20 {
            /**
            XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

            File 4 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 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