Transaction Hash:
Block:
17215842 at May-08-2023 12:41:59 PM +UTC
Transaction Fee:
0.013664065051888354 ETH
$48.07
Gas Used:
148,037 Gas / 92.301688442 Gwei
Emitted Events:
314 |
WETH9.Deposit( dst=[Receiver] UniversalRouter, wad=120000000000000000 )
|
315 |
WETH9.Transfer( src=[Receiver] UniversalRouter, dst=[Receiver] UniversalRouter, wad=120000000000000000 )
|
316 |
WETH9.Transfer( src=[Receiver] UniversalRouter, dst=UniswapV2Pair, wad=120000000000000000 )
|
317 |
Smudge.Transfer( from=UniswapV2Pair, to=[Sender] 0xaa2b4a88424dbda9b4c45995dfb47a2403ab2b5c, value=119169765609631273466155065531 )
|
318 |
UniswapV2Pair.Sync( reserve0=78126971214867118211743700353650, reserve1=78555254012040035783 )
|
319 |
UniswapV2Pair.Swap( sender=[Receiver] UniversalRouter, amount0In=0, amount1In=120000000000000000, amount0Out=119169765609631273466155065531, amount1Out=0, to=[Sender] 0xaa2b4a88424dbda9b4c45995dfb47a2403ab2b5c )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x1f9090aa...8e676c326
Miner
| 6.549151563058812344 Eth | 6.549165034425812344 Eth | 0.000013471367 | ||
0x516e2758...a7b0bDb43 | |||||
0x91A0bAC9...71304b5c5 | |||||
0xAA2B4a88...403ab2B5C |
0.147281780109726927 Eth
Nonce: 70
|
0.013617715057838573 Eth
Nonce: 71
| 0.133664065051888354 | ||
0xC02aaA39...83C756Cc2 | 3,578,750.170386983768476193 Eth | 3,578,750.290386983768476193 Eth | 0.12 |
Execution Trace
ETH 0.12
UniversalRouter.execute( commands=0x0B08, inputs=[AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABqlNdPQwAAA==, AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABqlNdPQwAAAAAAAAAAAAAAAAAAAAAAAAAAAABXg2QOXrFOEwLMrUHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAwCqqObIj/o0KDlxPJ+rZCDx1bMIAAAAAAAAAAAAAAABRbidYsERDM3EHakgSe4z6ewvbQw==], deadline=1683551495 )
- ETH 0.12
WETH9.CALL( )
-
WETH9.transfer( dst=0xEf1c6E67703c7BD7107eed8303Fbe6EC2554BF6B, wad=120000000000000000 ) => ( True )
-
WETH9.transfer( dst=0x91A0bAC9575073B35Adaa7C9b09921D71304b5c5, wad=120000000000000000 ) => ( True )
-
Smudge.balanceOf( account=0xAA2B4a88424dbDa9B4c45995dFb47A2403ab2B5C ) => ( 0 )
-
UniswapV2Pair.STATICCALL( )
-
WETH9.balanceOf( 0x91A0bAC9575073B35Adaa7C9b09921D71304b5c5 ) => ( 78555254012040035783 )
UniswapV2Pair.swap( amount0Out=119169765609631273466155065531, amount1Out=0, to=0xAA2B4a88424dbDa9B4c45995dFb47A2403ab2B5C, data=0x )
-
Smudge.transfer( recipient=0xAA2B4a88424dbDa9B4c45995dFb47A2403ab2B5C, amount=119169765609631273466155065531 ) => ( True )
-
Smudge.balanceOf( account=0x91A0bAC9575073B35Adaa7C9b09921D71304b5c5 ) => ( 78126971214867118211743700353650 )
-
WETH9.balanceOf( 0x91A0bAC9575073B35Adaa7C9b09921D71304b5c5 ) => ( 78555254012040035783 )
-
-
Smudge.balanceOf( account=0xAA2B4a88424dbDa9B4c45995dFb47A2403ab2B5C ) => ( 119169765609631273466155065531 )
File 1 of 4: UniversalRouter
File 2 of 4: WETH9
File 3 of 4: UniswapV2Pair
File 4 of 4: Smudge
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 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: Smudge
12345678910111213141516// Sources flattened with hardhat v2.7.0 https://hardhat.org// File @openzeppelin/contracts/utils/Context.sol@v4.4.0// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.0 (utils/Context.sol)pragma solidity ^0.8.0;/*** @dev Provides information about the current execution context, including the* sender of the transaction and its data. While these are generally available* via msg.sender and msg.data, they should not be accessed in such a direct* manner, since when dealing with meta-transactions the account sending and* paying for execution may not be the actual sender (as far as an application* is concerned).