Contract 3a6d3db17f5dd76d4c900bda3556d43cd6503e55469e0e93619327e053f2fff8

← Back to Index 📥 Download WASM

Meta

rssdkver 22.0.7#211569aa49c8d896877dfca1f2eb4fe9071121c8
rsver 1.86.0

Instances

  • CAVWMGMVRBRWJN3OOJG2OOLBY4AGWWDGIPVJIODVL52SRBIB34V6ESBW

Interface

Only the owner may initialize

fn initialize(env: soroban_sdk::Env, owner: soroban_sdk::Address)

Execute a chain of swaps across different AMMs

fn execute(
    env: soroban_sdk::Env,
    caller: soroban_sdk::Address,
    actions: soroban_sdk::Vec>,
    max_amount: u128,
    min_profit: u128,
) -> u128

Owner-only withdraw

fn withdraw(
    env: soroban_sdk::Env,
    caller: soroban_sdk::Address,
    token: soroban_sdk::Address,
    to: soroban_sdk::Address,
    amount: u128,
)

Permit all self-auth checks under this contract.

fn __check_auth(
    env: soroban_sdk::Env,
    payload: soroban_sdk::Bytes,
    sigs: soroban_sdk::Vec,
    invocs: soroban_sdk::Vec,
) -> bool

Imports

WebAssembly Text (WAT) ▶