Contract 5fd9b2dff5d1273980f75c1dad48aff77ad95eff3d7278994bfb59803fdbad04

← Back to Index 📥 Download WASM

Meta

rssdkver 22.0.7#211569aa49c8d896877dfca1f2eb4fe9071121c8
rsver 1.86.0

Instances

  • CDI2LWMQ3H3Z3PYSGV4DERX3VWUCQFZI7EUWFTYLAWXCKOJX2JFZO7TS

Interface

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

Execute an atomic, multi-protocol route with precomputed parameters.

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

Withdraw arbitrary amount of a specified token from contract back to owner

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

Imports

WebAssembly Text (WAT) ▶