ForeverIncreasedCounter

Description:

Smart contract deployed on Ethereum.

Blockchain: Ethereum

Source Code: View Code On The Blockchain

Solidity Source Code:

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

contract ForeverIncreasedCounter {
    uint256 private count;
    
    event CounterIncreased(uint256 newCount, address increasedBy);
    
    constructor() {
        count = 0;
    }
    
    function increment() public {
        count += 1;
        emit CounterIncreased(count, msg.sender);
    }
    
    function getCount() public view returns (uint256) {
        return count;
    }
}

Tags:
addr:0x4ec0efaed26bbc559ce77a21b96443e6df9d2555|verified:true|block:23570979|tx:0xe4e72c613761576a29ea4a51c7bf24d4fe5af278547989925a159d75b9061557|first_check:1760426357

Submitted on: 2025-10-14 09:19:17

Comments

Log in to comment.

No comments yet.