Whitelist
This contract manages a list of whitelisted addresses.

Functions:

Events:

Function isWhitelisted(address _address) → bool

returns true if a given address is whitelisted, false if not

Parameters:

    _address: address to check

Return Values:

    true if the address is whitelisted, false if not

Function addAddress(address _address)

adds a given address to the whitelist

Parameters:

    _address: address to add

Function addAddresses(address[] _addresses)

adds a list of addresses to the whitelist

Parameters:

    _addresses: addresses to add

Function removeAddress(address _address)

removes a given address from the whitelist

Parameters:

    _address: address to remove

Function removeAddresses(address[] _addresses)

removes a list of addresses from the whitelist

Parameters:

    _addresses: addresses to remove

Event AddressAddition(address _address)

triggered when an address is added to the whitelist

Parameters:

    _address: address that's added from the whitelist

Event AddressRemoval(address _address)

triggered when an address is removed from the whitelist

Parameters:

    _address: address that's removed from the whitelist
Last modified 5mo ago