Contract 5107c4ca469a73f9ac3df5cc15a924f817da3cbfd9fae5868449a964cd93a982

← Back to Index 📥 Download WASM

Meta

cliver 25.0.0#a64925e9391c3d3b3ef8e53dc60c23db9e6a82e4
rssdkver 25.1.0#86c50a1ea4f87b40add3064ff9df95c7553565c5
rsver 1.93.0

Instances

  • CA6NRLSK6Y5TFJTQT7LRN6DD7GJ4S6XITIJQSO3PLNW2U4BSVMYJARM6

Interface

Verify a Groth16 proof (BLS12-381). vk_bytes: alpha(G1) || beta(G2) || gamma(G2) || delta(G2) || ic proof_bytes: a(G1) || b(G2) || c(G1) pub_signals_bytes: concat of big-endian Fr (32 bytes each), length = n_pub.

fn verify(
    env: soroban_sdk::Env,
    vk_bytes: soroban_sdk::Bytes,
    proof_bytes: soroban_sdk::Bytes,
    pub_signals_bytes: soroban_sdk::Bytes,
) -> Result

Imports

WebAssembly Text (WAT) ▶