Created by Mojtaba Khodami 2022-01-28 View revision File SimpleStorage.sol Added Side-by-side diff More Ignore whitespace Hide word diff +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.2; + +import "@openzeppelin/contracts/access/Ownable.sol"; + +contract SimpleStorage is Ownable { + + uint64 private _storage; + + function set(uint64 input) public onlyOwner { + _storage = input; + } + + function get() public view returns (uint64) { + return _storage; + } +}