Transaction Hash:
Block:
22310839 at Apr-20-2025 02:34:11 PM +UTC
Transaction Fee:
0.000095930814459591 ETH
$0.25
Gas Used:
226,719 Gas / 0.423126489 Gwei
Emitted Events:
7 |
WETH9.Deposit( dst=MainnetSettler, wad=368460249498434762 )
|
8 |
SimpleERC20.Transfer( from=0xD94FdB60194FefA7Ef8B416f8bA99278Ab3E00dC, to=MainnetSettler, value=162225960450734119994415491127 )
|
9 |
WETH9.Transfer( src=MainnetSettler, dst=0xD94FdB60194FefA7Ef8B416f8bA99278Ab3E00dC, wad=36846024949843476 )
|
10 |
0xd94fdb60194fefa7ef8b416f8ba99278ab3e00dc.0xc42079f94a6350d7e6235f29174924f928cc2ac818eb64fed8004e115fbcca67( 0xc42079f94a6350d7e6235f29174924f928cc2ac818eb64fed8004e115fbcca67, 0x0000000000000000000000000d0e364aa7852291883c162b22d6d81f6355428f, 0x0000000000000000000000000d0e364aa7852291883c162b22d6d81f6355428f, fffffffffffffffffffffffffffffffffffffffdf3d1d4a649cfd08cc79257c9, 0000000000000000000000000000000000000000000000000082e743b4854614, 0000000000000000000000000000000000000000000008636d09d997170f950a, 0000000000000000000000000000000000000000000099af569d184bcbc26a0e, fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb9273 )
|
11 |
WETH9.Transfer( src=MainnetSettler, dst=UniswapV2Pair, wad=331614224548591286 )
|
12 |
SimpleERC20.Transfer( from=UniswapV2Pair, to=MainnetSettler, value=1437499818442064174474963074770 )
|
13 |
UniswapV2Pair.Sync( reserve0=17268363521994542804689130221964, reserve1=4303270846962136306 )
|
14 |
UniswapV2Pair.Swap( sender=MainnetSettler, amount0In=0, amount1In=331614224548591286, amount0Out=1437499818442064174474963074770, amount1Out=0, to=MainnetSettler )
|
15 |
SimpleERC20.Transfer( from=MainnetSettler, to=[Receiver] ZeroExProxy, value=1599725778892798294469378565897 )
|
16 |
SimpleERC20.Transfer( from=[Receiver] ZeroExProxy, to=0x3DA7BE12d7E6081065DC4613D697DC4EF13DE87F, value=1599725778892798294469378565897 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x4838B106...B0BAD5f97
Miner
| (Titan Builder) | 26.922262055373180959 Eth | 26.922284640579689582 Eth | 0.000022585206508623 | |
0x76d3142a...561596AD3 | |||||
0xaD01C20d...824c8fCe5 | 0.218822627962907813 Eth | 0.219191457041484824 Eth | 0.000368829078577011 | ||
0xbb1EE07d...f5D5e7732 | |||||
0xC02aaA39...83C756Cc2 | 2,777,138.41702711618662108 Eth | 2,777,138.785487365685055842 Eth | 0.368460249498434762 | ||
0xD94FdB60...8Ab3E00dC | (Uniswap V3: DINU) | ||||
0xEf42750E...a42299cE8 |
5.822987204387664815 Eth
Nonce: 73173
|
5.454062194996193451 Eth
Nonce: 73174
| 0.368925009391471364 |
Execution Trace
ETH 0.368829078577011773
ZeroExProxy.proxiedSwapTo( msgData=0x2213BC0B0000000000000000000000000D0E364AA7852291883C162B22D6D81F6355428F0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000051E5817C36ADC3D0000000000000000000000000D0E364AA7852291883C162B22D6D81F6355428F00000000000000000000000000000000000000000000000000000000000000A000000000000000000000000000000000000000000000000000000000000005A41FFF991F000000000000000000000000564D6E3A879C007183FAD17BED9A70630F090651000000000000000000000000BB1EE07D6C7BAEB702949904080EB61F5D5E7732000000000000000000000000000000000000001430F87165FBED448AB476B87C00000000000000000000000000000000000000000000000000000000000000A0BA378C74A7DCD1239B4DB8C9205735000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000002C000000000000000000000000000000000000000000000000000000000000003E000000000000000000000000000000000000000000000000000000000000000C438C9C147000000000000000000000000EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE000000000000000000000000000000000000000000000000000000000000000A000000000000000000000000AD01C20D5886137E056775AF56915DE824C8FCE5000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000A0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010438C9C147000000000000000000000000EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE0000000000000000000000000000000000000000000000000000000000002710000000000000000000000000C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000A00000000000000000000000000000000000000000000000000000000000000024D0E30DB00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000E48D68A1560000000000000000000000000D0E364AA7852291883C162B22D6D81F6355428F00000000000000000000000000000000000000000000000000000000000003E800000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002CC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC200002710BB1EE07D6C7BAEB702949904080EB61F5D5E773200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C4103B48BE0000000000000000000000000D0E364AA7852291883C162B22D6D81F6355428F000000000000000000000000C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2000000000000000000000000000000000000000000000000000000000000271000000000000000000000000076D3142AC9891AA69BDB1A96EABB907561596AD30000000000000000000000000000000000000000000000000000000000001E0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000, feeToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE, inputToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE, inputAmount=368829078577011773, outputToken=0xbb1EE07d6c7BAeB702949904080eb61f5D5e7732, receiver=0x3DA7BE12d7E6081065DC4613D697DC4EF13DE87F, fee=0 ) => ( 0x0000000000000000000000000000000000000000000000000000000000000001 )
ETH 0.368829078577011773
AllowanceHolder.2213bc0b( )
-
MainnetSettler.balanceOf( 0x564d6e3A879c007183fAd17beD9A70630F090651 )
ETH 0.368829078577011773
MainnetSettler.execute( slippage=[{name:recipient, type:address, order:1, indexed:false, value:0x564d6e3A879c007183fAd17beD9A70630F090651, valueString:0x564d6e3A879c007183fAd17beD9A70630F090651}, {name:buyToken, type:address, order:2, indexed:false, value:0xbb1EE07d6c7BAeB702949904080eb61f5D5e7732, valueString:0xbb1EE07d6c7BAeB702949904080eb61f5D5e7732}, {name:minAmountOut, type:uint256, order:3, indexed:false, value:1599718879868662699955093682300, valueString:1599718879868662699955093682300}], actions=[OMnBRwAAAAAAAAAAAAAAAO7u7u7u7u7u7u7u7u7u7u7u7u7uAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAoAAAAAAAAAAAAAAACtAcINWIYTfgVnda9WkV3oJMj85QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==, OMnBRwAAAAAAAAAAAAAAAO7u7u7u7u7u7u7u7u7u7u7u7u7uAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJxAAAAAAAAAAAAAAAADAKqo5siP+jQoOXE8n6tkIPHVswgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJNDjDbAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=, jWihVgAAAAAAAAAAAAAAAA0ONkqnhSKRiDwWKyLW2B9jVUKPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA+gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACzAKqo5siP+jQoOXE8n6tkIPHVswgAAJxC7HuB9bHuutwKUmQQIDrYfXV53MgAAAAAAAAAAAAAAAAAAAAAAAAAA, EDtIvgAAAAAAAAAAAAAAAA0ONkqnhSKRiDwWKyLW2B9jVUKPAAAAAAAAAAAAAAAAwCqqObIj/o0KDlxPJ+rZCDx1bMIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAnEAAAAAAAAAAAAAAAAHbTFCrJiRqmm9saluq7kHVhWWrTAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==], BA378C74A7DCD1239B4DB8C92057350000000000000000000000000000000000 ) => ( True )
- ETH 0.000368829078577011
0xad01c20d5886137e056775af56915de824c8fce5.CALL( )
- ETH 0.368460249498434762
WETH9.deposit( )
-
WETH9.balanceOf( 0x0d0E364aa7852291883C162B22D6D81f6355428F ) => ( 368460249498434762 )
Uniswap V3: DINU.128acb08( )
-
SimpleERC20.transfer( recipient=0x0d0E364aa7852291883C162B22D6D81f6355428F, amount=162225960450734119994415491127 ) => ( True )
-
WETH9.balanceOf( 0xD94FdB60194FefA7Ef8B416f8bA99278Ab3E00dC ) => ( 526206579535811229 )
MainnetSettler.fa461e33( )
-
WETH9.transfer( dst=0xD94FdB60194FefA7Ef8B416f8bA99278Ab3E00dC, wad=36846024949843476 ) => ( True )
-
-
WETH9.balanceOf( 0xD94FdB60194FefA7Ef8B416f8bA99278Ab3E00dC ) => ( 563052604485654705 )
-
-
WETH9.balanceOf( 0x0d0E364aa7852291883C162B22D6D81f6355428F ) => ( 331614224548591286 )
-
WETH9.transfer( dst=0x76d3142aC9891aA69bDB1A96EAbB907561596AD3, wad=331614224548591286 ) => ( True )
-
UniswapV2Pair.STATICCALL( )
UniswapV2Pair.swap( amount0Out=1437499818442064174474963074770, amount1Out=0, to=0x0d0E364aa7852291883C162B22D6D81f6355428F, data=0x )
-
SimpleERC20.transfer( recipient=0x0d0E364aa7852291883C162B22D6D81f6355428F, amount=1437499818442064174474963074770 ) => ( True )
-
SimpleERC20.balanceOf( account=0x76d3142aC9891aA69bDB1A96EAbB907561596AD3 ) => ( 17268363521994542804689130221964 )
-
WETH9.balanceOf( 0x76d3142aC9891aA69bDB1A96EAbB907561596AD3 ) => ( 4303270846962136306 )
-
-
SimpleERC20.balanceOf( account=0x0d0E364aa7852291883C162B22D6D81f6355428F ) => ( 1599725778892798294469378565897 )
-
SimpleERC20.transfer( recipient=0x564d6e3A879c007183fAd17beD9A70630F090651, amount=1599725778892798294469378565897 ) => ( True )
- ETH 0.000368829078577011
-
-
SimpleERC20.balanceOf( account=0x564d6e3A879c007183fAd17beD9A70630F090651 ) => ( 1599725778892798294469378565897 )
-
SimpleERC20.transfer( recipient=0x3DA7BE12d7E6081065DC4613D697DC4EF13DE87F, amount=1599725778892798294469378565897 ) => ( True )
proxiedSwapTo[ZeroExProxy (ln:59)]
_proxiedSwap[ZeroExProxy (ln:68)]
_payFees[ZeroExProxy (ln:79)]
_sendETH[ZeroExProxy (ln:152)]
_sendERC20[ZeroExProxy (ln:154)]
safeTransferFrom[ZeroExProxy (ln:164)]
add[ZeroExProxy (ln:83)]
_sendERC20[ZeroExProxy (ln:91)]
safeTransferFrom[ZeroExProxy (ln:164)]
allowance[ZeroExProxy (ln:92)]
safeIncreaseAllowance[ZeroExProxy (ln:94)]
sub[ZeroExProxy (ln:94)]
call[ZeroExProxy (ln:97)]
_revertWithData[ZeroExProxy (ln:99)]
_sendETH[ZeroExProxy (ln:103)]
payable[ZeroExProxy (ln:103)]
_revertWithData[ZeroExProxy (ln:105)]
balanceOf[ZeroExProxy (ln:108)]
safeTransfer[ZeroExProxy (ln:110)]
_revertWithData[ZeroExProxy (ln:112)]
_returnWithData[ZeroExProxy (ln:115)]
File 1 of 6: ZeroExProxy
File 2 of 6: WETH9
File 3 of 6: MainnetSettler
File 4 of 6: SimpleERC20
File 5 of 6: UniswapV2Pair
File 6 of 6: AllowanceHolder
12345678910111213141516// SPDX-License-Identifier: UNLICENSEDpragma 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 {using LibBytesV06 for bytes;using SafeERC20 for IERC20;using SafeMath for uint256;address private constant _ETH_ADDRESS = 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE;
File 2 of 6: WETH9
12345678910111213141516// 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;
File 3 of 6: MainnetSettler
12345678910111213141516// SPDX-License-Identifier: MITpragma solidity =0.8.25 >=0.6.2 >=0.8.25 ^0.8.0 ^0.8.25;// lib/forge-std/src/interfaces/IERC165.solinterface IERC165 {/// @notice Query if a contract implements an interface/// @param interfaceID The interface identifier, as specified in ERC-165/// @dev Interface identification is specified in ERC-165. This function/// uses less than 30,000 gas./// @return `true` if the contract implements `interfaceID` and/// `interfaceID` is not 0xffffffff, `false` otherwisefunction supportsInterface(bytes4 interfaceID) external view returns (bool);}// lib/forge-std/src/interfaces/IERC20.sol/// @dev Interface of the ERC20 standard as defined in the EIP./// @dev This includes the optional name, symbol, and decimals metadata.interface IERC20 {
File 4 of 6: SimpleERC20
12345678910111213141516// SPDX-License-Identifier: MIT/** Token was generated for FREE using https://vittominacori.github.io/erc20-generator/** Smart Contract Source Code: https://github.com/vittominacori/erc20-generator* Smart Contract Test Builds: https://travis-ci.com/github/vittominacori/erc20-generator* Web Site Source Code: https://github.com/vittominacori/erc20-generator/tree/dapp** Detailed Info: https://medium.com/@vittominacori/create-an-erc20-token-in-less-than-a-minute-2a8751c4d6f4** Note: "Contract Source Code Verified (Similar Match)" means that this Token is similar to other tokens deployed* using the same generator. It is not an issue. It means that you won't need to verify your source code because of* it is already verified.** Disclaimer: GENERATOR'S AUTHOR IS FREE OF ANY LIABILITY REGARDING THE TOKEN AND THE USE THAT IS MADE OF IT.
File 5 of 6: UniswapV2Pair
12345678910111213141516// File: contracts/interfaces/IUniswapV2Pair.solpragma 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);
File 6 of 6: AllowanceHolder
12345678910111213141516// SPDX-License-Identifier: MITpragma solidity ^0.8.25;import {AllowanceHolderBase} from "./AllowanceHolderBase.sol";import {TransientStorage} from "./TransientStorage.sol";/// @custom:security-contact security@0x.orgcontract AllowanceHolder is TransientStorage, AllowanceHolderBase {constructor() {require(address(this) == 0x0000000000001fF3684f28c67538d4D072C22734 || block.chainid == 31337);}/// @inheritdoc AllowanceHolderBasefunction exec(address operator, address token, uint256 amount, address payable target, bytes calldata data)internaloverridereturns (bytes memory){(bytes memory result, address sender, TSlot allowance) = _exec(operator, token, amount, target, data);