ETH Price: $2,533.71 (-0.90%)

Transaction Decoder

Block:
12847835 at Jul-18-2021 01:58:36 AM +UTC
Transaction Fee:
0.003437921 ETH $8.71
Gas Used:
118,549 Gas / 29 Gwei

Emitted Events:

86 FOX.Transfer( from=[Sender] 0x009f88a82bb63602c1bebfb857bd2e3c98e62f2d, to=UniswapV2Pair, value=78376955929002360000 )
87 FOX.Approval( owner=[Sender] 0x009f88a82bb63602c1bebfb857bd2e3c98e62f2d, spender=[Receiver] ZeroEx, value=99999769325907594236640000 )
88 WETH9.Transfer( src=UniswapV2Pair, dst=[Receiver] ZeroEx, wad=34084943350199678 )
89 UniswapV2Pair.Sync( reserve0=2274009657292229805779, reserve1=5213385114829756593448072 )
90 UniswapV2Pair.Swap( sender=[Receiver] ZeroEx, amount0In=0, amount1In=78376955929002360000, amount0Out=34084943350199678, amount1Out=0, to=[Receiver] ZeroEx )
91 WETH9.Withdrawal( src=[Receiver] ZeroEx, wad=34084943350199678 )

Account State Difference:

  Address   Before After State Difference Code
0x009f88A8...C98E62f2d
0.012638766582476612 Eth
Nonce: 4
0.04328578893267629 Eth
Nonce: 5
0.030647022350199678
0x470e8de2...84947F08c
(Spark Pool)
88.600686013891557785 Eth88.604123934891557785 Eth0.003437921
0xC02aaA39...83C756Cc2 7,396,770.50609590442318163 Eth7,396,770.472010961072981952 Eth0.034084943350199678
0xc770EEfA...d808ee52d

Execution Trace

ZeroEx.d9627aa4( )
  • UniswapFeature.sellToUniswap( tokens=[0xc770EEfAd204B5180dF6a14Ee197D99d808ee52d, 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE], sellAmount=78376955929002360000, minBuyAmount=33914518604194872, isSushi=False ) => ( buyAmount=34084943350199678 )
    • FOX.transferFrom( from=0x009f88A82bb63602c1bEbFB857bd2e3C98E62f2d, to=0x470e8de2eBaef52014A47Cb5E6aF86884947F08c, value=78376955929002360000 ) => ( True )
    • UniswapV2Pair.STATICCALL( )
    • UniswapV2Pair.swap( amount0Out=34084943350199678, amount1Out=0, to=0xDef1C0ded9bec7F1a1670819833240f027b25EfF, data=0x )
      • WETH9.transfer( dst=0xDef1C0ded9bec7F1a1670819833240f027b25EfF, wad=34084943350199678 ) => ( True )
      • WETH9.balanceOf( 0x470e8de2eBaef52014A47Cb5E6aF86884947F08c ) => ( 2274009657292229805779 )
      • FOX.balanceOf( owner=0x470e8de2eBaef52014A47Cb5E6aF86884947F08c ) => ( 5213385114829756593448072 )
      • WETH9.withdraw( wad=34084943350199678 )
        • ETH 0.034084943350199678 ZeroEx.CALL( )
        • ETH 0.034084943350199678 0x009f88a82bb63602c1bebfb857bd2e3c98e62f2d.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: 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 3 of 5: FOX
          1
          2
          3
          4
          5
          6
          7
          8
          9
          10
          11
          12
          13
          14
          15
          16
          pragma solidity 0.5.4;
          interface IERC20 {
          function transfer(address to, uint256 value) external returns (bool);
          function approve(address spender, uint256 value) external returns (bool);
          function transferFrom(address from, address to, uint256 value) external returns (bool);
          function totalSupply() external view returns (uint256);
          function balanceOf(address who) external view returns (uint256);
          function allowance(address owner, address spender) external view returns (uint256);
          XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

          File 4 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 5 of 5: 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