Interface ICircuitPrivateVarMultiCred

A mapping of one private variable of the Circom circuit to one or more (credential, attribute) pairs

interface ICircuitPrivateVarMultiCred {
    attributeRef: [number, {
        [key: string]: null | object;
    }] | [number, {
        [key: string]: null | object;
    }][];
    varName: string;
}

Properties

attributeRef: [number, {
    [key: string]: null | object;
}] | [number, {
    [key: string]: null | object;
}][]

A circuit variable can be reference to a single attribute or an array and thus map to one or more attribute references. Each attribute reference is a pair with 1st item is the credential index and 2nd is the attribute name

varName: string