// SPDX-License-Identifier: MIT pragma solidity ^0.8.30; contract Counter { uint256 public count; address public immutable owner; constructor() { owner = msg.sender; } function increment(uint256 by) external { require(msg.sender == owner, "Owner only"); count += by; } }