ETH Price: $2,513.04 (-0.62%)

Transaction Decoder

Block:
22553236 at May-24-2025 02:16:47 PM +UTC
Transaction Fee:
0.000295458456594854 ETH $0.74
Gas Used:
183,617 Gas / 1.609101862 Gwei

Emitted Events:

112 Permit2.Permit( owner=[Sender] 0xfb3052850a444ca9cf09926ba91ce5c30b26cf0e, token=Token, spender=[Receiver] UniversalRouter, amount=45934932972607, expiration=1750688188, nonce=0 )
113 Token.Transfer( from=[Sender] 0xfb3052850a444ca9cf09926ba91ce5c30b26cf0e, to=UniswapV2Pair, value=45934932972607 )
114 Token.Approval( owner=[Sender] 0xfb3052850a444ca9cf09926ba91ce5c30b26cf0e, spender=Permit2, value=115792089237316195423570985008687907853269984665640564039457583961978196667328 )
115 WETH9.Transfer( src=UniswapV2Pair, dst=[Receiver] UniversalRouter, wad=6804968090096657 )
116 UniswapV2Pair.Sync( reserve0=81693328023980923, reserve1=12131937673399598600 )
117 UniswapV2Pair.Swap( sender=[Receiver] UniversalRouter, amount0In=45934932972607, amount1In=0, amount0Out=0, amount1Out=6804968090096657, to=[Receiver] UniversalRouter )
118 WETH9.Withdrawal( src=[Receiver] UniversalRouter, wad=6804968090096657 )

Account State Difference:

  Address   Before After State Difference Code
0x00000000...43aC78BA3
(Uniswap Protocol: Permit2)
0x40b50293...A89161Bc7
0x44a9239a...0c1048CC5
(beaverbuild)
18.703090078412093843 Eth18.703273695412093843 Eth0.000183617
0xC02aaA39...83C756Cc2 2,837,099.464746481430496229 Eth2,837,099.457941513340399572 Eth0.006804968090096657
0xfb305285...30b26CF0E
0.039861809632028214 Eth
Nonce: 88
0.046371319265530017 Eth
Nonce: 89
0.006509509633501803

Execution Trace

