Transaction Hash:
Block:
22541893 at May-23-2025 12:08:59 AM +UTC
Transaction Fee:
0.000358931271042705 ETH
$0.94
Gas Used:
155,517 Gas / 2.307987365 Gwei
Emitted Events:
197 |
Permit2.Permit( owner=[Sender] 0x498267099a6e202b1d1a89699c8b653f57ae4a1b, token=E2EssenceToken, spender=[Receiver] UniversalRouter, amount=1461501637330902918203684832716283019655932542975, expiration=1750550929, nonce=1 )
|
198 |
WETH9.Transfer( src=UniswapV3Pool, dst=[Receiver] UniversalRouter, wad=29142358625060353 )
|
199 |
E2EssenceToken.Transfer( from=[Sender] 0x498267099a6e202b1d1a89699c8b653f57ae4a1b, to=UniswapV3Pool, value=2000000000000000000000 )
|
200 |
UniswapV3Pool.Swap( sender=[Receiver] UniversalRouter, recipient=[Receiver] UniversalRouter, amount0=2000000000000000000000, amount1=-29142358625060353, sqrtPriceX96=303875988145781912005468803, liquidity=14603229566240148577384, tick=-111275 )
|
201 |
WETH9.Transfer( src=[Receiver] UniversalRouter, dst=FeeCollector, wad=72855896562650 )
|
202 |
WETH9.Withdrawal( src=[Receiver] UniversalRouter, wad=29069502728497703 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x00000000...43aC78BA3 | (Uniswap Protocol: Permit2) | ||||
0x2aFeAF81...0a5cf0D60 | (Uniswap V3: ESS 5) | ||||
0x2c068721...e92A02aCA | |||||
0x49826709...F57AE4A1b |
0.018018830370825081 Eth
Nonce: 4
|
0.046729401828280079 Eth
Nonce: 5
| 0.028710571457454998 | ||
0x95222290...5CC4BAfe5
Miner
| (beaverbuild) | 6.347479661186044991 Eth | 6.347703458501085476 Eth | 0.000223797315040485 | |
0xC02aaA39...83C756Cc2 | 2,822,924.103025039970557633 Eth | 2,822,924.07395553724205993 Eth | 0.029069502728497703 |
Execution Trace
UniversalRouter.execute( commands=0x0A00060C, inputs=[AAAAAAAAAAAAAAAALAaHIVrKf14nktlW4XAyXpKgKsoAAAAAAAAAAAAAAAD//////////////////////////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABoV0mRAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAA/yRo6/XA5XNSWxkfVpsydSyt/rQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABoL8OZAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQXMCzBDF2O1mvp08X+crpBGFWZ5IpYc5vhiRMgfCTI/JTpBTu/avWa/+Fcqvf4KqxswaEQ5yDXW8e7sUTe+uKGEcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==, AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGxrk1uLvUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArLAaHIVrKf14nktlW4XAyXpKgKsoAJxDAKqo5siP+jQoOXE8n6tkIPHVswgAAAAAAAAAAAAAAAAAAAAAAAAAAAA==, AAAAAAAAAAAAAAAAwCqqObIj/o0KDlxPJ+rZCDx1bMIAAAAAAAAAAAAAAAAAAAD+4ToQOhDVk7muBrPgXy5+HAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAZ, AAAAAAAAAAAAAAAASYJnCZpuICsdGolpnItlP1euShsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAZmUgNpBpCg==], deadline=1747960731 )
Permit2.permit( owner=0x498267099a6E202B1d1a89699C8b653F57AE4A1b, permitSingle=[{name:details, type:tuple, order:1, indexed:false, value:[{name:token, type:address, order:1, indexed:false, value:0x2c0687215Aca7F5e2792d956E170325e92A02aCA, valueString:0x2c0687215Aca7F5e2792d956E170325e92A02aCA}, {name:amount, type:uint160, order:2, indexed:false, value:1461501637330902918203684832716283019655932542975, valueString:1461501637330902918203684832716283019655932542975}, {name:expiration, type:uint48, order:3, indexed:false, value:1750550929, valueString:1750550929}, {name:nonce, type:uint48, order:4, indexed:false, value:1, valueString:1}], valueString:[{name:token, type:address, order:1, indexed:false, value:0x2c0687215Aca7F5e2792d956E170325e92A02aCA, valueString:0x2c0687215Aca7F5e2792d956E170325e92A02aCA}, {name:amount, type:uint160, order:2, indexed:false, value:1461501637330902918203684832716283019655932542975, valueString:1461501637330902918203684832716283019655932542975}, {name:expiration, type:uint48, order:3, indexed:false, value:1750550929, valueString:1750550929}, {name:nonce, type:uint48, order:4, indexed:false, value:1, valueString:1}]}, {name:spender, type:address, order:2, indexed:false, value:0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD, valueString:0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD}, {name:sigDeadline, type:uint256, order:3, indexed:false, value:1747960729, valueString:1747960729}], signature=0x7302CC10C5D8ED66BE9D3C5FE72BA41185599E48A58739BE18913207C24C8FC94E9053BBF6AF59AFFE15CAAF7F82AAC6CC1A110E720D75BC7BBB144DEFAE28611C )
-
Null: 0x000...001.9e632d75( )
-
UniswapV3Pool.swap( recipient=0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD, zeroForOne=True, amountSpecified=2000000000000000000000, sqrtPriceLimitX96=4295128740, data=0x0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000498267099A6E202B1D1A89699C8B653F57AE4A1B000000000000000000000000000000000000000000000000000000000000002B2C0687215ACA7F5E2792D956E170325E92A02ACA002710C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2000000000000000000000000000000000000000000 ) => ( amount0=2000000000000000000000, amount1=-29142358625060353 )
-
WETH9.transfer( dst=0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD, wad=29142358625060353 ) => ( True )
-
E2EssenceToken.balanceOf( account=0x2aFeAF811FE57B72cB496E841113b020a5cf0D60 ) => ( 3491846136019667391150199 )
UniversalRouter.uniswapV3SwapCallback( amount0Delta=2000000000000000000000, amount1Delta=-29142358625060353, data=0x0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000498267099A6E202B1D1A89699C8B653F57AE4A1B000000000000000000000000000000000000000000000000000000000000002B2C0687215ACA7F5E2792D956E170325E92A02ACA002710C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2000000000000000000000000000000000000000000 )
Permit2.transferFrom( from=0x498267099a6E202B1d1a89699C8b653F57AE4A1b, to=0x2aFeAF811FE57B72cB496E841113b020a5cf0D60, amount=2000000000000000000000, token=0x2c0687215Aca7F5e2792d956E170325e92A02aCA )
-
E2EssenceToken.transferFrom( from=0x498267099a6E202B1d1a89699C8b653F57AE4A1b, to=0x2aFeAF811FE57B72cB496E841113b020a5cf0D60, value=2000000000000000000000 ) => ( True )
-
-
E2EssenceToken.balanceOf( account=0x2aFeAF811FE57B72cB496E841113b020a5cf0D60 ) => ( 3493846136019667391150199 )
-
-
WETH9.balanceOf( 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 29142358625060353 )
-
WETH9.transfer( dst=0x000000fee13a103A10D593b9AE06b3e05F2E7E1c, wad=72855896562650 ) => ( True )
-
WETH9.balanceOf( 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 29069502728497703 )
WETH9.withdraw( wad=29069502728497703 )
- ETH 0.029069502728497703
UniversalRouter.CALL( )
- ETH 0.029069502728497703
- ETH 0.029069502728497703
0x498267099a6e202b1d1a89699c8b653f57ae4a1b.CALL( )
execute[UniversalRouter (ln:16)]
execute[UniversalRouter (ln:21)]
execute[UniversalRouter (ln:21)]
File 1 of 6: UniversalRouter
File 2 of 6: Permit2
File 3 of 6: UniswapV3Pool
File 4 of 6: WETH9
File 5 of 6: E2EssenceToken
File 6 of 6: FeeCollector
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: 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;
File 3 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 4 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 5 of 6: E2EssenceToken
12345678910111213141516// Sources flattened with hardhat v2.22.4 https://hardhat.org// SPDX-License-Identifier: MIT// File @openzeppelin/contracts/token/ERC20/IERC20.sol@v5.0.2// Original license: SPDX_License_Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)pragma solidity ^0.8.20;/*** @dev Interface of the ERC20 standard as defined in the EIP.*/interface IERC20 {/**
File 6 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;