Skip to main content
Version: v3.x

Minimal Anti Collusion Infrastructure (MACI) / formatProofForVerifierContract

Variable: formatProofForVerifierContract()

const formatProofForVerifierContract: (proof) => string[]

Defined in: contracts/build/ts/utils.d.ts:18

Format a SnarkProof type to an array of strings which can be passed to the Groth16 verifier contract.

Parameters

proof

the SnarkProof to format

SnarkProof | Groth16Proof

Returns

string[]

an array of strings