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

API

scratch

Module0x0000…0002
Move path
0x0000…0002::scratch
Functions
1811 public, 0 entry
Structs
3
Friend modules
None
scratch

Declarations

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

module scratch;
struct BorrowMarker<phantom T0: drop> has drop {
pos0: u64,
}
struct BorrowMarkerKey has copy, drop {
dummy_field: bool,
}
struct Permit<phantom T0: copy + drop> has copy, drop {
dummy_field: bool,
}
public fun add<T0: copy + drop, T1: drop>(Permit<T0>,T0,T1)
fun add_impl<T0: drop>(address, T0)
public fun begin_borrow<T0: copy + drop, T1: drop>(Permit<T0>, T0): (T1, BorrowMarker<T1>)
fun borrow_marker<T0: drop>(): BorrowMarker<T0>
public fun end_borrow<T0: copy + drop, T1: drop>(Permit<T0>,T0,T1,BorrowMarker<T1>)
public fun exists<T0: copy + drop>(Permit<T0>, T0): bool
fun exists_impl(address): bool
public fun exists_with_type<T0: copy + drop, T1: drop>(Permit<T0>, T0): bool
fun exists_with_type_impl<T0: drop>(address): bool
fun hash_type_and_key<T0: copy + drop>(T0): address
public fun permit<T0: copy + drop>(Permit<T0>): Permit<T0>
public fun read<T0: copy + drop, T1: copy + drop>(Permit<T0>, T0): T1
fun read_impl<T0: copy + drop>(address): T0
public fun read_opt<T0: copy + drop, T1: copy + drop>(Permit<T0>, T0): Option<T1>
public fun remove<T0: copy + drop, T1: drop>(Permit<T0>, T0): T1
fun remove_impl<T0: drop>(address): T0
public fun remove_opt<T0: copy + drop, T1: drop>(Permit<T0>, T0): Option<T1>
public fun replace<T0: copy + drop, T1: drop, T2: drop>(Permit<T0>,T0,T1): Option<T2>