Transaction Hash:
Block:
18062503 at Sep-04-2023 10:25:35 AM +UTC
Transaction Fee:
0.001843354923278138 ETH
$4.81
Gas Used:
153,722 Gas / 11.991484129 Gwei
Emitted Events:
154 |
WETH9.Deposit( dst=[Receiver] ZeroEx, wad=1000000000000000000 )
|
155 |
Bitcoin.Transfer( from=UniswapV3Pool, to=[Sender] 0x5dc04af0525274c2c7f694de64df442c19de7902, value=2483279508347 )
|
156 |
WETH9.Transfer( src=[Receiver] ZeroEx, dst=UniswapV3Pool, wad=1000000000000000000 )
|
157 |
UniswapV3Pool.Swap( sender=[Receiver] ZeroEx, recipient=[Sender] 0x5dc04af0525274c2c7f694de64df442c19de7902, amount0=-2483279508347, amount1=1000000000000000000, sqrtPriceX96=50321626663151345482653772688689, liquidity=328436290961245944, tick=129083 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x25392D71...4a6F9b18d | (Uniswap V3: BITCOIN 2) | ||||
0x5dc04aF0...c19dE7902 |
4.251792586174738888 Eth
Nonce: 79
|
3.24994923125146075 Eth
Nonce: 80
| 1.001843354923278138 | ||
0x72e4f9F8...0Dc4EEEa9 | |||||
0x95222290...5CC4BAfe5
Miner
| (beaverbuild) | 9.811907412670185065 Eth | 9.811926781642185065 Eth | 0.000019368972 | |
0xC02aaA39...83C756Cc2 | 3,150,776.322614518382228903 Eth | 3,150,777.322614518382228903 Eth | 1 |
Execution Trace
ETH 1
ZeroEx.3598d8ab( )
ETH 1
UniswapV3Feature.sellEthForTokenToUniswapV3( encodedPath=0xC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2000BB872E4F9F808C49A2A61DE9C5896298920DC4EEEA9, minBuyAmount=2470366454884, recipient=0x0000000000000000000000000000000000000000 ) => ( buyAmount=2483279508347 )
- ETH 1
WETH9.CALL( )
UniswapV3Pool.swap( recipient=0x5dc04aF0525274C2c7F694De64DF442c19dE7902, zeroForOne=False, amountSpecified=1000000000000000000, sqrtPriceLimitX96=1461446703485210103287273052203988822378723970341, data=0x000000000000000000000000C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC200000000000000000000000072E4F9F808C49A2A61DE9C5896298920DC4EEEA90000000000000000000000000000000000000000000000000000000000000BB8000000000000000000000000DEF1C0DED9BEC7F1A1670819833240F027B25EFF ) => ( amount0=-2483279508347, amount1=1000000000000000000 )
-
Bitcoin.transfer( recipient=0x5dc04aF0525274C2c7F694De64DF442c19dE7902, amount=2483279508347 ) => ( True )
-
WETH9.balanceOf( 0x25392D7129040710f152174Af5019004a6F9b18d ) => ( 53929740663877819266 )
ZeroEx.fa461e33( )
UniswapV3Feature.uniswapV3SwapCallback( amount0Delta=-2483279508347, amount1Delta=1000000000000000000, data=0x000000000000000000000000C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC200000000000000000000000072E4F9F808C49A2A61DE9C5896298920DC4EEEA90000000000000000000000000000000000000000000000000000000000000BB8000000000000000000000000DEF1C0DED9BEC7F1A1670819833240F027B25EFF )
-
WETH9.transfer( dst=0x25392D7129040710f152174Af5019004a6F9b18d, wad=1000000000000000000 ) => ( True )
-
-
WETH9.balanceOf( 0x25392D7129040710f152174Af5019004a6F9b18d ) => ( 54929740663877819266 )
-
- ETH 1
sellEthForTokenToUniswapV3[UniswapV3Feature (ln:445)]
deposit[UniswapV3Feature (ln:451)]
_swap[UniswapV3Feature (ln:453)]
type[UniswapV3Feature (ln:579)]
_isPathMultiHop[UniswapV3Feature (ln:583)]
_decodeFirstPoolInfoFromPath[UniswapV3Feature (ln:587)]
_toPool[UniswapV3Feature (ln:590)]
_updateSwapCallbackData[UniswapV3Feature (ln:592)]
swap[UniswapV3Feature (ln:594)]
_shiftHopFromPathInPlace[UniswapV3Feature (ln:615)]
_normalizeRecipient[UniswapV3Feature (ln:458)]
payable[UniswapV3Feature (ln:710)]
payable[UniswapV3Feature (ln:710)]
File 1 of 5: ZeroEx
File 2 of 5: WETH9
File 3 of 5: UniswapV3Pool
File 4 of 5: Bitcoin
File 5 of 5: UniswapV3Feature
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 2 of 5: 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 5: 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 4 of 5: Bitcoin
12345678910111213141516/**⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⣤⣴⣶⣶⣾⣿⣿⣿⣿⣿⣷⣶⣶⣦⣤⣄⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣠⣴⣾⣿⣿⣿⣿⣿⣿⠿⣟⣛⣻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣦⡀⠀⠀⠀⠀⠀⠀⢰⠶⣶⣶⣶⣦⣴⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⠟⠋⠉⡇⣿⣿⣿⣿⣿⣿⣿⣿⠿⠛⠋⠉⠀⠀⠀⠀⠀⠀⠀⢸⣷⣄⣙⣿⣿⣿⣿⣿⣿⣿⣫⣭⠿⣭⣝⢿⣿⣦⣄⡇⣿⣿⣿⣿⣿⠟⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⣿⣿⣿⣿⣿⣿⣿⣫⠟⠁⠀⠀⠀⠈⢷⢻⣿⣿⣿⣿⣿⣿⣿⣥⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣾⡟⣷⢻⣿⣿⣿⣿⠃⠀⠀⣠⣤⡀⠀⠘⣟⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣤⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⠀⢸⣏⣿⣿⣿⡏⠀⠀⠀⣿⣿⣇⠀⠀⣿⣿⡿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣦⡀⠀⠀⠀⠀⠀⠀⠀⠀⢹⠀⠀⣿⣿⣿⡟⠀⠀⠀⠀⣿⣿⣿⠀⠀⣿⣿⠇⢸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⡄⠀⠀⠀⠀⠀⠀⠀⣸⣄⡀⢻⣿⠉⠀⠀⠀⠀⠀⠹⠿⠏⠀⣸⣿⣿⡀⣸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡄⠀⠀⠀⠀⠀⠀⢿⣿⣿⣷⡖⠒⠦⢄⣀⣀⣀⣀⠤⠒⢉⣀⡀⠀⠙⣿⣿⣿⣿⣟⠛⠉⠉⠉⠉⠛⠛⠻⢿⣷⠀⠀⠀⠀⠀⠀⠀⠉⠻⡛⠁⠀⠀⠀⠀⠈⠀⠀⠀⠀⢀⡸⠻⠀⢰⣿⣿⣿⣿⣿⣦⠀⠀⠀⠀⠀⠀⠀⠀⠈⠂⠀⠀⠀⠀⠀⠀⠀⠀⠙⠲⣄⠀⠀⠀⠀⠀⠠⠒⠚⠉⠀⢀⣴⣿⣿⣿⣿⣿⣿⣿⣷⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⠬⠵⣦⠤⣤⠀⠀⣀⣤⣤⣶⣿⠟⠛⣿⣿⣿⣿⣿⣿⣿⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⡞⢀⡔⠒⣼⡞⢁⡔⠂⠉⠉⠉⠛⠧⣄⢀⠟⠛⠻⢿⣿⣿⣿⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⠘⠷⠤⢷⡀⠈⠳⠼⡀⠀⠀⠀⠀⠀⢀⠈⢿⣧⠀⠀⠀⠉⠻⣿⠇⠀⠀⠀⠀⠀⠀⠀⠀
File 5 of 5: 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);