Transaction Hash:
Block:
19170839 at Feb-06-2024 06:00:47 PM +UTC
Transaction Fee:
0.009093896298831438 ETH
$23.03
Gas Used:
166,591 Gas / 54.588160818 Gwei
Emitted Events:
0 |
Permit2.Permit( owner=[Sender] 0xfd750ec391e7518991a32549a6122905dd989c09, token=ERC20, spender=[Receiver] UniversalRouter, amount=1461501637330902918203684832716283019655932542975, expiration=1738864826, nonce=0 )
|
1 |
ERC20.Transfer( from=[Sender] 0xfd750ec391e7518991a32549a6122905dd989c09, to=UniswapV2Pair, value=32067175998879878487424 )
|
2 |
ERC20.Approval( owner=[Sender] 0xfd750ec391e7518991a32549a6122905dd989c09, spender=Permit2, value=1461501637330902918203684800649107020776054055551 )
|
3 |
WETH9.Transfer( src=UniswapV2Pair, dst=[Receiver] UniversalRouter, wad=201550010063241023 )
|
4 |
UniswapV2Pair.Sync( reserve0=5686815326974595663270311, reserve1=35648414400762649694 )
|
5 |
UniswapV2Pair.Swap( sender=[Receiver] UniversalRouter, amount0In=32067175998879878487424, amount1In=0, amount0Out=0, amount1Out=201550010063241023, to=[Receiver] UniversalRouter )
|
6 |
WETH9.Withdrawal( src=[Receiver] UniversalRouter, wad=201550010063241023 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x00000000...43aC78BA3 | (Uniswap Protocol: Permit2) | ||||
0x37ac54Dc...5fE158Be0 | |||||
0x5124fcC2...3F38f1C34
Miner
| (Faith Builder) | 18.049281225490447337 Eth | 18.049780998490447337 Eth | 0.000499773 | |
0x7BEF710a...C2D60D848 | |||||
0xC02aaA39...83C756Cc2 | 3,267,073.719304193173350742 Eth | 3,267,073.517754183110109719 Eth | 0.201550010063241023 | ||
0xfd750EC3...5Dd989C09 |
0.105395007788013468 Eth
Nonce: 1623
|
0.297851121552423053 Eth
Nonce: 1624
| 0.192456113764409585 |
Execution Trace
UniversalRouter.execute( commands=0x0A080C, inputs=[AAAAAAAAAAAAAAAAe+9xCldZ0ZfsC/Yhw9+ALC1g2EgAAAAAAAAAAAAAAAD//////////////////////////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABnpPi6AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADvHG5ncDx71xB+7YMD++bsJVS/awAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABnpPi6AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQakSQKiRAsZtZp5Z6uJzukK+AwvYAhck5cZ8RY3P9JaBRS46bUbx+UXN85hiRBhGTtXgklDyeV7JYjpZMFqc9v0bAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==, AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAABspdds/NHzIdgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFmBlVJJd+fAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAe+9xCldZ0ZfsC/Yhw9+ALC1g2EgAAAAAAAAAAAAAAADAKqo5siP+jQoOXE8n6tkIPHVswg==, AAAAAAAAAAAAAAAA/XUOw5HnUYmRoyVJphIpBd2YnAkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABYnHKMWBf8Q==], deadline=1707242485 )
Permit2.permit( owner=0xfd750EC391e7518991A32549a6122905Dd989C09, permitSingle=[{name:details, type:tuple, order:1, indexed:false, value:[{name:token, type:address, order:1, indexed:false, value:0x7BEF710a5759d197EC0Bf621c3Df802C2D60D848, valueString:0x7BEF710a5759d197EC0Bf621c3Df802C2D60D848}, {name:amount, type:uint160, order:2, indexed:false, value:1461501637330902918203684832716283019655932542975, valueString:1461501637330902918203684832716283019655932542975}, {name:expiration, type:uint48, order:3, indexed:false, value:1738864826, valueString:1738864826}, {name:nonce, type:uint48, order:4, indexed:false, value:0, valueString:0}], valueString:[{name:token, type:address, order:1, indexed:false, value:0x7BEF710a5759d197EC0Bf621c3Df802C2D60D848, valueString:0x7BEF710a5759d197EC0Bf621c3Df802C2D60D848}, {name:amount, type:uint160, order:2, indexed:false, value:1461501637330902918203684832716283019655932542975, valueString:1461501637330902918203684832716283019655932542975}, {name:expiration, type:uint48, order:3, indexed:false, value:1738864826, valueString:1738864826}, {name:nonce, type:uint48, order:4, indexed:false, value:0, valueString:0}]}, {name:spender, type:address, order:2, indexed:false, value:0xEf1c6E67703c7BD7107eed8303Fbe6EC2554BF6B, valueString:0xEf1c6E67703c7BD7107eed8303Fbe6EC2554BF6B}, {name:sigDeadline, type:uint256, order:3, indexed:false, value:1738864826, valueString:1738864826}], signature=0xA91240A89102C66D669E59EAE273BA42BE030BD8021724E5C67C458DCFF49681452E3A6D46F1F945CDF398624418464ED5E09250F2795EC9623A59305A9CF6FD1B )
-
Null: 0x000...001.7bf85f9c( )
-
Permit2.transferFrom( from=0xfd750EC391e7518991A32549a6122905Dd989C09, to=0x37ac54Dc7dD237eECFd0b61EFDd57B15fE158Be0, amount=32067175998879878487424, token=0x7BEF710a5759d197EC0Bf621c3Df802C2D60D848 )
-
ERC20.transferFrom( sender=0xfd750EC391e7518991A32549a6122905Dd989C09, recipient=0x37ac54Dc7dD237eECFd0b61EFDd57B15fE158Be0, amount=32067175998879878487424 ) => ( True )
-
-
WETH9.balanceOf( 0xEf1c6E67703c7BD7107eed8303Fbe6EC2554BF6B ) => ( 0 )
-
UniswapV2Pair.STATICCALL( )
-
ERC20.balanceOf( account=0x37ac54Dc7dD237eECFd0b61EFDd57B15fE158Be0 ) => ( 5686815326974595663270311 )
UniswapV2Pair.swap( amount0Out=0, amount1Out=201550010063241023, to=0xEf1c6E67703c7BD7107eed8303Fbe6EC2554BF6B, data=0x )
-
WETH9.balanceOf( 0xEf1c6E67703c7BD7107eed8303Fbe6EC2554BF6B ) => ( 201550010063241023 )
-
WETH9.balanceOf( 0xEf1c6E67703c7BD7107eed8303Fbe6EC2554BF6B ) => ( 201550010063241023 )
WETH9.withdraw( wad=201550010063241023 )
- ETH 0.201550010063241023
UniversalRouter.CALL( )
- ETH 0.201550010063241023
- ETH 0.201550010063241023
0xfd750ec391e7518991a32549a6122905dd989c09.CALL( )
File 1 of 5: UniversalRouter
File 2 of 5: Permit2
File 3 of 5: UniswapV2Pair
File 4 of 5: ERC20
File 5 of 5: WETH9
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 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;
File 3 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 4 of 5: ERC20
12345678910111213141516// SPDX-License-Identifier: MITpragma solidity 0.7.3;contract Owned {address public owner;address public pendingOwner;modifier onlyOwner {require(msg.sender == owner);_;}modifier onlyPendingOwner {require(msg.sender == pendingOwner);_;
File 5 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;