Transaction Hash:
Block:
17420703 at Jun-06-2023 10:04:23 AM +UTC
Transaction Fee:
0.0036289446187633 ETH
$15.55
Gas Used:
169,315 Gas / 21.43309582 Gwei
Emitted Events:
88 |
WETH9.Deposit( dst=ZeroEx, wad=8998630000000000 )
|
89 |
FiatTokenProxy.0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef( 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef, 0x000000000000000000000000840deeef2f115cf50da625f7368c24af6fe74410, 0x000000000000000000000000e66b31678d6c16e9ebf358268a790b763c133750, 000000000000000000000000000000000000000000000000001ec960ceb2a970 )
|
90 |
WETH9.Transfer( src=ZeroEx, dst=UniswapV3Pool, wad=8998630000000000 )
|
91 |
UniswapV3Pool.Swap( sender=ZeroEx, recipient=[Receiver] ZeroExProxy, amount0=-8665666923178352, amount1=8998630000000000, sqrtPriceX96=80715731158310425225526807006, liquidity=2494670366491002189024380, tick=372 )
|
92 |
FiatTokenProxy.0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef( 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef, 0x000000000000000000000000e66b31678d6c16e9ebf358268a790b763c133750, 0x000000000000000000000000a97a39785894a18c3f326f593824705a8f9d90c9, 000000000000000000000000000000000000000000000000001ec960ceb2a970 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x690B9A9E...Db4FaC990
Miner
| (builder0x69) | 2.035313421529760571 Eth | 2.035652051529760571 Eth | 0.00033863 | |
0x840DEEef...f6fE74410 | (Uniswap V3: cbETH 2) | ||||
0xA97A3978...A8F9D90C9 |
0.01499863 Eth
Nonce: 0
|
0.0023710553812367 Eth
Nonce: 1
| 0.0126275746187633 | ||
0xBe989514...41Ea49704 | |||||
0xC02aaA39...83C756Cc2 | 3,353,132.877332620031853391 Eth | 3,353,132.886331250031853391 Eth | 0.00899863 |
Execution Trace
ETH 0.00899863
ZeroExProxy.proxiedSwap( msgData=0x3598D8AB0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000001DDCEFD2BCA9670000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002BC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC20001F4BE9895146F7AF43049CA1C1AE358B0541EA49704000000000000000000000000000000000000000000869584CD000000000000000000000000382FFCE2287252F930E1C8DC9328DAC5BF282BA10000000000000000000000000000000000000000000000E68DB8BD35647F0477, feeToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE, inputToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE, inputAmount=8998630000000000, outputToken=0xBe9895146f7AF43049ca1c1AE358B0541Ea49704, fee=0 )
ETH 0.00899863
ZeroEx.3598d8ab( )
ETH 0.00899863
UniswapV3Feature.sellEthForTokenToUniswapV3( encodedPath=0xC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC20001F4BE9895146F7AF43049CA1C1AE358B0541EA49704, minBuyAmount=8405696915482983, recipient=0x0000000000000000000000000000000000000000 ) => ( buyAmount=8665666923178352 )
- ETH 0.00899863
WETH9.CALL( )
UniswapV3Pool.swap( recipient=0xe66B31678d6C16E9ebf358268a790B763C133750, zeroForOne=False, amountSpecified=8998630000000000, sqrtPriceLimitX96=1461446703485210103287273052203988822378723970341, data=0x000000000000000000000000C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2000000000000000000000000BE9895146F7AF43049CA1C1AE358B0541EA4970400000000000000000000000000000000000000000000000000000000000001F4000000000000000000000000DEF1C0DED9BEC7F1A1670819833240F027B25EFF ) => ( amount0=-8665666923178352, amount1=8998630000000000 )
FiatTokenProxy.a9059cbb( )
-
StakedTokenV1.transfer( to=0xe66B31678d6C16E9ebf358268a790B763C133750, value=8665666923178352 ) => ( True )
-
-
WETH9.balanceOf( 0x840DEEef2f115Cf50DA625F7368C24af6fE74410 ) => ( 4783280826585615212048 )
ZeroEx.fa461e33( )
UniswapV3Feature.uniswapV3SwapCallback( amount0Delta=-8665666923178352, amount1Delta=8998630000000000, data=0x000000000000000000000000C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2000000000000000000000000BE9895146F7AF43049CA1C1AE358B0541EA4970400000000000000000000000000000000000000000000000000000000000001F4000000000000000000000000DEF1C0DED9BEC7F1A1670819833240F027B25EFF )
-
WETH9.transfer( dst=0x840DEEef2f115Cf50DA625F7368C24af6fE74410, wad=8998630000000000 ) => ( True )
-
-
WETH9.balanceOf( 0x840DEEef2f115Cf50DA625F7368C24af6fE74410 ) => ( 4783289825215615212048 )
- ETH 0.00899863
FiatTokenProxy.70a08231( )
-
StakedTokenV1.balanceOf( account=0xe66B31678d6C16E9ebf358268a790B763C133750 ) => ( 8665666923178352 )
-
FiatTokenProxy.a9059cbb( )
-
StakedTokenV1.transfer( to=0xA97A39785894A18c3f326f593824705A8F9D90C9, value=8665666923178352 ) => ( 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 7: ZeroExProxy
File 2 of 7: WETH9
File 3 of 7: FiatTokenProxy
File 4 of 7: ZeroEx
File 5 of 7: UniswapV3Pool
File 6 of 7: UniswapV3Feature
File 7 of 7: StakedTokenV1
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 7: 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 7: FiatTokenProxy
12345678910111213141516/*** SPDX-License-Identifier: MIT** Copyright (c) 2018-2020 CENTRE SECZ** Permission is hereby granted, free of charge, to any person obtaining a copy* of this software and associated documentation files (the "Software"), to deal* in the Software without restriction, including without limitation the rights* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell* copies of the Software, and to permit persons to whom the Software is* furnished to do so, subject to the following conditions:** The above copyright notice and this permission notice shall be included in* copies or substantial portions of the Software.** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
File 4 of 7: 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 5 of 7: UniswapV3Pool
12345678910111213141516// SPDX-License-Identifier: BUSL-1.1pragma solidity =0.7.6;import './interfaces/IUniswapV3Pool.sol';import './NoDelegateCall.sol';import './libraries/LowGasSafeMath.sol';import './libraries/SafeCast.sol';import './libraries/Tick.sol';import './libraries/TickBitmap.sol';import './libraries/Position.sol';import './libraries/Oracle.sol';import './libraries/FullMath.sol';import './libraries/FixedPoint128.sol';import './libraries/TransferHelper.sol';import './libraries/TickMath.sol';import './libraries/LiquidityMath.sol';import './libraries/SqrtPriceMath.sol';
File 6 of 7: UniswapV3Feature
12345678910111213141516// SPDX-License-Identifier: Apache-2.0/*Copyright 2023 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 <0.9;interface IERC20Token {event Transfer(address indexed from, address indexed to, uint256 value);
File 7 of 7: StakedTokenV1
12345678910111213141516/*** SPDX-License-Identifier: MIT** Copyright (c) 2022 Coinbase, Inc.** Permission is hereby granted, free of charge, to any person obtaining a copy* of this software and associated documentation files (the "Software"), to deal* in the Software without restriction, including without limitation the rights* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell* copies of the Software, and to permit persons to whom the Software is* furnished to do so, subject to the following conditions:** The above copyright notice and this permission notice shall be included in* copies or substantial portions of the Software.** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR