SetTrustLineFlagsResultCodeXdr

XDR Source: enum SetTrustLineFlagsResultCode { // codes considered as "success" for the operation SET_TRUST_LINE_FLAGS_SUCCESS = 0,

// codes considered as "failure" for the operation
SET_TRUST_LINE_FLAGS_MALFORMED = -1,
SET_TRUST_LINE_FLAGS_NO_TRUST_LINE = -2,
SET_TRUST_LINE_FLAGS_CANT_REVOKE = -3,
SET_TRUST_LINE_FLAGS_INVALID_STATE = -4,
SET_TRUST_LINE_FLAGS_LOW_RESERVE = -5 // claimable balances can't be created
                                      // on revoke due to low reserves

};

Entries

Link copied to clipboard

codes considered as "success" for the operation

Link copied to clipboard

codes considered as "failure" for the operation

Link copied to clipboard

claimable balances can't be created

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int
Link copied to clipboard
val value: Int

Functions

Link copied to clipboard
fun encode(writer: XdrWriter)
Link copied to clipboard

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.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.