Contract cb89c082127ef11b51296591b7fa1534bbaf732daef38909262f80cce0ded353

← Back to Index 📥 Download WASM

Meta

rssdkver 25.3.1#e50d95af029c83196dd122f0154bac3f1302394b
rsver 1.93.0

Interface

Returns the owner of the given token_id, if it exists.

fn owner_of(env: soroban_sdk::Env, token_id: u32) -> Option

Mints a new Master Avatar NFT. Requirements:

  • to must authorize the invocation (via require_auth)
  • Only 1 can be minted per transaction (returns the new token_id)
fn public_mint(env: soroban_sdk::Env, to: soroban_sdk::Address) -> u32

Returns the total number of minted avatars.

fn total_minted(env: soroban_sdk::Env) -> u32

Imports

WebAssembly Text (WAT) ▶