collection
Module0xbd2e…e190
- Move path
- 0xee0e…d45f::collection
- Functions
- 7612 public, 24 entry
- Structs
- 29
collection
Functions76
- entry fun configure_media_and_sync(&AdminCap,&mut Collection,&mut Display<Mortem>,&mut Display<Mortem>,String)
- entry fun gate_mint_in_kiosk<T0: store + key>(&mut Collection,&TransferPolicy<Mortem>,&mut Kiosk,KioskOwnerCap,ID,Coin<SUI>,u64,u64,&Clock,&Random)
- entry fun gate_mint_in_personal_kiosk<T0: store + key>(&mut Collection,&TransferPolicy<Mortem>,&mut Kiosk,&mut personal_kiosk::PersonalKioskCap,ID,Coin<SUI>,u64,u64,&Clock,&Random)
- entry fun gate_mint_owned_to_kiosk<T0: store + key>(&mut Collection,&TransferPolicy<Mortem>,T0,&mut Kiosk,&KioskOwnerCap,Coin<SUI>,u64,u64,&Clock,&Random)
- entry fun gate_mint_owned_to_new_kiosk<T0: store + key>(&mut Collection,&TransferPolicy<Mortem>,T0,Coin<SUI>,u64,u64,&Clock,&Random)
- entry fun gate_mint_owned_to_personal_kiosk<T0: store + key>(&mut Collection,&TransferPolicy<Mortem>,T0,&mut Kiosk,&mut personal_kiosk::PersonalKioskCap,Coin<SUI>,u64,u64,&Clock,&Random)
- entry fun mint_to_kiosk(&mut Collection,&TransferPolicy<Mortem>,&mut Kiosk,&KioskOwnerCap,Coin<SUI>,u64,u64,&Clock,&Random)
- entry fun mint_to_new_kiosk(&mut Collection,&TransferPolicy<Mortem>,Coin<SUI>,u64,u64,&Clock,&Random)
- entry fun mint_to_personal_kiosk(&mut Collection,&TransferPolicy<Mortem>,&mut Kiosk,&mut personal_kiosk::PersonalKioskCap,Coin<SUI>,u64,u64,&Clock,&Random)
Structs29
key is an object with an id. store can be kept inside other objects. copy can be duplicated. drop can be thrown away.
- AdminCapkey
id UID collection ID - AdminTransferredcopydrop
collection ID to address - COLLECTIONdrop
dummy_field bool - Collectionkey
id UID version u64 revision u64 name String supply u64 minted u64 public_start_ms u64 mint_open bool tiers vector<PriceTier> max_per_tx u64 max_per_wallet u64 minted_by Table<address, u64> luck_max u8 packs vector<Pack> gates Table<TypeName, Gate> gate_minted Table<GateKey, u64> wallet_a address wallet_b address bps_a u64 policy ID policy_cap TransferPolicyCap<Mortem> display ID media_base String rising Rising media_frozen bool - CollectionCreatedcopydrop
collection ID policy ID display ID supply u64 - ConfigUpdatedcopydrop
collection ID revision u64 section u8 - DisplayCapKeycopydropstore
dummy_field bool - Gatecopydropstore
price u64 start_ms u64 end_ms u64 max_per_wallet u64 open bool - GateKeycopydropstore
gate TypeName wallet address - GateSetcopydrop
collection ID gate TypeName price u64 start_ms u64 end_ms u64 max_per_wallet u64 open bool - GateUsedcopydrop
collection ID gate TypeName wallet address count u64 price u64 - GraveMintedcopydrop
collection ID item ID number u64 minter address kiosk ID price u64 luck u8 - LimitsSetcopydrop
collection ID max_per_tx u64 max_per_wallet u64 - LuckMaxSetcopydrop
collection ID luck_max u8 - MediaConfiguredcopydrop
collection ID base String - Migratedcopydrop
collection ID from u64 to u64 - MintOpenSetcopydrop
collection ID open bool - Mortemstorekey
id UID number u64 index u64 name String attributes VecMap<String, String> filler VecMap<String, String> metadata_version u64 luck u8 pad vector<u8> - Packcopydropstore
min_count u64 max_unit_price u64 - PacksSetcopydrop
collection ID min_counts vector<u64> max_unit_prices vector<u64> - PaymentSplitcopydrop
collection ID total u64 to_a u64 to_b u64 - PriceTiercopydropstore
start_ms u64 price u64 - PublisherKeycopydropstore
dummy_field bool - RevealStartSetcopydrop
collection ID reveal_start_ms u64 - Risingstore
reveal_open bool reveal_start_ms u64 seeded u64 drawn u64 pool vector<u16> provenance_hash vector<u8> provenance_scheme String running_hash vector<u8> seeding_sealed bool - RoyaltiesDistributedcopydrop
collection ID total u64 to_a u64 to_b u64 - RoyaltySetcopydrop
collection ID bps u16 min u64 - SaleSetcopydrop
collection ID public_start_ms u64 starts vector<u64> prices vector<u64> - SplitSetcopydrop
collection ID wallet_a address wallet_b address bps_a u64
Constants74
Constants are shown the way the code loads them. Bytecode does not keep their names.
| Index | Value | Type | Use | Used in |
|---|---|---|---|---|
| 0 | "MORTEM" // interpreted as UTF8 string | vector<u8> | Value | initv2_extras |
| 1 | "666 graves on Sui. You don't buy a skull, you buy a grave: on the night of the Rising every stone cracks open and gives back a hand-drawn pixel skull by PulseSinister." // interpreted as UTF8 string | vector<u8> | Value | v2_extras |
| 2 | 666 | u64 | Value | init |
| 3 | 300 | u16 | Value | init |
| 4 | 50000000 | u64 | Value | init |
| 5 | "https://media.mortem.invalid/" // interpreted as UTF8 string | vector<u8> | Value | init |
| 6 | "tokens/{index}.webp" // interpreted as UTF8 string | vector<u8> | Value | initconfigure_media_internal |
| 7 | "tokens/0.webp" // interpreted as UTF8 string | vector<u8> | Value | configure_media_and_syncv2_extras |
| 8 | "https://mortem.alienz.tech/" // interpreted as UTF8 string | vector<u8> | Value | init |
| 9 | "PulseSinister & Sudcero" // interpreted as UTF8 string | vector<u8> | Value | init |
| 10 | "{name} #{number}" // interpreted as UTF8 string | vector<u8> | Value | init |
| 11 | "MORTEM Grave" // interpreted as UTF8 string | vector<u8> | Value | forge_grave |
| 12 | "A sealed MORTEM grave. Something waits under the stone. On the night of the Rising it cracks open and gives back a hand-drawn pixel skull; the luck carved on it may call a rarer one." // interpreted as UTF8 string | vector<u8> | Value | init |
| 13 | 13 | u8 | Value | init |
| 14 | 50 | u8 | Value | set_luck_max |
| 15 | 10 | u64 | Value | init |
| 16 | 5 | u64 | Value | init |
| 17 | 50 | u64 | Value | set_limits |
| 18 | 1000 | u16 | Value | set_royalty |
| 19 | 10000 | u64 | Value | initsettleset_splitset_mint_open |
| 20 | 18446744073709551615 | u64 | Value | initset_saleset_mint_open |
| 21 | 1 | u64 | Value | initmigratecheck_version |
| 22 | 100 | u64 | Abort code | check_version |
| 23 | 101 | u64 | Abort code | mint_gravesburyenter_gate |
| 24 | 102 | u64 | Abort code | mint_gravesprice_at |
| 25 | 103 | u64 | Abort code | buryforge_grave |
| 26 | 104 | u64 | Abort code | bury |
| 27 | 105 | u64 | Abort code | bury |
| 28 | 106 | u64 | Abort code | bury |
| 29 | 107 | u64 | Abort code | bury |
| 30 | 108 | u64 | Abort code | burydistributeset_royalty |
| 31 | 109 | u64 | Abort code | assert_admin |
| 32 | 110 | u64 | Abort code | set_saleset_packsset_mint_open |
| 33 | 111 | u64 | Abort code | set_split |
| 34 | 112 | u64 | Abort code | settleprice_atcreate_display_v2set_mint_open |
| 35 | 113 | u64 | Abort code | set_royalty |
| 36 | 114 | u64 | Abort code | configure_mediaconfigure_media_and_syncset_mint_openrebuild_v2 |
| 37 | 115 | u64 | Abort code | create_display_v2rebuild_v2 |
| 38 | 116 | u64 | Abort code | create_display_v2configure_media_internalrebuild_v2 |
| 39 | 117 | u64 | Abort code | distribute |
| 40 | 118 | u64 | Abort code | migrate |
| 41 | 119 | u64 | Abort code | set_limits |
| 42 | 120 | u64 | Abort code | set_mint_openconfigure_media_internal |
| 43 | 121 | u64 | Abort code | set_luck_max |
| 44 | 122 | u64 | Abort code | enter_gate |
| 45 | 123 | u64 | Abort code | enter_gate |
| 46 | 124 | u64 | Abort code | gate_mint_in_kioskgate_mint_in_personal_kiosk |
| 47 | 125 | u64 | Abort code | enter_gate |
| 48 | 126 | u64 | Abort code | set_gate |
| 49 | "{number}" // interpreted as UTF8 string | vector<u8> | Value | init |
| 50 | 0x0000000000000000000000000000000000000000000000000000000000000000 | address | Value | initsettleset_splitset_mint_open |
| 51 | 00 | vector<u16> | Value | init |
| 52 | "" // interpreted as UTF8 string | vector<u8> | Value | initforge_grave |
| 53 | "Luck" // interpreted as UTF8 string | vector<u8> | Value | forge_grave |
| 54 | "%" // interpreted as UTF8 string | vector<u8> | Value | luck_label |
| 55 | 0x000000000000000000000000000000000000000000000000000000000000000d | address | Value | create_display_v2 |
| 56 | "name" // interpreted as UTF8 string | vector<u8> | Value | v1_keys |
| 57 | "description" // interpreted as UTF8 string | vector<u8> | Value | v1_keys |
| 58 | "image_url" // interpreted as UTF8 string | vector<u8> | Value | v1_keysconfigure_media_internal |
| 59 | "thumbnail_url" // interpreted as UTF8 string | vector<u8> | Value | v1_keysconfigure_media_internal |
| 60 | "project_url" // interpreted as UTF8 string | vector<u8> | Value | v1_keys |
| 61 | "creator" // interpreted as UTF8 string | vector<u8> | Value | v1_keys |
| 62 | "number" // interpreted as UTF8 string | vector<u8> | Value | v1_keys |
| 63 | "0x" // interpreted as UTF8 string | vector<u8> | Value | v2_extras |
| 64 | "attributes" // interpreted as UTF8 string | vector<u8> | Value | v2_extras |
| 65 | "index" // interpreted as UTF8 string | vector<u8> | Value | v2_extras |
| 66 | "collection_name" // interpreted as UTF8 string | vector<u8> | Value | v2_extras |
| 67 | "collection_description" // interpreted as UTF8 string | vector<u8> | Value | v2_extras |
| 68 | "collection_cover_url" // interpreted as UTF8 string | vector<u8> | Value | v2_extrasrebuild_v2 |
| 69 | "collection_id" // interpreted as UTF8 string | vector<u8> | Value | v2_extras |
| 70 | "{attributes:json}" // interpreted as UTF8 string | vector<u8> | Value | v2_extras |
| 71 | "{index}" // interpreted as UTF8 string | vector<u8> | Value | v2_extras |
| 72 | "https://" // interpreted as UTF8 string | vector<u8> | Value | valid_base |
| 73 | ".invalid" // interpreted as UTF8 string | vector<u8> | Value | valid_base |