Contract 662b29c0a3dee2b0faa0fabb04359d03f163ad3d3d1a1f53c9986337678ce347

← Back to Index 📥 Download WASM

Meta

rssdkver 22.0.7#211569aa49c8d896877dfca1f2eb4fe9071121c8
rsver 1.92.0

Instances

  • CCGYGOA3SNX22XJKAJYJ2SVCWKZDX2U6WJ6YYNF6ZX3XVOACM2V6DEQ3

Interface

Execute multiple contract invocations with explicit auth checking

This version explicitly calls require_auth() for transfer operations to ensure all sender addresses are properly authorized in the auth tree.

Arguments:

  • caller: The address initiating the Router.exec call (typically bot G-address)
  • invocations: Vec of (contract, method, args, can_fail)
  • contract: Contract address to invoke
  • method: Method name to call
  • args: Arguments for the method
  • can_fail: Whether this invocation can fail without reverting the entire batch
fn exec(
    env: soroban_sdk::Env,
    caller: soroban_sdk::Address,
    invocations: soroban_sdk::Vec<
        (
            soroban_sdk::Address,
            soroban_sdk::Symbol,
            soroban_sdk::Vec,
            bool,
        ),
    >,
) -> soroban_sdk::Vec

Imports

WebAssembly Text (WAT) ▶