Transaction Hash:
Block:
17706931 at Jul-16-2023 04:06:59 PM +UTC
Transaction Fee:
0.003985007560796539 ETH
$14.53
Gas Used:
193,673 Gas / 20.575958243 Gwei
Emitted Events:
427 |
Permit2.Permit( owner=[Sender] 0x29e1490c092720ee146ed95554b7b840bb19a063, token=QUACK, spender=[Receiver] UniversalRouter, amount=1461501637330902918203684832716283019655932542975, expiration=1692115495, nonce=0 )
|
428 |
QUACK.Transfer( from=[Sender] 0x29e1490c092720ee146ed95554b7b840bb19a063, to=QUACK, value=12476046946432774796443 )
|
429 |
QUACK.Transfer( from=[Sender] 0x29e1490c092720ee146ed95554b7b840bb19a063, to=UniswapV2Pair, value=1235128647696844704847897 )
|
430 |
QUACK.Approval( owner=[Sender] 0x29e1490c092720ee146ed95554b7b840bb19a063, spender=Permit2, value=0 )
|
431 |
WETH9.Transfer( src=UniswapV2Pair, dst=[Receiver] UniversalRouter, wad=12259080484268019 )
|
432 |
UniswapV2Pair.Sync( reserve0=4024049301893255000, reserve1=405450430370727120903559965 )
|
433 |
UniswapV2Pair.Swap( sender=[Receiver] UniversalRouter, amount0In=0, amount1In=1235128647696844704847897, amount0Out=12259080484268019, amount1Out=0, to=[Receiver] UniversalRouter )
|
434 |
WETH9.Withdrawal( src=[Receiver] UniversalRouter, wad=12259080484268019 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x00000000...43aC78BA3 | (Uniswap Protocol: Permit2) | ||||
0x29E1490c...0BB19A063 |
0.175702164196367105 Eth
Nonce: 37
|
0.183976237119838585 Eth
Nonce: 38
| 0.00827407292347148 | ||
0x690B9A9E...Db4FaC990
Miner
| (builder0x69) | 1.387526418052848242 Eth | 1.387545785352848242 Eth | 0.0000193673 | |
0xC02aaA39...83C756Cc2 | 3,422,337.147129949976579217 Eth | 3,422,337.134870869492311198 Eth | 0.012259080484268019 | ||
0xC3E98150...B4be5A1c8 | |||||
0xf4FB9c16...1648c5A26 |
Execution Trace
UniversalRouter.execute( commands=0x0A080C, inputs=[AAAAAAAAAAAAAAAA9PucFr933ycEZ6wTH9j9wWSMWiYAAAAAAAAAAAAAAAD//////////////////////////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABk26InAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/yRo6/XA5XNSWxkfVpsydSyt/rQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABktBwvAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQW8K4a6TJXj0p4Z252hnxYxwraJFTvo95dcsHSrBvfdQJ2ZLg7c40h6rA+XUzU1jswCyEjRcnWJ4ZaqGslT+vcgbAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==, AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAABCDDJOGUXxRmMtAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAp5ZEaySMbAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAA9PucFr933ycEZ6wTH9j9wWSMWiYAAAAAAAAAAAAAAADAKqo5siP+jQoOXE8n6tkIPHVswg==, AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKeWRGskjGw==], deadline=1689525395 )
Permit2.permit( owner=0x29E1490c092720EE146Ed95554b7B840BB19A063, permitSingle=[{name:details, type:tuple, order:1, indexed:false, value:[{name:token, type:address, order:1, indexed:false, value:0xf4FB9c16bF77dF270467Ac131fD8fDC1648c5A26, valueString:0xf4FB9c16bF77dF270467Ac131fD8fDC1648c5A26}, {name:amount, type:uint160, order:2, indexed:false, value:1461501637330902918203684832716283019655932542975, valueString:1461501637330902918203684832716283019655932542975}, {name:expiration, type:uint48, order:3, indexed:false, value:1692115495, valueString:1692115495}, {name:nonce, type:uint48, order:4, indexed:false, value:0, valueString:0}], valueString:[{name:token, type:address, order:1, indexed:false, value:0xf4FB9c16bF77dF270467Ac131fD8fDC1648c5A26, valueString:0xf4FB9c16bF77dF270467Ac131fD8fDC1648c5A26}, {name:amount, type:uint160, order:2, indexed:false, value:1461501637330902918203684832716283019655932542975, valueString:1461501637330902918203684832716283019655932542975}, {name:expiration, type:uint48, order:3, indexed:false, value:1692115495, valueString:1692115495}, {name:nonce, type:uint48, order:4, indexed:false, value:0, valueString:0}]}, {name:spender, type:address, order:2, indexed:false, value:0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD, valueString:0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD}, {name:sigDeadline, type:uint256, order:3, indexed:false, value:1689525295, valueString:1689525295}], signature=0x6F0AE1AE932578F4A78676E76867C58C70ADA2454EFA3DE5D72C1D2AC1BDF75027664B83B738D21EAB03E5D4CD4D63B300B212345C9D627865AA86B254FEBDC81B )
-
Null: 0x000...001.8cb666cb( )
-
Permit2.transferFrom( from=0x29E1490c092720EE146Ed95554b7B840BB19A063, to=0xC3E9815041D75DBd707Dd9BdBb3cD77B4be5A1c8, amount=1247604694643277479644340, token=0xf4FB9c16bF77dF270467Ac131fD8fDC1648c5A26 )
-
QUACK.transferFrom( sender=0x29E1490c092720EE146Ed95554b7B840BB19A063, recipient=0xC3E9815041D75DBd707Dd9BdBb3cD77B4be5A1c8, amount=1247604694643277479644340 ) => ( True )
-
-
WETH9.balanceOf( 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 0 )
-
UniswapV2Pair.STATICCALL( )
-
QUACK.balanceOf( account=0xC3E9815041D75DBd707Dd9BdBb3cD77B4be5A1c8 ) => ( 405450430370727120903559965 )
UniswapV2Pair.swap( amount0Out=12259080484268019, amount1Out=0, to=0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD, data=0x )
-
WETH9.balanceOf( 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 12259080484268019 )
-
WETH9.balanceOf( 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 12259080484268019 )
WETH9.withdraw( wad=12259080484268019 )
- ETH 0.012259080484268019
UniversalRouter.CALL( )
- ETH 0.012259080484268019
- ETH 0.012259080484268019
0x29e1490c092720ee146ed95554b7b840bb19a063.CALL( )
execute[UniversalRouter (ln:16)]
execute[UniversalRouter (ln:21)]
execute[UniversalRouter (ln:21)]
File 1 of 5: UniversalRouter
File 2 of 5: Permit2
File 3 of 5: QUACK
File 4 of 5: UniswapV2Pair
File 5 of 5: WETH9
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: 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: QUACK
12345678910111213141516// SPDX-License-Identifier: MITpragma solidity =0.8.10 >=0.8.10 >=0.8.0 <0.9.0;pragma experimental ABIEncoderV2;abstract contract Context {function _msgSender() internal view virtual returns (address) {return msg.sender;}function _msgData() internal view virtual returns (bytes calldata) {return msg.data;}}
File 4 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 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;