Contract 1d3621544cd3bacd0f3d4449af5b55cbde0573b0ac1287bac895a2d958b159ea

← Back to Index 📥 Download WASM

Meta

rssdkver 27.0.6#60926a20d1f9f0a669d5fe551636f42a1302f0c0
rsver 1.98.0

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