Contract f1b6240915e8704350668364192aa320240391f73f85d62419088eb5c748c041

← Back to Index 📥 Download WASM

Meta

cliver 26.0.0#60f7458e7ecffddf2f2d91dc6d0d2db4fab03ecc
rssdkver 25.3.1#e50d95af029c83196dd122f0154bac3f1302394b
rsver 1.95.0

Instances

  • CALEBRJO7CI3KB24SL2RAP7B76AIRXC6IPQFD2AJK2DK6WXSJBAVGILL

Interface

Mint a receivable for one invoice. Off-chain gate must pass before calling.

fn mint(
    env: soroban_sdk::Env,
    issuer: soroban_sdk::Address,
    msme: soroban_sdk::Address,
    invoice_id: soroban_sdk::String,
    face_amount: i128,
) -> Result
fn is_minted(
    env: soroban_sdk::Env,
    invoice_id: soroban_sdk::String,
) -> Result

One-time setup. admin is the issuer (represents Axial after off-chain payer confirm + NoA).

fn initialize(
    env: soroban_sdk::Env,
    admin: soroban_sdk::Address,
) -> Result<(), soroban_sdk::Error>
fn get_receivable(
    env: soroban_sdk::Env,
    invoice_id: soroban_sdk::String,
) -> Result

Imports

WebAssembly Text (WAT) ▶