↗ Extends: CustomPausable ↘ Derived Contracts: PreSale.
CustomWhitelist
Constants & Variables
mapping(address => bool) public whitelist;Events
event WhitelistAdded(address indexed _account);
event WhitelistRemoved(address indexed _account);Verifies if the account is whitelisted.
modifier ifWhitelisted(address _account) internalArguments
| Name | Type | Description |
|---|---|---|
| _account | address |
Adds an account to the whitelist.
function addWhitelist(address _account) external whenNotPaused onlyAdminArguments
| Name | Type | Description |
|---|---|---|
| _account | address | The wallet address to add to the whitelist. |
Adds multiple accounts to the whitelist.
function addManyWhitelist(address[] _accounts) external whenNotPaused onlyAdminArguments
| Name | Type | Description |
|---|---|---|
| _accounts | address[] | The wallet addresses to add to the whitelist. |
Removes an account from the whitelist.
function removeWhitelist(address _account) external whenNotPaused onlyAdminArguments
| Name | Type | Description |
|---|---|---|
| _account | address | The wallet address to remove from the whitelist. |
Removes multiple accounts from the whitelist.
function removeManyWhitelist(address[] _accounts) external whenNotPaused onlyAdminArguments
| Name | Type | Description |
|---|---|---|
| _accounts | address[] | The wallet addresses to remove from the whitelist. |