Contract 02e0dbf89e9429b340c3f6b0cde241c4b229d50f1aa55ab7da231ae8c918421c

← Back to Index 📥 Download WASM

Meta

rssdkver 22.0.8#f46e9e0610213bbb72285566f9dd960ff96d03d8
rsver 1.91.0

Instances

  • CCFPR7O65EHBYOKWHUDGUPCVXBDJL2PDVMGWOR5VA6UYCOXZPIAUAZXU

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