ETH Price: $2,759.07 (-0.01%)

Transaction Decoder

Block:
22507548 at May-18-2025 04:36:59 AM +UTC
Transaction Fee:
0.000077499816630063 ETH $0.21
Gas Used:
134,161 Gas / 0.577662783 Gwei

Account State Difference:

  Address   Before After State Difference Code
0x53857622...2dEb6a950
0.004076351517747459 Eth
Nonce: 9
0.003998851701117396 Eth
Nonce: 10
0.000077499816630063
(beaverbuild)
5.103374624765670685 Eth5.103403462705221808 Eth0.000028837939551123

Execution Trace

ZeroExProxy.proxiedSwap( msgData=0x2213BC0B0000000000000000000000005418226AF9C8D5D287A78FBBBCD337B86EC07D61000000000000000000000000A2CD3D43C775978A96BDBF12D733D5A1ED94FB180000000000000000000000000000000000000000000000B394EDB71A4C65D0280000000000000000000000005418226AF9C8D5D287A78FBBBCD337B86EC07D6100000000000000000000000000000000000000000000000000000000000000A000000000000000000000000000000000000000000000000000000000000004A41FFF991F00000000000000000000000053857622EA661988D8217C41F267F002DEB6A950000000000000000000000000C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2000000000000000000000000000000000000000000000000005DB66FD1B9C42C00000000000000000000000000000000000000000000000000000000000000A0EBBA99202998EDAF3CCD23FD2057350000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000028000000000000000000000000000000000000000000000000000000000000000E4C1FB425E000000000000000000000000859F7092F56C43BB48BB46DE7119D9C799716CDF000000000000000000000000A2CD3D43C775978A96BDBF12D733D5A1ED94FB180000000000000000000000000000000000000000000000B394EDB71A4C65D028000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000682964F000000000000000000000000000000000000000000000000000000000000000C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C4103B48BE0000000000000000000000005418226AF9C8D5D287A78FBBBCD337B86EC07D61000000000000000000000000A2CD3D43C775978A96BDBF12D733D5A1ED94FB180000000000000000000000000000000000000000000000000000000000000000000000000000000000000000859F7092F56C43BB48BB46DE7119D9C799716CDF0000000000000000000000000000000000000000000000000000000000001E01000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012438C9C147000000000000000000000000C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2000000000000000000000000000000000000000000000000000000000000000A000000000000000000000000C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2000000000000000000000000000000000000000000000000000000000000002400000000000000000000000000000000000000000000000000000000000000A00000000000000000000000000000000000000000000000000000000000000044A9059CBB000000000000000000000000AD01C20D5886137E056775AF56915DE824C8FCE50000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000, feeToken=0xA2cd3D43c775978A96BdBf12d733D5A1ED94fb18, inputToken=0xA2cd3D43c775978A96BdBf12d733D5A1ED94fb18, inputAmount=3312698624004682272808, outputToken=0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2, fee=50447187167583994002 )
  • Chain.transferFrom( from=0x53857622eA661988d8217C41F267F002dEb6a950, to=0x382fFCe2287252F930E1C8DC9328dac5BF282bA1, value=50447187167583994002 ) => ( True )
  • Chain.transferFrom( from=0x53857622eA661988d8217C41F267F002dEb6a950, to=0xe66B31678d6C16E9ebf358268a790B763C133750, value=3312698624004682272808 ) => ( True )
  • Chain.allowance( owner=0xe66B31678d6C16E9ebf358268a790B763C133750, spender=0xDef1C0ded9bec7F1a1670819833240f027b25EfF ) => ( 0 )
  • Chain.allowance( owner=0xe66B31678d6C16E9ebf358268a790B763C133750, spender=0xDef1C0ded9bec7F1a1670819833240f027b25EfF ) => ( 0 )
  • Chain.approve( spender=0xDef1C0ded9bec7F1a1670819833240f027b25EfF, value=3312698624004682272808 ) => ( 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: Chain
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    pragma solidity 0.5.16;
    /**
    * @title Roles
    * @dev Library for managing addresses assigned to a Role.
    */
    library Roles {
    struct Role {
    mapping (address => bool) bearer;
    }
    /**
    * @dev give an account access to this role
    */
    function add(Role storage role, address account) internal {
    require(account != address(0));
    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