fn auth(env: soroban_sdk::Env) -> soroban_sdk::Address
fn admin(env: soroban_sdk::Env) -> soroban_sdk::Address
fn asset(env: soroban_sdk::Env) -> soroban_sdk::Address
fn supply(env: soroban_sdk::Env) -> i128
fn upgrade(env: soroban_sdk::Env, wasm_hash: soroban_sdk::BytesN<32>)
fn transact(env: soroban_sdk::Env, op: ChannelOperation)
Initiate a two-step transfer of the admin (owner) role to new_admin.
live_until_ledger is the ledger up to which new_admin may accept_admin. Pass
current_ledger + N, where N is the acceptance window in ledgers. The standard window
for a real ownership handover is 3 days = current_ledger + 3 * DAY_IN_LEDGERS
(51_840 ledgers); the sensible range is 24h (17_280) to 7d (120_960). There is deliberately
no default — every call states its window explicitly.
A non-zero window beyond the in-contract ceiling of 7 days (MAX_ACCEPTANCE_WINDOW =
120_960 ledgers past the current ledger) panics [Error::AcceptanceWindowTooLong].
live_until_ledger == 0 is exempt from the ceiling and cancels a pending transfer (the
library requires the cancel call to name the current pending address).
fn set_admin(
env: soroban_sdk::Env,
new_admin: soroban_sdk::Address,
live_until_ledger: u32,
)
fn accept_admin(env: soroban_sdk::Env)
fn utxo_balance(env: soroban_sdk::Env, utxo: soroban_sdk::BytesN<65>) -> i128
fn __constructor(
env: soroban_sdk::Env,
admin: soroban_sdk::Address,
auth_contract: soroban_sdk::Address,
asset: soroban_sdk::Address,
)
fn utxo_balances(
env: soroban_sdk::Env,
utxos: soroban_sdk::Vec>,
) -> soroban_sdk::Vec