ETH Price: $2,988.39 (-0.15%)

Transaction Decoder

Block:
21778943 at Feb-05-2025 07:57:11 AM +UTC
Transaction Fee:
0.000175206791938788 ETH $0.52
Gas Used:
119,454 Gas / 1.466730222 Gwei

Emitted Events:

257 WETH9.Transfer( src=UniswapV3Pool, dst=[Receiver] ZeroEx, wad=96318826253365439 )
258 WstETH.Transfer( from=[Sender] 0xbca35347207aef8024dcf1e518dd75543523467e, to=UniswapV3Pool, value=80871823913554334 )
259 WstETH.Approval( owner=[Sender] 0xbca35347207aef8024dcf1e518dd75543523467e, spender=[Receiver] ZeroEx, value=57896044618658097711785492504343953926634992332820282019728711132132651265633 )
260 UniswapV3Pool.Swap( sender=[Receiver] ZeroEx, recipient=[Receiver] ZeroEx, amount0=80871823913554334, amount1=-96318826253365439, sqrtPriceX96=86468567739477230458208301919, liquidity=3200244969830395372828893, tick=1749 )
261 WETH9.Withdrawal( src=[Receiver] ZeroEx, wad=96318826253365439 )

Account State Difference:

  Address   Before After State Difference Code
0x109830a1...EC2FB7dAa
(Uniswap V3: wstETH 3)
0x7f39C581...c935E2Ca0
(beaverbuild)
19.813139063448627159 Eth19.813145036148627159 Eth0.0000059727
0xbCA35347...43523467E
0.14719274852440819 Eth
Nonce: 284
0.243336367985834841 Eth
Nonce: 285
0.096143619461426651
0xC02aaA39...83C756Cc2 2,775,818.753674088696624873 Eth2,775,818.657355262443259434 Eth0.096318826253365439

Execution Trace

ZeroEx.803ba26d( )
  • UniswapV3Feature.sellTokenForEthToUniswapV3( encodedPath=0x7F39C581F595B53C5CB19BD0B3F8DA6C935E2CA0000064C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2, sellAmount=80871823913554334, minBuyAmount=96222515883122269, recipient=0x0000000000000000000000000000000000000000 ) => ( buyAmount=96318826253365439 )
    • UniswapV3Pool.swap( recipient=0xDef1C0ded9bec7F1a1670819833240f027b25EfF, zeroForOne=True, amountSpecified=80871823913554334, sqrtPriceLimitX96=4295128740, data=0x0000000000000000000000007F39C581F595B53C5CB19BD0B3F8DA6C935E2CA0000000000000000000000000C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC20000000000000000000000000000000000000000000000000000000000000064000000000000000000000000BCA35347207AEF8024DCF1E518DD75543523467E ) => ( amount0=80871823913554334, amount1=-96318826253365439 )
      • WETH9.transfer( dst=0xDef1C0ded9bec7F1a1670819833240f027b25EfF, wad=96318826253365439 ) => ( True )
      • WstETH.balanceOf( account=0x109830a1AAaD605BbF02a9dFA7B0B92EC2FB7dAa ) => ( 3913371983016165923532 )
      • ZeroEx.fa461e33( )
        • UniswapV3Feature.uniswapV3SwapCallback( amount0Delta=80871823913554334, amount1Delta=-96318826253365439, data=0x0000000000000000000000007F39C581F595B53C5CB19BD0B3F8DA6C935E2CA0000000000000000000000000C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC20000000000000000000000000000000000000000000000000000000000000064000000000000000000000000BCA35347207AEF8024DCF1E518DD75543523467E )
          • WstETH.transferFrom( sender=0xbCA35347207Aef8024dCf1E518DD75543523467E, recipient=0x109830a1AAaD605BbF02a9dFA7B0B92EC2FB7dAa, amount=80871823913554334 ) => ( True )
          • WstETH.balanceOf( account=0x109830a1AAaD605BbF02a9dFA7B0B92EC2FB7dAa ) => ( 3913452854840079477866 )
          • WETH9.withdraw( wad=96318826253365439 )
            • ETH 0.096318826253365439 ZeroEx.CALL( )
            • ETH 0.096318826253365439 0xbca35347207aef8024dcf1e518dd75543523467e.CALL( )
              File 1 of 5: ZeroEx
              1
              2
              3
              4
              5
              6
              7
              8
              9
              10
              11
              12
              13
              14
              15
              16
              /*
              Copyright 2020 ZeroEx Intl.
              Licensed under the Apache License, Version 2.0 (the "License");
              you may not use this file except in compliance with the License.
              You may obtain a copy of the License at
              http://www.apache.org/licenses/LICENSE-2.0
              Unless required by applicable law or agreed to in writing, software
              distributed under the License is distributed on an "AS IS" BASIS,
              WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
              See the License for the specific language governing permissions and
              limitations under the License.
              */
              pragma solidity ^0.6.5;
              pragma experimental ABIEncoderV2;
              import "@0x/contracts-utils/contracts/src/v06/LibBytesV06.sol";
              import "./migrations/LibBootstrap.sol";
              XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

              File 2 of 5: 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 3 of 5: 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 4 of 5: WstETH
              1
              2
              3
              4
              5
              6
              7
              8
              9
              10
              11
              12
              13
              14
              15
              16
              // SPDX-License-Identifier: MIT AND GPL-3.0
              // File: @openzeppelin/contracts/utils/Context.sol
              pragma solidity >=0.6.0 <0.8.0;
              /*
              * @dev Provides information about the current execution context, including the
              * sender of the transaction and its data. While these are generally available
              * via msg.sender and msg.data, they should not be accessed in such a direct
              * manner, since when dealing with GSN meta-transactions the account sending and
              * paying for execution may not be the actual sender (as far as an application
              * is concerned).
              *
              * This contract is only required for intermediate, library-like contracts.
              */
              XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

              File 5 of 5: UniswapV3Feature
              1
              2
              3
              4
              5
              6
              7
              8
              9
              10
              11
              12
              13
              14
              15
              16
              // SPDX-License-Identifier: Apache-2.0
              /*
              Copyright 2023 ZeroEx Intl.
              Licensed under the Apache License, Version 2.0 (the "License");
              you may not use this file except in compliance with the License.
              You may obtain a copy of the License at
              http://www.apache.org/licenses/LICENSE-2.0
              Unless required by applicable law or agreed to in writing, software
              distributed under the License is distributed on an "AS IS" BASIS,
              WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
              See the License for the specific language governing permissions and
              limitations under the License.
              */
              pragma solidity >=0.6.5 <0.9;
              interface IERC20Token {
              event Transfer(address indexed from, address indexed to, uint256 value);
              XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX