ETH Price: $2,959.07 (+0.73%)

Transaction Decoder

Block:
19538533 at Mar-29-2024 08:40:47 AM +UTC
Transaction Fee:
0.004369487859169475 ETH $12.93
Gas Used:
159,065 Gas / 27.469825915 Gwei

Emitted Events:

258 Permit2.Permit( owner=[Sender] 0xa8ab8dc3a156aa7aa0d8e6f4507017488ac50359, token=XRT, spender=[Receiver] UniversalRouter, amount=1461501637330902918203684832716283019655932542975, expiration=1714293632, nonce=0 )
259 XRT.Transfer( from=[Sender] 0xa8ab8dc3a156aa7aa0d8e6f4507017488ac50359, to=UniswapV2Pair, value=463464711356 )
260 XRT.Approval( owner=[Sender] 0xa8ab8dc3a156aa7aa0d8e6f4507017488ac50359, spender=Permit2, value=115792089237316195423570985008687907853269984665640564039457584007449664928579 )
261 WETH9.Transfer( src=UniswapV2Pair, dst=[Receiver] UniversalRouter, wad=680384857166940020 )
262 UniswapV2Pair.Sync( reserve0=67429510989423, reserve1=98604666249073913354 )
263 UniswapV2Pair.Swap( sender=[Receiver] UniversalRouter, amount0In=463464711356, amount1In=0, amount0Out=0, amount1Out=680384857166940020, to=[Receiver] UniversalRouter )
264 WETH9.Withdrawal( src=[Receiver] UniversalRouter, wad=680384857166940020 )

Account State Difference:

  Address   Before After State Difference Code
0x00000000...43aC78BA3
(Uniswap Protocol: Permit2)
0x3185626c...5E80681b1
0x7dE91B20...Cf7061cb7
0xa8ab8Dc3...88AC50359
6.638527646037805046 Eth
Nonce: 165
7.314543015345575591 Eth
Nonce: 166
0.676015369307770545
0xC02aaA39...83C756Cc2 2,970,419.8295483367241921 Eth2,970,419.14916347955725208 Eth0.68038485716694002
(MEV Builder: 0xDcc...623)
0.046178838837405617 Eth0.046178997902405617 Eth0.000000159065

Execution Trace

UniversalRouter.execute( commands=0x0A080C, inputs=[AAAAAAAAAAAAAAAAfekbIEwcc3vO5vAAqqZWnPcGHLcAAAAAAAAAAAAAAAD//////////////////////////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABmLguAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/yRo6/XA5XNSWxkfVpsydSyt/rQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABmBoWIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQbwUEG6+I3L0jl6RY1l/twzrrm7uDk5odajkU9P498N+OmRtgmDhaQFxmhPRzdtN3T7++GPtSKmzgGJoq5yiFY4bAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==, AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABr6KZEvAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlp+45cBK7dAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAfekbIEwcc3vO5vAAqqZWnPcGHLcAAAAAAAAAAAAAAADAKqo5siP+jQoOXE8n6tkIPHVswg==, AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJafuOXASu3Q==], deadline=1711701803 )
  • Permit2.permit( owner=0xa8ab8Dc3a156Aa7Aa0d8E6F4507017488AC50359, permitSingle=[{name:details, type:tuple, order:1, indexed:false, value:[{name:token, type:address, order:1, indexed:false, value:0x7dE91B204C1C737bcEe6F000AAA6569Cf7061cb7, valueString:0x7dE91B204C1C737bcEe6F000AAA6569Cf7061cb7}, {name:amount, type:uint160, order:2, indexed:false, value:1461501637330902918203684832716283019655932542975, valueString:1461501637330902918203684832716283019655932542975}, {name:expiration, type:uint48, order:3, indexed:false, value:1714293632, valueString:1714293632}, {name:nonce, type:uint48, order:4, indexed:false, value:0, valueString:0}], valueString:[{name:token, type:address, order:1, indexed:false, value:0x7dE91B204C1C737bcEe6F000AAA6569Cf7061cb7, valueString:0x7dE91B204C1C737bcEe6F000AAA6569Cf7061cb7}, {name:amount, type:uint160, order:2, indexed:false, value:1461501637330902918203684832716283019655932542975, valueString:1461501637330902918203684832716283019655932542975}, {name:expiration, type:uint48, order:3, indexed:false, value:1714293632, valueString:1714293632}, {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:1711703432, valueString:1711703432}], signature=0xBC14106EBE2372F48E5E9163597FB70CEBAE6EEE0E4E6875A8E453D3F8F7C37E3A646D8260E16901719A13D1CDDB4DDD3EFEF863ED48A9B3806268AB9CA2158E1B )
    • Null: 0x000...001.0f77f04a( )
    • Permit2.transferFrom( from=0xa8ab8Dc3a156Aa7Aa0d8E6F4507017488AC50359, to=0x3185626c14aCB9531d19560dECb9d3E5E80681b1, amount=463464711356, token=0x7dE91B204C1C737bcEe6F000AAA6569Cf7061cb7 )
      • XRT.transferFrom( from=0xa8ab8Dc3a156Aa7Aa0d8E6F4507017488AC50359, to=0x3185626c14aCB9531d19560dECb9d3E5E80681b1, value=463464711356 ) => ( True )
      • WETH9.balanceOf( 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 0 )
      • UniswapV2Pair.STATICCALL( )
      • XRT.balanceOf( owner=0x3185626c14aCB9531d19560dECb9d3E5E80681b1 ) => ( 67429510989423 )
      • UniswapV2Pair.swap( amount0Out=0, amount1Out=680384857166940020, to=0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD, data=0x )
        • WETH9.transfer( dst=0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD, wad=680384857166940020 ) => ( True )
        • XRT.balanceOf( owner=0x3185626c14aCB9531d19560dECb9d3E5E80681b1 ) => ( 67429510989423 )
        • WETH9.balanceOf( 0x3185626c14aCB9531d19560dECb9d3E5E80681b1 ) => ( 98604666249073913354 )
        • WETH9.balanceOf( 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 680384857166940020 )
        • WETH9.balanceOf( 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 680384857166940020 )
        • WETH9.withdraw( wad=680384857166940020 )
          • ETH 0.68038485716694002 UniversalRouter.CALL( )
          • ETH 0.68038485716694002 0xa8ab8dc3a156aa7aa0d8e6f4507017488ac50359.CALL( )
            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;
            // Command implementations
            import {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 IUniversalRouter
            function execute(bytes calldata commands, bytes[] calldata inputs, uint256 deadline)
            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: XRT
            1
            2
            3
            4
            5
            6
            7
            8
            9
            10
            11
            12
            13
            14
            15
            16
            // File: openzeppelin-solidity/contracts/token/ERC20/IERC20.sol
            pragma solidity ^0.5.0;
            /**
            * @title ERC20 interface
            * @dev see https://github.com/ethereum/EIPs/issues/20
            */
            interface IERC20 {
            function transfer(address to, uint256 value) external returns (bool);
            function approve(address spender, uint256 value) external returns (bool);
            function transferFrom(address from, address to, uint256 value) external returns (bool);
            function totalSupply() external view returns (uint256);
            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