Transaction Hash:
Block:
17299391 at May-20-2023 08:16:11 AM +UTC
Transaction Fee:
0.005097132198771372 ETH
$12.91
Gas Used:
170,334 Gas / 29.924338058 Gwei
Emitted Events:
279 |
Permit2.Permit( owner=[Sender] 0x03a3a1700400c4f6b4d143b2e4ec8bbdf8dae38c, token=Token, spender=[Receiver] UniversalRouter, amount=1461501637330902918203684832716283019655932542975, expiration=1687162539, nonce=0 )
|
280 |
WETH9.Transfer( src=0x5696C2c2FcB7e304A5B9fAaEc9cd37d369C9D067, dst=[Receiver] UniversalRouter, wad=27364561634209185 )
|
281 |
Token.Transfer( from=[Sender] 0x03a3a1700400c4f6b4d143b2e4ec8bbdf8dae38c, to=0x5696C2c2FcB7e304A5B9fAaEc9cd37d369C9D067, value=1186900000000000000 )
|
282 |
Token.Approval( owner=[Sender] 0x03a3a1700400c4f6b4d143b2e4ec8bbdf8dae38c, spender=Permit2, value=115792089237316195423570985008687907853269984665640564039456397107913129639935 )
|
283 |
0x5696c2c2fcb7e304a5b9faaec9cd37d369c9d067.0xc42079f94a6350d7e6235f29174924f928cc2ac818eb64fed8004e115fbcca67( 0xc42079f94a6350d7e6235f29174924f928cc2ac818eb64fed8004e115fbcca67, 0x000000000000000000000000ef1c6e67703c7bd7107eed8303fbe6ec2554bf6b, 0x000000000000000000000000ef1c6e67703c7bd7107eed8303fbe6ec2554bf6b, 0000000000000000000000000000000000000000000000001078b742f3e94000, ffffffffffffffffffffffffffffffffffffffffffffffffff9ec813805bd25f, 0000000000000000000000000000000000000000270a4cff50c1aad941565c5d, 0000000000000000000000000000000000000000000000071ad1736a712eba86, ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6d12 )
|
284 |
WETH9.Withdrawal( src=[Receiver] UniversalRouter, wad=27364561634209185 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x00000000...43aC78BA3 | (Uniswap Protocol: Permit2) | ||||
0x03a3a170...dF8DAe38C |
0.104834553821297093 Eth
Nonce: 21
|
0.127101983256734906 Eth
Nonce: 22
| 0.022267429435437813 | ||
0x19062190...2976EF8Cb | |||||
0x5696C2c2...369C9D067 | (Uniswap V3: BZZ 2) | ||||
0x95222290...5CC4BAfe5
Miner
| (beaverbuild) | 10.167883554649014193 Eth | 10.167954754261014193 Eth | 0.000071199612 | |
0xC02aaA39...83C756Cc2 | 3,512,251.457157553218692781 Eth | 3,512,251.429792991584483596 Eth | 0.027364561634209185 |
Execution Trace
UniversalRouter.execute( commands=0x0A000C, inputs=[AAAAAAAAAAAAAAAAGQYhkLGSW1tmidcHP9/Iwpdu+MsAAAAAAAAAAAAAAAD//////////////////////////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABkkA6rAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADvHG5ncDx71xB+7YMD++bsJVS/awAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABkaIizAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQa8HfIjp1cyTjtFJZRyzELzu2RVMbKV9cPhyii0QGpLbbo1AV+KeO3wnjHEAuqvQNpaxa8rcqDtSRP0oPcEpHFsbAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==, AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQeLdC8+lAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABderIr9nqkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArGQYhkLGSW1tmidcHP9/Iwpdu+MsAJxDAKqo5siP+jQoOXE8n6tkIPHVswgAAAAAAAAAAAAAAAAAAAAAAAAAAAA==, AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAXXqyK/Z6pA==], deadline=1684572347 )
Permit2.permit( owner=0x03a3a1700400C4F6B4d143b2E4EC8bBdF8DAe38C, permitSingle=[{name:details, type:tuple, order:1, indexed:false, value:[{name:token, type:address, order:1, indexed:false, value:0x19062190B1925b5b6689D7073fDfC8c2976EF8Cb, valueString:0x19062190B1925b5b6689D7073fDfC8c2976EF8Cb}, {name:amount, type:uint160, order:2, indexed:false, value:1461501637330902918203684832716283019655932542975, valueString:1461501637330902918203684832716283019655932542975}, {name:expiration, type:uint48, order:3, indexed:false, value:1687162539, valueString:1687162539}, {name:nonce, type:uint48, order:4, indexed:false, value:0, valueString:0}], valueString:[{name:token, type:address, order:1, indexed:false, value:0x19062190B1925b5b6689D7073fDfC8c2976EF8Cb, valueString:0x19062190B1925b5b6689D7073fDfC8c2976EF8Cb}, {name:amount, type:uint160, order:2, indexed:false, value:1461501637330902918203684832716283019655932542975, valueString:1461501637330902918203684832716283019655932542975}, {name:expiration, type:uint48, order:3, indexed:false, value:1687162539, valueString:1687162539}, {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:1684572339, valueString:1684572339}], signature=0xAF077C88E9D5CC938ED149651CB310BCEED9154C6CA57D70F8728A2D101A92DB6E8D4057E29E3B7C278C7100BAABD03696B16BCADCA83B5244FD283DC1291C5B1B )
-
Null: 0x000...001.2b15a96f( )
-
Uniswap V3: BZZ 2.128acb08( )
-
WETH9.transfer( dst=0xEf1c6E67703c7BD7107eed8303Fbe6EC2554BF6B, wad=27364561634209185 ) => ( True )
-
Token.balanceOf( account=0x5696C2c2FcB7e304A5B9fAaEc9cd37d369C9D067 ) => ( 461339619912815651331 )
UniversalRouter.uniswapV3SwapCallback( amount0Delta=1186900000000000000, amount1Delta=-27364561634209185, data=0x000000000000000000000000000000000000000000000000000000000000004000000000000000000000000003A3A1700400C4F6B4D143B2E4EC8BBDF8DAE38C000000000000000000000000000000000000000000000000000000000000002B19062190B1925B5B6689D7073FDFC8C2976EF8CB002710C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2000000000000000000000000000000000000000000 )
Permit2.transferFrom( from=0x03a3a1700400C4F6B4d143b2E4EC8bBdF8DAe38C, to=0x5696C2c2FcB7e304A5B9fAaEc9cd37d369C9D067, amount=1186900000000000000, token=0x19062190B1925b5b6689D7073fDfC8c2976EF8Cb )
-
Token.transferFrom( sender=0x03a3a1700400C4F6B4d143b2E4EC8bBdF8DAe38C, recipient=0x5696C2c2FcB7e304A5B9fAaEc9cd37d369C9D067, amount=1186900000000000000 ) => ( True )
-
-
Token.balanceOf( account=0x5696C2c2FcB7e304A5B9fAaEc9cd37d369C9D067 ) => ( 462526519912815651331 )
-
-
WETH9.balanceOf( 0xEf1c6E67703c7BD7107eed8303Fbe6EC2554BF6B ) => ( 27364561634209185 )
WETH9.withdraw( wad=27364561634209185 )
- ETH 0.027364561634209185
UniversalRouter.CALL( )
- ETH 0.027364561634209185
- ETH 0.027364561634209185
0x03a3a1700400c4f6b4d143b2e4ec8bbdf8dae38c.CALL( )
File 1 of 4: UniversalRouter
File 2 of 4: Permit2
File 3 of 4: WETH9
File 4 of 4: Token
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: 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 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 4 of 4: Token
12345678910111213141516pragma solidity 0.5.0;// FLAT - OpenZeppelin Smart Contracts/*** @notice Below is all the required smart contracts from the OpenZeppelin* library needed for the Token contract. This is the inheritance* tree of the token:** Token* |--ERC20Detailed* | |--IERC20* |--ERC20Capped* | |--ERC20Mintable* | |--MinterRoll* | | |--Context* | | |--Roles