Search by name, SuiNS, address, digest, object ID, coin type or checkpoint.

API

inventory

Module0x4e71…3cdf
Move path
0x8628…5437::inventory
Functions
97 public, 0 entry
Structs
2
Friend modules
None
inventory

Declarations

Rebuilt from the module interface. No verified source is published, and function bodies are only available as bytecode.

module inventory;
struct BorrowReceipt<phantom T0> {
item_id: ID,
citizen_id: ID,
}
struct InventoryConfig has key {
id: UID,
blacklist_types: Table<TypeName, bool>,
version_set: VecSet<u64>,
}
public fun add_blacklist_type<T0>(&mut InventoryConfig,&admin::CitizenCap)
public fun add_version(&mut InventoryConfig,u64,&admin::CitizenCap)
public fun borrow<T0: store + key>(&mut doubleup_citizens::DoubleUpCitizen,Receiving<T0>): (T0, BorrowReceipt<T0>)
fun init()
fun is_valid_version(&InventoryConfig): bool
public fun receive<T0: store + key>(&mut doubleup_citizens::DoubleUpCitizen,Receiving<T0>,&InventoryConfig): T0
public fun remove_blacklist_type<T0>(&mut InventoryConfig,&admin::CitizenCap)
public fun remove_version(&mut InventoryConfig,u64,&admin::CitizenCap)
public fun return_borrowed<T0: store + key>(&mut doubleup_citizens::DoubleUpCitizen,T0,BorrowReceipt<T0>)