Transaction Hash:
Block:
17850451 at Aug-05-2023 06:06:59 PM +UTC
Transaction Fee:
0.002147955957144794 ETH
$7.75
Gas Used:
155,986 Gas / 13.770184229 Gwei
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x29E1490c...0BB19A063 |
0.412417702420833601 Eth
Nonce: 142
|
0.410269746463688807 Eth
Nonce: 143
| 0.002147955957144794 | ||
0xDAFEA492...692c98Bc5
Miner
| (Flashbots: Builder) | 0.032772435486652605 Eth | 0.032788034086652605 Eth | 0.0000155986 |
Execution Trace
ETH 0.05
UniversalRouter.execute( commands=0x0B08, inputs=[AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAsaK8LsUAAA==, AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAsaK8LsUAAAAAAAAAAAAAAAAAAAAAAAAAAAAABTmQz55dmPelNyFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAwCqqObIj/o0KDlxPJ+rZCDx1bMIAAAAAAAAAAAAAAAD1Q478GKO7JNCC+TPbNcWpELr35w==], deadline=1691260595 )
- ETH 0.05
WETH9.CALL( )
-
WETH9.transfer( dst=0x50EbcB98C3894656C838E02F8e556F5A8b88fFDf, wad=50000000000000000 ) => ( True )
-
GGGToken.balanceOf( account=0x29E1490c092720EE146Ed95554b7B840BB19A063 ) => ( 0 )
-
UniswapV2Pair.STATICCALL( )
-
WETH9.balanceOf( 0x50EbcB98C3894656C838E02F8e556F5A8b88fFDf ) => ( 1884338848087310335 )
UniswapV2Pair.swap( amount0Out=0, amount1Out=1445231379262855550420859582, to=0x29E1490c092720EE146Ed95554b7B840BB19A063, data=0x )
-
GGGToken.transfer( recipient=0x29E1490c092720EE146Ed95554b7B840BB19A063, amount=1445231379262855550420859582 ) => ( True )
-
WETH9.balanceOf( 0x50EbcB98C3894656C838E02F8e556F5A8b88fFDf ) => ( 1884338848087310335 )
-
GGGToken.balanceOf( account=0x50EbcB98C3894656C838E02F8e556F5A8b88fFDf ) => ( 53180422536743453870117501562 )
-
-
GGGToken.balanceOf( account=0x29E1490c092720EE146Ed95554b7B840BB19A063 ) => ( 1430779065470226994916650987 )
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: GGGToken
File 4 of 4: UniswapV2Pair
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: GGGToken
12345678910111213141516// SPDX-License-Identifier: MITpragma solidity =0.8.6;// CAUTION// This version of SafeMath should only be used with Solidity 0.8 or later,// because it relies on the compiler's built in overflow checks./*** @dev Wrappers over Solidity's arithmetic operations.** NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler* now has built in overflow checking.*/library SafeMath {/**
File 4 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);