Transaction Hash:
Block:
18410391 at Oct-23-2023 03:46:11 AM +UTC
Transaction Fee:
0.001210626661874352 ETH
$3.05
Gas Used:
127,236 Gas / 9.514812332 Gwei
Emitted Events:
353 |
StarLink.Transfer( from=[Sender] 0xe0503e158ae3e23b9ecd9cade437eb607104ba71, to=UniswapV2Pair, value=3087866000000000000000000 )
|
354 |
StarLink.Approval( owner=[Sender] 0xe0503e158ae3e23b9ecd9cade437eb607104ba71, spender=Permit2, value=115792089237316195423570985008687907853269984665640558451590639599850551521492 )
|
355 |
WETH9.Transfer( src=UniswapV2Pair, dst=[Receiver] UniversalRouter, wad=12261386356808451 )
|
356 |
UniswapV2Pair.Sync( reserve0=444038407876882449656306683638, reserve1=1768493590203633277489 )
|
357 |
UniswapV2Pair.Swap( sender=[Receiver] UniversalRouter, amount0In=3087866000000000000000000, amount1In=0, amount0Out=0, amount1Out=12261386356808451, to=[Receiver] UniversalRouter )
|
358 |
WETH9.Withdrawal( src=[Receiver] UniversalRouter, wad=12261386356808451 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x4838B106...B0BAD5f97
Miner
| (Titan Builder) | 17.066787924753595046 Eth | 17.066800648353595046 Eth | 0.0000127236 | |
0x8E6cd950...6B1AA6B24 | |||||
0xA5e9C917...6540d6B5E | |||||
0xC02aaA39...83C756Cc2 | 3,218,271.546753038331114279 Eth | 3,218,271.534491651974305828 Eth | 0.012261386356808451 | ||
0xe0503E15...07104ba71 |
0.053396042025833142 Eth
Nonce: 107
|
0.064446801720767241 Eth
Nonce: 108
| 0.011050759694934099 |
Execution Trace
UniversalRouter.execute( commands=0x080C, inputs=[AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAACjeGNIIDDy6gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAphlb4ysLFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAjmzZUK1rplH23WCNxw5YhrGqayQAAAAAAAAAAAAAAADAKqo5siP+jQoOXE8n6tkIPHVswg==, AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKYZW+MrCxQ==], deadline=1698033335 )
Permit2.transferFrom( from=0xe0503E158ae3e23b9ecd9cade437Eb607104ba71, to=0xA5e9C917b4B821e4E0A5bbeFce078Ab6540d6B5E, amount=3087866000000000000000000, token=0x8E6cd950Ad6ba651F6DD608Dc70e5886B1AA6B24 )
-
StarLink.transferFrom( sender=0xe0503E158ae3e23b9ecd9cade437Eb607104ba71, recipient=0xA5e9C917b4B821e4E0A5bbeFce078Ab6540d6B5E, amount=3087866000000000000000000 ) => ( True )
-
-
WETH9.balanceOf( 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 0 )
-
UniswapV2Pair.STATICCALL( )
-
StarLink.balanceOf( account=0xA5e9C917b4B821e4E0A5bbeFce078Ab6540d6B5E ) => ( 444038407876882449656306683638 )
UniswapV2Pair.swap( amount0Out=0, amount1Out=12261386356808451, to=0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD, data=0x )
-
WETH9.transfer( dst=0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD, wad=12261386356808451 ) => ( True )
-
StarLink.balanceOf( account=0xA5e9C917b4B821e4E0A5bbeFce078Ab6540d6B5E ) => ( 444038407876882449656306683638 )
-
WETH9.balanceOf( 0xA5e9C917b4B821e4E0A5bbeFce078Ab6540d6B5E ) => ( 1768493590203633277489 )
-
-
WETH9.balanceOf( 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 12261386356808451 )
-
WETH9.balanceOf( 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 12261386356808451 )
WETH9.withdraw( wad=12261386356808451 )
- ETH 0.012261386356808451
UniversalRouter.CALL( )
- ETH 0.012261386356808451
- ETH 0.012261386356808451
0xe0503e158ae3e23b9ecd9cade437eb607104ba71.CALL( )
execute[UniversalRouter (ln:16)]
execute[UniversalRouter (ln:21)]
execute[UniversalRouter (ln:21)]
File 1 of 5: UniversalRouter
File 2 of 5: UniswapV2Pair
File 3 of 5: StarLink
File 4 of 5: WETH9
File 5 of 5: Permit2
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 5: 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 3 of 5: StarLink
12345678910111213141516// SPDX-License-Identifier: MIT// File: @openzeppelin/contracts/token/ERC20/IERC20.solpragma solidity ^0.8.0;/*** @dev Interface of the ERC20 standard as defined in the EIP.*/interface IERC20 {/*** @dev Returns the amount of tokens in existence.*/function totalSupply() external view returns (uint256);
File 4 of 5: 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 5: 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;