Contract 9f114acbfca10fe7c4ecaebeb9df3d37386726079add211f4abe80ea2771c7c3

← Back to Index 📥 Download WASM

Meta

rssdkver 22.0.8#f46e9e0610213bbb72285566f9dd960ff96d03d8
rsver 1.91.0

Instances

  • CDE447VN53TWZ5IUASTFIFGX2EC5RZZXFGFJJEGL5JZ23EFQBXBZM2QB

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