Transaction Hash:
Block:
21931394 at Feb-26-2025 03:26:23 PM +UTC
Transaction Fee:
0.002219047989979676 ETH
$5.71
Gas Used:
243,277 Gas / 9.121486988 Gwei
Emitted Events:
164 |
Permit2.Permit( owner=[Sender] 0x38bafb99bbeefd941afad2f02db559452f36ce6c, token=TetherToken, spender=[Receiver] UniversalRouter, amount=500000000, expiration=1743175516, nonce=0 )
|
165 |
WETH9.Transfer( src=UniswapV3Pool, dst=[Receiver] UniversalRouter, wad=204498146362301014 )
|
166 |
TetherToken.Transfer( from=[Sender] 0x38bafb99bbeefd941afad2f02db559452f36ce6c, to=UniswapV3Pool, value=500000000 )
|
167 |
UniswapV3Pool.Swap( sender=[Receiver] UniversalRouter, recipient=[Receiver] UniversalRouter, amount0=-204498146362301014, amount1=500000000, sqrtPriceX96=3916625551948165807358622, liquidity=2905010201778899245, tick=-198308 )
|
168 |
GFI.Transfer( from=0x2A4d547Ea2c35D03A501a8BB5d12d81D0a222dC5, to=[Sender] 0x38bafb99bbeefd941afad2f02db559452f36ce6c, value=515901699518048676659 )
|
169 |
WETH9.Transfer( src=[Receiver] UniversalRouter, dst=0x2A4d547Ea2c35D03A501a8BB5d12d81D0a222dC5, wad=204498146362301014 )
|
170 |
0x2a4d547ea2c35d03a501a8bb5d12d81d0a222dc5.0xc42079f94a6350d7e6235f29174924f928cc2ac818eb64fed8004e115fbcca67( 0xc42079f94a6350d7e6235f29174924f928cc2ac818eb64fed8004e115fbcca67, 0x0000000000000000000000003fc91a3afd70395cd496c647d5a6cc9d4b2b7fad, 0x00000000000000000000000038bafb99bbeefd941afad2f02db559452f36ce6c, 00000000000000000000000000000000000000000000000002d685fb0b269a56, ffffffffffffffffffffffffffffffffffffffffffffffe4086cf9a7166554cd, 000000000000000000000000000000000000003272649f333be63a09f5c07a2b, 0000000000000000000000000000000000000000000001a2f20dcd50661737b9, 0000000000000000000000000000000000000000000000000000000000013256 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x00000000...43aC78BA3 | (Uniswap Protocol: Permit2) | ||||
0x11b815ef...14B7697F6 | (Uniswap V3: USDT 3) | ||||
0x1f9090aa...8e676c326
Miner
| 2.787094773518678328 Eth | 2.788839017353022005 Eth | 0.001744243834343677 | ||
0x2A4d547E...D0a222dC5 | (Uniswap V3: GFI) | ||||
0x38bAFB99...52F36cE6c |
0.098498032083267872 Eth
Nonce: 71
|
0.096278984093288196 Eth
Nonce: 72
| 0.002219047989979676 | ||
0xC02aaA39...83C756Cc2 | |||||
0xdab396cC...F5b008D2b | |||||
0xdAC17F95...13D831ec7 |
Execution Trace
UniversalRouter.execute( commands=0x0A00, inputs=[AAAAAAAAAAAAAAAA2sF/lY0u5SOiIGIGmUWXwT2DHscAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHc1lAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABn5r9cAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/yRo6/XA5XNSWxkfVpsydSyt/rQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABnvzlkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQcFyuO7NCUBQjU28RBcpmrBdDBvIaznL2MAHxHK2t1jfW2rty7YrJxSm319kSNWPD4AluSJibuoQquzB4g9C7kkbAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==, AAAAAAAAAAAAAAAAOLr7mbvu/ZQa+tLwLbVZRS82zmwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHc1lAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAG9G/o2+7ukc9AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABC2sF/lY0u5SOiIGIGmUWXwT2DHscAAfTAKqo5siP+jQoOXE8n6tkIPHVswgAnENqzlszz2Ezy0HxEVOEMim9bAI0rAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA], deadline=1740585357 )
Permit2.permit( owner=0x38bAFB99bbEefd941AFAd2F02Db559452F36cE6c, permitSingle=[{name:details, type:tuple, order:1, indexed:false, value:[{name:token, type:address, order:1, indexed:false, value:0xdAC17F958D2ee523a2206206994597C13D831ec7, valueString:0xdAC17F958D2ee523a2206206994597C13D831ec7}, {name:amount, type:uint160, order:2, indexed:false, value:500000000, valueString:500000000}, {name:expiration, type:uint48, order:3, indexed:false, value:1743175516, valueString:1743175516}, {name:nonce, type:uint48, order:4, indexed:false, value:0, valueString:0}], valueString:[{name:token, type:address, order:1, indexed:false, value:0xdAC17F958D2ee523a2206206994597C13D831ec7, valueString:0xdAC17F958D2ee523a2206206994597C13D831ec7}, {name:amount, type:uint160, order:2, indexed:false, value:500000000, valueString:500000000}, {name:expiration, type:uint48, order:3, indexed:false, value:1743175516, valueString:1743175516}, {name:nonce, type:uint48, order:4, indexed:false, value:0, valueString:0}]}, {name:spender, type:address, order:2, indexed:false, value:0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD, valueString:0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD}, {name:sigDeadline, type:uint256, order:3, indexed:false, value:1740585316, valueString:1740585316}], signature=0xC172B8EECD0940508D4DBC4417299AB05D0C1BC86B39CBD8C007C472B6B758DF5B6AEDCBB62B2714A6DF5F6448D58F0F8025B922626EEA10AAECC1E20F42EE491B )
-
Null: 0x000...001.71d5842f( )
-
UniswapV3Pool.swap( recipient=0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD, zeroForOne=False, amountSpecified=500000000, sqrtPriceLimitX96=1461446703485210103287273052203988822378723970341, data=0x000000000000000000000000000000000000000000000000000000000000004000000000000000000000000038BAFB99BBEEFD941AFAD2F02DB559452F36CE6C000000000000000000000000000000000000000000000000000000000000002BDAC17F958D2EE523A2206206994597C13D831EC70001F4C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2000000000000000000000000000000000000000000 ) => ( amount0=-204498146362301014, amount1=500000000 )
-
WETH9.transfer( dst=0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD, wad=204498146362301014 ) => ( True )
-
TetherToken.balanceOf( who=0x11b815efB8f581194ae79006d24E0d814B7697F6 ) => ( 6570230131764 )
UniversalRouter.uniswapV3SwapCallback( amount0Delta=-204498146362301014, amount1Delta=500000000, data=0x000000000000000000000000000000000000000000000000000000000000004000000000000000000000000038BAFB99BBEEFD941AFAD2F02DB559452F36CE6C000000000000000000000000000000000000000000000000000000000000002BDAC17F958D2EE523A2206206994597C13D831EC70001F4C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2000000000000000000000000000000000000000000 )
Permit2.transferFrom( from=0x38bAFB99bbEefd941AFAd2F02Db559452F36cE6c, to=0x11b815efB8f581194ae79006d24E0d814B7697F6, amount=500000000, token=0xdAC17F958D2ee523a2206206994597C13D831ec7 )
-
TetherToken.transferFrom( _from=0x38bAFB99bbEefd941AFAd2F02Db559452F36cE6c, _to=0x11b815efB8f581194ae79006d24E0d814B7697F6, _value=500000000 )
-
-
TetherToken.balanceOf( who=0x11b815efB8f581194ae79006d24E0d814B7697F6 ) => ( 6570730131764 )
-
Uniswap V3: GFI.128acb08( )
-
GFI.transfer( recipient=0x38bAFB99bbEefd941AFAd2F02Db559452F36cE6c, amount=515901699518048676659 ) => ( True )
-
WETH9.balanceOf( 0x2A4d547Ea2c35D03A501a8BB5d12d81D0a222dC5 ) => ( 21413095635793998106 )
UniversalRouter.uniswapV3SwapCallback( amount0Delta=204498146362301014, amount1Delta=-515901699518048676659, data=0x00000000000000000000000000000000000000000000000000000000000000400000000000000000000000003FC91A3AFD70395CD496C647D5A6CC9D4B2B7FAD000000000000000000000000000000000000000000000000000000000000002BC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2002710DAB396CCF3D84CF2D07C4454E10C8A6F5B008D2B000000000000000000000000000000000000000000 )
-
WETH9.transfer( dst=0x2A4d547Ea2c35D03A501a8BB5d12d81D0a222dC5, wad=204498146362301014 ) => ( True )
-
-
WETH9.balanceOf( 0x2A4d547Ea2c35D03A501a8BB5d12d81D0a222dC5 ) => ( 21617593782156299120 )
-
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: TetherToken
File 6 of 6: GFI
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: TetherToken
12345678910111213141516pragma solidity ^0.4.17;/*** @title SafeMath* @dev Math operations with safety checks that throw on error*/library SafeMath {function mul(uint256 a, uint256 b) internal pure returns (uint256) {if (a == 0) {return 0;}uint256 c = a * b;assert(c / a == b);return c;}
File 6 of 6: GFI
12345678910111213141516// SPDX-License-Identifier: MITpragma solidity >=0.6.0 <0.8.0;import "../utils/EnumerableSet.sol";import "../utils/Address.sol";import "../utils/Context.sol";/*** @dev Contract module that allows children to implement role-based access* control mechanisms.** Roles are referred to by their `bytes32` identifier. These should be exposed* in the external API and be unique. The best way to achieve this is by* using `public constant` hash digests:** ```* bytes32 public constant MY_ROLE = keccak256("MY_ROLE");* ```