Contract e73d160f637ebc2860618a5683de0bb98d1ddab97d2df4f49c3e436880d10391

← Back to Index 📥 Download WASM

Meta

rssdkver 20.3.1#ba045a57af971fc83e475746b59a503b7ef41649
rsver 1.76.0

Instances

  • CBRYGQIE3ZMIMPPBIGSNFKGH3IJDCGTORILIINBKO3FR3DGLRVNWVRWK
  • CDLG56A34INKWCDQBFREEBDD42QNW2TOX3IXAL332MVXUEVSKKT7TFFC

Interface

Create a greeting and return it as a vector. This function will receive a to argument, and return a Vec made up of "Hello" and the supplied to value.

Arguments

  • to - The name to be greeted in the returned vector.
fn hello(
    env: soroban_sdk::Env,
    to: soroban_sdk::Symbol,
) -> soroban_sdk::Vec

Imports

WebAssembly Text (WAT) ▶