Contract e12ebb654dd8ef9720f8f3d79e31175fb5c4404b9b331bff17be88f7ab101b36

← Back to Index 📥 Download WASM

Meta

rssdkver 22.0.8#f46e9e0610213bbb72285566f9dd960ff96d03d8
rsver 1.93.1

Instances

  • CDYKN7NC3PNEIVVRSPQN4AE6DRBDIQOV5PBGCNOUCSNBM5EBRN5RVTFW

Interface

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

Creates a new time lock store with contract registry for admin authentication

Arguments

  • contract_registry - The address of the contract registry for admin authentication
fn __constructor(env: soroban_sdk::Env, contract_registry: soroban_sdk::Address)
fn get_transfer_ttl(env: soroban_sdk::Env) -> u32
fn request_transfer(
    env: soroban_sdk::Env,
    wallet: soroban_sdk::Address,
    token: soroban_sdk::Address,
    amount: i128,
    to: soroban_sdk::Address,
) -> u64
fn set_transfer_ttl(env: soroban_sdk::Env, ttl_seconds: u32)
fn is_transfer_allowed(
    env: soroban_sdk::Env,
    wallet: soroban_sdk::Address,
    token: soroban_sdk::Address,
    amount: i128,
    to: soroban_sdk::Address,
) -> bool
fn set_parent_for_wallet(
    env: soroban_sdk::Env,
    wallet: soroban_sdk::Address,
    parent_entity: soroban_sdk::BytesN<16>,
)
fn get_time_lock_duration(env: soroban_sdk::Env) -> u32
fn set_time_lock_duration(env: soroban_sdk::Env, duration_seconds: u32)

Imports

WebAssembly Text (WAT) ▶