Package 0x034c…ddca
factory
- Move path
- 0x034c…ddca::factory
- Functions
- 203 public, 0 entry
- Structs
- 3
Functions20
- public fun admin_remove_from_factory(&admin::AdminCap,vector<u16>,&mut Factory): vector<PrimeMachin>
Structs3
key is an object with an id. store can be kept inside other objects. copy can be duplicated. drop can be thrown away.
- FACTORYdrop
dummy_field bool - Factorykey
id UID pfps ObjectTable<u16, PrimeMachin> is_initialized bool - PrimeMachinstorekey
id UID number u16 attributes Option<attributes::Attributes> image Option<image::Image> rarity Option<rarity::Rarity> lvl1_colored_by Option<address> lvl2_colored_by Option<address> minted_by Option<address> kiosk_id ID kiosk_owner_cap_id ID
Constants29
Constants are shown the way the code loads them. Bytecode does not keep their names.
| Slot | Value | Type | Use | Used in |
|---|---|---|---|---|
| 0 | 1 | u64 | Abort code | set_attributes |
| 1 | 2 | u64 | Abort code | admin_initialize_factory |
| 2 | 3 | u64 | Abort code | admin_destroy_factory |
| 3 | 4 | u64 | Abort code | admin_destroy_factoryadmin_remove_from_factory |
| 4 | 5 | u64 | Abort code | set_image |
| 5 | 6 | u64 | Abort code | unset_image |
| 6 | 7 | u64 | Abort code | swap_image |
| 7 | 8 | u64 | Abort code | set_rarity |
| 8 | "name" // interpreted as UTF8 string | vector<u8> | Value | init |
| 9 | "Prime Machin #{number}" // interpreted as UTF8 string | vector<u8> | Value | init |
| 10 | "description" // interpreted as UTF8 string | vector<u8> | Value | init |
| 11 | "Prime Machin #{number} manufactured by the Triangle Company." // interpreted as UTF8 string | vector<u8> | Value | init |
| 12 | "image_url" // interpreted as UTF8 string | vector<u8> | Value | init |
| 13 | "https://img.sm.xyz/{id}/" // interpreted as UTF8 string | vector<u8> | Value | init |
| 14 | "attributes" // interpreted as UTF8 string | vector<u8> | Value | init |
| 15 | "{attributes}" // interpreted as UTF8 string | vector<u8> | Value | init |
| 16 | "rarity" // interpreted as UTF8 string | vector<u8> | Value | init |
| 17 | "{rarity}" // interpreted as UTF8 string | vector<u8> | Value | init |
| 18 | "lvl1_colored_by" // interpreted as UTF8 string | vector<u8> | Value | init |
| 19 | "{lvl1_colored_by}" // interpreted as UTF8 string | vector<u8> | Value | init |
| 20 | "lvl2_colored_by" // interpreted as UTF8 string | vector<u8> | Value | init |
| 21 | "{lvl2_colored_by}" // interpreted as UTF8 string | vector<u8> | Value | init |
| 22 | "minted_by" // interpreted as UTF8 string | vector<u8> | Value | init |
| 23 | "{minted_by}" // interpreted as UTF8 string | vector<u8> | Value | init |
| 24 | "kiosk_id" // interpreted as UTF8 string | vector<u8> | Value | init |
| 25 | "{kiosk_id}" // interpreted as UTF8 string | vector<u8> | Value | init |
| 26 | "kiosk_owner_cap_id" // interpreted as UTF8 string | vector<u8> | Value | init |
| 27 | "{kiosk_owner_cap_id}" // interpreted as UTF8 string | vector<u8> | Value | init |
| 28 | 0xde0053243f3226649701a7fe2c3988be11941bf3ff3535f3c8c5bf32fc600220 | address | Value | init |