ETH Price: $2,522.57 (-0.62%)

Transaction Decoder

Block:
22050470 at Mar-15-2025 06:25:23 AM +UTC
Transaction Fee:
0.000101223542439678 ETH $0.26
Gas Used:
125,627 Gas / 0.805746714 Gwei

Account State Difference:

  Address   Before After State Difference Code
5.642140634519727331 Eth5.642187752493022902 Eth0.000047117973295571
0xB1cc5A5F...7628C518a
2.007880012673675623 Eth
Nonce: 169
2.007778789131235945 Eth
Nonce: 170
0.000101223542439678

Execution Trace

ZeroExProxy.proxiedSwap( msgData=0x2213BC0B0000000000000000000000000D0E364AA7852291883C162B22D6D81F6355428F000000000000000000000000C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2000000000000000000000000000000000000000000000000007F2D35DBE2E6730000000000000000000000000D0E364AA7852291883C162B22D6D81F6355428F00000000000000000000000000000000000000000000000000000000000000A000000000000000000000000000000000000000000000000000000000000004C41FFF991F00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000A0F414595A7D39F9CF9C423D48205735000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000002E000000000000000000000000000000000000000000000000000000000000000E4C1FB425E0000000000000000000000000D0E364AA7852291883C162B22D6D81F6355428F000000000000000000000000C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2000000000000000000000000000000000000000000000000007F2D35DBE2E67300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000067D51E4F00000000000000000000000000000000000000000000000000000000000000C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012438C9C147000000000000000000000000C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2000000000000000000000000000000000000000000000000000000000000000A000000000000000000000000C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2000000000000000000000000000000000000000000000000000000000000002400000000000000000000000000000000000000000000000000000000000000A00000000000000000000000000000000000000000000000000000000000000044A9059CBB000000000000000000000000AD01C20D5886137E056775AF56915DE824C8FCE50000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000E48D68A156000000000000000000000000B1CC5A5F501CBDF32A060CD4471C9D17628C518A000000000000000000000000000000000000000000000000000000000000271000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000001025A3E6A97B7453648000000000000000000000000000000000000000000000000000000000000002CC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2000027107420B4B9A0110CDC71FB720908340C03F9BC03EC00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000, feeToken=0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2, inputToken=0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2, inputAmount=35797031387850355, outputToken=0x7420B4b9a0110cdC71fB720908340C03F9Bc03EC, fee=545132457683000 )
  • WETH9.transferFrom( src=0xB1cc5A5F501CbDF32a060cd4471C9d17628C518a, dst=0x382fFCe2287252F930E1C8DC9328dac5BF282bA1, wad=545132457683000 ) => ( True )
  • WETH9.transferFrom( src=0xB1cc5A5F501CbDF32a060cd4471C9d17628C518a, dst=0xe66B31678d6C16E9ebf358268a790B763C133750, wad=35797031387850355 ) => ( True )
  • WETH9.allowance( 0xe66B31678d6C16E9ebf358268a790B763C133750, 0xDef1C0ded9bec7F1a1670819833240f027b25EfF ) => ( 0 )
  • WETH9.allowance( 0xe66B31678d6C16E9ebf358268a790B763C133750, 0xDef1C0ded9bec7F1a1670819833240f027b25EfF ) => ( 0 )
  • WETH9.approve( guy=0xDef1C0ded9bec7F1a1670819833240f027b25EfF, wad=35797031387850355 ) => ( True )
  • ZeroEx.2213bc0b( )
    File 1 of 3: 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 3: 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 3: 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