Contract c484733f7daa8f04c14a771beae0f88713d70d47170ff78b882d7d3ab9dcc4be

← Back to Index 📥 Download WASM

Meta

rssdkver 27.0.6#60926a20d1f9f0a669d5fe551636f42a1302f0c0
rsver 1.98.0

Instances

  • CCQO7TQHAJCVOPZ2X5QJ4QJHG2CEOCKBSYVLYJZWLJYBUVDW7PPC74VM

Interface

Transfers amounts[i] of token from from to recipients[i].

Recipients may be classic accounts or contract accounts (such as passkey smart wallets), since the token contract credits either the trustline or a contract balance entry as appropriate.

The batch is validated in full before from is asked to authorize and before any transfer runs, so a bad batch fails during simulation without moving anything. On success one [DisburseEvent] is published.

fn disburse(
    env: soroban_sdk::Env,
    token: soroban_sdk::Address,
    from: soroban_sdk::Address,
    recipients: soroban_sdk::Vec,
    amounts: soroban_sdk::Vec,
) -> Result

Imports

WebAssembly Text (WAT) ▶