Contract 5d13258c3b823f8265652e7ca48a063e7dab02c12f826b0f858b9a43460201d6

← Back to Index 📥 Download WASM

Meta

cliver 26.0.0#60f7458e7ecffddf2f2d91dc6d0d2db4fab03ecc
rssdkver 22.0.11#34f7f53ae31e0fd02aab436a9872e79fa671ca02
rsver 1.95.0

Instances

  • CCNRSZLLMHW36GOZQPR5VRRMNB5CH7AXOZMFN4KURNIQSO7LKELG65DE

Interface

fn accept(
    env: soroban_sdk::Env,
    agent: soroban_sdk::Address,
    tx_id: soroban_sdk::String,
    amount: i128,
    receiver: soroban_sdk::Address,
) -> Result<(), ContractError>
fn refund(
    env: soroban_sdk::Env,
    tx_id: soroban_sdk::String,
) -> Result

Initialize with USDC token addressCalled once on deploy.

fn initialize(
    env: soroban_sdk::Env,
    usdc_token: soroban_sdk::Address,
) -> Result<(), ContractError>
fn get_balance(env: soroban_sdk::Env) -> i128
fn get_tx_record(
    env: soroban_sdk::Env,
    tx_id: soroban_sdk::String,
) -> Result
fn get_tx_status(
    env: soroban_sdk::Env,
    tx_id: soroban_sdk::String,
) -> Result
fn __constructor(env: soroban_sdk::Env, usdc_token: soroban_sdk::Address)
fn get_usdc_token(env: soroban_sdk::Env) -> Result
fn receiver_confirm(
    env: soroban_sdk::Env,
    tx_id: soroban_sdk::String,
    receiver: soroban_sdk::Address,
) -> Result

Imports

WebAssembly Text (WAT) ▶