Contract d45ed61b23d7162a9cbe7ce5cdf98a1bff3150f1f61ec38eaf042fda6bde8a70

← Back to Index 📥 Download WASM

Meta

rssdkver 26.1.0#175aa41306f383057a8cdfc84b68d931664fc34e
rsver 1.96.1

Instances

  • CBSV5JBW62GX7FV2ORZIZSELMGFKB6V6HHZAM55YMMFSI72A5IML24N3

Interface

fn init(
    env: soroban_sdk::Env,
    admin: soroban_sdk::Address,
    stream_contract: soroban_sdk::Address,
) -> Result<(), soroban_sdk::Error>
fn get_attestation(
    env: soroban_sdk::Env,
    attestation_id: u64,
) -> Result
fn mint_attestation(
    env: soroban_sdk::Env,
    caller: soroban_sdk::Address,
    kind: AttestationKind,
    stream_id: u64,
    request_id: soroban_sdk::String,
    checkpoint_index: u32,
    sender: soroban_sdk::Address,
    recipient: soroban_sdk::Address,
    amount_paid: i128,
    asset: soroban_sdk::Address,
    category: Category,
    title: soroban_sdk::String,
    period_start_ledger: u32,
    period_end_ledger: u32,
    active_duration_seconds: u64,
    client_confirmed: bool,
    auto_released: bool,
    report_hash: Option>,
) -> Result
fn verify_attestation(env: soroban_sdk::Env, attestation_id: u64) -> bool
fn get_sender_attestations(
    env: soroban_sdk::Env,
    sender: soroban_sdk::Address,
) -> soroban_sdk::Vec
fn get_recipient_attestations(
    env: soroban_sdk::Env,
    recipient: soroban_sdk::Address,
) -> soroban_sdk::Vec

Imports

WebAssembly Text (WAT) ▶