UniversalRouter.execute( commands=0x0A080C04, inputs=[AAAAAAAAAAAAAAAAQLUCk8b8NZUCSbtHtMLWGokWG8cAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACnHD1zUPwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABoWWG8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADvHG5ncDx71xB+7YMD++bsJVS/awAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABoWWG8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQVVYwEv6A5XZVcnK4KtfImY07suf7ewdg05FDQ1w96ZICdx6SDvWt/ZvQfCTKNFG+YpCXoxsQT7xmifUo3tFLYwbAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==, AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACnHD1zUPwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADWMd6s//sAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAQLUCk8b8NZUCSbtHtMLWGokWG8cAAAAAAAAAAAAAAADAKqo5siP+jQoOXE8n6tkIPHVswg==, AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA1jHerP/7A==, AAAAAAAAAAAAAAAAQLUCk8b8NZUCSbtHtMLWGokWG8cAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA], deadline=1748096308 )
  • Permit2.permit( owner=0xfb3052850a444cA9cf09926BA91cE5c30b26CF0E, permitSingle=[{name:details, type:tuple, order:1, indexed:false, value:[{name:token, type:address, order:1, indexed:false, value:0x40b50293C6FC35950249bB47B4C2D61A89161Bc7, valueString:0x40b50293C6FC35950249bB47B4C2D61A89161Bc7}, {name:amount, type:uint160, order:2, indexed:false, value:45934932972607, valueString:45934932972607}, {name:expiration, type:uint48, order:3, indexed:false, value:1750688188, valueString:1750688188}, {name:nonce, type:uint48, order:4, indexed:false, value:0, valueString:0}], valueString:[{name:token, type:address, order:1, indexed:false, value:0x40b50293C6FC35950249bB47B4C2D61A89161Bc7, valueString:0x40b50293C6FC35950249bB47B4C2D61A89161Bc7}, {name:amount, type:uint160, order:2, indexed:false, value:45934932972607, valueString:45934932972607}, {name:expiration, type:uint48, order:3, indexed:false, value:1750688188, valueString:1750688188}, {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:1750688188, valueString:1750688188}], signature=0x5558C04BFA0395D955C9CAE0AB5F226634EECB9FEDEC1D834E450D0D70F7A64809DC7A483BD6B7F66F41F09328D146F98A425E8C6C413EF19A27D4A37B452D8C1B )
    • Null: 0x000...001.33a056bb( )
    • Permit2.transferFrom( from=0xfb3052850a444cA9cf09926BA91cE5c30b26CF0E, to=0x44a9239aBb2Ea10f3f685cDdBc41F4a0c1048CC5, amount=45934932972607, token=0x40b50293C6FC35950249bB47B4C2D61A89161Bc7 )
      • Token.transferFrom( sender=0xfb3052850a444cA9cf09926BA91cE5c30b26CF0E, recipient=0x44a9239aBb2Ea10f3f685cDdBc41F4a0c1048CC5, amount=45934932972607 ) => ( True )
        • 0xf09eb236ed467821286fc843bf50e7cd2fc14597.CALL( )
        • WETH9.balanceOf( 0xEf1c6E67703c7BD7107eed8303Fbe6EC2554BF6B ) => ( 0 )
        • UniswapV2Pair.STATICCALL( )
        • Token.balanceOf( account=0x44a9239aBb2Ea10f3f685cDdBc41F4a0c1048CC5 ) => ( 81693328023980923 )
        • UniswapV2Pair.swap( amount0Out=0, amount1Out=6804968090096657, to=0xEf1c6E67703c7BD7107eed8303Fbe6EC2554BF6B, data=0x )
          • WETH9.transfer( dst=0xEf1c6E67703c7BD7107eed8303Fbe6EC2554BF6B, wad=6804968090096657 ) => ( True )
          • Token.balanceOf( account=0x44a9239aBb2Ea10f3f685cDdBc41F4a0c1048CC5 ) => ( 81693328023980923 )
          • WETH9.balanceOf( 0x44a9239aBb2Ea10f3f685cDdBc41F4a0c1048CC5 ) => ( 12131937673399598600 )
          • WETH9.balanceOf( 0xEf1c6E67703c7BD7107eed8303Fbe6EC2554BF6B ) => ( 6804968090096657 )
          • WETH9.balanceOf( 0xEf1c6E67703c7BD7107eed8303Fbe6EC2554BF6B ) => ( 6804968090096657 )
          • WETH9.withdraw( wad=6804968090096657 )
            • ETH 0.006804968090096657 UniversalRouter.CALL( )
            • ETH 0.006804968090096657 0xfb3052850a444ca9cf09926ba91ce5c30b26cf0e.CALL( )
            • Token.balanceOf( account=0xEf1c6E67703c7BD7107eed8303Fbe6EC2554BF6B ) => ( 0 )
              File 1 of 5: UniversalRouter
              1
              2
              3
              4
              5
              6
              7
              8
              9
              10
              11
              12
              13
              14
              15
              16
              // SPDX-License-Identifier: GPL-3.0-or-later
              pragma 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
              XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

              File 2 of 5: Permit2
              1
              2
              3
              4
              5
              6
              7
              8
              9
              10
              11
              12
              13
              14
              15
              16
              // SPDX-License-Identifier: AGPL-3.0-only
              pragma 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;
              XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

              File 3 of 5: UniswapV2Pair
              1
              2
              3
              4
              5
              6
              7
              8
              9
              10
              11
              12
              13
              14
              15
              16
              // File: contracts/interfaces/IUniswapV2Pair.sol
              pragma 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);
              XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

              File 4 of 5: Token
              1
              2
              3
              4
              5
              6
              7
              8
              9
              10
              11
              12
              13
              14
              15
              16
              // SPDX-License-Identifier: MIT
              /*
              Name: Petrok
              Symbol: PETROK
              Join the adventure at PetRok 🏝️
              https://petrok.fun
              https://x.com/Petrok_World
              https://t.me/PetrokWorld_ETH
              */
              pragma solidity ^0.8.19;
              abstract contract Context {
              XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

              File 5 of 5: WETH9
              1
              2
              3
              4
              5
              6
              7
              8
              9
              10
              11
              12
              13
              14
              15
              16
              // 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;
              XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX