Transaction Hash:
Block:
19606430 at Apr-07-2024 09:16:23 PM +UTC
Transaction Fee:
0.002310269807733321 ETH
$5.86
Gas Used:
156,621 Gas / 14.750702701 Gwei
Emitted Events:
343 |
Permit2.Permit( owner=[Sender] 0xa482e9e0dda3d46c97b4ced5ac3312a17e3a020f, token=GagaPepe, spender=[Receiver] UniversalRouter, amount=1461501637330902918203684832716283019655932542975, expiration=1715116527, nonce=0 )
|
344 |
GagaPepe.Transfer( from=[Sender] 0xa482e9e0dda3d46c97b4ced5ac3312a17e3a020f, to=UniswapV2Pair, value=184157954702212605630556204271 )
|
345 |
WETH9.Transfer( src=UniswapV2Pair, dst=[Sender] 0xa482e9e0dda3d46c97b4ced5ac3312a17e3a020f, wad=538309002568341553 )
|
346 |
UniswapV2Pair.Sync( reserve0=13743667579650786446113740196556, reserve1=39754837754314996919 )
|
347 |
UniswapV2Pair.Swap( sender=[Receiver] UniversalRouter, amount0In=184157954702212605630556204271, amount1In=0, amount0Out=0, amount1Out=538309002568341553, to=[Sender] 0xa482e9e0dda3d46c97b4ced5ac3312a17e3a020f )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x00000000...43aC78BA3 | (Uniswap Protocol: Permit2) | ||||
0x205eca96...33B53B0C7 | |||||
0x95222290...5CC4BAfe5
Miner
| (beaverbuild) | 7.822681938745839341 Eth | 7.822688663535043283 Eth | 0.000006724789203942 | |
0xa482E9e0...17e3A020F |
0.008776590818580892 Eth
Nonce: 8
|
0.006466321010847571 Eth
Nonce: 9
| 0.002310269807733321 | ||
0xB29Dc170...644C6dCA9 | |||||
0xC02aaA39...83C756Cc2 |
Execution Trace
UniversalRouter.execute( commands=0x0A08, inputs=[AAAAAAAAAAAAAAAAsp3BcD+s0pZ7uK3i45I4VkTG3KkAAAAAAAAAAAAAAAD//////////////////////////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABmOpnvAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/yRo6/XA5XNSWxkfVpsydSyt/rQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABmExP3AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQYOeaKQu/LJnAWqGXzAAud1T6gd3MHyZcPxRGfyP/dQ3IHftLDQBd5ziKOjWJCDns2+obotfucl0vqztK9jJD+YcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==, AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAlML48huacE48ATs7wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAd2jBXuRD4EAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAsp3BcD+s0pZ7uK3i45I4VkTG3KkAAAAAAAAAAAAAAADAKqo5siP+jQoOXE8n6tkIPHVswg==], deadline=1712524607 )
Permit2.permit( owner=0xa482E9e0dDa3d46C97B4ceD5AC3312A17e3A020F, permitSingle=[{name:details, type:tuple, order:1, indexed:false, value:[{name:token, type:address, order:1, indexed:false, value:0xB29Dc1703fAcd2967BB8AdE2E392385644C6dCA9, valueString:0xB29Dc1703fAcd2967BB8AdE2E392385644C6dCA9}, {name:amount, type:uint160, order:2, indexed:false, value:1461501637330902918203684832716283019655932542975, valueString:1461501637330902918203684832716283019655932542975}, {name:expiration, type:uint48, order:3, indexed:false, value:1715116527, valueString:1715116527}, {name:nonce, type:uint48, order:4, indexed:false, value:0, valueString:0}], valueString:[{name:token, type:address, order:1, indexed:false, value:0xB29Dc1703fAcd2967BB8AdE2E392385644C6dCA9, valueString:0xB29Dc1703fAcd2967BB8AdE2E392385644C6dCA9}, {name:amount, type:uint160, order:2, indexed:false, value:1461501637330902918203684832716283019655932542975, valueString:1461501637330902918203684832716283019655932542975}, {name:expiration, type:uint48, order:3, indexed:false, value:1715116527, valueString:1715116527}, {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:1712526327, valueString:1712526327}], signature=0x839E68A42EFCB267016A865F3000B9DD53EA0777307C9970FC5119FC8FFDD4372077ED2C3401779CE228E8D62420E7B36FA86E8B5FB9C974BEACED2BD8C90FE61C )
-
Null: 0x000...001.d60c5833( )
-
Permit2.transferFrom( from=0xa482E9e0dDa3d46C97B4ceD5AC3312A17e3A020F, to=0x205eca9671Aa698aA7C0D0aF1cF6a2633B53B0C7, amount=184157954702212605630556204271, token=0xB29Dc1703fAcd2967BB8AdE2E392385644C6dCA9 )
-
GagaPepe.transferFrom( from=0xa482E9e0dDa3d46C97B4ceD5AC3312A17e3A020F, to=0x205eca9671Aa698aA7C0D0aF1cF6a2633B53B0C7, amount=184157954702212605630556204271 ) => ( True )
-
-
WETH9.balanceOf( 0xa482E9e0dDa3d46C97B4ceD5AC3312A17e3A020F ) => ( 0 )
-
UniswapV2Pair.STATICCALL( )
-
GagaPepe.balanceOf( account=0x205eca9671Aa698aA7C0D0aF1cF6a2633B53B0C7 ) => ( 13743667579650786446113740196556 )
UniswapV2Pair.swap( amount0Out=0, amount1Out=538309002568341553, to=0xa482E9e0dDa3d46C97B4ceD5AC3312A17e3A020F, data=0x )
-
WETH9.transfer( dst=0xa482E9e0dDa3d46C97B4ceD5AC3312A17e3A020F, wad=538309002568341553 ) => ( True )
-
GagaPepe.balanceOf( account=0x205eca9671Aa698aA7C0D0aF1cF6a2633B53B0C7 ) => ( 13743667579650786446113740196556 )
-
WETH9.balanceOf( 0x205eca9671Aa698aA7C0D0aF1cF6a2633B53B0C7 ) => ( 39754837754314996919 )
-
-
WETH9.balanceOf( 0xa482E9e0dDa3d46C97B4ceD5AC3312A17e3A020F ) => ( 538309002568341553 )
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: UniswapV2Pair
File 4 of 5: GagaPepe
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: 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: GagaPepe
12345678910111213141516// SPDX-License-Identifier: MIT// File: @openzeppelin/contracts@4.9.2/utils/Counters.sol// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)pragma solidity ^0.8.0;/*** @title Counters* @author Matt Condon (@shrugs)* @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number* of elements in a mapping, issuing ERC721 ids, or counting request ids.** Include with `using Counters for Counters.Counter;`*/
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;