ETH Price: $3,644.38 (+1.54%)

Transaction Decoder

Block:
22561658 at May-25-2025 06:35:23 PM +UTC
Transaction Fee:
0.000192166543941822 ETH $0.70
Gas Used:
181,966 Gas / 1.056057417 Gwei

Emitted Events:

151 WETH9.Deposit( dst=0x5141B82f5fFDa4c6fE1E372978F1C5427640a190, wad=39730000000000000 )
152 WETH9.Approval( src=0x5141B82f5fFDa4c6fE1E372978F1C5427640a190, guy=Vault, wad=39730000000000000 )
153 Vault.Swap( poolId=5122E01D819E58BB2E22528C0D68D310F0AA6FD7000200000000000000000163, tokenIn=WETH9, tokenOut=nProxy, amountIn=39730000000000000, amountOut=492664622091 )
154 WETH9.Transfer( src=0x5141B82f5fFDa4c6fE1E372978F1C5427640a190, dst=Vault, wad=39730000000000000 )
155 nProxy.0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef( 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef, 0x000000000000000000000000ba12222222228d8ba445958a75a0704d566bf2c8, 0x000000000000000000000000111111125421ca6dc452d289314280a0f8842a65, 00000000000000000000000000000000000000000000000000000072b5198c0b )
156 nProxy.0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef( 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef, 0x000000000000000000000000111111125421ca6dc452d289314280a0f8842a65, 0x00000000000000000000000057ef6a1cd9345780d22a3287bbda24f1e503e9fe, 00000000000000000000000000000000000000000000000000000072b5198c0b )

Account State Difference:

  Address   Before After State Difference Code
(Titan Builder)
11.666775790913784529 Eth11.666866773913784529 Eth0.000090983
0x5122E01D...0f0AA6FD7
0x57EF6a1C...1e503e9fe
0.222261159044943497 Eth
Nonce: 9344
0.182338992501001675 Eth
Nonce: 9345
0.039922166543941822
0xBA122222...d566BF2C8
(Balancer: Vault)
0xC02aaA39...83C756Cc2 2,828,314.593284700379973329 Eth2,828,314.633014700379973329 Eth0.03973
0xCFEAead4...9E1Ef3eD5

Execution Trace

ETH 0.03973 AggregationRouterV6.swap( executor=0x5141B82f5fFDa4c6fE1E372978F1C5427640a190, desc=[{name:srcToken, type:address, order:1, indexed:false, value:0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE, valueString:0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE}, {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:0x57EF6a1Cd9345780d22A3287bbDa24F1e503e9fe, valueString:0x57EF6a1Cd9345780d22A3287bbDa24F1e503e9fe}, {name:amount, type:uint256, order:5, indexed:false, value:39730000000000000, valueString:39730000000000000}, {name:minReturnAmount, type:uint256, order:6, indexed:false, value:492171957468, valueString:492171957468}, {name:flags, type:uint256, order:7, indexed:false, value:0, valueString:0}], data=0x0000000000000000000000000000000000000000000000AB00007D00001A4041C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2D0E30DB000A0FBB7CD06805122E01D819E58BB2E22528C0D68D310F0AA6FD7000200000000000000000163C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2CFEAEAD4947F0705A14EC42AC3D44129E1EF3ED5111111125421CA6DC452D289314280A0F8842A650020D6BDBF78CFEAEAD4947F0705A14EC42AC3D44129E1EF3ED5111111125421CA6DC452D289314280A0F8842A65 ) => ( returnAmount=492664622091, spentAmount=39730000000000000 )
  • ETH 0.03973 0x5141b82f5ffda4c6fe1e372978f1c5427640a190.4b64e492( )
    • ETH 0.03973 WETH9.CALL( )
    • 0x5141b82f5ffda4c6fe1e372978f1c5427640a190.fbb7cd06( )
      • WETH9.approve( guy=0xBA12222222228d8Ba445958a75a0704d566BF2C8, wad=39730000000000000 ) => ( 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:39730000000000000, valueString:39730000000000000}, {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=1748198123 ) => ( amountCalculated=492664622091 )
        • 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:39730000000000000, valueString:39730000000000000}, {name:poolId, type:bytes32, order:5, indexed:false, value:5122E01D819E58BB2E22528C0D68D310F0AA6FD7000200000000000000000163, valueString:5122E01D819E58BB2E22528C0D68D310F0AA6FD7000200000000000000000163}, {name:lastChangeBlock, type:uint256, order:6, indexed:false, value:22560102, valueString:22560102}, {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=36689624105668422754, balanceTokenOut=1830228460992437 ) => ( 492664622091 )
        • WETH9.transferFrom( src=0x5141B82f5fFDa4c6fE1E372978F1C5427640a190, dst=0xBA12222222228d8Ba445958a75a0704d566BF2C8, wad=39730000000000000 ) => ( True )
        • nProxy.a9059cbb( )
          • NoteERC20.transfer( dst=0x111111125421cA6dc452d289314280a0f8842A65, rawAmount=492664622091 ) => ( True )
          • 0x5141b82f5ffda4c6fe1e372978f1c5427640a190.d6bdbf78( )
            • nProxy.70a08231( )
              • NoteERC20.balanceOf( account=0x111111125421cA6dc452d289314280a0f8842A65 ) => ( 492664622091 )
              • nProxy.a9059cbb( )
                • NoteERC20.transfer( dst=0x57EF6a1Cd9345780d22A3287bbDa24F1e503e9fe, rawAmount=492664622091 ) => ( True )
                  File 1 of 6: AggregationRouterV6
                  1
                  2
                  3
                  4
                  5
                  6
                  7
                  8
                  9
                  10
                  11
                  12
                  13
                  14
                  15
                  16
                  /*
                  ,▄▓▓██▌ ,╓▄▄▓▓▓▓▓▓▓▓▄▄▄,,
                  ,▓██▓███▓▄▓███▓╬╬╬╬╬╬╬╬╬╬╬╬╬▓███▓▄,
                  ▄█ ▓██╬╣███████╬▓▀╬╬▓▓▓████████████▓█████▄,
                  ▓██▌ ▓██╬╣██████╬▓▌ ██████████████████████▌╙╙▀ⁿ
                  ▐████████╬▓████▓▓█╨ ▄ ╟█████████▓▓╬╬╬╬╬▓▓█████▓▄
                  └▀▓▓▄╓ ╟█▓╣█████▓██████▀ ╓█▌ ███████▓▓▓▓▓╬╬╬╬╬╬╬╬╬╬╬╬▓██▓▄
                  └▀████▓▄╥ ▐██╬╬██████████╙ Æ▀─ ▓███▀╚╠╬╩▀▀███████▓▓╬╬╬╬╬╬╬╬╬██▄
                  └▀██▓▀▀█████▓╬▓██████▀ ▄█████▒╠" └╙▓██████▓╬╬╬╬╬╬╬╬██▄
                  └▀██▄,└╙▀▀████▌└╙ ^"▀╙╙╙"╙██ @▄ ╙▀███████╬╬╬╬╬╬╬██µ
                  └▀██▓▄, ██▌ ╒ ╙█▓ ]▓█▓╔ ▀███████▓╬╬╬╬╬▓█▌
                  ▀█████ ▓ ╟█▌ ]╠██▓░▒╓ ▀████████╬╬╬╬╣█▌
                  ▐████ ╓█▀█▌ ,██▌ ╚Å███▓▒▒╠╓ ╙█████████╬╬╬╣█▌
                  └████ ▓█░░▓█ ▀▀▀ φ▒╫████▒▒▒▒╠╓ █████████▓╬╬▓█µ
                  ╘███µ ▌▄█▓▄▓▀` ,▀ ,╔╠░▓██████▌╠▒▒▒φ ██████████╬╬██
                  ▐████µ╙▓▀` ,▀╙,╔╔φφφ╠░▄▓███████▌░▓╙▒▒▒╠ └██╬███████╬▓█⌐
                  XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

                  File 2 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 3 of 6: 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 4 of 6: 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 5 of 6: 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 6 of 6: 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