Contract 082a8115b3ad35fe9fd583edfcd26baf033188bb022fe44f9291f84f6e6c9ddb

← Back to Index 📥 Download WASM

Meta

rssdkver 23.2.1#ab415a33cc1f6bdce20ac4a12f0ddbe41a648949
rsver 1.92.0

Instances

  • CAPKIOK7LNUIJ5ZK5AIJV546D6F46HMNATW2FNSQN7TI4LVATRVDUHFE

Interface

Pinned collector WASM hash.

fn wasm(env: soroban_sdk::Env) -> soroban_sdk::BytesN<32>

Deploys a fresh collector with admin as its sole admin. salt is mixed with the admin address so the same admin can deploy many distinct collectors at deterministic, pre-computable addresses.

fn deploy(
    env: soroban_sdk::Env,
    admin: soroban_sdk::Address,
    salt: soroban_sdk::BytesN<32>,
) -> soroban_sdk::Address

Pre-computes the address that deploy(admin, salt) would produce. Useful for integrators who want to hand out the collector address before deploying.

fn predict(
    env: soroban_sdk::Env,
    admin: soroban_sdk::Address,
    salt: soroban_sdk::BytesN<32>,
) -> soroban_sdk::Address

Permissionless instance-TTL keep-alive.

fn bump_ttl(env: soroban_sdk::Env)

Pins the WASM hash that every spawned collector will be deployed from. Immutable — re-deploying the factory is the upgrade path.

fn __constructor(env: soroban_sdk::Env, fee_collector_wasm: soroban_sdk::BytesN<32>)

Imports

WebAssembly Text (WAT) ▶