MoCWhitelist
MoCWhitelist - version: 0.1.12
Provides access control between all MoC Contracts
Constants & Variables
mapping(address => bool) internal whitelist;
uint256[50] private upgradeGap;
Check if an account is whitelisted
function isWhitelisted(address account) public view
returns(bool)
Returns
Bool
Arguments
Name | Type | Description |
---|---|---|
account | address | |
Add account to whitelist
function add(address account) internal nonpayable
Arguments
Name | Type | Description |
---|---|---|
account | address | |
Remove account from whitelist
function remove(address account) internal nonpayable
Arguments
Name | Type | Description |
---|---|---|
account | address | |
Last modified 1yr ago