Show / Hide Table of Contents

Enum VaultKind

Values of the VaultKind field (rippled VaultKind, LendingProtocolV1_1, rippled #7921).

Namespace: Xrpl.Models.Ledger
Assembly: Xrpl.dll
Syntax
public enum VaultKind : uint
Remarks

VaultKind and VaultKind stay plain uint?, matching the other UInt8 fields; these constants name the values the protocol defines so far.

Fields

Name Description
ClosedEnded

Three phases fixed at creation: subscription up to SubscriptionDate, investment up to RedemptionDate, redemption afterwards. Deposits are accepted in the subscription phase only (tecEXPIRED later); withdrawals are refused during the investment phase (tecTOO_SOON) and accepted in the other two.

OpenEnded

Deposits and withdrawals at any time. A vault with no VaultKind at all is open-ended, whether it was created before the amendment or after it.

Extension Methods

EmumExtensions.DecodeFlags<VaultKind>(VaultKind)
EmumExtensions.FlagsValues<VaultKind>(VaultKind)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX