Executes calls in order and returns each call's raw return value. Any
failing call traps the whole invocation, so every call lands or none
does.
e - Access to the Soroban environment.calls - The calls, executed front to back.fn multicall(
env: soroban_sdk::Env,
calls: soroban_sdk::Vec,
) -> soroban_sdk::Vec
Executes calls in order and returns one outcome per call: the raw
return value when it lands, or the failure as a host Error value. A
failing call rolls back only its own effects; a budget or footprint
limit still aborts the whole transaction.
e - Access to the Soroban environment.calls - The calls, executed front to back.fn multicall_try(
env: soroban_sdk::Env,
calls: soroban_sdk::Vec,
) -> soroban_sdk::Vec
Runs calls like multicall, then fills the order calls[0] created
and returns the batch results with the fill payout appended. calls[0]
must target the market and return the u32 order id; a failing fill
unwinds the whole batch.
e - Access to the Soroban environment.calls - The batch; calls[0] creates the order to fill.user - The order owner, passed to execute_order.keeper - The fill-reward recipient.price - The price update for the fill.fn create_and_fill(
env: soroban_sdk::Env,
calls: soroban_sdk::Vec,
user: soroban_sdk::Address,
keeper: soroban_sdk::Address,
price: soroban_sdk::Bytes,
) -> soroban_sdk::Vec
Runs calls like multicall, then attempts to fill the order
calls[0] created and returns the batch results with the fill outcome
appended: the payout on a fill, or the failure as a host Error value,
in which case the orders rest for a later keeper fill.
e - Access to the Soroban environment.calls - The batch; calls[0] creates the order to fill.user - The order owner, passed to execute_order.keeper - The fill-reward recipient.price - The price update for the fill.fn create_and_try_fill(
env: soroban_sdk::Env,
calls: soroban_sdk::Vec,
user: soroban_sdk::Address,
keeper: soroban_sdk::Address,
price: soroban_sdk::Bytes,
) -> soroban_sdk::Vec