launchpad
Module0x01ec…1199
- Move path
- 0x1f46…0d8b::launchpad
- Functions
- 224 public, 12 entry
- Structs
- 12
- Friend modules
- None
Functions22
- public fun mint_edition_nft<T0: store + key>(&mut Manager,&TransferPolicy<T0>,&Clock,&mut Collection,String,String,u64,String,String,String,vector<String>,vector<String>,u64,u64,u64,u64,vector<u8>,Coin<SUI>,T0,&mut Kiosk,&KioskOwnerCap)
- public fun mint_nft<T0: store + key>(&Manager,&TransferPolicy<T0>,&mut Collection,String,String,String,String,String,vector<String>,vector<String>,u64,u64,u64,address,vector<u8>,T0)
- entry fun update_collection<T0: store + key>(&Manager,&CollectionOwnerCap,&mut Display<T0>,vector<String>,vector<String>,vector<String>)
- entry fun update_collection_royalty<T0: store + key, T1: drop, T2: drop + store>(&Manager,&CollectionOwnerCap,&mut TransferPolicy<T0>,&TransferPolicyCap<T0>,u16)
- public fun update_nft(&mut Manager,ID,String,String,String,vector<String>,vector<String>,vector<u8>)
- entry fun withdraw_collection_royalty<T0: store + key>(&Manager,&mut TransferPolicy<T0>,&TransferPolicyCap<T0>,u64,address)
Structs12
key is an object with an id. store can be kept inside other objects. copy can be duplicated. drop can be thrown away.
- Collectionstorekey
id UID collection_id String mint_box mint_box::MintBox orders Table<String, u64> supplies Table<String, u64> reserved_supplies Table<String, u64> balance Balance<SUI> - CollectionOwnerCapstorekey
id UID collection_id String - CreateCollectionEventcopydrop
collection_id String - FundCollectionEventcopydrop
collection_id String funded u64 - LAUNCHPADdrop
dummy_field bool - LoadMintBoxEventcopydrop
collection_id String marker u64 - Managerstorekey
id UID version u64 admin address public_key vector<u8> balance Balance<SUI> pseudorandom_counter pseudorandom::PseudoRandomCounter - MintNftEventcopydrop
collection_id String order_id String nft_id ID price u64 is_autoreserved bool - MintOrderEventcopydrop
collection_id String order_id String nft_hash u256 - Requestdrop
sender vector<u8> nft_id vector<u8> edition_id String collection_id String order_id String expire_at u64 name String description String media_url String attribute_keys vector<String> attribute_values vector<String> max_supply u64 autoreserve_interval u64 is_soulbound bool price u64 fee u64 recipient vector<u8> - UpdateCollectionEventcopydrop
collection_id String - UpdateNftEventcopydrop
nft_id ID
Constants7
Constants are shown the way the code loads them. Bytecode does not keep their names.
| Index | Value | Type | Use | Used in |
|---|---|---|---|---|
| 0 | 1 | u64 | Abort code | withdraw_collection_balanceverify_admin |
| 1 | 2 | u64 | Abort code | verify_version |
| 2 | 3 | u64 | Abort code | mint_ordermint_edition_nftupsert_order |
| 3 | 4 | u64 | Abort code | mint_ordermint_edition_nftfund_collection |
| 4 | 5 | u64 | Abort code | update_collection |
| 5 | 6 | u64 | Abort code | upsert_supply |
| 6 | 0 | u64 | Value | verify_version |