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

API

balance

Module0x0000…0002
Move path
0x0000…0002::balance
Functions
1814 public, 0 entry
Structs
2
Friend modules
coinsui
balance

Declarations

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

module balance;
struct Balance<phantom T0> has store {
value: u64,
}
struct Supply<phantom T0> has store {
value: u64,
}
fun create_staking_rewards<T0>(u64): Balance<T0>
public fun create_supply<T0: drop>(T0): Supply<T0>
public(package) fun create_supply_internal<T0>(): Supply<T0>
public fun decrease_supply<T0>(&mut Supply<T0>,Balance<T0>): u64
fun destroy_storage_rebates<T0>(Balance<T0>)
public(package) fun destroy_supply<T0>(Supply<T0>): u64
public fun destroy_zero<T0>(Balance<T0>)
public fun increase_supply<T0>(&mut Supply<T0>,u64): Balance<T0>
public fun join<T0>(&mut Balance<T0>,Balance<T0>): u64
public fun redeem_funds<T0>(Withdrawal<Balance<T0>>): Balance<T0>
public fun send_funds<T0>(Balance<T0>,address)
public fun settled_funds_value<T0>(&AccumulatorRoot,address): u64
public fun split<T0>(&mut Balance<T0>,u64): Balance<T0>
public fun supply_value<T0>(&Supply<T0>): u64
public fun value<T0>(&Balance<T0>): u64
public fun withdraw_all<T0>(&mut Balance<T0>): Balance<T0>
public fun withdraw_funds_from_object<T0>(&mut UID, u64): Withdrawal<Balance<T0>>
public fun zero<T0>(): Balance<T0>