Minimal Anti Collusion Infrastructure (MACI) v2.2.1 / isRegisteredUser
Function: isRegisteredUser()
isRegisteredUser(
IRegisteredArgs
):Promise
<object
>
Checks if user is registered with public key
Parameters
• IRegisteredArgs: IRegisteredUserArgs
The arguments for the register check command
Returns
Promise
<object
>
user registered or not and state index, voice credit balance
isRegistered
isRegistered:
boolean
stateIndex?
optional
stateIndex:string
voiceCredits?
optional
voiceCredits:string
Defined in
commands/signup.ts:143