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

API

object_bag

Module0x0000…0002
Move path
0x0000…0002::object_bag
Functions
1111 public, 0 entry
Structs
1
Friend modules
None
object_bag

Declarations

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

module object_bag;
struct ObjectBag has store, key {
id: UID,
size: u64,
}
public fun add<T0: copy + drop + store, T1: store + key>(&mut ObjectBag,T0,T1)
public fun borrow<T0: copy + drop + store, T1: store + key>(&ObjectBag,T0): &T1
public fun borrow_mut<T0: copy + drop + store, T1: store + key>(&mut ObjectBag,T0): &mut T1
public fun contains<T0: copy + drop + store>(&ObjectBag,T0): bool
public fun contains_with_type<T0: copy + drop + store, T1: store + key>(&ObjectBag,T0): bool
public fun destroy_empty(ObjectBag)
public fun is_empty(&ObjectBag): bool
public fun length(&ObjectBag): u64
public fun new(): ObjectBag
public fun remove<T0: copy + drop + store, T1: store + key>(&mut ObjectBag,T0): T1
public fun value_id<T0: copy + drop + store>(&ObjectBag,T0): Option<ID>