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

Move path
0xfe1d…80bf::generic_store
Functions
100 public, 0 entry
Structs
2
generic_store

Declarations

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

module generic_store;
struct GenericCoinTypeStorage<phantom T0: store> has store {
table: wit_table::WitTable<GenericTable, TypeName, T0>,
}
struct GenericTable has drop {
dummy_field: bool,
}
public(package) fun is_empty<T0: store>(&GenericCoinTypeStorage<T0>): bool
public(package) fun keys<T0: store>(&GenericCoinTypeStorage<T0>): vector<TypeName>
public(package) fun load<T0: store, T1>(&GenericCoinTypeStorage<T0>): &T0
public(package) fun load_by_type<T0: store>(&GenericCoinTypeStorage<T0>,TypeName): &T0
public(package) fun load_mut_by_type<T0: store>(&mut GenericCoinTypeStorage<T0>,TypeName): &mut T0
public(package) fun new<T0: store>(): GenericCoinTypeStorage<T0>
public(package) fun remove<T0: store, T1>(&mut GenericCoinTypeStorage<T0>): T0
public(package) fun store<T0: store, T1>(&mut GenericCoinTypeStorage<T0>,T0)
public(package) fun supports<T0: store, T1>(&GenericCoinTypeStorage<T0>): bool
public(package) fun supports_type<T0: store>(&GenericCoinTypeStorage<T0>,TypeName): bool