Skip to main content
Version: v2.0_alpha

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

NameTypeDescription
_maciaddressThe MACI contract

register

function register(address _address, bytes _data) public

Registers the user without any restrictions.

Parameters

NameTypeDescription
_addressaddressThe address of the user
_databytesmemory additional data

getTrait

function getTrait() public pure returns (string)

Get the trait of the gatekeeper

Return Values

NameTypeDescription
[0]stringThe type of the gatekeeper