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