Contract 9f19a2d1aa142b2c1e0a02a160cc6d8c21e491f71ac53c46f7decdf924abc2f4

← Back to Index 📥 Download WASM

Meta

rssdkver 23.2.1#ab415a33cc1f6bdce20ac4a12f0ddbe41a648949
rsver 1.92.0

Instances

  • CCS7NB2PSGHZCEGR7BLVWM2OQW7S47ABWMJ6Q2A45BUSEW4WZVHA2DI4

Interface

Custodial multi-step route. ABI: (user, swap_id, input_token, input_amount, output_token, steps, affiliate_fees, fee_position, receiver) -> u128. See type docs above for fee_position, arg_refs, and bridge-route semantics.

fn route(
    env: soroban_sdk::Env,
    user: soroban_sdk::Address,
    swap_id: soroban_sdk::BytesN<16>,
    input_token: soroban_sdk::Address,
    input_amount: u128,
    output_token: Option,
    steps: soroban_sdk::Vec,
    affiliate_fees: soroban_sdk::Vec,
    fee_position: u32,
    receiver: Option,
) -> u128

Permissionless instance-TTL keep-alive.

fn bump_ttl(env: soroban_sdk::Env)

Imports

WebAssembly Text (WAT) ▶