ETH Price: $3,676.91 (-1.64%)

Transaction Decoder

Block:
22561659 at May-25-2025 06:35:35 PM +UTC
Transaction Fee:
0.000283611107890167 ETH $1.04
Gas Used:
266,191 Gas / 1.065442137 Gwei

Account State Difference:

  Address   Before After State Difference Code
(Titan Builder)
11.687310639832311476 Eth11.687443735332311476 Eth0.0001330955
0x5C680295...E6bD93f9C
0.008316939670479293 Eth
Nonce: 149
0.008033328562589126 Eth
Nonce: 150
0.000283611107890167

Execution Trace

AggregationRouterV6.swap( executor=0x5141B82f5fFDa4c6fE1E372978F1C5427640a190, desc=[{name:srcToken, type:address, order:1, indexed:false, value:0xdAC17F958D2ee523a2206206994597C13D831ec7, valueString:0xdAC17F958D2ee523a2206206994597C13D831ec7}, {name:dstToken, type:address, order:2, indexed:false, value:0xCFEAead4947f0705A14ec42aC3D44129E1Ef3eD5, valueString:0xCFEAead4947f0705A14ec42aC3D44129E1Ef3eD5}, {name:srcReceiver, type:address, order:3, indexed:false, value:0x5141B82f5fFDa4c6fE1E372978F1C5427640a190, valueString:0x5141B82f5fFDa4c6fE1E372978F1C5427640a190}, {name:dstReceiver, type:address, order:4, indexed:false, value:0x5C6802959b2DB1c0a3AD4Ae1ce5Be00E6bD93f9C, valueString:0x5C6802959b2DB1c0a3AD4Ae1ce5Be00E6bD93f9C}, {name:amount, type:uint256, order:5, indexed:false, value:100000000, valueString:100000000}, {name:minReturnAmount, type:uint256, order:6, indexed:false, value:492026900867, valueString:492026900867}, {name:flags, type:uint256, order:7, indexed:false, value:0, valueString:0}], data=0x0000000000000000000000000000000000000000000000E00000B200004F02A0000000000000000000000000000000000000000000000000008BB254F7FE6D81EE63C1E500C7BBEC68D12A0D1830360F8EC58FA599BA1B0E9BDAC17F958D2EE523A2206206994597C13D831EC700A0FBB7CD06805122E01D819E58BB2E22528C0D68D310F0AA6FD7000200000000000000000163C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2CFEAEAD4947F0705A14EC42AC3D44129E1EF3ED5111111125421CA6DC452D289314280A0F8842A650020D6BDBF78CFEAEAD4947F0705A14EC42AC3D44129E1EF3ED5111111125421CA6DC452D289314280A0F8842A65 ) => ( returnAmount=2845167448577688530431208231222343648354413640624171475760439919485403529330, spentAmount=60758198693872411178681486787095160946668313855393619211451828394048081625202 )
  • TetherToken.transferFrom( _from=0x5C6802959b2DB1c0a3AD4Ae1ce5Be00E6bD93f9C, _to=0x5141B82f5fFDa4c6fE1E372978F1C5427640a190, _value=100000000 )
  • 0x5141b82f5ffda4c6fe1e372978f1c5427640a190.4b64e492( )
    • 0x5141b82f5ffda4c6fe1e372978f1c5427640a190.ee63c1e5( )
      • UniswapV3Pool.swap( recipient=0x5141B82f5fFDa4c6fE1E372978F1C5427640a190, zeroForOne=False, amountSpecified=100000000, sqrtPriceLimitX96=1461446703485210103287273052203988822378723970341, data=0x000000000000000000000000DAC17F958D2EE523A2206206994597C13D831EC7 ) => ( amount0=-39720329485189828, amount1=100000000 )
        • WETH9.transfer( dst=0x5141B82f5fFDa4c6fE1E372978F1C5427640a190, wad=39720329485189828 ) => ( True )
        • TetherToken.balanceOf( who=0xc7bBeC68d12a0d1830360F8Ec58fA599bA1b0e9b ) => ( 1782962754875 )
        • 0x5141b82f5ffda4c6fe1e372978f1c5427640a190.fa461e33( )
          • TetherToken.transfer( _to=0xc7bBeC68d12a0d1830360F8Ec58fA599bA1b0e9b, _value=100000000 )
          • TetherToken.balanceOf( who=0xc7bBeC68d12a0d1830360F8Ec58fA599bA1b0e9b ) => ( 1783062754875 )
          • 0x5141b82f5ffda4c6fe1e372978f1c5427640a190.fbb7cd06( )
            • WETH9.approve( guy=0xBA12222222228d8Ba445958a75a0704d566BF2C8, wad=39720329485189828 ) => ( True )
            • Vault.swap( singleSwap=[{name:poolId, type:bytes32, order:1, indexed:false, value:5122E01D819E58BB2E22528C0D68D310F0AA6FD7000200000000000000000163, valueString:5122E01D819E58BB2E22528C0D68D310F0AA6FD7000200000000000000000163}, {name:kind, type:uint8, order:2, indexed:false, value:0, valueString:0}, {name:assetIn, type:address, order:3, indexed:false, value:0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2, valueString:0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2}, {name:assetOut, type:address, order:4, indexed:false, value:0xCFEAead4947f0705A14ec42aC3D44129E1Ef3eD5, valueString:0xCFEAead4947f0705A14ec42aC3D44129E1Ef3eD5}, {name:amount, type:uint256, order:5, indexed:false, value:39720329485189828, valueString:39720329485189828}, {name:userData, type:bytes, order:6, indexed:false, value:0x, valueString:0x}], funds=[{name:sender, type:address, order:1, indexed:false, value:0x5141B82f5fFDa4c6fE1E372978F1C5427640a190, valueString:0x5141B82f5fFDa4c6fE1E372978F1C5427640a190}, {name:fromInternalBalance, type:bool, order:2, indexed:false, value:false, valueString:False}, {name:recipient, type:address, order:3, indexed:false, value:0x111111125421cA6dc452d289314280a0f8842A65, valueString:0x111111125421cA6dc452d289314280a0f8842A65}, {name:toInternalBalance, type:bool, order:4, indexed:false, value:false, valueString:False}], limit=0, deadline=1748198135 ) => ( amountCalculated=491879918587 )
              • WeightedPool2Tokens.onSwap( request=[{name:kind, type:uint8, order:1, indexed:false, value:0, valueString:0}, {name:tokenIn, type:address, order:2, indexed:false, value:0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2, valueString:0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2}, {name:tokenOut, type:address, order:3, indexed:false, value:0xCFEAead4947f0705A14ec42aC3D44129E1Ef3eD5, valueString:0xCFEAead4947f0705A14ec42aC3D44129E1Ef3eD5}, {name:amount, type:uint256, order:4, indexed:false, value:39720329485189828, valueString:39720329485189828}, {name:poolId, type:bytes32, order:5, indexed:false, value:5122E01D819E58BB2E22528C0D68D310F0AA6FD7000200000000000000000163, valueString:5122E01D819E58BB2E22528C0D68D310F0AA6FD7000200000000000000000163}, {name:lastChangeBlock, type:uint256, order:6, indexed:false, value:22561658, valueString:22561658}, {name:from, type:address, order:7, indexed:false, value:0x5141B82f5fFDa4c6fE1E372978F1C5427640a190, valueString:0x5141B82f5fFDa4c6fE1E372978F1C5427640a190}, {name:to, type:address, order:8, indexed:false, value:0x111111125421cA6dc452d289314280a0f8842A65, valueString:0x111111125421cA6dc452d289314280a0f8842A65}, {name:userData, type:bytes, order:9, indexed:false, value:0x, valueString:0x}], balanceTokenIn=36729354105668422754, balanceTokenOut=1829735796370346 ) => ( 491879918587 )
              • WETH9.transferFrom( src=0x5141B82f5fFDa4c6fE1E372978F1C5427640a190, dst=0xBA12222222228d8Ba445958a75a0704d566BF2C8, wad=39720329485189828 ) => ( True )
              • nProxy.a9059cbb( )
                • NoteERC20.transfer( dst=0x111111125421cA6dc452d289314280a0f8842A65, rawAmount=491879918587 ) => ( True )
                • 0x5141b82f5ffda4c6fe1e372978f1c5427640a190.d6bdbf78( )
                  • nProxy.70a08231( )
                    • NoteERC20.balanceOf( account=0x111111125421cA6dc452d289314280a0f8842A65 ) => ( 491879918587 )
                      File 1 of 8: AggregationRouterV6
                      1
                      2
                      3
                      4
                      5
                      6
                      7
                      8
                      9
                      10
                      11
                      12
                      13
                      14
                      15
                      16
                      /*
                      ,▄▓▓██▌ ,╓▄▄▓▓▓▓▓▓▓▓▄▄▄,,
                      ,▓██▓███▓▄▓███▓╬╬╬╬╬╬╬╬╬╬╬╬╬▓███▓▄,
                      ▄█ ▓██╬╣███████╬▓▀╬╬▓▓▓████████████▓█████▄,
                      ▓██▌ ▓██╬╣██████╬▓▌ ██████████████████████▌╙╙▀ⁿ
                      ▐████████╬▓████▓▓█╨ ▄ ╟█████████▓▓╬╬╬╬╬▓▓█████▓▄
                      └▀▓▓▄╓ ╟█▓╣█████▓██████▀ ╓█▌ ███████▓▓▓▓▓╬╬╬╬╬╬╬╬╬╬╬╬▓██▓▄
                      └▀████▓▄╥ ▐██╬╬██████████╙ Æ▀─ ▓███▀╚╠╬╩▀▀███████▓▓╬╬╬╬╬╬╬╬╬██▄
                      └▀██▓▀▀█████▓╬▓██████▀ ▄█████▒╠" └╙▓██████▓╬╬╬╬╬╬╬╬██▄
                      └▀██▄,└╙▀▀████▌└╙ ^"▀╙╙╙"╙██ @▄ ╙▀███████╬╬╬╬╬╬╬██µ
                      └▀██▓▄, ██▌ ╒ ╙█▓ ]▓█▓╔ ▀███████▓╬╬╬╬╬▓█▌
                      ▀█████ ▓ ╟█▌ ]╠██▓░▒╓ ▀████████╬╬╬╬╣█▌
                      ▐████ ╓█▀█▌ ,██▌ ╚Å███▓▒▒╠╓ ╙█████████╬╬╬╣█▌
                      └████ ▓█░░▓█ ▀▀▀ φ▒╫████▒▒▒▒╠╓ █████████▓╬╬▓█µ
                      ╘███µ ▌▄█▓▄▓▀` ,▀ ,╔╠░▓██████▌╠▒▒▒φ ██████████╬╬██
                      ▐████µ╙▓▀` ,▀╙,╔╔φφφ╠░▄▓███████▌░▓╙▒▒▒╠ └██╬███████╬▓█⌐
                      XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

                      File 2 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 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: Vault
                      1
                      2
                      3
                      4
                      5
                      6
                      7
                      8
                      9
                      10
                      11
                      12
                      13
                      14
                      15
                      16
                      // SPDX-License-Identifier: GPL-3.0-or-later
                      // 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.7.0;
                      pragma experimental ABIEncoderV2;
                      import "./interfaces/IAuthorizer.sol";
                      import "./interfaces/IWETH.sol";
                      import "./VaultAuthorization.sol";
                      XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

                      File 6 of 8: WeightedPool2Tokens
                      1
                      2
                      3
                      4
                      5
                      6
                      7
                      8
                      9
                      10
                      11
                      12
                      13
                      14
                      15
                      16
                      // SPDX-License-Identifier: GPL-3.0-or-later
                      // 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 experimental ABIEncoderV2;
                      import "../../lib/openzeppelin/IERC20.sol";
                      import "./IWETH.sol";
                      import "./IAsset.sol";
                      import "./IAuthorizer.sol";
                      XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

                      File 7 of 8: nProxy
                      1
                      2
                      3
                      4
                      5
                      6
                      7
                      8
                      9
                      10
                      11
                      12
                      13
                      14
                      15
                      16
                      // SPDX-License-Identifier: MIT
                      pragma solidity 0.7.5;
                      // Part: OpenZeppelin/openzeppelin-contracts@3.4.2-solc-0.7/Address
                      /**
                      * @dev Collection of functions related to the address type
                      */
                      library Address {
                      /**
                      * @dev Returns true if `account` is a contract.
                      *
                      * [IMPORTANT]
                      XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

                      File 8 of 8: NoteERC20
                      1
                      2
                      3
                      4
                      5
                      6
                      7
                      8
                      9
                      10
                      11
                      12
                      13
                      14
                      15
                      16
                      // SPDX-License-Identifier: GPL-3.0-only
                      pragma solidity ^0.7.0;
                      pragma abicoder v2;
                      import "interfaces/notional/NotionalProxy.sol";
                      import "@openzeppelin/contracts/proxy/Initializable.sol";
                      import "@openzeppelin/contracts/cryptography/ECDSA.sol";
                      import "../../proxy/utils/UUPSUpgradeable.sol";
                      /// @title Note ERC20 Token
                      /// Fork of Compound Comp token at commit hash
                      /// https://github.com/compound-finance/compound-protocol/commit/9bcff34a5c9c76d51e51bcb0ca1139588362ef96
                      contract NoteERC20 is Initializable, UUPSUpgradeable {
                      /// @notice EIP-20 token name for this token
                      string public constant name = "Notional";
                      /// @notice EIP-20 token symbol for this token
                      string public constant symbol = "NOTE";
                      /// @notice EIP-20 token decimals for this token
                      XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX