Functions

batchVerify

  function batchVerify(
    struct IPlonkVerifier.VerifyingKey[] verifyingKeys,
    uint256[][] publicInputs,
    struct IPlonkVerifier.PlonkProof[] proofs,
    bytes[] extraTranscriptInitMsgs
  ) external returns (bool)

Batch verify multiple TurboPlonk proofs.

Parameters

NameTypeDescription
verifyingKeysstruct IPlonkVerifier.VerifyingKey[]An array of verifying keys
publicInputsuint256[][]A two-dimensional array of public inputs.
proofsstruct IPlonkVerifier.PlonkProof[]An array of Plonk proofs
extraTranscriptInitMsgsbytes[]An array of bytes from
transcript initialization messages

Return Values

ReturnsTypeDescription
struct IPlonkVerifier.VerifyingKey[]A boolean that is true for successful verification, false otherwise