Contract ab45df178064d64c773aede611ec460d5d6681072a1b3aaa2e01b2840befab5e

← Back to Index 📥 Download WASM

Meta

cliver 25.2.0#28484880988199233a7e8e87c97cb12dac323cb3
rssdkver 22.0.11#34f7f53ae31e0fd02aab436a9872e79fa671ca02
rsver 1.93.1

Instances

  • CCXMT4SCAYDGWBUVQ63R4H5DX3ONCEHPVVUAP56VUGC5IPG6LPEQZHQB

Interface

Atomically pay the merchant and the relayer's gas collector, both in token, under the payer's authorization. All-or-nothing: if either transfer fails the whole invocation reverts.

fn forward(
    env: soroban_sdk::Env,
    payer: soroban_sdk::Address,
    token: soroban_sdk::Address,
    merchant: soroban_sdk::Address,
    payment_amount: i128,
    collector: soroban_sdk::Address,
    fee_amount: i128,
) -> Result<(), soroban_sdk::Error>

Imports

WebAssembly Text (WAT) ▶