ETH Price: $4,287.73 (+1.59%)

Transaction Decoder

Block:
18384912 at Oct-19-2023 02:16:47 PM +UTC
Transaction Fee:
0.002894090206950765 ETH $12.41
Gas Used:
125,457 Gas / 23.068383645 Gwei

Emitted Events:

403 WETH9.Deposit( dst=[Receiver] UniversalRouter, wad=255598702520754873 )
404 WETH9.Transfer( src=[Receiver] UniversalRouter, dst=UniswapV2Pair, wad=255598702520754873 )
405 MongCoin.Transfer( from=UniswapV2Pair, to=[Sender] 0xd01777f28cbbb8b8bad19a99bb133b1af356490f, value=45895307094467615535802255654 )
406 UniswapV2Pair.Sync( reserve0=42363573651191528972005073067130, reserve1=235477692625717775039 )
407 UniswapV2Pair.Swap( sender=[Receiver] UniversalRouter, amount0In=0, amount1In=255598702520754873, amount0Out=45895307094467615535802255654, amount1Out=0, to=[Sender] 0xd01777f28cbbb8b8bad19a99bb133b1af356490f )

Account State Difference:

  Address   Before After State Difference Code
0x1ce27055...f8B47FD9C
0x7054b0F9...80162775C
0xC02aaA39...83C756Cc2 3,228,752.053469428960142081 Eth3,228,752.309068131480896954 Eth0.255598702520754873
0xd01777F2...Af356490f
0.405598702520754873 Eth
Nonce: 196
0.147105909793049235 Eth
Nonce: 197
0.258492792727705638
(Flashbots: Builder)
9.241294744630260152 Eth9.241307290330260152 Eth0.0000125457

Execution Trace

ETH 0.255598702520754873 UniversalRouter.execute( commands=0x0B08, inputs=[AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADjBGqbMziuQ==, AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADjBGqbMziuQAAAAAAAAAAAAAAAAAAAAAAAAAAkdALdXinGLL4F+v4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAwCqqObIj/o0KDlxPJ+rZCDx1bMIAAAAAAAAAAAAAAAAc4nBVfB9oz7V3uFZ2YxC/i0f9nA==], deadline=1697725571 )
  • ETH 0.255598702520754873 WETH9.CALL( )
  • WETH9.transfer( dst=0x7054b0F980a7EB5B3a6B3446F3c947D80162775C, wad=255598702520754873 ) => ( True )
  • MongCoin.balanceOf( account=0xd01777F28CBbb8B8bAD19A99BB133B1Af356490f ) => ( 0 )
  • UniswapV2Pair.STATICCALL( )
  • WETH9.balanceOf( 0x7054b0F980a7EB5B3a6B3446F3c947D80162775C ) => ( 235477692625717775039 )
  • UniswapV2Pair.swap( amount0Out=45895307094467615535802255654, amount1Out=0, to=0xd01777F28CBbb8B8bAD19A99BB133B1Af356490f, data=0x )
    • MongCoin.transfer( to=0xd01777F28CBbb8B8bAD19A99BB133B1Af356490f, amount=45895307094467615535802255654 ) => ( True )
    • MongCoin.balanceOf( account=0x7054b0F980a7EB5B3a6B3446F3c947D80162775C ) => ( 42363573651191528972005073067130 )
    • WETH9.balanceOf( 0x7054b0F980a7EB5B3a6B3446F3c947D80162775C ) => ( 235477692625717775039 )
    • MongCoin.balanceOf( account=0xd01777F28CBbb8B8bAD19A99BB133B1Af356490f ) => ( 45895307094467615535802255654 )
      File 1 of 4: 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 4: 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

      File 3 of 4: 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 4: MongCoin
      1
      2
      3
      4
      5
      6
      7
      8
      9
      10
      11
      12
      13
      14
      15
      16
      // SPDX-License-Identifier: MIT
      // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol)
      pragma solidity ^0.8.0;
      import "./IERC20.sol";
      import "./extensions/IERC20Metadata.sol";
      import "../../utils/Context.sol";
      /**
      * @dev Implementation of the {IERC20} interface.
      *
      * This implementation is agnostic to the way tokens are created. This means
      * that a supply mechanism has to be added in a derived contract using {_mint}.
      * For a generic mechanism see {ERC20PresetMinterPauser}.
      *
      * TIP: For a detailed writeup see our guide
      * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
      * to implement supply mechanisms].
      XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX