Contract 86c1e7cae3b2067bfd6f1b5632c2a750d6daec0df7601ffe99572012ff6ef456

← Back to Index 📥 Download WASM

Meta

cliver 27.0.0#5a7c5fe76530bf4248477ac812fc757146b98cc4
rssdkver 27.0.1#19a2d480fffa003e739db7cbee0249111dbfd05c
rsver 1.93.1

Instances

  • CAW2I46WNUEOWDOLUPLNRRKSRROR2TAQNQBOOQSEAVDMPM55WYTKJDBE

Interface

Claim a pending claimable balance. Transfers escrowed tokens to claimant.

fn claim_b(env: soroban_sdk::Env, balance_id: soroban_sdk::BytesN<32>)

Admin-only: upgrade the contract WASM.

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

Create a claimable balance. The source lockb0x authorizes this call (triggering __check_auth with LBXCTXV2 domain).

Returns the generated balance_id.

fn create_b(
    env: soroban_sdk::Env,
    source: soroban_sdk::Address,
    claimant: soroban_sdk::Address,
    amount: i128,
    expiry_ledger: u32,
) -> soroban_sdk::BytesN<32>

Expire a claimable balance after expiry_ledger has passed. Returns tokens to the original source.

fn expire_b(env: soroban_sdk::Env, balance_id: soroban_sdk::BytesN<32>)

Query a specific balance record by ID.

fn get_balance(
    env: soroban_sdk::Env,
    balance_id: soroban_sdk::BytesN<32>,
) -> ClaimableBalance

Query pending balance IDs for a given claimant.

fn list_pending(
    env: soroban_sdk::Env,
    claimant: soroban_sdk::Address,
) -> soroban_sdk::Vec>

Atomically initialize the escrow with an admin and SAC token contract.

fn __constructor(
    env: soroban_sdk::Env,
    admin: soroban_sdk::Address,
    token: soroban_sdk::Address,
)

Query configured denomination tiers.

fn get_denominations(env: soroban_sdk::Env) -> soroban_sdk::Vec

Admin-only: set allowed denomination tiers (stroops). Pass an empty Vec to disable denomination enforcement.

fn set_denominations(env: soroban_sdk::Env, tiers: soroban_sdk::Vec)

Imports

WebAssembly Text (WAT) ▶