Contract 02ab25a263653165bba4a74b3248a2406c9fd2e4a44f158a998b4abb0a24fe59

← Back to Index 📥 Download WASM

Meta

rssdkver 22.0.7#211569aa49c8d896877dfca1f2eb4fe9071121c8
rsver 1.86.0

Instances

  • CDE27PU73W7XQO37JQDTG7I46K3BBRF4HPO3IP536V34EXDEWSC22BR6

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) ▶