A basic whitelisting smart contract. Contract will set max number of permitted addesses to be whitelisted. Addresses are held in a mapping and a function is called to add the address to the whitelist.
Whitelist contract: 0xf19678A1b7C5598d016071749B43eE290dF1BbA5