Search by name, SuiNS, address, digest, object ID, coin type or checkpoint.

API

nft

Module0x34a2…c82c
Move path
0xbc3d…e5f9::nft
Functions
1817 public, 1 entry
Structs
3
Friend modules
None
nft

Declarations

Rebuilt from the module interface. No verified source is published, and function bodies are only available as bytecode.

module nft;
struct MintNftEvent has copy, drop {
nft_id: ID,
nft_type: String,
}
struct Nft<phantom T0> has store, key {
id: UID,
name: String,
url: Url,
}
struct Witness has drop {
dummy_field: bool,
}
public fun add_domain<T0, T1: store>(witness::Witness<T0>,&mut Nft<T0>,T1)
public fun assert_domain<T0, T1: store>(&Nft<T0>)
public fun assert_no_domain<T0, T1: store>(&Nft<T0>)
public fun borrow_domain<T0, T1: store>(&Nft<T0>): &T1
public fun borrow_domain_mut<T0, T1: store>(witness::Witness<T0>,&mut Nft<T0>): &mut T1
public fun borrow_uid<T0>(&Nft<T0>): &UID
public fun borrow_uid_mut<T0>(witness::Witness<T0>,&mut Nft<T0>): &mut UID
public entry fun delete<T0>(Nft<T0>)
public fun from_mint_cap<T0>(&mut mint_cap::MintCap<T0>,String,Url): Nft<T0>
public fun has_domain<T0, T1: store>(&Nft<T0>): bool
public fun name<T0>(&Nft<T0>): &String
public fun new<T0>(witness::Witness<T0>,String,Url): Nft<T0>
fun new_<T0>(String,Url): Nft<T0>
public fun new_display<T0>(witness::Witness<T0>,&frozen_publisher::FrozenPublisher): Display<Nft<T0>>
public fun remove_domain<T0, T1: store>(witness::Witness<T0>,&mut Nft<T0>): T1
public fun set_name<T0>(witness::Witness<T0>,&mut Nft<T0>,String)
public fun set_url<T0>(witness::Witness<T0>,&mut Nft<T0>,Url)
public fun url<T0>(&Nft<T0>): &Url