Contract 3ae57caa5af8cd126ff833e2f8042ff38b5c95f907aed419c950d8767b07c9c5

← Back to Index 📥 Download WASM

Meta

rssdkver 25.3.2#076083c6fe32ab89660da9eb90f34445eea46079
rsver 1.97.0

Instances

  • CA326PEG3MPJ4O42WNOVA2RPU4IBGQ23ANI67RLBN5UY5DAO5CV3EOLL

Interface

withdraw(epsilon) -> refresh(markets) -> supply(amount), all inside a single invocation on proxy. caller must carry real authorization (tx source / recorded auth) — this contract adds no privileges.

fn atomic_supply(
    env: soroban_sdk::Env,
    caller: soroban_sdk::Address,
    proxy: soroban_sdk::Address,
    market: u32,
    epsilon: i128,
    amount: i128,
) -> i128

Imports

WebAssembly Text (WAT) ▶