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);
Parameters:
| Input | Type | Description |
|---|---|---|
| vaultAddress | string | address of the vault you want to interact with |
| userAddress | string | address of the user to get info for |
| provider | object | ethers 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
| Name | Type | Description |
|---|---|---|
| step1Dealings | string | String of step1 data |
| pedersenOpeningKey | string | PedersenOpeningKey |
| pedersenOpeningKappa | string | pedersenOpeningKappa |
| pedersenOpeningLambda | string | pedersenOpeningLambda |
| simpleDealingKey | string | simpleDealingKey |
| simpleDealingKappa | string | simpleDealingKappa |
| pedersenTranscriptKey | string | pedersenTranscriptKey |
| pedersenTranscriptKappa | string | pedersenTranscriptKappa |
| pedersenTranscriptLambda | string | pedersenTranscriptLambda |
| step3Crypto | string | String of step3 data |