MoCWhitelist

View Source: contracts/base/MoCWhitelist.sol

↘ Derived Contracts: MoCConnector

MoCWhitelist - version: 0.1.12

Provides access control between all MoC Contracts

Contract Members

Constants & Variables

mapping(address => bool) internal whitelist;

uint256[50] private upgradeGap;

Functions

isWhitelisted

Check if an account is whitelisted

function isWhitelisted(address account) public view
returns(bool)

Returns

Bool

Arguments

NameTypeDescription

account

address

add

Add account to whitelist

function add(address account) internal nonpayable

Arguments

NameTypeDescription

account

address

remove

Remove account from whitelist

function remove(address account) internal nonpayable

Arguments

NameTypeDescription

account

address

Last updated