Transaction Hash:
Block:
17988841 at Aug-25-2023 02:50:23 AM +UTC
Transaction Fee:
0.009702423656710524 ETH
$25.59
Gas Used:
239,868 Gas / 40.449012193 Gwei
Emitted Events:
294 |
Permit2.Permit( owner=[Sender] 0xdfbd404827813e2f597286d2824ac2eb7e09ab6e, token=PepeToken, spender=[Receiver] UniversalRouter, amount=1461501637330902918203684832716283019655932542975, expiration=1695523493, nonce=0 )
|
295 |
PepeToken.Transfer( from=[Sender] 0xdfbd404827813e2f597286d2824ac2eb7e09ab6e, to=UniswapV2Pair, value=1014219537133618500000000000 )
|
296 |
PepeToken.Approval( owner=[Sender] 0xdfbd404827813e2f597286d2824ac2eb7e09ab6e, spender=Permit2, value=115792089237316195423570985008687907853269984665639549819920450389413129639935 )
|
297 |
WETH9.Transfer( src=UniswapV2Pair, dst=UniswapV2Pair, wad=549788133543142859 )
|
298 |
UniswapV2Pair.Sync( reserve0=4402817498066109494020544862519, reserve1=2393309479409105131926 )
|
299 |
UniswapV2Pair.Swap( sender=[Receiver] UniversalRouter, amount0In=1014219537133618500000000000, amount1In=0, amount0Out=0, amount1Out=549788133543142859, to=UniswapV2Pair )
|
300 |
FiatTokenProxy.0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef( 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef, 0x000000000000000000000000b4e16d0168e52d35cacd2c6185b44281ec28c9dc, 0x000000000000000000000000dfbd404827813e2f597286d2824ac2eb7e09ab6e, 00000000000000000000000000000000000000000000000000000000365fe128 )
|
301 |
UniswapV2Pair.Sync( reserve0=28086470957015, reserve1=16876657435290526541166 )
|
302 |
UniswapV2Pair.Swap( sender=[Receiver] UniversalRouter, amount0In=0, amount1In=549788133543142859, amount0Out=912253224, amount1Out=0, to=[Sender] 0xdfbd404827813e2f597286d2824ac2eb7e09ab6e )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x00000000...43aC78BA3 | (Uniswap Protocol: Permit2) | ||||
0x1f9090aa...8e676c326
Miner
| 2.304150634566722614 Eth | 2.304174621366722614 Eth | 0.0000239868 | ||
0x69825081...3d2311933 | |||||
0xA0b86991...E3606eB48 | |||||
0xA43fe169...6C5cCEc9f | |||||
0xB4e16d01...1Ec28C9Dc | |||||
0xC02aaA39...83C756Cc2 | |||||
0xDfBd4048...B7E09ab6e |
0.828333611043505606 Eth
Nonce: 138
|
0.818631187386795082 Eth
Nonce: 139
| 0.009702423656710524 |
Execution Trace
UniversalRouter.execute( commands=0x0A08, inputs=[AAAAAAAAAAAAAAAAaYJQgUVFTOMl3b5Hol1Ow9IxGTMAAAAAAAAAAAAAAAD//////////////////////////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABlD6KlAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/yRo6/XA5XNSWxkfVpsydSyt/rQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABk6BytAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQa2GIzKXwHS3erKZDvA5hq0gf5nRsiVvWm2JSOOFfoYuWaorOxo4Oh38Y2xM+xwTWhojGfylyXQSNVrjYJHd+5IcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==, AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAANG8VdG4VGspY+oAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA2PVt2AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAAAAAAAAAAAAAAaYJQgUVFTOMl3b5Hol1Ow9IxGTMAAAAAAAAAAAAAAADAKqo5siP+jQoOXE8n6tkIPHVswgAAAAAAAAAAAAAAAKC4aZHGIYs2wdGdSi6esM42ButI], deadline=1692933383 )
Permit2.permit( owner=0xDfBd404827813E2F597286D2824ac2eB7E09ab6e, permitSingle=[{name:details, type:tuple, order:1, indexed:false, value:[{name:token, type:address, order:1, indexed:false, value:0x6982508145454Ce325dDbE47a25d4ec3d2311933, valueString:0x6982508145454Ce325dDbE47a25d4ec3d2311933}, {name:amount, type:uint160, order:2, indexed:false, value:1461501637330902918203684832716283019655932542975, valueString:1461501637330902918203684832716283019655932542975}, {name:expiration, type:uint48, order:3, indexed:false, value:1695523493, valueString:1695523493}, {name:nonce, type:uint48, order:4, indexed:false, value:0, valueString:0}], valueString:[{name:token, type:address, order:1, indexed:false, value:0x6982508145454Ce325dDbE47a25d4ec3d2311933, valueString:0x6982508145454Ce325dDbE47a25d4ec3d2311933}, {name:amount, type:uint160, order:2, indexed:false, value:1461501637330902918203684832716283019655932542975, valueString:1461501637330902918203684832716283019655932542975}, {name:expiration, type:uint48, order:3, indexed:false, value:1695523493, valueString:1695523493}, {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:1692933293, valueString:1692933293}], signature=0xAD86233297C074B77AB2990EF03986AD207F99D1B2256F5A6D8948E3857E862E59AA2B3B1A383A1DFC636C4CFB1C135A1A2319FCA5C97412355AE36091DDFB921C )
-
Null: 0x000...001.b689c72e( )
-
Permit2.transferFrom( from=0xDfBd404827813E2F597286D2824ac2eB7E09ab6e, to=0xA43fe16908251ee70EF74718545e4FE6C5cCEc9f, amount=1014219537133618500000000000, token=0x6982508145454Ce325dDbE47a25d4ec3d2311933 )
-
PepeToken.transferFrom( sender=0xDfBd404827813E2F597286D2824ac2eB7E09ab6e, recipient=0xA43fe16908251ee70EF74718545e4FE6C5cCEc9f, amount=1014219537133618500000000000 ) => ( True )
-
FiatTokenProxy.70a08231( )
-
FiatTokenV2_1.balanceOf( account=0xDfBd404827813E2F597286D2824ac2eB7E09ab6e ) => ( 0 )
-
-
UniswapV2Pair.STATICCALL( )
-
PepeToken.balanceOf( account=0xA43fe16908251ee70EF74718545e4FE6C5cCEc9f ) => ( 4402817498066109494020544862519 )
UniswapV2Pair.swap( amount0Out=0, amount1Out=549788133543142859, to=0xB4e16d0168e52d35CaCD2c6185b44281Ec28C9Dc, data=0x )
-
WETH9.transfer( dst=0xB4e16d0168e52d35CaCD2c6185b44281Ec28C9Dc, wad=549788133543142859 ) => ( True )
-
PepeToken.balanceOf( account=0xA43fe16908251ee70EF74718545e4FE6C5cCEc9f ) => ( 4402817498066109494020544862519 )
-
WETH9.balanceOf( 0xA43fe16908251ee70EF74718545e4FE6C5cCEc9f ) => ( 2393309479409105131926 )
-
-
UniswapV2Pair.STATICCALL( )
-
WETH9.balanceOf( 0xB4e16d0168e52d35CaCD2c6185b44281Ec28C9Dc ) => ( 16876657435290526541166 )
UniswapV2Pair.swap( amount0Out=912253224, amount1Out=0, to=0xDfBd404827813E2F597286D2824ac2eB7E09ab6e, data=0x )
FiatTokenProxy.a9059cbb( )
-
FiatTokenV2_1.transfer( to=0xDfBd404827813E2F597286D2824ac2eB7E09ab6e, value=912253224 ) => ( True )
-
FiatTokenProxy.70a08231( )
-
FiatTokenV2_1.balanceOf( account=0xB4e16d0168e52d35CaCD2c6185b44281Ec28C9Dc ) => ( 28086470957015 )
-
-
WETH9.balanceOf( 0xB4e16d0168e52d35CaCD2c6185b44281Ec28C9Dc ) => ( 16876657435290526541166 )
FiatTokenProxy.70a08231( )
-
FiatTokenV2_1.balanceOf( account=0xDfBd404827813E2F597286D2824ac2eB7E09ab6e ) => ( 912253224 )
-
execute[UniversalRouter (ln:16)]
execute[UniversalRouter (ln:21)]
execute[UniversalRouter (ln:21)]
File 1 of 8: UniversalRouter
File 2 of 8: Permit2
File 3 of 8: UniswapV2Pair
File 4 of 8: PepeToken
File 5 of 8: UniswapV2Pair
File 6 of 8: WETH9
File 7 of 8: FiatTokenProxy
File 8 of 8: FiatTokenV2_1
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 8: 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 8: 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 8: PepeToken
12345678910111213141516// Sources flattened with hardhat v2.7.0 https://hardhat.org// File @openzeppelin/contracts/utils/Context.sol@v4.4.0// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.0 (utils/Context.sol)pragma solidity ^0.8.0;/*** @dev Provides information about the current execution context, including the* sender of the transaction and its data. While these are generally available* via msg.sender and msg.data, they should not be accessed in such a direct* manner, since when dealing with meta-transactions the account sending and* paying for execution may not be the actual sender (as far as an application* is concerned).
File 5 of 8: 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 6 of 8: 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 7 of 8: FiatTokenProxy
12345678910111213141516pragma solidity ^0.4.24;// File: zos-lib/contracts/upgradeability/Proxy.sol/*** @title Proxy* @dev Implements delegation of calls to other contracts, with proper* forwarding of return values and bubbling of failures.* It defines a fallback function that delegates all calls to the address* returned by the abstract _implementation() internal function.*/contract Proxy {/*** @dev Fallback function.* Implemented entirely in `_fallback`.*/
File 8 of 8: FiatTokenV2_1
12345678910111213141516// File: @openzeppelin/contracts/math/SafeMath.sol// SPDX-License-Identifier: MITpragma solidity ^0.6.0;/*** @dev Wrappers over Solidity's arithmetic operations with added overflow* checks.** Arithmetic operations in Solidity wrap on overflow. This can easily result* in bugs, because programmers usually assume that an overflow raises an* error, which is the standard behavior in high level programming languages.* `SafeMath` restores this intuition by reverting the transaction when an* operation overflows.*