Transaction Hash:
Block:
22323038 at Apr-22-2025 07:26:11 AM +UTC
Transaction Fee:
0.000041088178557326 ETH
$0.11
Gas Used:
112,426 Gas / 0.365468651 Gwei
Emitted Events:
315 |
WETH9.Transfer( src=UniswapV3Pool, dst=[Sender] 0xbe8bb78076bb1e3c6631fc93d4d52661d27a79d3, wad=7395183325604647 )
|
316 |
OXYZToken.Approval( owner=[Sender] 0xbe8bb78076bb1e3c6631fc93d4d52661d27a79d3, spender=[Receiver] SwapRouter02, value=99998176939419538415745819283 )
|
317 |
OXYZToken.Transfer( from=[Sender] 0xbe8bb78076bb1e3c6631fc93d4d52661d27a79d3, to=UniswapV3Pool, value=2433090544564931860805 )
|
318 |
UniswapV3Pool.Swap( sender=[Receiver] SwapRouter02, recipient=[Sender] 0xbe8bb78076bb1e3c6631fc93d4d52661d27a79d3, amount0=-7395183325604647, amount1=2433090544564931860805, sqrtPriceX96=45385824271792950855621218273115, liquidity=10403932782910168650346, tick=127018 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x4838B106...B0BAD5f97
Miner
| (Titan Builder) | 20.031135904785108187 Eth | 20.031135953461518851 Eth | 0.000000048676410664 | |
0x4aC6054F...865F5E2E4 | (Uniswap V3: OXYZ) | ||||
0xbe8Bb780...1D27A79D3 |
0.391155458907817396 Eth
Nonce: 1666
|
0.39111437072926007 Eth
Nonce: 1667
| 0.000041088178557326 | ||
0xC02aaA39...83C756Cc2 | |||||
0xD0623da3...9B21DD667 |
Execution Trace
SwapRouter02.exactInputSingle( params=[{name:tokenIn, type:address, order:1, indexed:false, value:0xD0623da373F754C4B6762209EA77De59B21DD667, valueString:0xD0623da373F754C4B6762209EA77De59B21DD667}, {name:tokenOut, type:address, order:2, indexed:false, value:0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2, valueString:0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2}, {name:fee, type:uint24, order:3, indexed:false, value:3000, valueString:3000}, {name:recipient, type:address, order:4, indexed:false, value:0xbe8Bb78076bb1E3C6631Fc93d4d52661D27A79D3, valueString:0xbe8Bb78076bb1E3C6631Fc93d4d52661D27A79D3}, {name:amountIn, type:uint256, order:5, indexed:false, value:2433090544564931860805, valueString:2433090544564931860805}, {name:amountOutMinimum, type:uint256, order:6, indexed:false, value:7395183325604647, valueString:7395183325604647}, {name:sqrtPriceLimitX96, type:uint160, order:7, indexed:false, value:0, valueString:0}] ) => ( amountOut=7395183325604647 )
UniswapV3Pool.swap( recipient=0xbe8Bb78076bb1E3C6631Fc93d4d52661D27A79D3, zeroForOne=False, amountSpecified=2433090544564931860805, sqrtPriceLimitX96=1461446703485210103287273052203988822378723970341, data=0x00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000040000000000000000000000000BE8BB78076BB1E3C6631FC93D4D52661D27A79D3000000000000000000000000000000000000000000000000000000000000002BD0623DA373F754C4B6762209EA77DE59B21DD667000BB8C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2000000000000000000000000000000000000000000 ) => ( amount0=-7395183325604647, amount1=2433090544564931860805 )
-
WETH9.transfer( dst=0xbe8Bb78076bb1E3C6631Fc93d4d52661D27A79D3, wad=7395183325604647 ) => ( True )
-
OXYZToken.balanceOf( account=0x4aC6054F5aec6b5dC4839c9D02adbf9865F5E2E4 ) => ( 10724629156235213949815293 )
SwapRouter02.uniswapV3SwapCallback( amount0Delta=-7395183325604647, amount1Delta=2433090544564931860805, _data=0x00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000040000000000000000000000000BE8BB78076BB1E3C6631FC93D4D52661D27A79D3000000000000000000000000000000000000000000000000000000000000002BD0623DA373F754C4B6762209EA77DE59B21DD667000BB8C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2000000000000000000000000000000000000000000 )
-
OXYZToken.transferFrom( from=0xbe8Bb78076bb1E3C6631Fc93d4d52661D27A79D3, to=0x4aC6054F5aec6b5dC4839c9D02adbf9865F5E2E4, amount=2433090544564931860805 ) => ( True )
-
-
OXYZToken.balanceOf( account=0x4aC6054F5aec6b5dC4839c9D02adbf9865F5E2E4 ) => ( 10727062246779778881676098 )
-
exactInputSingle[V3SwapRouter (ln:272)]
balanceOf[V3SwapRouter (ln:282)]
exactInputInternal[V3SwapRouter (ln:284)]
decodeFirstPool[V3SwapRouter (ln:257)]
swap[V3SwapRouter (ln:260)]
getPool[V3SwapRouter (ln:260)]
computeAddress[V3SwapRouter (ln:213)]
encode[PoolAddress (ln:1806)]
getPoolKey[V3SwapRouter (ln:213)]
PoolKey[PoolAddress (ln:1792)]
toInt256[V3SwapRouter (ln:263)]
encode[V3SwapRouter (ln:267)]
SwapCallbackData[V3SwapRouter (ln:288)]
File 1 of 4: SwapRouter02
File 2 of 4: UniswapV3Pool
File 3 of 4: WETH9
File 4 of 4: OXYZToken
12345678910111213141516// SPDX-License-Identifier: GPL-2.0-or-laterpragma solidity =0.7.6;pragma abicoder v2;import '@uniswap/v3-periphery/contracts/base/SelfPermit.sol';import '@uniswap/v3-periphery/contracts/base/PeripheryImmutableState.sol';import './interfaces/ISwapRouter02.sol';import './V2SwapRouter.sol';import './V3SwapRouter.sol';import './base/ApproveAndCall.sol';import './base/MulticallExtended.sol';/// @title Uniswap V2 and V3 Swap Routercontract SwapRouter02 is ISwapRouter02, V2SwapRouter, V3SwapRouter, ApproveAndCall, MulticallExtended, SelfPermit {constructor(address _factoryV2,address factoryV3,address _positionManager,
File 2 of 4: 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 3 of 4: 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 4 of 4: OXYZToken
12345678910111213141516// SPDX-License-Identifier: MIT//** OXYZ Token Token */pragma solidity 0.8.28;import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";import "@openzeppelin/contracts/access/Ownable.sol";contract OXYZToken is ERC20Burnable, Ownable {constructor() ERC20("Oxya Origin", "OXYZ") {_mint(msg.sender, 1_000_000_000 * 10 ** decimals());}function mint (address to, uint256 amount) public onlyOwner {_mint(to, amount);}}// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol)pragma solidity ^0.8.0;import "../ERC20.sol";