CoinTreasury

interface CoinTreasury

Information about a coin type's 0x2::coin::TreasuryCap and its total available supply

Types

Link copied to clipboard
sealed class SupplyState

Supply state of a coin, matching the Move SupplyState enum

Properties

Link copied to clipboard
abstract val id: String?

ObjectId of the 0x2::coin::TreasuryCap object.

Link copied to clipboard

Returns the field-presence view for this CoinTreasury instance.

Link copied to clipboard

Supply state indicating if the supply is fixed or can still be minted

Link copied to clipboard
abstract val totalSupply: <Error class: unknown class>?

Total available supply for this coin type.

Functions

Link copied to clipboard
Link copied to clipboard
fun CoinTreasury.copy(body: <Error class: unknown class>.() -> Unit = {}): CoinTreasury

Copies the original message, including unknown fields.