ETH Price: $2,516.74 (+0.55%)

Transaction Decoder

Block:
22541746 at May-22-2025 11:39:23 PM +UTC
Transaction Fee:
0.00041336000519067 ETH $1.04
Gas Used:
228,638 Gas / 1.807923465 Gwei

Emitted Events:

201 Permit2.Permit( owner=[Sender] 0xd68bc8a645f0cd01f89f6897ec7ed87e0b014bfb, token=TetherToken, spender=[Receiver] UniversalRouter, amount=500000000, expiration=1750549062, nonce=1 )
202 WETH9.Transfer( src=UniswapV3Pool, dst=[Receiver] UniversalRouter, wad=188105517869960665 )
203 TetherToken.Transfer( from=[Sender] 0xd68bc8a645f0cd01f89f6897ec7ed87e0b014bfb, to=UniswapV3Pool, value=500000000 )
204 UniswapV3Pool.Swap( sender=[Receiver] UniversalRouter, recipient=[Receiver] UniversalRouter, amount0=-188105517869960665, amount1=500000000, sqrtPriceX96=4083750177826370265564250, liquidity=533156836545230237, tick=-197472 )
205 MapleTokenProxy.0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef( 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef, 0x0000000000000000000000003150b450f8325ac4afbfa52f33ecf00232f1294e, 0x000000000000000000000000d68bc8a645f0cd01f89f6897ec7ed87e0b014bfb, 0000000000000000000000000000000000000000000000460389436c71717734 )
206 WETH9.Transfer( src=[Receiver] UniversalRouter, dst=UniswapV3Pool, wad=188105517869960665 )
207 UniswapV3Pool.Swap( sender=[Receiver] UniversalRouter, recipient=[Sender] 0xd68bc8a645f0cd01f89f6897ec7ed87e0b014bfb, amount0=-1291526894146630547252, amount1=188105517869960665, sqrtPriceX96=954958756914027315440873777, liquidity=31172870134625068152028, tick=-88373 )

Account State Difference:

  Address   Before After State Difference Code
0x00000000...43aC78BA3
(Uniswap Protocol: Permit2)
0x11b815ef...14B7697F6
(Uniswap V3: USDT 3)
0x3150B450...232F1294E
(Uniswap V3: SYRUP 2)
0x643C4E15...A3Ef52d66
(beaverbuild)
5.655124054119173256 Eth5.655244306395536844 Eth0.000120252276363588
0xC02aaA39...83C756Cc2
0xd68bC8a6...E0b014bfB
0.3034878098651321 Eth
Nonce: 16
0.30307444985994143 Eth
Nonce: 17
0.00041336000519067
0xdAC17F95...13D831ec7

Execution Trace

