Contract dbfcae5960ca1baedcacc98934457b207467cd23bb2351a6ab13e5ff02d68a24

← Back to Index 📥 Download WASM

Meta

cliver 26.0.0#60f7458e7ecffddf2f2d91dc6d0d2db4fab03ecc
rssdkver 22.0.11#34f7f53ae31e0fd02aab436a9872e79fa671ca02
rsver 1.95.0

Instances

  • CBUQZRFS63H6CNVUHPZE4F2KHGUZBMGFYGDOUE52ZTBH3AQ2LCVURZIK

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) ▶