IntentAppId
enum IntentAppId : Enum<IntentAppId>
Byte signifying the application id of an Intent
This enum specifies the application ID. Two intents in two different applications (i.e., IOTA, Ethereum etc) should never collide, so that even when a signing key is reused, nobody can take a signature designated for app_1 and present it as a valid signature for an (any) intent in app_2.
BCS
The BCS serialized form for this type is defined by the following ABNF:
intent-app-id = u8
Entries
| IOTA | IOTA |
| CONSENSUS | CONSENSUS |
Properties
| Name | Summary |
|---|---|
| entries | val entries: EnumEntries<IntentAppId> 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): IntentAppId 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<IntentAppId> Returns an array containing the constants of this enum type, in the order they're declared. |
CONSENSUS
Properties
| Name | Summary |
|---|---|
| name | val name: String |
| ordinal | val ordinal: Int |
IOTA
Properties
| Name | Summary |
|---|---|
| name | val name: String |
| ordinal | val ordinal: Int |