Transaction Hash:
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:
337 |
OnChainGM.OnChainGMEvent( sender=[Sender] 0x5ff570067aaa86b406930a49149b70bde18e6fe7 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x5Ff57006...dE18E6Fe7 |
0.004171167471800528 Eth
Nonce: 54
|
0.003991260097071282 Eth
Nonce: 55
| 0.000179907374729246 | ||
0x7500A83D...17d876a85 | 0.003762688400473592 Eth | 0.003791688400473592 Eth | 0.000029 | ||
0x95222290...5CC4BAfe5
Miner
| (beaverbuild) | 18.03082087091780339 Eth | 18.030865398512887988 Eth | 0.000044527595084598 | |
0xc5C68144...A78f6e63E |
Execution Trace
ETH 0.000029
OnChainGM.CALL( )
- ETH 0.000029
0x7500a83df2af99b2755c47b6b321a8217d876a85.CALL( )
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MITpragma solidity ^0.8.28;contract OnChainGM {// Immutable variables don't use storage slotsaddress public immutable feeRecipient;uint256 public immutable GM_FEE;uint256 public constant TIME_LIMIT = 24 hours;// Mapping to store last GM timestamp for each usermapping(address => uint256) public lastGMTimestamp;// Event for tracking GMsevent OnChainGMEvent(address indexed sender);constructor() {feeRecipient = 0x7500A83DF2aF99B2755c47B6B321a8217d876a85;GM_FEE = 0.000029 ether;}// Gas optimized GM function with timestamp checkfunction onChainGM() external payable {if (msg.value != GM_FEE) {revert("Incorrect ETH fee");}