Contract edd4674da5d5e5249436831c7cd6272b86715e06f148e63cce5a49c91cc40bbf

← Back to Index 📥 Download WASM

Meta

rssdkver 22.0.11#34f7f53ae31e0fd02aab436a9872e79fa671ca02
rsver 1.95.0

Interface

Read the latest commitment for owner.

fn get(env: soroban_sdk::Env, owner: soroban_sdk::Address) -> Option

Remove the commitment (e.g., account deletion / right to be forgotten).

fn clear(env: soroban_sdk::Env, owner: soroban_sdk::Address)

Commit (or overwrite) the portfolio hash for owner. Requires an authorization from owner so only the account itself can update.

fn commit(
    env: soroban_sdk::Env,
    owner: soroban_sdk::Address,
    hash: soroban_sdk::BytesN<32>,
    schema: u32,
    asset_count: u32,
) -> Commitment

Contract version — bump on schema changes.

fn version(env: soroban_sdk::Env) -> u32

Imports

WebAssembly Text (WAT) ▶