rising
Module0xbd2e…e190
- Move path
- 0xee0e…d45f::rising
- Functions
- 181 public, 12 entry
- Structs
- 12
- Friend modules
- None
Functions18
- entry fun add_relic(&collection::AdminCap,&mut collection::Collection,String,vector<String>,vector<String>,vector<u8>)
- entry fun rise_in_personal_kiosk(&mut collection::Collection,&mut Kiosk,&mut personal_kiosk::PersonalKioskCap,ID,&Clock,&Random)
- entry fun seed(&collection::AdminCap,&mut collection::Collection,u64,vector<u64>,vector<String>,vector<vector<String>>,vector<vector<String>>,vector<u16>,vector<vector<u8>>)
Structs12
key is an object with an id. store can be kept inside other objects. copy can be duplicated. drop can be thrown away.
- Boundcopydrop
collection ID grave ID index u64 - Piecestore
name String attributes VecMap<String, String> rank u16 pad vector<u8> - Registrystore
pieces Table<u64, Piece> piece_size u64 bound Table<ID, u64> reserved u64 - RegistryKeycopydropstore
dummy_field bool - RelicAddedcopydrop
collection ID index u64 name String image_sha256 vector<u8> - RelicRemovedcopydrop
collection ID index u64 - Relicsstore
images Table<u64, vector<u8>> graves Table<u64, ID> loaded u64 - RelicsKeycopydropstore
dummy_field bool - Risencopydrop
collection ID grave ID number u64 index u64 luck u8 second_draw bool - Sealedcopydrop
collection ID provenance_hash vector<u8> - Seededcopydrop
collection ID from u64 to u64 running_hash vector<u8> - Unboundcopydrop
collection ID grave ID index u64
Constants22
Constants are shown the way the code loads them. Bytecode does not keep their names.
| Index | Value | Type | Use | Used in |
|---|---|---|---|---|
| 0 | 300 | u64 | Abort code | add_relicset_rising_opencall_the_deadrise |
| 1 | 301 | u64 | Abort code | seedbindunbindseal |
| 2 | 302 | u64 | Abort code | seedadd_relicseal |
| 3 | 303 | u64 | Abort code | seal |
| 4 | 304 | u64 | Abort code | rise |
| 5 | 305 | u64 | Abort code | unbind_relicrise |
| 6 | 306 | u64 | Abort code | rise |
| 7 | 307 | u64 | Abort code | draw |
| 8 | 308 | u64 | Abort code | seedpadded |
| 9 | 309 | u64 | Abort code | call_the_dead |
| 10 | 310 | u64 | Abort code | bind |
| 11 | 311 | u64 | Abort code | bindbind_relic |
| 12 | 312 | u64 | Abort code | unbindunbind_relic |
| 13 | 313 | u64 | Abort code | bind_relicunbind_relicremove_relic |
| 14 | 314 | u64 | Abort code | bind_relicremove_relic |
| 15 | 315 | u64 | Abort code | add_relic |
| 16 | 780000 | u64 | Value | call_the_dead |
| 17 | 16383 | u64 | Value | padded |
| 18 | 13 | u64 | Value | add_relic |
| 19 | "mortem-rising-v1: h0 = empty; h(i) = sha3_256(h(i-1) || bcs(index: u64) || bcs(name: String) || bcs(attributes: VecMap<String,String>) || bcs(rank: u16) || bcs(image_sha256: vector<u8>)), index 1..666 in order" // interpreted as UTF8 string | vector<u8> | Value | seal |
| 20 | 00 | vector<u16> | Value | seed |
| 21 | "" // interpreted as UTF8 string | vector<u8> | Value | seedrelic_piece |