Contract ecd2089943deab8b0f8a4ed676a69d163c6ca033feb13416669db676c8cae902

← Back to Index 📥 Download WASM

Meta

cliver 26.0.0#60f7458e7ecffddf2f2d91dc6d0d2db4fab03ecc
rssdkver 26.0.0#e1bf74ba6c3ddb591593f5eb5dfb85458ff714c1
rsver 1.95.0

Instances

  • CAZPWUZRMNRVENDXUZESUUFIGIFFJEXOJFMW3ERV66OBHKYM6PGVGQ3P

Interface

Forward the contract's full balance of asset to the destination. asset is the SAC contract address of the token to forward. Anyone can call this — the contract simply sends whatever it holds.

fn forward(env: soroban_sdk::Env, asset: soroban_sdk::Address)

Convenience: forward a specific amount instead of the full balance.

fn forward_amount(env: soroban_sdk::Env, asset: soroban_sdk::Address, amount: i128)

Imports

WebAssembly Text (WAT) ▶