Package 0x4e71…3cdf
inventory
- Move path
- 0x8628…5437::inventory
- Functions
- 97 public, 0 entry
- Structs
- 2
- Friend modules
- None
Functions9
- public fun borrow<T0: store + key>(&mut doubleup_citizens::DoubleUpCitizen,Receiving<T0>): (T0, BorrowReceipt<T0>)
- public fun receive<T0: store + key>(&mut doubleup_citizens::DoubleUpCitizen,Receiving<T0>,&InventoryConfig): T0
- public fun return_borrowed<T0: store + key>(&mut doubleup_citizens::DoubleUpCitizen,T0,BorrowReceipt<T0>)
Structs2
key is an object with an id. store can be kept inside other objects. copy can be duplicated. drop can be thrown away.
item_id ID citizen_id ID id UID blacklist_types Table<TypeName, bool> version_set VecSet<u64>
Constants6
Constants are shown the way the code loads them. Bytecode does not keep their names.
| Slot | Value | Type | Use | Used in |
|---|---|---|---|---|
| 0 | 0 | u64 | Abort code | initreceiveis_valid_version |
| 1 | 1 | u64 | Abort code | receive |
| 2 | 2 | u64 | Abort code | add_blacklist_type |
| 3 | 3 | u64 | Abort code | remove_blacklist_type |
| 4 | 4 | u64 | Abort code | return_borrowed |
| 5 | 5 | u64 | Abort code | return_borrowed |