ETH Price: $3,007.95 (+7.98%)

Transaction Decoder

Block:
20556303 at Aug-18-2024 03:06:47 PM +UTC
Transaction Fee:
0.00041285460028424 ETH $1.24
Gas Used:
158,768 Gas / 2.600364055 Gwei

Emitted Events:

136 Permit2.Permit( owner=[Sender] 0x2cd89badcb8c65a76c66379f62d3cdfd2b353937, token=dacc, spender=[Receiver] UniversalRouter, amount=5788740139387285517829505, expiration=1723995406, nonce=0 )
137 dacc.Transfer( from=[Sender] 0x2cd89badcb8c65a76c66379f62d3cdfd2b353937, to=UniswapV2Pair, value=5788740139387285517829505 )
138 WETH9.Transfer( src=UniswapV2Pair, dst=[Receiver] UniversalRouter, wad=189481980749518 )
139 UniswapV2Pair.Sync( reserve0=831510899645118770, reserve1=25332525881937978454845352364 )
140 UniswapV2Pair.Swap( sender=[Receiver] UniversalRouter, amount0In=0, amount1In=5788740139387285517829505, amount0Out=189481980749518, amount1Out=0, to=[Receiver] UniversalRouter )
141 WETH9.Withdrawal( src=[Receiver] UniversalRouter, wad=189481980749518 )

Account State Difference:

  Address   Before After State Difference Code
0x00000000...43aC78BA3
(Uniswap Protocol: Permit2)
3.082823806967903007 Eth3.082982574967903007 Eth0.000158768
0x2CD89BAd...d2B353937
0.008572492644647186 Eth
Nonce: 18
0.008349120025112464 Eth
Nonce: 19
0.000223372619534722
0xC02aaA39...83C756Cc2 2,874,926.597474028313870886 Eth2,874,926.597284546333121368 Eth0.000189481980749518
0xD07993E6...2bA4532bb
0xfdCdA392...2dfD4f2b1

Execution Trace

UniversalRouter.execute( commands=0x0A080C, inputs=[AAAAAAAAAAAAAAAA/c2jkucieyvFl9AYrHW1Yt/U8rEAAAAAAAAAAAAAAAAAAAAAAAAAAAAEydA7VDkErg8FgQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABmwhUOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/yRo6/XA5XNSWxkfVpsydSyt/rQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABmwhUOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQd3XYxwi+LlUxMbXer7A4KJdHnjT1L2bxYBtfquJlanfGIW4N3t7udCtL2VEUlmijFiA14wR2yn29zdiWX9x+38cAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==, AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAEydA7VDkErg8FgQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAA/c2jkucieyvFl9AYrHW1Yt/U8rEAAAAAAAAAAAAAAADAKqo5siP+jQoOXE8n6tkIPHVswg==, AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==], deadline=2576980377 )
  • Permit2.permit( owner=0x2CD89BAdcB8C65a76c66379F62d3CDFd2B353937, permitSingle=[{name:details, type:tuple, order:1, indexed:false, value:[{name:token, type:address, order:1, indexed:false, value:0xfdCdA392e7227B2bC597D018AC75B562dfD4f2b1, valueString:0xfdCdA392e7227B2bC597D018AC75B562dfD4f2b1}, {name:amount, type:uint160, order:2, indexed:false, value:5788740139387285517829505, valueString:5788740139387285517829505}, {name:expiration, type:uint48, order:3, indexed:false, value:1723995406, valueString:1723995406}, {name:nonce, type:uint48, order:4, indexed:false, value:0, valueString:0}], valueString:[{name:token, type:address, order:1, indexed:false, value:0xfdCdA392e7227B2bC597D018AC75B562dfD4f2b1, valueString:0xfdCdA392e7227B2bC597D018AC75B562dfD4f2b1}, {name:amount, type:uint160, order:2, indexed:false, value:5788740139387285517829505, valueString:5788740139387285517829505}, {name:expiration, type:uint48, order:3, indexed:false, value:1723995406, valueString:1723995406}, {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:1723995406, valueString:1723995406}], signature=0xDDD7631C22F8B954C4C6D77ABEC0E0A25D1E78D3D4BD9BC5806D7EAB8995A9DF1885B8377B7BB9D0AD2F65445259A28C5880D78C11DB29F6F73762597F71FB7F1C )
    • Null: 0x000...001.28987205( )
    • Permit2.transferFrom( from=0x2CD89BAdcB8C65a76c66379F62d3CDFd2B353937, to=0xD07993E6C67bF253F432e558Db33b552bA4532bb, amount=5788740139387285517829505, token=0xfdCdA392e7227B2bC597D018AC75B562dfD4f2b1 )
      • dacc.transferFrom( from=0x2CD89BAdcB8C65a76c66379F62d3CDFd2B353937, to=0xD07993E6C67bF253F432e558Db33b552bA4532bb, value=5788740139387285517829505 ) => ( True )
      • WETH9.balanceOf( 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 0 )
      • UniswapV2Pair.STATICCALL( )
      • dacc.balanceOf( account=0xD07993E6C67bF253F432e558Db33b552bA4532bb ) => ( 25332525881937978454845352364 )
      • UniswapV2Pair.swap( amount0Out=189481980749518, amount1Out=0, to=0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD, data=0x )
        • WETH9.transfer( dst=0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD, wad=189481980749518 ) => ( True )
        • WETH9.balanceOf( 0xD07993E6C67bF253F432e558Db33b552bA4532bb ) => ( 831510899645118770 )
        • dacc.balanceOf( account=0xD07993E6C67bF253F432e558Db33b552bA4532bb ) => ( 25332525881937978454845352364 )
        • WETH9.balanceOf( 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 189481980749518 )
        • WETH9.balanceOf( 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 189481980749518 )
        • WETH9.withdraw( wad=189481980749518 )
          • ETH 0.000189481980749518 UniversalRouter.CALL( )
          • ETH 0.000189481980749518 0x2cd89badcb8c65a76c66379f62d3cdfd2b353937.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: dacc
            1
            2
            3
            4
            5
            6
            7
            8
            9
            10
            11
            12
            13
            14
            15
            16
            // SPDX-License-Identifier: MIT
            pragma solidity ^0.8.26;
            import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
            /**
            */
            contract dacc is ERC20 {
            address public owner;
            event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
            constructor() ERC20("dacc.eth", "dacc") {
            uint256 initialSupply = 42069000000000000000000000000; //
            _mint(msg.sender, initialSupply);
            owner = 0x0000000000000000000000000000000000000000;
            }
            function transferOwnership(address newOwner) public {
            require(newOwner != address(0), "New owner cannot be zero address");
            require(msg.sender == owner, "Only the current owner can transfer ownership");
            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