Contract edde20c3d5ee917a5c75ac0901e23a2f0038c0916cdce095d1d7f088a6fcd1d3

← Back to Index 📥 Download WASM

Meta

cliver 23.2.0#8c559e832fd969aa469784b66e70891fadf94f0a
rssdkver 25.1.0#86c50a1ea4f87b40add3064ff9df95c7553565c5
rsver 1.92.0

Instances

  • CDSFXL4KGMKKDX7B6NBGPTDGALNBLMYTEOUK4D3XS4ABLYIGEDKE55TC

Interface

Verify a Groth16 proof using the stored verification key.

fn verify(
    env: soroban_sdk::Env,
    proof: Groth16Proof,
    public_inputs: soroban_sdk::Vec,
) -> Result

Constructor: initialize the contract with a verification key.

fn __constructor(
    env: soroban_sdk::Env,
    vk: VerificationKeyBytes,
) -> Result<(), Groth16Error>

Imports

WebAssembly Text (WAT) ▶