Skip to main content
Version: v2.0_alpha

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

NameTypeDescription
_useraddressThe address of the user
_databytesadditional data

getTrait

function getTrait() public pure virtual returns (string)

Get the trait of the gatekeeper

Return Values

NameTypeDescription
[0]stringThe type of the gatekeeper