Transaction Hash:
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 | ||
---|---|---|---|---|---|
0x53857622...2dEb6a950 |
0.004076351517747459 Eth
Nonce: 9
|
0.003998851701117396 Eth
Nonce: 10
| 0.000077499816630063 | ||
0x95222290...5CC4BAfe5
Miner
| (beaverbuild) | 5.103374624765670685 Eth | 5.103403462705221808 Eth | 0.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( )
proxiedSwap[ZeroExProxy (ln:70)]
_payFees[ZeroExProxy (ln:78)]
_sendETH[ZeroExProxy (ln:167)]
_sendERC20[ZeroExProxy (ln:169)]
safeTransferFrom[ZeroExProxy (ln:179)]
add[ZeroExProxy (ln:82)]
_sendERC20[ZeroExProxy (ln:90)]
safeTransferFrom[ZeroExProxy (ln:179)]
allowance[ZeroExProxy (ln:91)]
safeIncreaseAllowance[ZeroExProxy (ln:93)]
sub[ZeroExProxy (ln:93)]
call[ZeroExProxy (ln:96)]
_revertWithData[ZeroExProxy (ln:98)]
_sendETH[ZeroExProxy (ln:102)]
_revertWithData[ZeroExProxy (ln:104)]
balanceOf[ZeroExProxy (ln:107)]
safeTransfer[ZeroExProxy (ln:109)]
_revertWithData[ZeroExProxy (ln:111)]
_returnWithData[ZeroExProxy (ln:114)]
File 1 of 3: ZeroExProxy
File 2 of 3: Chain
File 3 of 3: ZeroEx
12345678910111213141516// SPDX-License-Identifier: GPL-3.0pragma solidity 0.6.12;interface IZeroEx {function getFunctionImplementation(bytes4 _signature) external returns (address);}// SPDX-License-Identifier: GPL-3.0pragma 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 delegationcontract ZeroExProxy is Ownable {
File 2 of 3: Chain
12345678910111213141516pragma 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));
File 3 of 3: ZeroEx
12345678910111213141516/*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 athttp://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, softwaredistributed 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 andlimitations under the License.*/pragma solidity ^0.6.5;pragma experimental ABIEncoderV2;import "@0x/contracts-utils/contracts/src/v06/LibBytesV06.sol";import "./migrations/LibBootstrap.sol";