ProofBase
Extended by
Type parameters
• Input = any
• Output = any
Constructors
new ProofBase()
new ProofBase<Input, Output>(__namedParameters: {
"maxProofsVerified": 0 | 1 | 2;
"proof": unknown;
"publicInput": Input;
"publicOutput": Output;
}): ProofBase<Input, Output>
Parameters
• __namedParameters
• __namedParameters.maxProofsVerified: 0
| 1
| 2
• __namedParameters.proof: unknown
• __namedParameters.publicInput: Input
• __namedParameters.publicOutput: Output
Returns
ProofBase
\<Input
, Output
>
Source
Properties
maxProofsVerified
maxProofsVerified: 0 | 1 | 2;
Source
proof
proof: unknown;
Source
publicInput
publicInput: Input;
Source
publicOutput
publicOutput: Output;
Source
shouldVerify
shouldVerify: Bool;
Source
publicInputType
static publicInputType: FlexibleProvablePure<any>;
Source
publicOutputType
static publicOutputType: FlexibleProvablePure<any>;
Source
tag()
static tag: () => {
"name": string;
};
Returns
{
"name": string;
}
name
name: string;
Source
Accessors
provable
get static provable(): Provable<any>
Returns
Provable
\<any
>
Source
Methods
publicFields()
publicFields(): {
"input": Field[];
"output": Field[];
}
Returns
{
"input": Field[];
"output": Field[];
}
input
input: Field[];
output
output: Field[];
Source
toJSON()
toJSON(): JsonProof
Returns
Source
publicFields()
static publicFields(value: ProofBase<any, any>): {
"input": Field[];
"output": Field[];
}
Parameters
• value: ProofBase
\<any
, any
>
Returns
{
"input": Field[];
"output": Field[];
}
input
input: Field[];
output
output: Field[];