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

Name
Type
Description

account

address

add

Add account to whitelist

function add(address account) internal nonpayable

Arguments

Name
Type
Description

account

address

remove

Remove account from whitelist

function remove(address account) internal nonpayable

Arguments

Name
Type
Description

account

address

Last updated