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

API

supply

Module0x34a2…c82c
Move path
0xbc3d…e5f9::supply
Functions
2727 public, 0 entry
Structs
1
Friend modules
None
supply

Declarations

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

module supply;
struct Supply<phantom T0> has drop, store {
frozen: bool,
}
public fun add_domain<T0>(&mut UID,Supply<T0>)
public fun add_new<T0>(witness::Witness<T0>,&mut UID,u64,bool)
public fun assert_no_supply<T0>(&UID)
public fun assert_not_frozen<T0>(&Supply<T0>)
public fun assert_supply<T0>(&UID)
public fun assert_zero<T0>(&Supply<T0>)
public fun borrow_domain<T0>(&UID): &Supply<T0>
public fun borrow_domain_mut<T0>(&mut UID): &mut Supply<T0>
public fun borrow_inner<T0>(&Supply<T0>): &utils_supply::Supply
public fun decrease_supply_ceil<T0>(witness::Witness<T0>,&mut Supply<T0>,u64)
public fun decrease_supply_ceil_nft<T0>(witness::Witness<T0>,&mut UID,u64)
public fun decrement<T0>(witness::Witness<T0>,&mut Supply<T0>,u64)
public fun delete<T0>(Supply<T0>): utils_supply::Supply
public fun freeze_supply<T0>(witness::Witness<T0>,&mut Supply<T0>)
public fun freeze_supply_nft<T0>(witness::Witness<T0>,&mut UID)
public fun get_current<T0>(&Supply<T0>): u64
public fun get_max<T0>(&Supply<T0>): u64
public fun get_remaining<T0>(&Supply<T0>): u64
public fun has_domain<T0>(&UID): bool
public fun increase_supply_ceil<T0>(witness::Witness<T0>,&mut Supply<T0>,u64)
public fun increase_supply_ceil_nft<T0>(witness::Witness<T0>,&mut UID,u64)
public fun increment<T0>(witness::Witness<T0>,&mut Supply<T0>,u64)
public fun is_frozen<T0>(&Supply<T0>): bool
public fun merge<T0>(&mut Supply<T0>,Supply<T0>)
public fun new<T0>(witness::Witness<T0>,u64,bool): Supply<T0>
public fun remove_domain<T0>(&mut UID): Supply<T0>
public fun split<T0>(&mut Supply<T0>,u64): Supply<T0>