Contract 391d449e041b02d98168c9cddcbfec4213a1b81a4dccc2fcb344c84f1a693325

← Back to Index 📥 Download WASM

Meta

rssdkver 23.0.2#a97daf8b07cdf24e9bd45e344db51a21b9ea77d3
rsver 1.88.0

Instances

  • CBBJV3PGRISU6WTDRX62TSDQ3ANUXSGKQOFX5MQ5J567L2JNSIIL7TKB

Interface

Initialize the contract @param env The Soroban environment @param xlm_address The address representing XLM token @param native_currency_label The label to use for the native currency

fn init(
    env: soroban_sdk::Env,
    xlm_address: soroban_sdk::Address,
    native_currency_label: soroban_sdk::Bytes,
)

Get the native currency label (public interface)

fn get_native_currency_label(env: soroban_sdk::Env) -> soroban_sdk::String

Generate token URI with all data provided by Position Manager This eliminates the need for cross-contract calls back to Position Manager @param env The Soroban environment @param params All data needed to generate the URI

fn token_uri(env: soroban_sdk::Env, params: TokenURIParams) -> soroban_sdk::String

Imports

WebAssembly Text (WAT) ▶