ETH Price: $2,519.18 (-8.43%)

Transaction Decoder

Block:
12915531 at Jul-28-2021 04:46:18 PM +UTC
Transaction Fee:
0.0054822339 ETH $13.81
Gas Used:
127,791 Gas / 42.9 Gwei

Emitted Events:

145 WETH9.Deposit( dst=ZeroEx, wad=2577642299239661 )
146 WETH9.Transfer( src=ZeroEx, dst=UniswapV2Pair, wad=2577642299239661 )
147 TokenMintERC20Token.Transfer( from=UniswapV2Pair, to=[Receiver] ZeroExProxy, value=954852937775663345347503 )
148 UniswapV2Pair.Sync( reserve0=315042289946677036001504463155, reserve1=847913393630436637050 )
149 UniswapV2Pair.Swap( sender=ZeroEx, amount0In=0, amount1In=2577642299239661, amount0Out=954852937775663345347503, amount1Out=0, to=[Receiver] ZeroExProxy )
150 TokenMintERC20Token.Transfer( from=[Receiver] ZeroExProxy, to=[Sender] 0xf38ecdc0a1bf3f6e10a12bc79f5e13770c0d86be, value=954852937775663345347503 )

Account State Difference:

  Address   Before After State Difference Code
0x382fFCe2...5BF282bA1
(Coinbase: Fees)
4.211543501484313116 Eth4.211556454460691204 Eth0.000012952976378088
0x811beEd0...F7AF1954f
0x95aD61b0...f0B64C4cE
0xC02aaA39...83C756Cc2 6,987,597.595988258697339132 Eth6,987,597.598565900996578793 Eth0.002577642299239661
(Ethermine)
592.811912407500231483 Eth592.817394641400231483 Eth0.0054822339
0xf38EcDc0...70c0D86BE
0.01156067449882833 Eth
Nonce: 1
0.003487845323210581 Eth
Nonce: 2
0.008072829175617749

Execution Trace

ETH 0.002590595275617749 ZeroExProxy.proxiedSwap( msgData=0xD9627AA400000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000009285A1D9AACED00000000000000000000000000000000000000000000C4131F6999A638E2A98800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE00000000000000000000000095AD61B0A150D79219DCF64E1E6CC01F0B64C4CE869584CD00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000000000D16CF36E86610189B2, feeToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE, inputToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE, inputAmount=2577642299239661, outputToken=0x95aD61b0a150d79219dCF64E1E6Cc01f0B64C4cE, fee=12952976378088 )
  • ETH 0.000012952976378088 Coinbase: Fees.CALL( )
  • ETH 0.002577642299239661 ZeroEx.d9627aa4( )
    • ETH 0.002577642299239661 UniswapFeature.sellToUniswap( tokens=[0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE, 0x95aD61b0a150d79219dCF64E1E6Cc01f0B64C4cE], sellAmount=2577642299239661, minBuyAmount=925936582289077871749512, isSushi=False ) => ( buyAmount=954852937775663345347503 )
      • ETH 0.002577642299239661 WETH9.CALL( )
      • WETH9.transfer( dst=0x811beEd0119b4AfCE20D2583EB608C6F7AF1954f, wad=2577642299239661 ) => ( True )
      • UniswapV2Pair.STATICCALL( )
      • UniswapV2Pair.swap( amount0Out=954852937775663345347503, amount1Out=0, to=0xe66B31678d6C16E9ebf358268a790B763C133750, data=0x )
        • TokenMintERC20Token.transfer( recipient=0xe66B31678d6C16E9ebf358268a790B763C133750, amount=954852937775663345347503 ) => ( True )
        • TokenMintERC20Token.balanceOf( account=0x811beEd0119b4AfCE20D2583EB608C6F7AF1954f ) => ( 315042289946677036001504463155 )
        • WETH9.balanceOf( 0x811beEd0119b4AfCE20D2583EB608C6F7AF1954f ) => ( 847913393630436637050 )
        • TokenMintERC20Token.balanceOf( account=0xe66B31678d6C16E9ebf358268a790B763C133750 ) => ( 954852937775663345347503 )
        • TokenMintERC20Token.transfer( recipient=0xf38EcDc0a1bF3F6E10A12Bc79F5E13770c0D86BE, amount=954852937775663345347503 ) => ( 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: 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 4 of 6: 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 6: TokenMintERC20Token
          1
          2
          3
          4
          5
          6
          7
          8
          9
          10
          11
          12
          13
          14
          15
          16
          /**
          *Submitted for verification at Etherscan.io on 2019-08-02
          */
          // File: contracts\open-zeppelin-contracts\token\ERC20\IERC20.sol
          pragma solidity ^0.5.0;
          /**
          * @dev Interface of the ERC20 standard as defined in the EIP. Does not include
          * the optional functions; to access them see `ERC20Detailed`.
          */
          interface IERC20 {
          /**
          * @dev Returns the amount of tokens in existence.
          */
          XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

          File 6 of 6: 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