2024-07-09 00:06:31 +03:00

15 lines
262 B
Solidity

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
contract Counter {
uint256 private count = 0;
function incrementCounter() public {
count += 1;
}
function getCount() public view returns (uint256) {
return count;
}
}