Skip to main content

getUserRegistrationAllInfos


Returns registration status for the user if that user has used the automaticRegsitration and registerAllSteps functions

Helps determine if there is a user who has not participated in the registration process for a new vault

import { getUserRegistrationAllInfos } from "@intuweb3";
await getUserRegistrationAllInfos("0xvault", "0xuser", provider);

Arguments:

InputTypeDescription
vaultAddressstringaddress of the vault you want to interact with
userAddressstringaddress of the user to get info for
providerobjectethers provider

Returns:

An array of results, the registration status of the user and the registration status of the vault. Example: If the user is in Step1, but the group is still in PreRegistration, then the user has to wait for everyone to finish their PreRegistration

NameTypeDescription
step1DealingsstringString of step1 data
pedersenOpeningKeystringPedersenOpeningKey
pedersenOpeningKappastringpedersenOpeningKappa
pedersenOpeningLambdastringpedersenOpeningLambda
simpleDealingKeystringsimpleDealingKey
simpleDealingKappastringsimpleDealingKappa
pedersenTranscriptKeystringpedersenTranscriptKey
pedersenTranscriptKappastringpedersenTranscriptKappa
pedersenTranscriptLambdastringpedersenTranscriptLambda
step3StuffstringString of step3 data