ETH Price: $3,787.02 (+0.43%)

Transaction Decoder

Block:
17420712 at Jun-06-2023 10:06:23 AM +UTC
Transaction Fee:
0.004832005510239526 ETH $18.30
Gas Used:
219,853 Gas / 21.978346942 Gwei

Emitted Events:

168 OriginToken.Transfer( from=[Sender] 0xe38a2e27577ac59b9679b415b70373c05ae7aa25, to=[Receiver] ZeroExProxy, value=477085096379878000000 )
169 OriginToken.Approval( owner=[Receiver] ZeroExProxy, spender=ZeroEx, value=477085096379878000000 )
170 OriginToken.Transfer( from=[Receiver] ZeroExProxy, to=UniswapV2Pair, value=477085096379878000000 )
171 WETH9.Transfer( src=UniswapV2Pair, dst=UniswapV2Pair, wad=22704315057177691 )
172 UniswapV2Pair.Sync( reserve0=22575050906520298240316, reserve1=1054798962046977827 )
173 UniswapV2Pair.Swap( sender=ZeroEx, amount0In=477085096379878000000, amount1In=0, amount0Out=0, amount1Out=22704315057177691, to=UniswapV2Pair )
174 GrumpyCat.Transfer( from=UniswapV2Pair, to=[Receiver] ZeroExProxy, value=3780811149374758297464081488 )
175 UniswapV2Pair.Sync( reserve0=79584579634177647931, reserve1=13288820438307864500347796258412 )
176 UniswapV2Pair.Swap( sender=ZeroEx, amount0In=22704315057177691, amount1In=0, amount0Out=0, amount1Out=3780811149374758297464081488, to=[Receiver] ZeroExProxy )
177 GrumpyCat.Transfer( from=[Receiver] ZeroExProxy, to=[Sender] 0xe38a2e27577ac59b9679b415b70373c05ae7aa25, value=3780811149374758297464081488 )

Account State Difference:

  Address   Before After State Difference Code
0x8207c1Ff...c3541Ae26
(MEV Builder: 0xBaF...e19)
2.812969069072386218 Eth2.813408775072386218 Eth0.000439706
0xC02aaA39...83C756Cc2
0xcAe69E00...C09628204
0xce2Cc051...E3092f185
0xd8E2D95C...291dEc5bF
0xE38A2e27...05AE7Aa25
9.121996644042290677 Eth
Nonce: 173
9.117164638532051151 Eth
Nonce: 174
0.004832005510239526

Execution Trace

