Update docs

This commit is contained in:
github-actions
2023-10-05 01:42:23 +00:00
parent 645e2a6c4a
commit 9efe429a18
25 changed files with 4256 additions and 1204 deletions

View File

@ -0,0 +1,17 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
contract MyContract is Ownable {
constructor(address initialOwner) Ownable(initialOwner) {}
function normalThing() public {
// anyone can call this normalThing()
}
function specialThing() public onlyOwner {
// only the owner can call specialThing()!
}
}