fn initialize(env: soroban_sdk::Env, owner: soroban_sdk::Address)
Execute a pre‑built route returned by the off‑chain path‑finder.
actions ‑ serialized route description (see Action)max_amount ‑ cap on input the router may deploymin_profit ‑ minimum acceptable profit (slippage guard)The caller must be the owner and signs one authorization that
covers the tuple (actions, max_amount, min_profit).
fn execute(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
actions: soroban_sdk::Vec,
max_amount: u128,
min_profit: u128,
) -> u128
fn withdraw(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
token: soroban_sdk::Address,
to: soroban_sdk::Address,
amount: u128,
)
fn __check_auth(
env: soroban_sdk::Env,
_payload: soroban_sdk::BytesN<32>,
_sigs: soroban_sdk::Vec,
_invocs: soroban_sdk::Vec,
) -> bool