Skip to content

Instantly share code, notes, and snippets.

View akp111's full-sized avatar
💪

Ashis Kumar Pradhan akp111

💪
View GitHub Profile
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
import "../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
* specific functions.
*
import Web3 from "web3";
import { rolesABI } from "../js/roles";
// var bodyParser = require("body-parser");
//Web3 and metamask
//const MetaMaskConnector = require("node-metamask");
const delay = require('delay');