Skip to main content

GrpcSupplyState

enum GrpcSupplyState : Enum<GrpcSupplyState>

The supply state of a coin type.

Entries​

UNKNOWNUNKNOWN
The supply is unknown or the TreasuryCap still exists (minting still possible).
FIXEDFIXED
The supply is fixed (the TreasuryCap was consumed, no more minting possible).
BURN_ONLYBURN_ONLY
The supply can only be burned.

Properties​

NameSummary
entriesval entries: EnumEntries<GrpcSupplyState>
Returns a representation of an immutable list of all enum entries, in the order they're declared.
nameval name: String
ordinalval ordinal: Int

Functions​

NameSummary
valueOffun valueOf(value: String): GrpcSupplyState
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
valuesfun values(): Array<GrpcSupplyState>
Returns an array containing the constants of this enum type, in the order they're declared.

BURN_ONLY​

BURN_ONLY

The supply can only be burned.

Properties​

NameSummary
nameval name: String
ordinalval ordinal: Int

FIXED​

FIXED

The supply is fixed (the TreasuryCap was consumed, no more minting possible).

Properties​

NameSummary
nameval name: String
ordinalval ordinal: Int

UNKNOWN​

UNKNOWN

The supply is unknown or the TreasuryCap still exists (minting still possible).

Properties​

NameSummary
nameval name: String
ordinalval ordinal: Int