Transaction Hash:
Block:
22662924 at Jun-08-2025 10:43:35 PM +UTC
Transaction Fee:
0.008734316862743072 ETH
$24.69
Gas Used:
187,504 Gas / 46.582029518 Gwei
Emitted Events:
36 |
Permit2.Permit( owner=[Sender] 0x0b52dec4b960bd7065b95fb7b552d270dfe5e4ae, token=ERC20, spender=[Receiver] UniversalRouter, amount=5135086630588891605, expiration=1752014609, nonce=0 )
|
37 |
ERC20.Transfer( from=[Sender] 0x0b52dec4b960bd7065b95fb7b552d270dfe5e4ae, to=UniswapV2Pair, value=5135086630588891605 )
|
38 |
ERC20.Approval( owner=[Sender] 0x0b52dec4b960bd7065b95fb7b552d270dfe5e4ae, spender=Permit2, value=115792089237316195423570985008687907853269984665640564039452448921282540748330 )
|
39 |
WETH9.Transfer( src=UniswapV2Pair, dst=[Receiver] UniversalRouter, wad=51377928053957632 )
|
40 |
UniswapV2Pair.Sync( reserve0=1831025799741626206, reserve1=187592204526780698251 )
|
41 |
UniswapV2Pair.Swap( sender=[Receiver] UniversalRouter, amount0In=0, amount1In=5135086630588891605, amount0Out=51377928053957632, amount1Out=0, to=[Receiver] UniversalRouter )
|
42 |
WETH9.Withdrawal( src=[Receiver] UniversalRouter, wad=51377928053957632 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x00000000...43aC78BA3 | (Uniswap Protocol: Permit2) | ||||
0x0B52dEc4...0dfE5E4Ae |
0.21316661077408302 Eth
Nonce: 7
|
0.25581022196529758 Eth
Nonce: 8
| 0.04264361119121456 | ||
0x14aAdD1B...b2539882B | |||||
0x4838B106...B0BAD5f97
Miner
| (Titan Builder) | 20.247103454709185125 Eth | 20.255728638709185125 Eth | 0.008625184 | |
0xC02aaA39...83C756Cc2 | 2,656,100.41064801817704566 Eth | 2,656,100.359270090123088028 Eth | 0.051377928053957632 | ||
0xF832e01b...90b407e75 |
Execution Trace
UniversalRouter.execute( commands=0x0A080C04, inputs=[AAAAAAAAAAAAAAAA+DLgG12hO7p3zUiIRb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7B552d270dfE5E4Ae, permitSingle=[{name:details, type:tuple, order:1, indexed:false, value:[{name:token, type:address, order:1, indexed:false, value:0xF832e01b5Da13BbA77Cd488845B4dA090b407e75, valueString:0xF832e01b5Da13BbA77Cd488845B4dA090b407e75}, {name:amount, type:uint160, order:2, indexed:false, value:5135086630588891605, valueString:5135086630588891605}, {name:expiration, type:uint48, order:3, indexed:false, value:1752014609, valueString:1752014609}, {name:nonce, type:uint48, order:4, indexed:false, value:0, valueString:0}], valueString:[{name:token, type:address, order:1, indexed:false, value:0xF832e01b5Da13BbA77Cd488845B4dA090b407e75, valueString:0xF832e01b5Da13BbA77Cd488845B4dA090b407e75}, {name:amount, type:uint160, order:2, indexed:false, value:5135086630588891605, valueString:5135086630588891605}, {name:expiration, type:uint48, order:3, indexed:false, value:1752014609, valueString:1752014609}, {name:nonce, type:uint48, order:4, indexed:false, value:0, valueString:0}]}, {name:spender, type:address, order:2, indexed:false, value:0xEf1c6E67703c7BD7107eed8303Fbe6EC2554BF6B, valueString:0xEf1c6E67703c7BD7107eed8303Fbe6EC2554BF6B}, {name:sigDeadline, type:uint256, order:3, indexed:false, value:1752014609, valueString:1752014609}], signature=0x807C113489724BB4A3DE3EECB2939459DA3E11A9D7219075400A731E786AFA4A62958942108252D418FF5BD088DDC15010C933B467369C1AD11FA1AAA18DE6641B )
-
Null: 0x000...001.b106b1b7( )
-
Permit2.transferFrom( from=0x0B52dEc4B960BD7065b95fB7B552d270dfE5E4Ae, to=0x14aAdD1B3A32ca0F37a8F200B58Ee6eb2539882B, amount=5135086630588891605, token=0xF832e01b5Da13BbA77Cd488845B4dA090b407e75 )
-
ERC20.transferFrom( sender=0x0B52dEc4B960BD7065b95fB7B552d270dfE5E4Ae, recipient=0x14aAdD1B3A32ca0F37a8F200B58Ee6eb2539882B, amount=5135086630588891605 ) => ( True )
-
-
WETH9.balanceOf( 0xEf1c6E67703c7BD7107eed8303Fbe6EC2554BF6B ) => ( 0 )
-
UniswapV2Pair.STATICCALL( )
-
ERC20.balanceOf( account=0x14aAdD1B3A32ca0F37a8F200B58Ee6eb2539882B ) => ( 187592204526780698251 )
UniswapV2Pair.swap( amount0Out=51377928053957632, amount1Out=0, to=0xEf1c6E67703c7BD7107eed8303Fbe6EC2554BF6B, data=0x )
-
WETH9.balanceOf( 0xEf1c6E67703c7BD7107eed8303Fbe6EC2554BF6B ) => ( 51377928053957632 )
-
WETH9.balanceOf( 0xEf1c6E67703c7BD7107eed8303Fbe6EC2554BF6B ) => ( 51377928053957632 )
WETH9.withdraw( wad=51377928053957632 )
- ETH 0.051377928053957632
UniversalRouter.CALL( )
- ETH 0.051377928053957632
- ETH 0.051377928053957632
0x0b52dec4b960bd7065b95fb7b552d270dfe5e4ae.CALL( )
-
ERC20.balanceOf( account=0xEf1c6E67703c7BD7107eed8303Fbe6EC2554BF6B ) => ( 0 )
File 1 of 5: UniversalRouter
File 2 of 5: Permit2
File 3 of 5: UniswapV2Pair
File 4 of 5: ERC20
File 5 of 5: WETH9
12345678910111213141516// SPDX-License-Identifier: GPL-3.0-or-laterpragma solidity ^0.8.17;import {Dispatcher} from './base/Dispatcher.sol';import {RewardsCollector} from './base/RewardsCollector.sol';import {RouterParameters, RouterImmutables} from './base/RouterImmutables.sol';import {Constants} from './libraries/Constants.sol';import {Commands} from './libraries/Commands.sol';import {IUniversalRouter} from './interfaces/IUniversalRouter.sol';import {ReentrancyLock} from './base/ReentrancyLock.sol';contract UniversalRouter is RouterImmutables, IUniversalRouter, Dispatcher, RewardsCollector, ReentrancyLock {modifier checkDeadline(uint256 deadline) {if (block.timestamp > deadline) revert TransactionDeadlinePassed();_;}constructor(RouterParameters memory params) RouterImmutables(params) {}/// @inheritdoc IUniversalRouter
File 2 of 5: 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 5: UniswapV2Pair
12345678910111213141516// File: contracts/interfaces/IUniswapV2Pair.solpragma solidity >=0.5.0;interface IUniswapV2Pair {event Approval(address indexed owner, address indexed spender, uint value);event Transfer(address indexed from, address indexed to, uint value);function name() external pure returns (string memory);function symbol() external pure returns (string memory);function decimals() external pure returns (uint8);function totalSupply() external view returns (uint);function balanceOf(address owner) external view returns (uint);function allowance(address owner, address spender) external view returns (uint);function approve(address spender, uint value) external returns (bool);
File 4 of 5: ERC20
12345678910111213141516// SPDX-License-Identifier: UNLICENSEpragma solidity 0.8.23;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);function approve(address spender, uint256 amount) external returns (bool);
File 5 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;