Keep the contract alive. Anyone may call.
fn ping(env: soroban_sdk::Env)
fn owner(env: soroban_sdk::Env) -> soroban_sdk::Address
fn token(env: soroban_sdk::Env) -> soroban_sdk::Address
Current ZSOZSO balance held by the vault.
fn balance(env: soroban_sdk::Env) -> i128
Withdraw the entire ZSOZSO balance of the vault to the owner. Callable only by the owner, and only after the unlock ledger.
fn withdraw(env: soroban_sdk::Env)
Initialise the vault.
owner: the only account that will ever be allowed to withdraw.token: the Stellar Asset Contract address of ZSOZSO on Mainnet.A random unlock ledger between 365 and 730 days from the current ledger is chosen at construction time.
fn __constructor(
env: soroban_sdk::Env,
owner: soroban_sdk::String,
token: soroban_sdk::String,
)
Ledger sequence at which withdraw becomes callable.
fn unlock_ledger(env: soroban_sdk::Env) -> u32