Contract d0e93cf97d4d2f0ad9af106263434fdf3fcab51e8b4fadbfdb9a397375412e77

← Back to Index 📥 Download WASM

Meta

cliver 25.2.0#28484880988199233a7e8e87c97cb12dac323cb3
rssdkver 26.1.0#175aa41306f383057a8cdfc84b68d931664fc34e
rsver 1.96.0

Instances

  • CCPOQVQDXJGLM67L62ALIW6B2M4BQSYHZE353A44QTCHCNXEQEGBYS7D

Interface

View deposited balance for any address.

fn balance(env: soroban_sdk::Env, user: soroban_sdk::Address) -> i128

Deposit amount stroops of token into the vault. Caller must approve the vault to spend on their behalf first.

fn deposit(
    env: soroban_sdk::Env,
    from: soroban_sdk::Address,
    token: soroban_sdk::Address,
    amount: i128,
)

Withdraw amount stroops back to to.

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

Imports

WebAssembly Text (WAT) ▶