UniversalRouter.execute( commands=0x0A00, inputs=[AAAAAAAAAAAAAAAA2sF/lY0u5SOiIGIGmUWXwT2DHscAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHc1lAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABoV0JGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAA/yRo6/XA5XNSWxkfVpsydSyt/rQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABoL7xOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQRA28/GsLMsadg2J0ezxw5IooKXGQ1bRuD9gs2169eGkdbwoQ3x78JCYD0OVYcCXR7Eh2Qtt1pv866xU5f3pcswcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==, AAAAAAAAAAAAAAAA1ovIpkXwzQH4n2iX7H7YfgsBS/sAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHc1lAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAARapdRui4M8RNAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABC2sF/lY0u5SOiIGIGmUWXwT2DHscAAfTAKqo5siP+jQoOXE8n6tkIPHVswgALuGQ8ThXX1irQq+xKm9SwAao+9S1mAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA], deadline=1747958919 )
  • Permit2.permit( owner=0xd68bC8a645F0cd01F89f6897ec7ed87E0b014bfB, permitSingle=[{name:details, type:tuple, order:1, indexed:false, value:[{name:token, type:address, order:1, indexed:false, value:0xdAC17F958D2ee523a2206206994597C13D831ec7, valueString:0xdAC17F958D2ee523a2206206994597C13D831ec7}, {name:amount, type:uint160, order:2, indexed:false, value:500000000, valueString:500000000}, {name:expiration, type:uint48, order:3, indexed:false, value:1750549062, valueString:1750549062}, {name:nonce, type:uint48, order:4, indexed:false, value:1, valueString:1}], valueString:[{name:token, type:address, order:1, indexed:false, value:0xdAC17F958D2ee523a2206206994597C13D831ec7, valueString:0xdAC17F958D2ee523a2206206994597C13D831ec7}, {name:amount, type:uint160, order:2, indexed:false, value:500000000, valueString:500000000}, {name:expiration, type:uint48, order:3, indexed:false, value:1750549062, valueString:1750549062}, {name:nonce, type:uint48, order:4, indexed:false, value:1, valueString:1}]}, {name:spender, type:address, order:2, indexed:false, value:0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD, valueString:0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD}, {name:sigDeadline, type:uint256, order:3, indexed:false, value:1747958862, valueString:1747958862}], signature=0x1036F3F1AC2CCB1A760D89D1ECF1C39228A0A5C64356D1B83F60B36D7AF5E1A475BC28437C7BF090980F439561C09747B121D90B6DD69BFCEBAC54E5FDE972CC1C )
    • Null: 0x000...001.798e27d0( )
    • UniswapV3Pool.swap( recipient=0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD, zeroForOne=False, amountSpecified=500000000, sqrtPriceLimitX96=1461446703485210103287273052203988822378723970341, data=0x0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000D68BC8A645F0CD01F89F6897EC7ED87E0B014BFB000000000000000000000000000000000000000000000000000000000000002BDAC17F958D2EE523A2206206994597C13D831EC70001F4C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2000000000000000000000000000000000000000000 ) => ( amount0=-188105517869960665, amount1=500000000 )
      • WETH9.transfer( dst=0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD, wad=188105517869960665 ) => ( True )
      • TetherToken.balanceOf( who=0x11b815efB8f581194ae79006d24E0d814B7697F6 ) => ( 4776906313194 )
      • UniversalRouter.uniswapV3SwapCallback( amount0Delta=-188105517869960665, amount1Delta=500000000, data=0x0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000D68BC8A645F0CD01F89F6897EC7ED87E0B014BFB000000000000000000000000000000000000000000000000000000000000002BDAC17F958D2EE523A2206206994597C13D831EC70001F4C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2000000000000000000000000000000000000000000 )
        • Permit2.transferFrom( from=0xd68bC8a645F0cd01F89f6897ec7ed87E0b014bfB, to=0x11b815efB8f581194ae79006d24E0d814B7697F6, amount=500000000, token=0xdAC17F958D2ee523a2206206994597C13D831ec7 )
          • TetherToken.transferFrom( _from=0xd68bC8a645F0cd01F89f6897ec7ed87E0b014bfB, _to=0x11b815efB8f581194ae79006d24E0d814B7697F6, _value=500000000 )
          • TetherToken.balanceOf( who=0x11b815efB8f581194ae79006d24E0d814B7697F6 ) => ( 4777406313194 )
          • UniswapV3Pool.swap( recipient=0xd68bC8a645F0cd01F89f6897ec7ed87E0b014bfB, zeroForOne=False, amountSpecified=188105517869960665, sqrtPriceLimitX96=1461446703485210103287273052203988822378723970341, data=0x00000000000000000000000000000000000000000000000000000000000000400000000000000000000000003FC91A3AFD70395CD496C647D5A6CC9D4B2B7FAD000000000000000000000000000000000000000000000000000000000000002BC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2000BB8643C4E15D7D62AD0ABEC4A9BD4B001AA3EF52D66000000000000000000000000000000000000000000 ) => ( amount0=-1291526894146630547252, amount1=188105517869960665 )
            • MapleTokenProxy.a9059cbb( )
              • MapleToken.transfer( recipient_=0xd68bC8a645F0cd01F89f6897ec7ed87E0b014bfB, amount_=1291526894146630547252 ) => ( success_=True )
              • WETH9.balanceOf( 0x3150B450F8325ac4AFbfA52f33EcF00232F1294E ) => ( 100770530658105703231 )
              • UniversalRouter.uniswapV3SwapCallback( amount0Delta=-1291526894146630547252, amount1Delta=188105517869960665, data=0x00000000000000000000000000000000000000000000000000000000000000400000000000000000000000003FC91A3AFD70395CD496C647D5A6CC9D4B2B7FAD000000000000000000000000000000000000000000000000000000000000002BC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2000BB8643C4E15D7D62AD0ABEC4A9BD4B001AA3EF52D66000000000000000000000000000000000000000000 )
                • WETH9.transfer( dst=0x3150B450F8325ac4AFbfA52f33EcF00232F1294E, wad=188105517869960665 ) => ( True )
                • WETH9.balanceOf( 0x3150B450F8325ac4AFbfA52f33EcF00232F1294E ) => ( 100958636175975663896 )
                  File 1 of 8: 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 8: 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 8: UniswapV3Pool
                  1
                  2
                  3
                  4
                  5
                  6
                  7
                  8
                  9
                  10
                  11
                  12
                  13
                  14
                  15
                  16
                  // SPDX-License-Identifier: BUSL-1.1
                  pragma solidity =0.7.6;
                  import './interfaces/IUniswapV3Pool.sol';
                  import './NoDelegateCall.sol';
                  import './libraries/LowGasSafeMath.sol';
                  import './libraries/SafeCast.sol';
                  import './libraries/Tick.sol';
                  import './libraries/TickBitmap.sol';
                  import './libraries/Position.sol';
                  import './libraries/Oracle.sol';
                  import './libraries/FullMath.sol';
                  import './libraries/FixedPoint128.sol';
                  import './libraries/TransferHelper.sol';
                  import './libraries/TickMath.sol';
                  import './libraries/LiquidityMath.sol';
                  import './libraries/SqrtPriceMath.sol';
                  XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

                  File 4 of 8: 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 8: TetherToken
                  1
                  2
                  3
                  4
                  5
                  6
                  7
                  8
                  9
                  10
                  11
                  12
                  13
                  14
                  15
                  16
                  pragma solidity ^0.4.17;
                  /**
                  * @title SafeMath
                  * @dev Math operations with safety checks that throw on error
                  */
                  library SafeMath {
                  function mul(uint256 a, uint256 b) internal pure returns (uint256) {
                  if (a == 0) {
                  return 0;
                  }
                  uint256 c = a * b;
                  assert(c / a == b);
                  return c;
                  }
                  XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

                  File 6 of 8: MapleTokenProxy
                  1
                  2
                  3
                  4
                  5
                  6
                  7
                  8
                  9
                  10
                  11
                  12
                  13
                  14
                  15
                  16
                  // SPDX-License-Identifier: BUSL-1.1
                  pragma solidity 0.8.18;
                  import { IMapleTokenInitializerLike, IGlobalsLike } from "./interfaces/Interfaces.sol";
                  import { IMapleTokenProxy } from "./interfaces/IMapleTokenProxy.sol";
                  contract MapleTokenProxy is IMapleTokenProxy {
                  bytes32 internal constant GLOBALS_SLOT = bytes32(uint256(keccak256("eip1967.proxy.globals")) - 1);
                  bytes32 internal constant IMPLEMENTATION_SLOT = bytes32(uint256(keccak256("eip1967.proxy.implementation")) - 1);
                  constructor(address globals_, address implementation_, address initializer_, address tokenMigrator_) {
                  _setAddress(GLOBALS_SLOT, globals_);
                  _setAddress(IMPLEMENTATION_SLOT, implementation_);
                  ( bool success_, ) = initializer_.delegatecall(abi.encodeWithSelector(
                  IMapleTokenInitializerLike(initializer_).initialize.selector,
                  tokenMigrator_,
                  IGlobalsLike(globals_).mapleTreasury()
                  ));
                  require(success_, "MTP:INIT_FAILED");
                  XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

                  File 7 of 8: UniswapV3Pool
                  1
                  2
                  3
                  4
                  5
                  6
                  7
                  8
                  9
                  10
                  11
                  12
                  13
                  14
                  15
                  16
                  // SPDX-License-Identifier: BUSL-1.1
                  pragma solidity =0.7.6;
                  import './interfaces/IUniswapV3Pool.sol';
                  import './NoDelegateCall.sol';
                  import './libraries/LowGasSafeMath.sol';
                  import './libraries/SafeCast.sol';
                  import './libraries/Tick.sol';
                  import './libraries/TickBitmap.sol';
                  import './libraries/Position.sol';
                  import './libraries/Oracle.sol';
                  import './libraries/FullMath.sol';
                  import './libraries/FixedPoint128.sol';
                  import './libraries/TransferHelper.sol';
                  import './libraries/TickMath.sol';
                  import './libraries/LiquidityMath.sol';
                  import './libraries/SqrtPriceMath.sol';
                  XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

                  File 8 of 8: MapleToken
                  1
                  2
                  3
                  4
                  5
                  6
                  7
                  8
                  9
                  10
                  11
                  12
                  13
                  14
                  15
                  16
                  // SPDX-License-Identifier: BUSL-1.1
                  pragma solidity 0.8.18;
                  import { ERC20Proxied } from "../modules/erc20/contracts/ERC20Proxied.sol";
                  import { IGlobalsLike } from "./interfaces/Interfaces.sol";
                  import { IMapleToken } from "./interfaces/IMapleToken.sol";
                  contract MapleToken is IMapleToken, ERC20Proxied {
                  bytes32 internal constant GLOBALS_SLOT = bytes32(uint256(keccak256("eip1967.proxy.globals")) - 1);
                  bytes32 internal constant IMPLEMENTATION_SLOT = bytes32(uint256(keccak256("eip1967.proxy.implementation")) - 1);
                  mapping(address => bool) public isModule;
                  modifier onlyGovernor {
                  require(msg.sender == governor(), "MT:NOT_GOVERNOR");
                  _;
                  }
                  modifier onlyScheduled(bytes32 functionId_) {
                  IGlobalsLike globals_ = IGlobalsLike(globals());
                  bool isScheduledCall_ = globals_.isValidScheduledCall(msg.sender, address(this), functionId_, msg.data);
                  XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX