ETH Price: $3,815.38 (+7.13%)

Transaction Decoder

Block:
22656495 at Jun-08-2025 01:09:23 AM +UTC
Transaction Fee:
0.000117279481315135 ETH $0.45
Gas Used:
256,895 Gas / 0.456526913 Gwei

Emitted Events:

301 TetherToken.Transfer( from=[Sender] 0xf4c02372ba8a6c62465872c71472e121a4f336c4, to=0x5141B82f5fFDa4c6fE1E372978F1C5427640a190, value=200000000 )
302 TetherToken.Approval( owner=0x5141B82f5fFDa4c6fE1E372978F1C5427640a190, spender=Router, value=200000000 )
303 Core.( 317ceb54f44a474210b11244df14a650f717683d0aa6ddfe77dc0895e53dc660, fffffffffffffffffee56f7b39cdbe5a0000000000000000000000000bebc200, 00000000000000000034109404437f1b4000d2531a90cae1dc9e599dfed1dba2 )
304 TetherToken.Transfer( from=0x5141B82f5fFDa4c6fE1E372978F1C5427640a190, to=Core, value=200000000 )
305 WETH9.Deposit( dst=0x5141B82f5fFDa4c6fE1E372978F1C5427640a190, wad=79534843367670182 )
306 WETH9.Transfer( src=0x5141B82f5fFDa4c6fE1E372978F1C5427640a190, dst=UniswapV2Pair, wad=79534843367670182 )
307 Token.Transfer( from=UniswapV2Pair, to=[Receiver] AggregationRouterV6, value=58617304652638467704338400 )
308 UniswapV2Pair.Sync( reserve0=34355664558597683230451604741, reserve1=46555144706457463885 )
309 UniswapV2Pair.Swap( sender=0x5141B82f5fFDa4c6fE1E372978F1C5427640a190, amount0In=0, amount1In=79534843367670182, amount0Out=58617304652638467704338400, amount1Out=0, to=[Receiver] AggregationRouterV6 )
310 Token.Transfer( from=[Receiver] AggregationRouterV6, to=[Sender] 0xf4c02372ba8a6c62465872c71472e121a4f336c4, value=58617304652638467704338400 )

Account State Difference:

  Address   Before After State Difference Code
0x404d3295...Ebcc0d651
(beaverbuild)
6.859227022769214925 Eth6.859227034098284425 Eth0.0000000113290695
0xC02aaA39...83C756Cc2 2,652,894.853894856403218581 Eth2,652,894.933429699770888763 Eth0.079534843367670182
0xdAC17F95...13D831ec7
0xe0e0e08A...48157d444
(Ekubo: Core)
255.476870240347038195 Eth255.397335396979368013 Eth0.079534843367670182
0xeEaD662A...739EE3317
0xF4c02372...1a4F336c4
0.008095524571982187 Eth
Nonce: 357
0.007978245090667052 Eth
Nonce: 358
0.000117279481315135

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:0x404d3295c8b1c61662068db584125a7Ebcc0d651, valueString:0x404d3295c8b1c61662068db584125a7Ebcc0d651}, {name:srcReceiver, type:address, order:3, indexed:false, value:0x5141B82f5fFDa4c6fE1E372978F1C5427640a190, valueString:0x5141B82f5fFDa4c6fE1E372978F1C5427640a190}, {name:dstReceiver, type:address, order:4, indexed:false, value:0xF4c02372BA8a6c62465872C71472E121a4F336c4, valueString:0xF4c02372BA8a6c62465872C71472E121a4F336c4}, {name:amount, type:uint256, order:5, indexed:false, value:200000000, valueString:200000000}, {name:minReturnAmount, type:uint256, order:6, indexed:false, value:58331186146165625700619896, valueString:58331186146165625700619896}, {name:flags, type:uint256, order:7, indexed:false, value:0, valueString:0}], data=0x0000000000000000000000000000000000000002070001D900014A00013051309995855C00494D039AB6792F18E368E530DFF931DAC17F958D2EE523A2206206994597C13D831EC700841D8A79620000000000000000000000000000000000000000000000000000000000000000000000000000000000000000DAC17F958D2EE523A2206206994597C13D831EC700000000000000000000000000000000000000000013A92A305532610000137E000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFFF9A5889F795069A41A8A300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000117C5B945427E314041C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2D0E30DB00C20C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2EEAD662A16C68FE58C2278C63201F2C739EE33176AE4071138002DC6C0EEAD662A16C68FE58C2278C63201F2C739EE3317111111125421CA6DC452D289314280A0F8842A65000000000000000000000000000000000000000000300209C96708DF6556946DC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC20020D6BDBF78404D3295C8B1C61662068DB584125A7EBCC0D651111111125421CA6DC452D289314280A0F8842A65 ) => ( returnAmount=58617304652638467704338400, spentAmount=200000000 )
  • TetherToken.transferFrom( _from=0xF4c02372BA8a6c62465872C71472E121a4F336c4, _to=0x5141B82f5fFDa4c6fE1E372978F1C5427640a190, _value=200000000 )
  • 0x5141b82f5ffda4c6fe1e372978f1c5427640a190.4b64e492( )
    • TetherToken.approve( _spender=0x9995855C00494d039aB6792f18e368e530DFf931, _value=200000000 )
    • Router.swap( poolKey=[{name:token0, type:address, order:1, indexed:false, value:0x0000000000000000000000000000000000000000, valueString:0x0000000000000000000000000000000000000000}, {name:token1, type:address, order:2, indexed:false, value:0xdAC17F958D2ee523a2206206994597C13D831ec7, valueString:0xdAC17F958D2ee523a2206206994597C13D831ec7}, {name:config, type:bytes32, order:3, indexed:false, value:00000000000000000000000000000000000000000013A92A305532610000137E, valueString:00000000000000000000000000000000000000000013A92A305532610000137E}], isToken1=True, amount=200000000, sqrtRatioLimit=79227682466138141934206691491, skipAhead=0, calculatedAmountThreshold=78748918023880241 ) => ( delta0=-79534843367670182, delta1=200000000 )
      • Core.lock( )
        • Router.locked( id=0 )
          • Core.swap_611415377( poolKey=[{name:token0, type:address, order:1, indexed:false, value:0x0000000000000000000000000000000000000000, valueString:0x0000000000000000000000000000000000000000}, {name:token1, type:address, order:2, indexed:false, value:0xdAC17F958D2ee523a2206206994597C13D831ec7, valueString:0xdAC17F958D2ee523a2206206994597C13D831ec7}, {name:config, type:bytes32, order:3, indexed:false, value:00000000000000000000000000000000000000000013A92A305532610000137E, valueString:00000000000000000000000000000000000000000013A92A305532610000137E}], amount=200000000, isToken1=True, sqrtRatioLimit=79227682466138141934206691491, skipAhead=0 ) => ( delta0=-79534843367670182, delta1=200000000 )
          • Core.withdraw( token=0x0000000000000000000000000000000000000000, recipient=0x5141B82f5fFDa4c6fE1E372978F1C5427640a190, amount=79534843367670182 )
            • ETH 0.079534843367670182 0x5141b82f5ffda4c6fe1e372978f1c5427640a190.CALL( )
            • Core.pay( token=0xdAC17F958D2ee523a2206206994597C13D831ec7 ) => ( payment=200000000 )
              • TetherToken.balanceOf( who=0xe0e0e08A6A4b9Dc7bD67BCB7aadE5cF48157d444 ) => ( 524275549494 )
              • Router.payCallback( 0, token=0xdAC17F958D2ee523a2206206994597C13D831ec7 )
              • TetherToken.balanceOf( who=0xe0e0e08A6A4b9Dc7bD67BCB7aadE5cF48157d444 ) => ( 524475549494 )
              • ETH 0.079534843367670182 WETH9.CALL( )
              • WETH9.transfer( dst=0xeEaD662A16C68fe58c2278c63201F2c739EE3317, wad=79534843367670182 ) => ( True )
              • 0x5141b82f5ffda4c6fe1e372978f1c5427640a190.6ae40711( )
                • UniswapV2Pair.STATICCALL( )
                • WETH9.balanceOf( 0xeEaD662A16C68fe58c2278c63201F2c739EE3317 ) => ( 46555144706457463885 )
                • UniswapV2Pair.swap( amount0Out=58617304652638467704338400, amount1Out=0, to=0x111111125421cA6dc452d289314280a0f8842A65, data=0x )
                  • Token.transfer( to=0x111111125421cA6dc452d289314280a0f8842A65, amount=58617304652638467704338400 ) => ( True )
                  • Token.balanceOf( account=0xeEaD662A16C68fe58c2278c63201F2c739EE3317 ) => ( 34355664558597683230451604741 )
                  • WETH9.balanceOf( 0xeEaD662A16C68fe58c2278c63201F2c739EE3317 ) => ( 46555144706457463885 )
                  • 0x5141b82f5ffda4c6fe1e372978f1c5427640a190.d6bdbf78( )
                    • Token.balanceOf( account=0x111111125421cA6dc452d289314280a0f8842A65 ) => ( 58617304652638467704338400 )
                    • Token.transfer( to=0xF4c02372BA8a6c62465872C71472E121a4F336c4, amount=58617304652638467704338400 ) => ( True )
                      File 1 of 7: AggregationRouterV6
                      1
                      2
                      3
                      4
                      5
                      6
                      7
                      8
                      9
                      10
                      11
                      12
                      13
                      14
                      15
                      16
                      /*
                      ,▄▓▓██▌ ,╓▄▄▓▓▓▓▓▓▓▓▄▄▄,,
                      ,▓██▓███▓▄▓███▓╬╬╬╬╬╬╬╬╬╬╬╬╬▓███▓▄,
                      ▄█ ▓██╬╣███████╬▓▀╬╬▓▓▓████████████▓█████▄,
                      ▓██▌ ▓██╬╣██████╬▓▌ ██████████████████████▌╙╙▀ⁿ
                      ▐████████╬▓████▓▓█╨ ▄ ╟█████████▓▓╬╬╬╬╬▓▓█████▓▄
                      └▀▓▓▄╓ ╟█▓╣█████▓██████▀ ╓█▌ ███████▓▓▓▓▓╬╬╬╬╬╬╬╬╬╬╬╬▓██▓▄
                      └▀████▓▄╥ ▐██╬╬██████████╙ Æ▀─ ▓███▀╚╠╬╩▀▀███████▓▓╬╬╬╬╬╬╬╬╬██▄
                      └▀██▓▀▀█████▓╬▓██████▀ ▄█████▒╠" └╙▓██████▓╬╬╬╬╬╬╬╬██▄
                      └▀██▄,└╙▀▀████▌└╙ ^"▀╙╙╙"╙██ @▄ ╙▀███████╬╬╬╬╬╬╬██µ
                      └▀██▓▄, ██▌ ╒ ╙█▓ ]▓█▓╔ ▀███████▓╬╬╬╬╬▓█▌
                      ▀█████ ▓ ╟█▌ ]╠██▓░▒╓ ▀████████╬╬╬╬╣█▌
                      ▐████ ╓█▀█▌ ,██▌ ╚Å███▓▒▒╠╓ ╙█████████╬╬╬╣█▌
                      └████ ▓█░░▓█ ▀▀▀ φ▒╫████▒▒▒▒╠╓ █████████▓╬╬▓█µ
                      ╘███µ ▌▄█▓▄▓▀` ,▀ ,╔╠░▓██████▌╠▒▒▒φ ██████████╬╬██
                      ▐████µ╙▓▀` ,▀╙,╔╔φφφ╠░▄▓███████▌░▓╙▒▒▒╠ └██╬███████╬▓█⌐
                      XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

                      File 2 of 7: 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 7: Core
                      1
                      2
                      3
                      4
                      5
                      6
                      7
                      8
                      9
                      10
                      11
                      12
                      13
                      14
                      15
                      16
                      // SPDX-License-Identifier: UNLICENSED
                      pragma solidity =0.8.28;
                      import {CallPoints, addressToCallPoints} from "./types/callPoints.sol";
                      import {PoolKey} from "./types/poolKey.sol";
                      import {PositionKey, Bounds} from "./types/positionKey.sol";
                      import {FeesPerLiquidity, feesPerLiquidityFromAmounts} from "./types/feesPerLiquidity.sol";
                      import {isPriceIncreasing, SqrtRatioLimitWrongDirection, SwapResult, swapResult} from "./math/swap.sol";
                      import {Position} from "./types/position.sol";
                      import {Ownable} from "solady/auth/Ownable.sol";
                      import {tickToSqrtRatio, sqrtRatioToTick} from "./math/ticks.sol";
                      import {Bitmap} from "./math/bitmap.sol";
                      import {
                      shouldCallBeforeInitializePool,
                      shouldCallAfterInitializePool,
                      shouldCallBeforeUpdatePosition,
                      shouldCallAfterUpdatePosition,
                      XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

                      File 4 of 7: 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 7: 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 6 of 7: Token
                      1
                      2
                      3
                      4
                      5
                      6
                      7
                      8
                      9
                      10
                      11
                      12
                      13
                      14
                      15
                      16
                      pragma solidity 0.8.26;
                      // SPDX-License-Identifier: MIT
                      abstract contract Context {
                      function _msgSender() internal view virtual returns (address) {
                      return msg.sender;
                      }
                      function _msgData() internal view virtual returns (bytes calldata) {
                      this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
                      return msg.data;
                      }
                      }
                      interface IERC20 {
                      XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

                      File 7 of 7: Router
                      1
                      2
                      3
                      4
                      5
                      6
                      7
                      8
                      9
                      10
                      11
                      12
                      13
                      14
                      15
                      16
                      // SPDX-License-Identifier: UNLICENSED
                      pragma solidity =0.8.28;
                      import {PayableMulticallable} from "./base/PayableMulticallable.sol";
                      import {BaseLocker} from "./base/BaseLocker.sol";
                      import {UsesCore} from "./base/UsesCore.sol";
                      import {ICore} from "./interfaces/ICore.sol";
                      import {PoolKey} from "./types/poolKey.sol";
                      import {NATIVE_TOKEN_ADDRESS} from "./math/constants.sol";
                      import {isPriceIncreasing} from "./math/isPriceIncreasing.sol";
                      import {Permittable} from "./base/Permittable.sol";
                      import {SlippageChecker} from "./base/SlippageChecker.sol";
                      import {SqrtRatio, toSqrtRatio} from "./types/sqrtRatio.sol";
                      import {MIN_SQRT_RATIO, MAX_SQRT_RATIO} from "./types/sqrtRatio.sol";
                      import {FixedPointMathLib} from "solady/utils/FixedPointMathLib.sol";
                      import {CoreLib} from "./libraries/CoreLib.sol";
                      struct RouteNode {
                      XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX