fn initialize(env: soroban_sdk::Env, owner: soroban_sdk::Address)
NOTE: Calling require_auth more than once for the same Address
after a nested contract call violates the authorization‑tree rules
and triggers Error(Auth, ExistingValue) :contentReference[oaicite:1]{index=1}.
We therefore collect one authorization up‑front that covers the
whole route.
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