Transaction Hash:
Block:
17420691 at Jun-06-2023 10:01:47 AM +UTC
Transaction Fee:
0.003144788246546772 ETH
$8.40
Gas Used:
145,346 Gas / 21.636565482 Gwei
Emitted Events:
140 |
WETH9.Deposit( dst=ZeroEx, wad=5884638035323617 )
|
141 |
WETH9.Transfer( src=ZeroEx, dst=UniswapV2Pair, wad=5884638035323617 )
|
142 |
Dogelon.Transfer( from=UniswapV2Pair, to=[Receiver] ZeroExProxy, value=54315349664594758721619303 )
|
143 |
UniswapV2Pair.Sync( reserve0=26368897355235864625258298922234, reserve1=2848296524991423682295 )
|
144 |
UniswapV2Pair.Swap( sender=ZeroEx, amount0In=0, amount1In=5884638035323617, amount0Out=54315349664594758721619303, amount1Out=0, to=[Receiver] ZeroExProxy )
|
145 |
Dogelon.Transfer( from=[Receiver] ZeroExProxy, to=[Sender] 0x9cfeb131099b397dbfeae5f5e74769fefe166eb1, value=54315349664594758721619303 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x761D38e5...50B5D60F3 | |||||
0x7B736449...1bc315860 | |||||
0x9CfEB131...Efe166eb1 |
0.032311551784000382 Eth
Nonce: 6
|
0.023282125502129993 Eth
Nonce: 7
| 0.009029426281870389 | ||
0xC02aaA39...83C756Cc2 | 3,353,492.814789023236557716 Eth | 3,353,492.820673661271881333 Eth | 0.005884638035323617 | ||
0xDAFEA492...692c98Bc5
Miner
| (Flashbots: Builder) | 0.036940032825093272 Eth | 0.037230724825093272 Eth | 0.000290692 |
Execution Trace
ETH 0.005884638035323617
ZeroExProxy.proxiedSwap( msgData=0xD9627AA400000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000014E80C0FBA2AE10000000000000000000000000000000000000000002B94ABC66E9223D9BFFBA300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE000000000000000000000000761D38E5DDF6CCF6CF7C55759D5210750B5D60F3869584CD000000000000000000000000382FFCE2287252F930E1C8DC9328DAC5BF282BA10000000000000000000000000000000000000000000000C2187D28A2647F03FF, feeToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE, inputToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE, inputAmount=5884638035323617, outputToken=0x761D38e5ddf6ccf6Cf7c55759d5210750B5D60F3, fee=0 )
ETH 0.005884638035323617
ZeroEx.d9627aa4( )
ETH 0.005884638035323617
UniswapFeature.sellToUniswap( tokens=[0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE, 0x761D38e5ddf6ccf6Cf7c55759d5210750B5D60F3], sellAmount=5884638035323617, minBuyAmount=52685889174656915959970723, isSushi=False ) => ( buyAmount=54315349664594758721619303 )
- ETH 0.005884638035323617
WETH9.CALL( )
-
WETH9.transfer( dst=0x7B73644935b8e68019aC6356c40661E1bc315860, wad=5884638035323617 ) => ( True )
-
UniswapV2Pair.STATICCALL( )
UniswapV2Pair.swap( amount0Out=54315349664594758721619303, amount1Out=0, to=0xe66B31678d6C16E9ebf358268a790B763C133750, data=0x )
-
Dogelon.transfer( recipient=0xe66B31678d6C16E9ebf358268a790B763C133750, amount=54315349664594758721619303 ) => ( True )
-
Dogelon.balanceOf( account=0x7B73644935b8e68019aC6356c40661E1bc315860 ) => ( 26368897355235864625258298922234 )
-
WETH9.balanceOf( 0x7B73644935b8e68019aC6356c40661E1bc315860 ) => ( 2848296524991423682295 )
-
- ETH 0.005884638035323617
-
Dogelon.balanceOf( account=0xe66B31678d6C16E9ebf358268a790B763C133750 ) => ( 54315349664594758721619303 )
-
Dogelon.transfer( recipient=0x9CfEB131099b397dbfeAe5F5E74769fEfe166eb1, amount=54315349664594758721619303 ) => ( True )
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 6: ZeroExProxy
File 2 of 6: WETH9
File 3 of 6: ZeroEx
File 4 of 6: UniswapV2Pair
File 5 of 6: Dogelon
File 6 of 6: UniswapFeature
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 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: 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";
File 4 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 5 of 6: Dogelon
12345678910111213141516// File: @openzeppelin/contracts/utils/Context.sol// SPDX-License-Identifier: MITpragma solidity >=0.6.0 <0.8.0;/** @dev Provides information about the current execution context, including the* sender of the transaction and its data. While these are generally available* via msg.sender and msg.data, they should not be accessed in such a direct* manner, since when dealing with GSN meta-transactions the account sending and* paying for execution may not be the actual sender (as far as an application* is concerned).** This contract is only required for intermediate, library-like contracts.*/
File 6 of 6: UniswapFeature
12345678910111213141516// 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 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-erc20/contracts/src/v06/IERC20TokenV06.sol";