FreeForAllGatekeeper
A SignUpGatekeeper which allows anyone to sign up.
constructor
constructor() public payable
Create a new instance of FreeForAllGatekeeper
setMaciInstance
function setMaciInstance(address _maci) public
setMaciInstance does nothing in this gatekeeper
Parameters
| Name | Type | Description |
|---|---|---|
| _maci | address | The MACI contract |
register
function register(address _address, bytes _data) public
Registers the user without any restrictions.
Parameters
| Name | Type | Description |
|---|---|---|
| _address | address | The address of the user |
| _data | bytes | memory additional data |
getTrait
function getTrait() public pure returns (string)
Get the trait of the gatekeeper
Return Values
| Name | Type | Description |
|---|---|---|
| [0] | string | The type of the gatekeeper |