Transaction Hash:
Block:
20614937 at Aug-26-2024 07:44:35 PM +UTC
Transaction Fee:
0.000203482166034 ETH
$0.61
Gas Used:
159,600 Gas / 1.274950915 Gwei
Emitted Events:
217 |
WETH9.Deposit( dst=[Receiver] UniversalRouter, wad=1000000000000000 )
|
218 |
WETH9.Transfer( src=[Receiver] UniversalRouter, dst=UniswapV2Pair, wad=1000000000000000 )
|
219 |
Tonken.Transfer( from=UniswapV2Pair, to=[Sender] 0x2cd89badcb8c65a76c66379f62d3cdfd2b353937, value=199360247566635 )
|
220 |
UniswapV2Pair.Sync( reserve0=999800639752433365, reserve1=5001000000000000000 )
|
221 |
UniswapV2Pair.Swap( sender=[Receiver] UniversalRouter, amount0In=0, amount1In=1000000000000000, amount0Out=199360247566635, amount1Out=0, to=[Sender] 0x2cd89badcb8c65a76c66379f62d3cdfd2b353937 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x1A293465...af1302150 | |||||
0x2CD89BAd...d2B353937 |
0.079104942188603013 Eth
Nonce: 250
|
0.077901460022569013 Eth
Nonce: 251
| 0.001203482166034 | ||
0x560a0123...92948Bed1 | |||||
0x95222290...5CC4BAfe5
Miner
| (beaverbuild) | 10.872816720707074816 Eth | 10.872842223891399616 Eth | 0.0000255031843248 | |
0xC02aaA39...83C756Cc2 | 2,914,254.514100280085926962 Eth | 2,914,254.515100280085926962 Eth | 0.001 |
Execution Trace
ETH 0.001
UniversalRouter.execute( commands=0x0B08, inputs=[AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA41+pMaAAA==, AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA41+pMaAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAwCqqObIj/o0KDlxPJ+rZCDx1bMIAAAAAAAAAAAAAAAAaKTRlV4xgzEqUcX6jr6xa8TAhUA==], deadline=2576980377 )
- ETH 0.001
WETH9.CALL( )
-
WETH9.transfer( dst=0x560a0123A042D62B34eCcCB4C9eB06392948Bed1, wad=1000000000000000 ) => ( True )
-
Tonken.balanceOf( account=0x2CD89BAdcB8C65a76c66379F62d3CDFd2B353937 ) => ( 0 )
-
UniswapV2Pair.STATICCALL( )
-
WETH9.balanceOf( 0x560a0123A042D62B34eCcCB4C9eB06392948Bed1 ) => ( 5001000000000000000 )
UniswapV2Pair.swap( amount0Out=199360247566635, amount1Out=0, to=0x2CD89BAdcB8C65a76c66379F62d3CDFd2B353937, data=0x )
-
Tonken.balanceOf( account=0x2CD89BAdcB8C65a76c66379F62d3CDFd2B353937 ) => ( 199360247566635 )
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: Tonken
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: Tonken
12345678910111213141516// SPDX-License-Identifier: MITpragma solidity ^0.8.26;interface IERC20 {function totalSupply() external view returns (uint256);function balanceOf(address account) external view returns (uint256);function transfer(address recipient, uint256 amount)externalreturns (bool);function allowance(address owner, address spender)externalviewreturns (uint256);