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

API

mint_cap

Module0x34a2…c82c
Move path
0xbc3d…e5f9::mint_cap
Functions
1515 public, 0 entry
Structs
2
Friend modules
None
mint_cap

Declarations

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

module mint_cap;
struct MintCap<phantom T0> has store, key {
id: UID,
collection_id: ID,
supply: Option<utils_supply::Supply>,
}
struct Witness has drop {
dummy_field: bool,
}
public fun assert_limited<T0>(&MintCap<T0>)
public fun assert_unlimited<T0>(&MintCap<T0>)
public fun borrow_supply<T0>(&MintCap<T0>): &Option<utils_supply::Supply>
public fun collection_id<T0>(&MintCap<T0>): ID
public fun delete_mint_cap<T0>(MintCap<T0>)
public fun get_supply<T0>(&MintCap<T0>): &utils_supply::Supply
public fun has_supply<T0>(&MintCap<T0>): bool
public fun increment_supply<T0>(&mut MintCap<T0>,u64)
public fun merge<T0>(&mut MintCap<T0>,MintCap<T0>)
public fun new<T0: drop, T1>(&T0,ID,Option<u64>): MintCap<T1>
public fun new_display<T0: store + key>(witness::Witness<T0>,&frozen_publisher::FrozenPublisher): Display<MintCap<T0>>
public fun new_limited<T0: drop, T1>(&T0,ID,u64): MintCap<T1>
public fun new_unlimited<T0: drop, T1>(&T0, ID): MintCap<T1>
public fun split<T0>(&mut MintCap<T0>,u64): MintCap<T0>
public fun supply<T0>(&MintCap<T0>): u64