AccountFlagsXdr

XDR Source: enum AccountFlags { // masks for each flag

// Flags set on issuer accounts
// TrustLines are created with authorized set to "false" requiring
// the issuer to set it for each TrustLine
AUTH_REQUIRED_FLAG = 0x1,
// If set, the authorized flag in TrustLines can be cleared
// otherwise, authorization cannot be revoked
AUTH_REVOCABLE_FLAG = 0x2,
// Once set, causes all AUTH_* flags to be read-only
AUTH_IMMUTABLE_FLAG = 0x4,
// Trustlines are created with clawback enabled set to "true",
// and claimable balances created from those trustlines are created
// with clawback enabled set to "true"
AUTH_CLAWBACK_ENABLED_FLAG = 0x8

};

Entries

Link copied to clipboard

Flags set on issuer accounts TrustLines are created with authorized set to "false" requiring the issuer to set it for each TrustLine

Link copied to clipboard

If set, the authorized flag in TrustLines can be cleared otherwise, authorization cannot be revoked

Link copied to clipboard

Once set, causes all AUTH_* flags to be read-only

Link copied to clipboard

Trustlines are created with clawback enabled set to "true", and claimable balances created from those trustlines are created with clawback enabled set to "true"

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.