Contract ab13f55a2938ed834d10aa4e008128edcec35969f56a925aade6fe5dafcbb7ab

← Back to Index 📥 Download WASM

Meta

rssdkver 22.0.7#211569aa49c8d896877dfca1f2eb4fe9071121c8
rsver 1.86.0

Instances

  • CAOCXIRL3B7BRDZDNIN6KPYCX7GVEGCJDNSAGXJQOLBFKULYSCO5IM7V

Interface

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

Imports

WebAssembly Text (WAT) ▶