ZeroExProxy.proxiedSwap( msgData=0xD9627AA40000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000019DCE2BF73CBA0C58000000000000000000000000000000000000000000BD9975D9A44CB19683E4443000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000008207C1FFC5B6804F6024322CCF34F29C3541AE26000000000000000000000000C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2000000000000000000000000D8E2D95C8614F28169757CD6445A71C291DEC5BF869584CD000000000000000000000000382FFCE2287252F930E1C8DC9328DAC5BF282BA100000000000000000000000000000000000000000000003D99917774647F0514, feeToken=0x8207c1FfC5B6804F6024322CcF34F29c3541Ae26, inputToken=0x8207c1FfC5B6804F6024322CcF34F29c3541Ae26, inputAmount=477085096379878000000, outputToken=0xd8E2D95C8614F28169757cD6445a71c291dEc5bF, fee=0 )
  • OriginToken.transferFrom( _from=0xE38A2e27577ac59B9679b415B70373c05AE7Aa25, _to=0xe66B31678d6C16E9ebf358268a790B763C133750, _value=477085096379878000000 ) => ( True )
  • OriginToken.allowance( _owner=0xe66B31678d6C16E9ebf358268a790B763C133750, _spender=0xDef1C0ded9bec7F1a1670819833240f027b25EfF ) => ( 0 )
  • OriginToken.allowance( _owner=0xe66B31678d6C16E9ebf358268a790B763C133750, _spender=0xDef1C0ded9bec7F1a1670819833240f027b25EfF ) => ( 0 )
  • OriginToken.approve( _spender=0xDef1C0ded9bec7F1a1670819833240f027b25EfF, _value=477085096379878000000 ) => ( True )
  • ZeroEx.d9627aa4( )
    • UniswapFeature.sellToUniswap( tokens=[0x8207c1FfC5B6804F6024322CcF34F29c3541Ae26, 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2, 0xd8E2D95C8614F28169757cD6445a71c291dEc5bF], sellAmount=477085096379878000000, minBuyAmount=3667386814893515548540159043, isSushi=False ) => ( buyAmount=3780811149374758297464081488 )
      • OriginToken.transferFrom( _from=0xe66B31678d6C16E9ebf358268a790B763C133750, _to=0xce2Cc0513634CEf3a7C9C257E294EF5E3092f185, _value=477085096379878000000 ) => ( True )
      • UniswapV2Pair.STATICCALL( )
      • UniswapV2Pair.swap( amount0Out=0, amount1Out=22704315057177691, to=0xcAe69E00f4f48359d94cd9cb1AE1b66C09628204, data=0x )
        • WETH9.transfer( dst=0xcAe69E00f4f48359d94cd9cb1AE1b66C09628204, wad=22704315057177691 ) => ( True )
        • OriginToken.balanceOf( _owner=0xce2Cc0513634CEf3a7C9C257E294EF5E3092f185 ) => ( 22575050906520298240316 )
        • WETH9.balanceOf( 0xce2Cc0513634CEf3a7C9C257E294EF5E3092f185 ) => ( 1054798962046977827 )
        • UniswapV2Pair.STATICCALL( )
        • UniswapV2Pair.swap( amount0Out=0, amount1Out=3780811149374758297464081488, to=0xe66B31678d6C16E9ebf358268a790B763C133750, data=0x )
          • GrumpyCat.transfer( to=0xe66B31678d6C16E9ebf358268a790B763C133750, amount=3780811149374758297464081488 ) => ( True )
          • WETH9.balanceOf( 0xcAe69E00f4f48359d94cd9cb1AE1b66C09628204 ) => ( 79584579634177647931 )
          • GrumpyCat.balanceOf( account=0xcAe69E00f4f48359d94cd9cb1AE1b66C09628204 ) => ( 13288820438307864500347796258412 )
          • GrumpyCat.balanceOf( account=0xe66B31678d6C16E9ebf358268a790B763C133750 ) => ( 3780811149374758297464081488 )
          • GrumpyCat.transfer( to=0xE38A2e27577ac59B9679b415B70373c05AE7Aa25, amount=3780811149374758297464081488 ) => ( True )
            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: OriginToken
            1
            2
            3
            4
            5
            6
            7
            8
            9
            10
            11
            12
            13
            14
            15
            16
            pragma solidity ^0.4.24;
            // produced by the Solididy File Flattener (c) David Appleton 2018
            // contact : dave@akomba.com
            // released under Apache 2.0 licence
            contract ERC20Basic {
            function totalSupply() public view returns (uint256);
            function balanceOf(address who) public view returns (uint256);
            function transfer(address to, uint256 value) public returns (bool);
            event Transfer(address indexed from, address indexed to, uint256 value);
            }
            contract Ownable {
            address public owner;
            event OwnershipRenounced(address indexed previousOwner);
            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: 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 6 of 8: GrumpyCat
            1
            2
            3
            4
            5
            6
            7
            8
            9
            10
            11
            12
            13
            14
            15
            16
            // SPDX-License-Identifier: MIT
            pragma solidity 0.8.19;
            import "@openzeppelin/contracts@4.5.0/token/ERC20/ERC20.sol";
            import "@openzeppelin/contracts@4.5.0/access/Ownable.sol";
            import "@openzeppelin/contracts/utils/math/SafeMath.sol";
            import "./BurntGrumpyCat.sol";
            contract GrumpyCat is ERC20, Ownable {
            using SafeMath for uint256;
            mapping(address => bool) private pair;
            bool private starting;
            uint256 public maxWalletTimer;
            uint256 public maxWallet;
            uint256 public airdropLimit;
            uint256 private start;
            uint256 private end;
            BurntGrumpyCat public burntGrumpyCat;
            XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

            File 7 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 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