ETH Price: $2,795.55 (+4.38%)
Gas: 1.38 Gwei

Transaction Decoder

Block:
17420711 at Jun-06-2023 10:05:59 AM +UTC
Transaction Fee:
0.00462088238043333 ETH $12.92
Gas Used:
214,698 Gas / 21.522708085 Gwei

Emitted Events:

115 Renq.Transfer( from=[Sender] 0x32edb90f83594fd674a78f6712d758f376924a2c, to=[Receiver] ZeroExProxy, value=2792002183710283086011 )
116 Renq.Approval( owner=[Receiver] ZeroExProxy, spender=ZeroEx, value=2792002183710283086011 )
117 Renq.Approval( owner=[Receiver] ZeroExProxy, spender=ZeroEx, value=0 )
118 Renq.Transfer( from=[Receiver] ZeroExProxy, to=UniswapV2Pair, value=2792002183710283086011 )
119 TetherToken.Transfer( from=UniswapV2Pair, to=UniswapV2Pair, value=43191469 )
120 UniswapV2Pair.Sync( reserve0=337175650376, reserve1=21733263051259129578842014 )
121 UniswapV2Pair.Swap( sender=ZeroEx, amount0In=0, amount1In=2792002183710283086011, amount0Out=43191469, amount1Out=0, to=UniswapV2Pair )
122 WETH9.Transfer( src=UniswapV2Pair, dst=ZeroEx, wad=23715441234357325 )
123 UniswapV2Pair.Sync( reserve0=16453789392457883941938, reserve1=29876415191960 )
124 UniswapV2Pair.Swap( sender=ZeroEx, amount0In=0, amount1In=43191469, amount0Out=23715441234357325, amount1Out=0, to=ZeroEx )
125 WETH9.Withdrawal( src=ZeroEx, wad=23715441234357325 )

Account State Difference:

  Address   Before After State Difference Code
0x0d4a11d5...0471f1852
0x32edB90f...376924A2C
0.010802203654996611 Eth
Nonce: 25
0.029896762508920606 Eth
Nonce: 26
0.019094558853923995
(beaverbuild)
16.137762423197514782 Eth16.138191819197514782 Eth0.000429396
0xC02aaA39...83C756Cc2 3,353,104.075355649440330753 Eth3,353,104.051640208205973428 Eth0.023715441234357325
0xD44971b8...3A729A78a
0xdAC17F95...13D831ec7
0xff8C4791...776cF8CF2

Execution Trace

ZeroExProxy.proxiedSwap( msgData=0xD9627AA400000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000975AD0596C465738BB0000000000000000000000000000000000000000000000000051B9FF00F3990C00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000FF8C479134A18918059493243943150776CF8CF2000000000000000000000000DAC17F958D2EE523A2206206994597C13D831EC7000000000000000000000000EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE869584CD000000000000000000000000382FFCE2287252F930E1C8DC9328DAC5BF282BA100000000000000000000000000000000000000000000005FB9F964DB647F04EC, feeToken=0xff8C479134A18918059493243943150776cF8CF2, inputToken=0xff8C479134A18918059493243943150776cF8CF2, inputAmount=2792002183710283086011, outputToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE, fee=0 )
  • Renq.transferFrom( from=0x32edB90f83594fd674a78f6712d758F376924A2C, to=0xe66B31678d6C16E9ebf358268a790B763C133750, amount=2792002183710283086011 ) => ( True )
  • Renq.allowance( owner=0xe66B31678d6C16E9ebf358268a790B763C133750, spender=0xDef1C0ded9bec7F1a1670819833240f027b25EfF ) => ( 0 )
  • Renq.allowance( owner=0xe66B31678d6C16E9ebf358268a790B763C133750, spender=0xDef1C0ded9bec7F1a1670819833240f027b25EfF ) => ( 0 )
  • Renq.approve( spender=0xDef1C0ded9bec7F1a1670819833240f027b25EfF, amount=2792002183710283086011 ) => ( True )
  • ZeroEx.d9627aa4( )
    • UniswapFeature.sellToUniswap( tokens=[0xff8C479134A18918059493243943150776cF8CF2, 0xdAC17F958D2ee523a2206206994597C13D831ec7, 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE], sellAmount=2792002183710283086011, minBuyAmount=23003977997326604, isSushi=False ) => ( buyAmount=23715441234357325 )
      • Renq.transferFrom( from=0xe66B31678d6C16E9ebf358268a790B763C133750, to=0xD44971b88A50f1bDF1e5e0A778E6C573A729A78a, amount=2792002183710283086011 ) => ( True )
      • UniswapV2Pair.STATICCALL( )
      • UniswapV2Pair.swap( amount0Out=43191469, amount1Out=0, to=0x0d4a11d5EEaaC28EC3F61d100daF4d40471f1852, data=0x )
        • TetherToken.transfer( _to=0x0d4a11d5EEaaC28EC3F61d100daF4d40471f1852, _value=43191469 )
        • TetherToken.balanceOf( who=0xD44971b88A50f1bDF1e5e0A778E6C573A729A78a ) => ( 337175650376 )
        • Renq.balanceOf( account=0xD44971b88A50f1bDF1e5e0A778E6C573A729A78a ) => ( 21733263051259129578842014 )
        • UniswapV2Pair.STATICCALL( )
        • UniswapV2Pair.swap( amount0Out=23715441234357325, amount1Out=0, to=0xDef1C0ded9bec7F1a1670819833240f027b25EfF, data=0x )
          • WETH9.transfer( dst=0xDef1C0ded9bec7F1a1670819833240f027b25EfF, wad=23715441234357325 ) => ( True )
          • WETH9.balanceOf( 0x0d4a11d5EEaaC28EC3F61d100daF4d40471f1852 ) => ( 16453789392457883941938 )
          • TetherToken.balanceOf( who=0x0d4a11d5EEaaC28EC3F61d100daF4d40471f1852 ) => ( 29876415191960 )
          • WETH9.withdraw( wad=23715441234357325 )
            • ETH 0.023715441234357325 ZeroEx.CALL( )
            • ETH 0.023715441234357325 ZeroExProxy.CALL( )
            • ETH 0.023715441234357325 0x32edb90f83594fd674a78f6712d758f376924a2c.CALL( )
              File 1 of 8: 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 8: Renq
              1
              2
              3
              4
              5
              6
              7
              8
              9
              10
              11
              12
              13
              14
              15
              16
              // ██████╗░███████╗███╗░░██╗░██████╗░
              // ██╔══██╗██╔════╝████╗░██║██╔═══██╗
              // ██████╔╝█████╗░░██╔██╗██║██║██╗██║
              // ██╔══██╗██╔══╝░░██║╚████║╚██████╔╝
              // ██║░░██║███████╗██║░╚███║░╚═██╔═╝░
              // ╚═╝░░╚═╝╚══════╝╚═╝░░╚══╝░░░╚═╝░░░
              // Token: Renq Finance
              // Website: https://renq.io
              // Twitter: https://twitter.com/renqfinance
              // Telegram: https://t.me/renqfinance
              // SPDX-License-Identifier: MIT
              // File: @openzeppelin/contracts/utils/Context.sol
              XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

              File 3 of 8: 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 4 of 8: 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 5 of 8: 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 6 of 8: 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 7 of 8: 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 8 of 8: UniswapFeature
              1
              2
              3
              4
              5
              6
              7
              8
              9
              10
              11
              12
              13
              14
              15
              16
              // SPDX-License-Identifier: Apache-2.0
              /*
              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-erc20/contracts/src/v06/IERC20TokenV06.sol";
              XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX