ETH Price: $2,027.13 (-1.80%)

Transaction Decoder

Block:
21637753 at Jan-16-2025 02:50:23 PM +UTC
Transaction Fee:
0.00311558013396585 ETH $6.32
Gas Used:
170,325 Gas / 18.291972018 Gwei

Emitted Events:

263 Solo.Transfer( from=[Sender] 0x122ba97c0ea3365c6572b12321cd3977b0869dea, to=Solo, value=25000032352311689577662 )
264 Solo.Transfer( from=[Sender] 0x122ba97c0ea3365c6572b12321cd3977b0869dea, to=UniswapV2Pair, value=475000614693922101975593 )
265 WETH9.Transfer( src=UniswapV2Pair, dst=[Receiver] UniversalRouter, wad=598909873098969990 )
266 UniswapV2Pair.Sync( reserve0=43936614519059927441, reserve1=35216971121452600204900319 )
267 UniswapV2Pair.Swap( sender=[Receiver] UniversalRouter, amount0In=0, amount1In=475000614693922101975593, amount0Out=598909873098969990, amount1Out=0, to=[Receiver] UniversalRouter )
268 WETH9.Transfer( src=[Receiver] UniversalRouter, dst=FeeCollector, wad=1497274682747424 )
269 WETH9.Withdrawal( src=[Receiver] UniversalRouter, wad=597412598416222566 )

Account State Difference:

  Address   Before After State Difference Code
0x122bA97c...7B0869deA
0.016395075354467028 Eth
Nonce: 245
0.610692093636723744 Eth
Nonce: 246
0.594297018282256716
0x2BB0D739...b4fAB6c08
(beaverbuild)
15.318265817933396099 Eth15.318691988431848974 Eth0.000426170498452875
0xC02aaA39...83C756Cc2 3,138,178.625534193772848076 Eth3,138,178.02812159535662551 Eth0.597412598416222566
0xD61A8BbD...39C9FbDA9

Execution Trace

UniversalRouter.execute( commands=0x08060C, inputs=[AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAaeEW4iuV5uZe5wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAA1hqLvVxtjNlpColhazPck5yfvakAAAAAAAAAAAAAAADAKqo5siP+jQoOXE8n6tkIPHVswg==, AAAAAAAAAAAAAAAAwCqqObIj/o0KDlxPJ+rZCDx1bMIAAAAAAAAAAAAAAAAAAAD+4ToQOhDVk7muBrPgXy5+HAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAZ, AAAAAAAAAAAAAAAAEiupfA6jNlxlcrEjIc05d7CGneoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIOqLaBWG1eQ==], deadline=1737040804 )
  • Permit2.transferFrom( from=0x122bA97c0EA3365C6572B12321CD3977B0869deA, to=0x2BB0D73954a388C6a37b923078E4000b4fAB6c08, amount=500000647046233791553255, token=0xD61A8BbD5C6d8Cd9690a89616b33dC939C9FbDA9 )
    • Solo.transferFrom( from=0x122bA97c0EA3365C6572B12321CD3977B0869deA, to=0x2BB0D73954a388C6a37b923078E4000b4fAB6c08, value=500000647046233791553255 ) => ( True )
    • WETH9.balanceOf( 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 0 )
    • UniswapV2Pair.STATICCALL( )
    • Solo.balanceOf( account=0x2BB0D73954a388C6a37b923078E4000b4fAB6c08 ) => ( 35216971121452600204900319 )
    • UniswapV2Pair.swap( amount0Out=598909873098969990, amount1Out=0, to=0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD, data=0x )
      • WETH9.transfer( dst=0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD, wad=598909873098969990 ) => ( True )
      • WETH9.balanceOf( 0x2BB0D73954a388C6a37b923078E4000b4fAB6c08 ) => ( 43936614519059927441 )
      • Solo.balanceOf( account=0x2BB0D73954a388C6a37b923078E4000b4fAB6c08 ) => ( 35216971121452600204900319 )
      • WETH9.balanceOf( 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 598909873098969990 )
      • WETH9.balanceOf( 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 598909873098969990 )
      • WETH9.transfer( dst=0x000000fee13a103A10D593b9AE06b3e05F2E7E1c, wad=1497274682747424 ) => ( True )
      • WETH9.balanceOf( 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 597412598416222566 )
      • WETH9.withdraw( wad=597412598416222566 )
        • ETH 0.597412598416222566 UniversalRouter.CALL( )
        • ETH 0.597412598416222566 0x122ba97c0ea3365c6572b12321cd3977b0869dea.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: Solo
          1
          2
          3
          4
          5
          6
          7
          8
          9
          10
          11
          12
          13
          14
          15
          16
          // 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 {
          /**
          * @dev Emitted when `value` tokens are moved from one account (`from`) to
          * another (`to`).
          *
          * Note that `value` may be zero.
          */
          event Transfer(address indexed from, address indexed to, uint256 value);
          /**
          * @dev Emitted when the allowance of a `spender` for an `owner` is set by
          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: 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