ETH Price: $2,545.09 (-0.33%)

Transaction Decoder

Block:
17420779 at Jun-06-2023 10:19:59 AM +UTC
Transaction Fee:
0.003198565109843212 ETH $8.14
Gas Used:
157,126 Gas / 20.356688962 Gwei

Emitted Events:

142 WETH9.Deposit( dst=ZeroEx, wad=21986538741656000 )
143 WETH9.Transfer( src=ZeroEx, dst=UniswapV2Pair, wad=21986538741656000 )
144 PepeToken.Transfer( from=UniswapV2Pair, to=[Receiver] ZeroExProxy, value=39408519476671774075191589 )
145 UniswapV2Pair.Sync( reserve0=4125716167938442433235416348474, reserve1=2294908699090842652348 )
146 UniswapV2Pair.Swap( sender=ZeroEx, amount0In=0, amount1In=21986538741656000, amount0Out=39408519476671774075191589, amount1Out=0, to=[Receiver] ZeroExProxy )
147 PepeToken.Transfer( from=[Receiver] ZeroExProxy, to=[Sender] 0x777c3941e4cc6e45d75da1f0e71c8a665a18a6dd, value=39408519476671774075191589 )

Account State Difference:

  Address   Before After State Difference Code
0x69825081...3d2311933
0x777C3941...65a18a6DD
0.03158777434031428 Eth
Nonce: 4
0.006402670488815068 Eth
Nonce: 5
0.025185103851499212
(beaverbuild)
16.119394740316757334 Eth16.119708992316757334 Eth0.000314252
0xA43fe169...6C5cCEc9f
0xC02aaA39...83C756Cc2 3,353,300.92097332549424842 Eth3,353,300.94295986423590442 Eth0.021986538741656

Execution Trace

ETH 0.021986538741656 ZeroExProxy.proxiedSwap( msgData=0xD9627AA40000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000004E1CA3F78969C00000000000000000000000000000000000000000001F9EB9EAFBDDC757F3290000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE0000000000000000000000006982508145454CE325DDBE47A25D4EC3D2311933869584CD000000000000000000000000382FFCE2287252F930E1C8DC9328DAC5BF282BA100000000000000000000000000000000000000000000007D7DA1CCEA647F083F, feeToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE, inputToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE, inputAmount=21986538741656000, outputToken=0x6982508145454Ce325dDbE47a25d4ec3d2311933, fee=0 )
  • ETH 0.021986538741656 ZeroEx.d9627aa4( )
    • ETH 0.021986538741656 UniswapFeature.sellToUniswap( tokens=[0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE, 0x6982508145454Ce325dDbE47a25d4ec3d2311933], sellAmount=21986538741656000, minBuyAmount=38226263892371616900000000, isSushi=False ) => ( buyAmount=39408519476671774075191589 )
      • ETH 0.021986538741656 WETH9.CALL( )
      • WETH9.transfer( dst=0xA43fe16908251ee70EF74718545e4FE6C5cCEc9f, wad=21986538741656000 ) => ( True )
      • UniswapV2Pair.STATICCALL( )
      • UniswapV2Pair.swap( amount0Out=39408519476671774075191589, amount1Out=0, to=0xe66B31678d6C16E9ebf358268a790B763C133750, data=0x )
        • PepeToken.transfer( recipient=0xe66B31678d6C16E9ebf358268a790B763C133750, amount=39408519476671774075191589 ) => ( True )
        • PepeToken.balanceOf( account=0xA43fe16908251ee70EF74718545e4FE6C5cCEc9f ) => ( 4125716167938442433235416348474 )
        • WETH9.balanceOf( 0xA43fe16908251ee70EF74718545e4FE6C5cCEc9f ) => ( 2294908699090842652348 )
        • PepeToken.balanceOf( account=0xe66B31678d6C16E9ebf358268a790B763C133750 ) => ( 39408519476671774075191589 )
        • PepeToken.transfer( recipient=0x777C3941E4CC6E45D75da1F0E71c8a665a18a6DD, amount=39408519476671774075191589 ) => ( 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: PepeToken
          1
          2
          3
          4
          5
          6
          7
          8
          9
          10
          11
          12
          13
          14
          15
          16
          // Sources flattened with hardhat v2.7.0 https://hardhat.org
          // File @openzeppelin/contracts/utils/Context.sol@v4.4.0
          // SPDX-License-Identifier: MIT
          // OpenZeppelin Contracts v4.4.0 (utils/Context.sol)
          pragma solidity ^0.8.0;
          /**
          * @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).
          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