Type alias PODPCDArgValidatorParams

PODPCDArgValidatorParams: {
    membershipLists?: JSONPODMembershipLists;
    notFoundMessage?: string;
    prescribedEntries?: JSONFixedPODEntries;
    prescribedSignerPublicKeys?: PODSignerPublicKeys;
    proofConfig?: JSONProofConfig;
}

Validator parameters for POD PCD arguments. These will play a role in filtering the selection of PODs available for a user to choose for their proof.

Type declaration

  • Optional membershipLists?: JSONPODMembershipLists

    JSON-formatted membership lists to narrow down the selection of POD PCDs to those satisfying the list membership check specified in the proof config. This should coincide with the membership lists supplied in the GPCPCDArgs (if any). May be parsed using @pcd/gpc!podMembershipListsFromJSON

  • Optional notFoundMessage?: string

    Message to display if the POD specified in the config does not match any of the available POD PCDs.

  • Optional prescribedEntries?: JSONFixedPODEntries

    JSON-formatted PODEntries.This is used to narrow down the selection of POD PCDs to those with entries matching these prescribed values.

    You can use fixedPODEntriesFromJSON to parse this object.

  • Optional prescribedSignerPublicKeys?: PODSignerPublicKeys

    Record of prescribed signers' public keys. This is used to narrow down the selection of POD PCDs to those with signers' public keys matching these prescribed values.

  • Optional proofConfig?: JSONProofConfig

    JSON-formatted proof configuration used to narrow down the selection of POD PCDs. This should coincide with the proof config supplied in the GPCPCDArgs. May be parsed using @pcd/gpc!proofConfigFromJSON.

Generated using TypeDoc