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

API

pocket

Module0xbd2e…e190
Move path
0xee0e…d45f::pocket
Functions
1912 public, 1 entry
Structs
7
Friend modules
None
pocket

Declarations

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

module pocket;
struct CoinKey has copy, drop, store {
coin: TypeName,
}
struct Config has store {
open: bool,
}
struct ConfigKey has copy, drop, store {
dummy_field: bool,
}
struct CountKey has copy, drop, store {
dummy_field: bool,
}
struct ItemKey has copy, drop, store {
id: ID,
}
struct PocketChanged has copy, drop {
grave: ID,
by: address,
action: u8,
what: TypeName,
item: Option<ID>,
amount: u64,
}
struct PocketSet has copy, drop {
collection: ID,
open: bool,
}
public fun accept<T0: store + key>(&collection::Collection,&mut collection::Mortem,Receiving<T0>)
public fun accept_coin<T0>(&collection::Collection,&mut collection::Mortem,Receiving<Coin<T0>>)
public fun accept_funds<T0>(&collection::Collection,&mut collection::Mortem,u64)
fun assert_can_fill(&collection::Collection)
public fun balance<T0>(&collection::Mortem): u64
fun changed(&collection::Mortem,u8,TypeName,Option<ID>,u64)
fun count(&mut collection::Mortem,bool)
public fun deposit<T0>(&collection::Collection,&mut collection::Mortem,Coin<T0>)
public fun holds(&collection::Mortem,ID): bool
public fun is_open(&collection::Collection): bool
fun pour<T0>(&collection::Collection,&mut collection::Mortem,Balance<T0>)
public fun put<T0: store + key>(&collection::Collection,&mut collection::Mortem,T0)
public fun receive<T0: store + key>(&mut collection::Mortem,Receiving<T0>): T0
fun refuse_carriers(TypeName)
entry fun set_pocket(&collection::AdminCap,&mut collection::Collection,bool)
fun stash<T0: store + key>(&collection::Collection,&mut collection::Mortem,T0)
public fun take<T0: store + key>(&mut collection::Mortem,ID): T0
public fun things(&collection::Mortem): u64
public fun withdraw<T0>(&mut collection::Mortem,u64): Coin<T0>