Skip to content

Instantly share code, notes, and snippets.

View gilngns's full-sized avatar

Gilang Nanda Saputra gilngns

  • -
  • Bandung, Indonesia
View GitHub Profile
@gilngns
gilngns / [email protected]
Created January 12, 2026 04:32
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.31+commit.fd3a2265.js&optimize=undefined&runs=200&gist=
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)
pragma solidity ^0.8.20;
import {Context} from "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to