ETH Price: $2,574.29 (+1.11%)

Transaction Decoder

Block:
17420627 at Jun-06-2023 09:48:35 AM +UTC
Transaction Fee:
0.00285811389866553 ETH $7.36
Gas Used:
144,834 Gas / 19.733722045 Gwei

Emitted Events:

218 WETH9.Deposit( dst=ZeroEx, wad=30284425821052080 )
219 WETH9.Transfer( src=ZeroEx, dst=UniswapV2Pair, wad=30284425821052080 )
220 Capybara.Transfer( from=UniswapV2Pair, to=[Receiver] ZeroExProxy, value=10130554462225035802243165 )
221 UniswapV2Pair.Sync( reserve0=52784224193906824229, reserve1=17700014105518898898220082764 )
222 UniswapV2Pair.Swap( sender=ZeroEx, amount0In=30284425821052080, amount1In=0, amount0Out=0, amount1Out=10130554462225035802243165, to=[Receiver] ZeroExProxy )
223 Capybara.Transfer( from=[Receiver] ZeroExProxy, to=[Sender] 0xe0e573d65a9e08a77b46a2e3a720e1ad9c5f0019, value=10130554462225035802243165 )

Account State Difference:

  Address   Before After State Difference Code
(beaverbuild)
16.082369766053215259 Eth16.082659434053215259 Eth0.000289668
0xB2843C71...f61cAC6Db
0xC02aaA39...83C756Cc2 3,354,417.273266280059729742 Eth3,354,417.303550705880781822 Eth0.03028442582105208
0xE0e573d6...D9C5F0019
0.058599837810134631 Eth
Nonce: 62
0.025457298090417021 Eth
Nonce: 63
0.03314253971971761
0xF03D5fC6...ef633b78a

Execution Trace

ETH 0.03028442582105208 ZeroExProxy.proxiedSwap( msgData=0xD9627AA40000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000006B97865B4A5CB00000000000000000000000000000000000000000000820DF1AA56D4AEAAB878000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE000000000000000000000000F03D5FC6E08DE6AD886FCA34ABF9A59EF633B78A869584CD000000000000000000000000382FFCE2287252F930E1C8DC9328DAC5BF282BA1000000000000000000000000000000000000000000000097EF897ECC647F00E2, feeToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE, inputToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE, inputAmount=30284425821052080, outputToken=0xF03D5fC6E08dE6Ad886fCa34aBF9a59ef633b78a, fee=0 )
  • ETH 0.03028442582105208 ZeroEx.d9627aa4( )
    • ETH 0.03028442582105208 UniswapFeature.sellToUniswap( tokens=[0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE, 0xF03D5fC6E08dE6Ad886fCa34aBF9a59ef633b78a], sellAmount=30284425821052080, minBuyAmount=9826637828358283950000000, isSushi=False ) => ( buyAmount=10130554462225035802243165 )
      • ETH 0.03028442582105208 WETH9.CALL( )
      • WETH9.transfer( dst=0xB2843C7133289541086fA41673850Dbf61cAC6Db, wad=30284425821052080 ) => ( True )
      • UniswapV2Pair.STATICCALL( )
      • UniswapV2Pair.swap( amount0Out=0, amount1Out=10130554462225035802243165, to=0xe66B31678d6C16E9ebf358268a790B763C133750, data=0x )
        • Capybara.transfer( to=0xe66B31678d6C16E9ebf358268a790B763C133750, amount=10130554462225035802243165 ) => ( True )
        • WETH9.balanceOf( 0xB2843C7133289541086fA41673850Dbf61cAC6Db ) => ( 52784224193906824229 )
        • Capybara.balanceOf( account=0xB2843C7133289541086fA41673850Dbf61cAC6Db ) => ( 17700014105518898898220082764 )
        • Capybara.balanceOf( account=0xe66B31678d6C16E9ebf358268a790B763C133750 ) => ( 10130554462225035802243165 )
        • Capybara.transfer( to=0xE0e573d65A9e08a77B46a2E3a720E1aD9C5F0019, amount=10130554462225035802243165 ) => ( 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: Capybara
          1
          2
          3
          4
          5
          6
          7
          8
          9
          10
          11
          12
          13
          14
          15
          16
          // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)
          // OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
          /**
          * @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.
          */
          abstract contract Context {
          function _msgSender() internal view virtual returns (address) {
          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