Contract b6f86b89a64256cb7c80cb506b848b22c743c3d17e88a62e7db30ad981101fb8

← Back to Index 📥 Download WASM

Meta

cliver 27.0.0#5a7c5fe76530bf4248477ac812fc757146b98cc4
rssdkver 27.0.0-rc.1#6656a27d81fe6832919c49f226b9fc76b7dae5c1
rsver 1.97.1

Interface

Extend the contract's TTL by 1 year.

fn ping(env: soroban_sdk::Env)

Upgrade the contract WASM. Only callable by the owner.

fn upgrade(env: soroban_sdk::Env, new_wasm_hash: soroban_sdk::BytesN<32>)
fn get_owner(env: soroban_sdk::Env) -> soroban_sdk::Address

Initialise the lockb0x for owner with an optional PoH anchor. Called exactly once by the Controller Contract after deployment.

fn initialize(
    env: soroban_sdk::Env,
    owner: soroban_sdk::Address,
    poh_anchor: soroban_sdk::BytesN<32>,
)
fn get_poh_anchor(env: soroban_sdk::Env) -> soroban_sdk::BytesN<32>
fn is_poh_verified(env: soroban_sdk::Env) -> bool
fn get_contact_root(env: soroban_sdk::Env) -> soroban_sdk::BytesN<32>
fn get_gallery_root(env: soroban_sdk::Env) -> soroban_sdk::BytesN<32>

Update the Contact List SMT root.

fn update_contact_root(env: soroban_sdk::Env, new_root: soroban_sdk::BytesN<32>)

Update the BYOS Media Gallery SMT root.

fn update_gallery_root(env: soroban_sdk::Env, new_root: soroban_sdk::BytesN<32>)

Imports

WebAssembly Text (WAT) ▶