Type alias GPCRevealedOwnerClaims

GPCRevealedOwnerClaims: {
    externalNullifier: PODValue;
    nullifierHashV3?: bigint;
    nullifierHashV4?: bigint;
}

Optional part of GPCRevealedClaims claims relating to an owner's identity.

Type declaration

  • externalNullifier: PODValue

    If this field is set, it matches the corresponding field in GPCProofInputs, and nullifierHash will also be set. The hash is uniquely tied to this value, and to the owner's private identity. This allows identifying duplicate proofs (e.g. to avoid double spending or voting) without de-anonymizing the owner.

    This field can be a PODValue of any type, and will be represented in the circuit as a number or a hash as appropriate. When the proof is verified, the external nullifier is also verified (as a public input).

  • Optional nullifierHashV3?: bigint

    If set, this is a hash calculated in the proof, tied to the externalNullifier value and the owner's Semaphore V3 identity. This allows identifying duplicate proofs (e.g. to avoid double spending or voting) without de-anonymizing the owner.

  • Optional nullifierHashV4?: bigint

    If set, this is a hash calculated in the proof, tied to the externalNullifier value and the owner's Semaphore V4 identity. This allows identifying duplicate proofs (e.g. to avoid double spending or voting) without de-anonymizing the owner.

Generated using TypeDoc