Contract 3ad6318ac21a8beae32cb7bd640c305963998707ba90692630492d0c4e785482

← Back to Index 📥 Download WASM

Meta

cliver 26.0.0#60f7458e7ecffddf2f2d91dc6d0d2db4fab03ecc
rssdkver 25.3.1#e50d95af029c83196dd122f0154bac3f1302394b
rsver 1.95.0

Instances

  • CDAVC272J2K4QKZKOBL7SOGJIP5BEKEETQFQV472KX4OELUVFSB5L6NI

Interface

fn init(
    env: soroban_sdk::Env,
    admin: soroban_sdk::Address,
    operator: soroban_sdk::Address,
    issuance_relayer: soroban_sdk::Address,
    renewal_relayer: soroban_sdk::Address,
    payment_registry: soroban_sdk::Address,
) -> Result<(), VouchifyError>
fn get_membership(
    env: soroban_sdk::Env,
    membership_id: soroban_sdk::String,
) -> Result
fn payment_registry(
    env: soroban_sdk::Env,
) -> Result
fn renew_membership(
    env: soroban_sdk::Env,
    caller: soroban_sdk::Address,
    membership_id: soroban_sdk::String,
    renewal_payment_id: soroban_sdk::String,
    total_credits: u32,
    expires_at: u64,
    external_ref: soroban_sdk::String,
) -> Result
fn set_auto_renewal(
    env: soroban_sdk::Env,
    caller: soroban_sdk::Address,
    membership_id: soroban_sdk::String,
    enabled: bool,
) -> Result
fn expire_membership(
    env: soroban_sdk::Env,
    caller: soroban_sdk::Address,
    membership_id: soroban_sdk::String,
) -> Result
fn redeem_membership_credit(
    env: soroban_sdk::Env,
    caller: soroban_sdk::Address,
    membership_id: soroban_sdk::String,
    credits: u32,
) -> Result
fn create_membership_from_payment(
    env: soroban_sdk::Env,
    caller: soroban_sdk::Address,
    membership_id: soroban_sdk::String,
    payment_id: soroban_sdk::String,
    current_owner: soroban_sdk::Address,
    merchant_id: u64,
    total_credits: u32,
    expires_at: u64,
    external_ref: soroban_sdk::String,
) -> Result

Imports

WebAssembly Text (WAT) ▶