Skip to content

Instantly share code, notes, and snippets.

View Naeem775's full-sized avatar

Naeem Rahmat Naeem775

View GitHub Profile
@Naeem775
Naeem775 / contracts...User.sol
Created December 25, 2021 20:15
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.7+commit.e28d00a7.js&optimize=undefined&runs=undefined&gist=
pragma solidity >=0.7.0 <0.9.0;
contract UserContract {
address payable owner;
constructor () public {
owner =payable(msg.sender);
}
modifier onlyOwner {