collection
Module0x34a2…c82c
- Move path
- 0xbc3d…e5f9::collection
- Functions
- 1915 public, 2 entry
- Structs
- 3
- Friend modules
- None
collection
- access_policy19
- attributes18
- collection19
- composable_nft28
- composable_svg27
- composable_url10
- creators16
- display_info14
- frozen_pub1
- mint_cap15
- mint_event3
- mint_pass12
- mint_supply19
- nft18
- nft_bag28
- nft_protocol5
- p2p_list8
- p2p_list_domain13
- plugins14
- royalty29
- royalty_strategy_bps23
- session_token8
- supply27
- svg13
- symbol10
- tags11
- transfer_allowlist6
- transfer_allowlist_domain13
- transfer_token5
- url7
Functions19
- public fun create_with_mint_cap<T0: drop, T1>(&T0, Option<u64>): (Collection<T1>, mint_cap::MintCap<T1>)
- public fun new_display<T0: store + key>(witness::Witness<T0>,&frozen_publisher::FrozenPublisher): Display<Collection<T0>>
Structs3
key is an object with an id. store can be kept inside other objects. copy can be duplicated. drop can be thrown away.
- Collection<phantom T0>storekey
id UID version u64 - MintCollectionEventcopydrop
collection_id ID type_name TypeName - Witnessdrop
dummy_field bool
Constants6
Constants are shown the way the code loads them. Bytecode does not keep their names.
| Index | Value | Type | Use | Used in |
|---|---|---|---|---|
| 0 | 2 | u64 | Abort code | create_assert_no_domainassert_versionassert_version_and_upgradeand 1 more |
| 1 | 999 | u64 | Value | |
| 2 | 1000 | u64 | Abort code | assert_version |
| 3 | 1 | u64 | Abort code | assert_domain |
| 4 | "type" // interpreted as UTF8 string | vector<u8> | Value | new_display |
| 5 | "Collection" // interpreted as UTF8 string | vector<u8> | Value | new_display |