SignUpGatekeeper
A gatekeeper contract which allows users to sign up for a poll.
setMaciInstance
function setMaciInstance(address _maci) public virtual
Allows to set the MACI contract
register
function register(address _user, bytes _data) public virtual
Registers the user
Parameters
Name | Type | Description |
---|---|---|
_user | address | The address of the user |
_data | bytes | additional data |
getTrait
function getTrait() public pure virtual returns (string)
Get the trait of the gatekeeper
Return Values
Name | Type | Description |
---|---|---|
[0] | string | The type of the gatekeeper |