Transaction Hash:
Block:
22539401 at May-22-2025 03:46:59 PM +UTC
Transaction Fee:
0.0012875934042331 ETH
$3.26
Gas Used:
169,892 Gas / 7.578893675 Gwei
Emitted Events:
64 |
WETH9.Transfer( src=UniswapV3Pool, dst=[Receiver] UniversalRouter, wad=55137500000000000 )
|
65 |
deploy.Transfer( from=[Sender] 0x95c256cdddaf343ce0a8931f30f4abbc7d14a64e, to=UniswapV3Pool, value=2754117407068882 )
|
66 |
deploy.Approval( owner=[Sender] 0x95c256cdddaf343ce0a8931f30f4abbc7d14a64e, spender=Permit2, value=115792089237316195423570985008687907853269984665640564039457571943044915082614 )
|
67 |
UniswapV3Pool.Swap( sender=[Receiver] UniversalRouter, recipient=[Receiver] UniversalRouter, amount0=2754117407068882, amount1=-55137500000000000, sqrtPriceX96=356037045417801700112963015637, liquidity=8901394354206433261, tick=30055 )
|
68 |
WETH9.Transfer( src=[Receiver] UniversalRouter, dst=FeeCollector, wad=137500000000000 )
|
69 |
WETH9.Withdrawal( src=[Receiver] UniversalRouter, wad=55000000000000000 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x0105b9B9...D329d5B00 | (Uniswap V3: COCORO 2) | ||||
0x4838B106...B0BAD5f97
Miner
| (Titan Builder) | 13.151457824498715625 Eth | 13.151797608498715625 Eth | 0.000339784 | |
0x95c256cD...c7D14a64E |
0.014464482340082412 Eth
Nonce: 74
|
0.068176888935849312 Eth
Nonce: 75
| 0.0537124065957669 | ||
0xa93d86Af...7B7b002b0 | |||||
0xC02aaA39...83C756Cc2 | 2,818,623.388812137344228638 Eth | 2,818,623.333812137344228638 Eth | 0.055 |
Execution Trace
UniversalRouter.execute( commands=0x01050C, inputs=[AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAw+NDnU2YAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJ5wXDaO4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArwCqqObIj/o0KDlxPJ+rZCDx1bMIAJxCpPYavFv6D8GTjwOLz0Sn3t7ACsAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==, AAAAAAAAAAAAAAAAwCqqObIj/o0KDlxPJ+rZCDx1bMIAAAAAAAAAAAAAAAAAAAD+4ToQOhDVk7muBrPgXy5+HAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAfQ42qBgA, AAAAAAAAAAAAAAAAlcJWzd2vNDzgqJMfMPSrvH0Upk4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAw2Y1ZqWAAA==], deadline=1747930610 )
UniswapV3Pool.swap( recipient=0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD, zeroForOne=True, amountSpecified=-55137500000000000, sqrtPriceLimitX96=4295128740, data=0x000000000000000000000000000000000000000000000000000000000000004000000000000000000000000095C256CDDDAF343CE0A8931F30F4ABBC7D14A64E000000000000000000000000000000000000000000000000000000000000002BC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2002710A93D86AF16FE83F064E3C0E2F3D129F7B7B002B0000000000000000000000000000000000000000000 ) => ( amount0=2754117407068882, amount1=-55137500000000000 )
-
WETH9.transfer( dst=0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD, wad=55137500000000000 ) => ( True )
-
deploy.balanceOf( account=0x0105b9B95f63e54650f70125402588AD329d5B00 ) => ( 1132187978220123862 )
UniversalRouter.uniswapV3SwapCallback( amount0Delta=2754117407068882, amount1Delta=-55137500000000000, data=0x000000000000000000000000000000000000000000000000000000000000004000000000000000000000000095C256CDDDAF343CE0A8931F30F4ABBC7D14A64E000000000000000000000000000000000000000000000000000000000000002BC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2002710A93D86AF16FE83F064E3C0E2F3D129F7B7B002B0000000000000000000000000000000000000000000 )
Permit2.transferFrom( from=0x95c256cDdDAF343ce0a8931F30f4abbc7D14a64E, to=0x0105b9B95f63e54650f70125402588AD329d5B00, amount=2754117407068882, token=0xa93d86Af16fe83F064E3C0e2F3d129F7B7b002b0 )
-
deploy.transferFrom( sender=0x95c256cDdDAF343ce0a8931F30f4abbc7D14a64E, recipient=0x0105b9B95f63e54650f70125402588AD329d5B00, amount=2754117407068882 ) => ( True )
-
-
deploy.balanceOf( account=0x0105b9B95f63e54650f70125402588AD329d5B00 ) => ( 1134942095627192744 )
-
-
WETH9.transfer( dst=0x000000fee13a103A10D593b9AE06b3e05F2E7E1c, wad=137500000000000 ) => ( True )
-
WETH9.balanceOf( 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 55000000000000000 )
WETH9.withdraw( wad=55000000000000000 )
- ETH 0.055
UniversalRouter.CALL( )
- ETH 0.055
- ETH 0.055
0x95c256cdddaf343ce0a8931f30f4abbc7d14a64e.CALL( )
execute[UniversalRouter (ln:16)]
execute[UniversalRouter (ln:21)]
execute[UniversalRouter (ln:21)]
File 1 of 6: UniversalRouter
File 2 of 6: UniswapV3Pool
File 3 of 6: WETH9
File 4 of 6: deploy
File 5 of 6: FeeCollector
File 6 of 6: Permit2
12345678910111213141516// SPDX-License-Identifier: GPL-3.0-or-laterpragma solidity ^0.8.17;// Command implementationsimport {Dispatcher} from './base/Dispatcher.sol';import {RewardsCollector} from './base/RewardsCollector.sol';import {RouterParameters, RouterImmutables} from './base/RouterImmutables.sol';import {Commands} from './libraries/Commands.sol';import {IUniversalRouter} from './interfaces/IUniversalRouter.sol';contract UniversalRouter is RouterImmutables, IUniversalRouter, Dispatcher, RewardsCollector {modifier checkDeadline(uint256 deadline) {if (block.timestamp > deadline) revert TransactionDeadlinePassed();_;}constructor(RouterParameters memory params) RouterImmutables(params) {}/// @inheritdoc IUniversalRouterfunction execute(bytes calldata commands, bytes[] calldata inputs, uint256 deadline)
File 2 of 6: 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 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 4 of 6: deploy
12345678910111213141516// SPDX-License-Identifier: Unlicensed// https://kabochan.blog.jp/archives/53553858.htmlpragma solidity 0.8.25;abstract contract Context {function _msgSender() internal view virtual returns (address) {return msg.sender;}}interface IERC20 {function totalSupply() external view returns (uint256);function balanceOf(address account) external view returns (uint256);function transfer(address recipient, uint256 amount) external returns (bool);function allowance(address owner, address spender) external view returns (uint256);
File 5 of 6: FeeCollector
12345678910111213141516// SPDX-License-Identifier: GPL-2.0-or-laterpragma solidity ^0.8.0;import {Owned} from "solmate/auth/Owned.sol";import {ERC20} from "solmate/tokens/ERC20.sol";import {SafeTransferLib} from "solmate/utils/SafeTransferLib.sol";import {IFeeCollector} from "./interfaces/IFeeCollector.sol";import {IPermit2} from "./external/IPermit2.sol";/// @notice The collector of protocol fees that will be used to swap and send to a fee recipient address.contract FeeCollector is Owned, IFeeCollector {using SafeTransferLib for ERC20;address public universalRouter;ERC20 public immutable feeToken;IPermit2 public immutable permit2;uint256 public constant MAX_APPROVAL_AMOUNT = type(uint256).max;uint160 public constant MAX_PERMIT2_APPROVAL_AMOUNT = type(uint160).max;uint48 public constant MAX_PERMIT2_DEADLINE = type(uint48).max;
File 6 of 6: Permit2
12345678910111213141516// SPDX-License-Identifier: AGPL-3.0-onlypragma solidity >=0.8.0;/// @notice Modern and gas efficient ERC20 + EIP-2612 implementation./// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC20.sol)/// @author Modified from Uniswap (https://github.com/Uniswap/uniswap-v2-core/blob/master/contracts/UniswapV2ERC20.sol)/// @dev Do not manually set balances without updating totalSupply, as the sum of all user balances must not exceed it.abstract contract ERC20 {/*//////////////////////////////////////////////////////////////EVENTS//////////////////////////////////////////////////////////////*/event Transfer(address indexed from, address indexed to, uint256 amount);event Approval(address indexed owner, address indexed spender, uint256 amount);/*//////////////////////////////////////////////////////////////METADATA STORAGE//////////////////////////////////////////////////////////////*/string public name;