minter
Module0xa8e4…ffb2
- Move path
- 0xaa2a…f9eb::minter
- Functions
- 179 public, 6 entry
- Structs
- 8
- Friend modules
- None
minter
Functions17
- public entry fun create(u64,u64,String,String,String,String,u64,String)
- public entry fun update_phase(&mut Minter,String,u64,Option<u64>,Option<u64>,u64,Option<vector<u8>>)
Structs8
key is an object with an id. store can be kept inside other objects. copy can be duplicated. drop can be thrown away.
- Adminkey
id UID - Collectionstorekey
id UID name String description String owner address - Configkey
id UID a address b u64 version u64 - MINTERdrop
dummy_field bool - Minterkey
id UID collection ID owner address minted u64 supply u64 name String description String phases vector<SalePhase> user_buys Table<address, u64> sale_phase_buys Table<String, u64> url String - NFTMintedcopydrop
object_id ID creator address name String minter address - Nftstorekey
id UID name String description String img_url String image_url String url Url collection_id ID symbol Option<String> attribute_keys vector<String> attribute_values vector<String> creator address - SalePhasedropstore
price u64 max_sales Option<u64> mints_per_user Option<u64> start_time u64 name String root Option<vector<u8>>
Constants25
Constants are shown the way the code loads them. Bytecode does not keep their names.
| Index | Value | Type | Use | Used in |
|---|---|---|---|---|
| 0 | 0 | u64 | Abort code | verify |
| 1 | 1 | u64 | Abort code | verify |
| 2 | 2 | u64 | Value | |
| 3 | 3 | u64 | Abort code | verify |
| 4 | 4 | u64 | Abort code | compare_vector |
| 5 | 5 | u64 | Abort code | processProofverify |
| 6 | 6 | u64 | Abort code | processProof |
| 7 | 7 | u64 | Abort code | extract_vector |
| 8 | 8 | u64 | Abort code | verify |
| 9 | 9 | u64 | Abort code | verify |
| 10 | 0 | u8 | Value | compare_vectorverify |
| 11 | 1 | u8 | Value | compare_vector |
| 12 | 2 | u8 | Value | compare_vectorhashPair |
| 13 | "name" // interpreted as UTF8 string | vector<u8> | Value | init |
| 14 | "description" // interpreted as UTF8 string | vector<u8> | Value | init |
| 15 | "image_url" // interpreted as UTF8 string | vector<u8> | Value | init |
| 16 | "creator" // interpreted as UTF8 string | vector<u8> | Value | init |
| 17 | "{name}" // interpreted as UTF8 string | vector<u8> | Value | init |
| 18 | "{description}" // interpreted as UTF8 string | vector<u8> | Value | init |
| 19 | "{image_url}" // interpreted as UTF8 string | vector<u8> | Value | init |
| 20 | "{creator}" // interpreted as UTF8 string | vector<u8> | Value | init |
| 21 | 0xde747ac256499aecd23774b8ee7ce7c6e7ec0202aa04ea4fc2d8e4d0d8f7e877 | address | Value | init |
| 22 | "0" // interpreted as UTF8 string | vector<u8> | Value | to_string |
| 23 | "Minting" // interpreted as UTF8 string | vector<u8> | Value | verify |
| 24 | "Public" // interpreted as UTF8 string | vector<u8> | Value | verify |