A basic guest list contract for testing.
function constructor( ) public
Create the test guest list, setting the message sender as
Note that since this is just for testing, you're unable to change
function setGuests( address _guests, bool _invited ) external
Invite guests or kick them from the party.
|address||The guests to add or update.|
|bool||A flag for each guest at the matching index, inviting or|
uninviting the guest.
function authorized( address _guest, uint256 _amount ) external returns (bool)
Check if a guest with a bag of a certain size is allowed into the party.
_amount isn't checked to keep test setup simple, since
from the vault tests' perspective this is a pass/fail call anyway.
|address||The guest's address to check.|
|uint256||Not used. The amount of tokens the guest is bringing.|