Transaction Hash:
Block:
18068230 at Sep-05-2023 05:35:59 AM +UTC
Transaction Fee:
0.002154436003375591 ETH
$5.47
Gas Used:
185,659 Gas / 11.604263749 Gwei
Emitted Events:
182 |
WETH9.Deposit( dst=[Receiver] UniversalRouter, wad=405347254654486 )
|
183 |
WETH9.Transfer( src=[Receiver] UniversalRouter, dst=UniswapV2Pair, wad=403365257249292 )
|
184 |
XGPT.Transfer( from=UniswapV2Pair, to=XGPT, value=30000000000000062 )
|
185 |
XGPT.Transfer( from=UniswapV2Pair, to=[Sender] 0xa1164816742a17ab165f5b6d2502be25f06861a1, value=970000000000002011 )
|
186 |
UniswapV2Pair.Sync( reserve0=23311521520477831268796, reserve1=9375252066612237009 )
|
187 |
UniswapV2Pair.Swap( sender=[Receiver] UniversalRouter, amount0In=0, amount1In=403365257249292, amount0Out=1000000000000002073, amount1Out=0, to=[Sender] 0xa1164816742a17ab165f5b6d2502be25f06861a1 )
|
188 |
WETH9.Withdrawal( src=[Receiver] UniversalRouter, wad=1981997405194 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x2e95bD33...249a89cb7 | |||||
0x51FE05eA...e960BaF64 | |||||
0x690B9A9E...Db4FaC990
Miner
| (builder0x69) | 1.922150777992548577 Eth | 1.922169343892548577 Eth | 0.0000185659 | |
0xa1164816...5f06861A1 |
0.009183591868352792 Eth
Nonce: 3
|
0.006625790607727909 Eth
Nonce: 4
| 0.002557801260624883 | ||
0xC02aaA39...83C756Cc2 | 3,149,695.154835629059719315 Eth | 3,149,695.155238994316968607 Eth | 0.000403365257249292 |
Execution Trace
ETH 0.000405347254654486
UniversalRouter.execute( commands=0x0B090C, inputs=[AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAXCpQx/WFg==, AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAN4Lazp2QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABcKlDH9YWAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAwCqqObIj/o0KDlxPJ+rZCDx1bMIAAAAAAAAAAAAAAABR/gXqwVJJSQj/HrvVDhFulguvZA==, AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==], deadline=1693893935 )
- ETH 0.000405347254654486
WETH9.CALL( )
-
UniswapV2Pair.STATICCALL( )
-
WETH9.transfer( dst=0x2e95bD33C562eCe0335E7478ee0437a249a89cb7, wad=403365257249292 ) => ( True )
-
UniswapV2Pair.STATICCALL( )
-
WETH9.balanceOf( 0x2e95bD33C562eCe0335E7478ee0437a249a89cb7 ) => ( 9375252066612237009 )
UniswapV2Pair.swap( amount0Out=1000000000000002073, amount1Out=0, to=0xa1164816742a17AB165f5b6d2502bE25f06861A1, data=0x )
-
WETH9.balanceOf( 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 1981997405194 )
WETH9.withdraw( wad=1981997405194 )
- ETH 0.000001981997405194
UniversalRouter.CALL( )
- ETH 0.000001981997405194
- ETH 0.000001981997405194
0xa1164816742a17ab165f5b6d2502be25f06861a1.CALL( )
execute[UniversalRouter (ln:16)]
execute[UniversalRouter (ln:21)]
execute[UniversalRouter (ln:21)]
File 1 of 4: UniversalRouter
File 2 of 4: WETH9
File 3 of 4: UniswapV2Pair
File 4 of 4: XGPT
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 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 3 of 4: 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 4: XGPT
12345678910111213141516// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)pragma solidity ^0.8.0;import "../utils/Context.sol";/*** @dev Contract module which provides a basic access control mechanism, where* there is an account (an owner) that can be granted exclusive access to* specific functions.** By default, the owner account will be the one that deploys the contract. This* can later be changed with {transferOwnership}.** This module is used through inheritance. It will make available the modifier* `onlyOwner`, which can be applied to your functions to restrict their use to* the owner.*/