// SPDX-License-Identifier: MIT pragma solidity >=0.4.22 <0.9.0; contract MyBaseContract { uint256 public count; // Function to get the current count function get() public view returns (uint256) { return count; } // Function to increment count by 1 function inc() public { count += 1; } // Function to decrement count by 1 function dec() public { // This function will fail if count = 0 count -= 1; } }