Contract 3b3f561aa6d1155ed6e2f81d432190a0cf2c3e17e70caa27bd4a390123346213

← Back to Index 📥 Download WASM

Meta

cliver 27.1.0#8e402ea28202950b272fbabc34caad4d2f64fe87
rssdkver 27.0.5#ea54f95d3f2f49e0487b29fd1a9f469638f09aba
rsver 1.95.0

Instances

  • CDR5LOH57NJSS5WJYKZW7M2CVLFUTZYFU5Y6DVZHSOCDDUUDDSJWQMSZ

Interface

fn admin(env: soroban_sdk::Env) -> soroban_sdk::Address
fn token(env: soroban_sdk::Env) -> soroban_sdk::Address

Deposits amount of the configured token from from into the contract. Callable by any user; requires from's authorization.

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

Withdraws amount of the configured token to to, which may be a muxed account address. Callable only by the admin.

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

Imports

WebAssembly Text (WAT) ▶