GrpcSupplyState
enum GrpcSupplyState : Enum<GrpcSupplyState>
The supply state of a coin type.
Entries
| UNKNOWN | UNKNOWN The supply is unknown or the TreasuryCap still exists (minting still possible). |
| FIXED | FIXED The supply is fixed (the TreasuryCap was consumed, no more minting possible). |
| BURN_ONLY | BURN_ONLY The supply can only be burned. |
Properties
| Name | Summary |
|---|---|
| entries | val entries: EnumEntries<GrpcSupplyState> Returns a representation of an immutable list of all enum entries, in the order they're declared. |
| name | val name: String |
| ordinal | val ordinal: Int |
Functions
| Name | Summary |
|---|---|
| valueOf | fun 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.) |
| values | fun values(): Array<GrpcSupplyState> Returns an array containing the constants of this enum type, in the order they're declared. |
BURN_ONLY
The supply can only be burned.
Properties
| Name | Summary |
|---|---|
| name | val name: String |
| ordinal | val ordinal: Int |
FIXED
The supply is fixed (the TreasuryCap was consumed, no more minting possible).
Properties
| Name | Summary |
|---|---|
| name | val name: String |
| ordinal | val ordinal: Int |
UNKNOWN
The supply is unknown or the TreasuryCap still exists (minting still possible).
Properties
| Name | Summary |
|---|---|
| name | val name: String |
| ordinal | val ordinal: Int |