Contract aa54d2f2de63a83453e75fd997a059888cef37e037efc351a5ef62b1ec7747cd

← Back to Index 📥 Download WASM

Meta

rssdkver 22.0.8#f46e9e0610213bbb72285566f9dd960ff96d03d8
rsver 1.91.0

Instances

  • CCCMQDT3KMDY5SISZYZQPOGVRL7SL5WRACOTQD2DXG7M577WWNF6W4H4

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