ETH Price: $3,854.66 (+1.11%)

Transaction Decoder

Block:
22604185 at May-31-2025 05:26:35 PM +UTC
Transaction Fee:
0.000150907374729246 ETH $0.58
Gas Used:
56,814 Gas / 2.656165289 Gwei

Emitted Events:

Account State Difference:

  Address   Before After State Difference Code
0x5Ff57006...dE18E6Fe7
0.004171167471800528 Eth
Nonce: 54
0.003991260097071282 Eth
Nonce: 55
0.000179907374729246
0x7500A83D...17d876a85 0.003762688400473592 Eth0.003791688400473592 Eth0.000029
(beaverbuild)
18.03082087091780339 Eth18.030865398512887988 Eth0.000044527595084598
0xc5C68144...A78f6e63E

Execution Trace

ETH 0.000029 OnChainGM.CALL( )
  • ETH 0.000029 0x7500a83df2af99b2755c47b6b321a8217d876a85.CALL( )
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: MIT
    pragma solidity ^0.8.28;
    contract OnChainGM {
    // Immutable variables don't use storage slots
    address public immutable feeRecipient;
    uint256 public immutable GM_FEE;
    uint256 public constant TIME_LIMIT = 24 hours;
    // Mapping to store last GM timestamp for each user
    mapping(address => uint256) public lastGMTimestamp;
    // Event for tracking GMs
    event OnChainGMEvent(address indexed sender);
    constructor() {
    feeRecipient = 0x7500A83DF2aF99B2755c47B6B321a8217d876a85;
    GM_FEE = 0.000029 ether;
    }
    // Gas optimized GM function with timestamp check
    function onChainGM() external payable {
    if (msg.value != GM_FEE) {
    revert("Incorrect ETH fee");
    }
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX