This is a contract used to make a list of people or groups regarded as acceptable or trustworthy.
addToWhitelist lets the owner add an address to the whitelist
|addr||address||the address to be added to the list|
removeFromWhitelist lets the owner remove an address to the whitelist
|addr||address||the address to be removed to the list|
renounceOwnership Allows the current owner to relinquish control of the contract.
transferOwnership Allows the current owner to transfer control of the contract to a newOwner.
|newOwner||address||the address to transfer ownership to|
isWhitelisted shows the details (number of rooms, price per room and booked rooms) for a hotel from the list
|addr||address||check if the address is the whitelist|
isWhitelisted true if
msg.sender is the owner of the contract.
owner returns the owner address