Contract ca980ef35735ef69f07cd93bac24638125b91fcb478f009f8e9510b84038f706

← Back to Index 📥 Download WASM

Meta

rssdkver 25.3.2#076083c6fe32ab89660da9eb90f34445eea46079
rsver 1.97.0

Instances

  • CDFEW3CXP6C5P5XUNH2RSDJTH7P76UFJTXT6GOTRJGCD6IOT3NLTZKO2

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