ETH Price: $2,516.31 (-0.66%)

Transaction Decoder

Block:
17420466 at Jun-06-2023 09:15:59 AM +UTC
Transaction Fee:
0.002816806935985086 ETH $7.09
Gas Used:
142,054 Gas / 19.829127909 Gwei

Emitted Events:

115 WETH9.Deposit( dst=ZeroEx, wad=51547615527811852 )
116 Smurfs.Transfer( from=UniswapV3Pool, to=[Receiver] ZeroExProxy, value=18261056645893655421745508 )
117 WETH9.Transfer( src=ZeroEx, dst=UniswapV3Pool, wad=51547615527811852 )
118 UniswapV3Pool.Swap( sender=ZeroEx, recipient=[Receiver] ZeroExProxy, amount0=-18261056645893655421745508, amount1=51547615527811852, sqrtPriceX96=4188583770273357097708581, liquidity=7307485418295702447275567, tick=-196965 )
119 Smurfs.Transfer( from=[Receiver] ZeroExProxy, to=[Sender] 0x4875b458ee17bdc1e9e5c64a05c3f99bda0a47b1, value=18261056645893655421745508 )

Account State Difference:

  Address   Before After State Difference Code
0x4875B458...BdA0a47b1
0.058797615527811852 Eth
Nonce: 2
0.004433193064014914 Eth
Nonce: 3
0.054364422463796938
0x5F250ed6...82b0678a3
0x71F55A61...b76Beb716
(Uniswap V3: SMURFS)
(beaverbuild)
16.005771316309477472 Eth16.006055424309477472 Eth0.000284108
0xC02aaA39...83C756Cc2 3,354,318.465443818320533972 Eth3,354,318.516991433848345824 Eth0.051547615527811852

Execution Trace

ETH 0.051547615527811852 ZeroExProxy.proxiedSwap( msgData=0x3598D8AB00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000EA6EBD93329218CC2B30E0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002BC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC20027105F250ED62CF3E5CF25F4F370D35D04782B0678A3000000000000000000000000000000000000000000869584CD000000000000000000000000382FFCE2287252F930E1C8DC9328DAC5BF282BA100000000000000000000000000000000000000000000006E2DD9675D647EF930, feeToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE, inputToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE, inputAmount=51547615527811852, outputToken=0x5F250ed62CF3E5cF25F4F370d35D04782b0678a3, fee=0 )
  • ETH 0.051547615527811852 ZeroEx.3598d8ab( )
    • ETH 0.051547615527811852 UniswapV3Feature.sellEthForTokenToUniswapV3( encodedPath=0xC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC20027105F250ED62CF3E5CF25F4F370D35D04782B0678A3, minBuyAmount=17713224946516845410824974, recipient=0x0000000000000000000000000000000000000000 ) => ( buyAmount=18261056645893655421745508 )
      • ETH 0.051547615527811852 WETH9.CALL( )
      • UniswapV3Pool.swap( recipient=0xe66B31678d6C16E9ebf358268a790B763C133750, zeroForOne=False, amountSpecified=51547615527811852, sqrtPriceLimitX96=1461446703485210103287273052203988822378723970341, data=0x000000000000000000000000C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC20000000000000000000000005F250ED62CF3E5CF25F4F370D35D04782B0678A30000000000000000000000000000000000000000000000000000000000002710000000000000000000000000DEF1C0DED9BEC7F1A1670819833240F027B25EFF ) => ( amount0=-18261056645893655421745508, amount1=51547615527811852 )
        • Smurfs.transfer( to=0xe66B31678d6C16E9ebf358268a790B763C133750, amount=18261056645893655421745508 ) => ( True )
        • WETH9.balanceOf( 0x71F55A6187e58fd4C797B3b07299d05b76Beb716 ) => ( 116565301799396181731 )
        • ZeroEx.fa461e33( )
          • UniswapV3Feature.uniswapV3SwapCallback( amount0Delta=-18261056645893655421745508, amount1Delta=51547615527811852, data=0x000000000000000000000000C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC20000000000000000000000005F250ED62CF3E5CF25F4F370D35D04782B0678A30000000000000000000000000000000000000000000000000000000000002710000000000000000000000000DEF1C0DED9BEC7F1A1670819833240F027B25EFF )
            • WETH9.transfer( dst=0x71F55A6187e58fd4C797B3b07299d05b76Beb716, wad=51547615527811852 ) => ( True )
            • WETH9.balanceOf( 0x71F55A6187e58fd4C797B3b07299d05b76Beb716 ) => ( 116616849414923993583 )
            • Smurfs.balanceOf( account=0xe66B31678d6C16E9ebf358268a790B763C133750 ) => ( 18261056645893655421745508 )
            • Smurfs.transfer( to=0x4875B458ee17bDc1e9e5C64A05C3f99BdA0a47b1, amount=18261056645893655421745508 ) => ( True )
              File 1 of 6: ZeroExProxy
              1
              2
              3
              4
              5
              6
              7
              8
              9
              10
              11
              12
              13
              14
              15
              16
              // SPDX-License-Identifier: GPL-3.0
              pragma solidity 0.6.12;
              interface IZeroEx {
              function getFunctionImplementation(bytes4 _signature) external returns (address);
              }// SPDX-License-Identifier: GPL-3.0
              pragma solidity 0.6.12;
              pragma experimental ABIEncoderV2;
              import "./IZeroEx.sol";
              import "@0x/contracts-utils/contracts/src/v06/LibBytesV06.sol";
              import "@0x/contracts-zero-ex/contracts/src/errors/LibProxyRichErrors.sol";
              import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
              import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
              import "@openzeppelin/contracts/access/Ownable.sol";
              /// @title Coinbase proxy contract for 0x proxy
              /// @dev A generic proxy contract which extracts a fee before delegation
              contract ZeroExProxy is Ownable {
              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: 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 6: Smurfs
              1
              2
              3
              4
              5
              6
              7
              8
              9
              10
              11
              12
              13
              14
              15
              16
              // File: @openzeppelin/contracts/utils/Context.sol
              // OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
              pragma solidity ^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 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 6: 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 6 of 6: 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