ETH Price: $2,557.87 (+2.29%)

Transaction Decoder

Block:
17420739 at Jun-06-2023 10:11:59 AM +UTC
Transaction Fee:
0.00288992153530512 ETH $7.39
Gas Used:
142,960 Gas / 20.214896022 Gwei

Emitted Events:

168 WETH9.Deposit( dst=ZeroEx, wad=846714445553284000 )
169 HEX.Transfer( from=0x9e0905249CeEFfFB9605E034b534544684A58BE6, to=[Receiver] ZeroExProxy, value=13008305399491 )
170 WETH9.Transfer( src=ZeroEx, dst=0x9e0905249CeEFfFB9605E034b534544684A58BE6, wad=846714445553284000 )
171 0x9e0905249ceefffb9605e034b534544684a58be6.0xc42079f94a6350d7e6235f29174924f928cc2ac818eb64fed8004e115fbcca67( 0xc42079f94a6350d7e6235f29174924f928cc2ac818eb64fed8004e115fbcca67, 0x000000000000000000000000def1c0ded9bec7f1a1670819833240f027b25eff, 0x000000000000000000000000e66b31678d6c16e9ebf358268a790b763c133750, fffffffffffffffffffffffffffffffffffffffffffffffffffff42b4493d93d, 0000000000000000000000000000000000000000000000000bc0224d596533a0, 00000000000000000000000000000000000000fed4246a975a723e1cf12ff936, 00000000000000000000000000000000000000000000000046070aaf28335968, 000000000000000000000000000000000000000000000000000000000001b0e1 )
172 HEX.Transfer( from=[Receiver] ZeroExProxy, to=[Sender] 0x9abefc6735a44c866eea45aa5bac508fdc36cf47, value=13008305399491 )

Account State Difference:

  Address   Before After State Difference Code
0x2b591e99...8c40Eeb39
70.152338791963340453 Eth70.152624711963340453 Eth0.00028592
0x9abeFC67...fdc36cf47
1.035603091636252109 Eth
Nonce: 99
0.185998724547662989 Eth
Nonce: 100
0.84960436708858912
0x9e090524...684A58BE6
(Uniswap V3: HEX)
0xC02aaA39...83C756Cc2 3,353,054.260699166144393337 Eth3,353,055.107413611697677337 Eth0.846714445553284

Execution Trace

ETH 0.846714445553284 ZeroExProxy.proxiedSwap( msgData=0x3598D8AB000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000B79DEC281B10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002BC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2000BB82B591E99AFE9F32EAA6214F7B7629768C40EEB39000000000000000000000000000000000000000000869584CD000000000000000000000000382FFCE2287252F930E1C8DC9328DAC5BF282BA100000000000000000000000000000000000000000000009E5F9359C2647F0652, feeToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE, inputToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE, inputAmount=846714445553284000, outputToken=0x2b591e99afE9f32eAA6214f7B7629768c40Eeb39, fee=0 )
  • ETH 0.846714445553284 ZeroEx.3598d8ab( )
    • ETH 0.846714445553284 UniswapV3Feature.sellEthForTokenToUniswapV3( encodedPath=0xC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2000BB82B591E99AFE9F32EAA6214F7B7629768C40EEB39, minBuyAmount=12618056237489, recipient=0x0000000000000000000000000000000000000000 ) => ( buyAmount=13008305399491 )
      • ETH 0.846714445553284 WETH9.CALL( )
      • Uniswap V3: HEX.128acb08( )
        • HEX.transfer( recipient=0xe66B31678d6C16E9ebf358268a790B763C133750, amount=13008305399491 ) => ( True )
        • WETH9.balanceOf( 0x9e0905249CeEFfFB9605E034b534544684A58BE6 ) => ( 119481271948375212104 )
        • ZeroEx.fa461e33( )
          • UniswapV3Feature.uniswapV3SwapCallback( amount0Delta=-13008305399491, amount1Delta=846714445553284000, data=0x000000000000000000000000C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC20000000000000000000000002B591E99AFE9F32EAA6214F7B7629768C40EEB390000000000000000000000000000000000000000000000000000000000000BB8000000000000000000000000DEF1C0DED9BEC7F1A1670819833240F027B25EFF )
            • WETH9.transfer( dst=0x9e0905249CeEFfFB9605E034b534544684A58BE6, wad=846714445553284000 ) => ( True )
            • WETH9.balanceOf( 0x9e0905249CeEFfFB9605E034b534544684A58BE6 ) => ( 120327986393928496104 )
            • HEX.balanceOf( account=0xe66B31678d6C16E9ebf358268a790B763C133750 ) => ( 13008305399491 )
            • HEX.transfer( recipient=0x9abeFC6735a44c866eea45aA5bac508fdc36cf47, amount=13008305399491 ) => ( True )
              File 1 of 5: 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 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 3 of 5: HEX
              1
              2
              3
              4
              5
              6
              7
              8
              9
              10
              11
              12
              13
              14
              15
              16
              pragma solidity 0.5.13;
              /*
              * @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.
              */
              contract Context {
              // Empty internal constructor, to prevent people from mistakenly deploying
              // an instance of this contract, which should be used via inheritance.
              constructor () internal { }
              XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

              File 4 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 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