Show / Hide Table of Contents

Enum VaultPhase

The phase of a closed-ended vault (XLS-65 under LendingProtocolV1_1), as PhaseAt(LOVault, DateTime?, LedgerRules) returns it.

Namespace: Xrpl.Sugar
Assembly: Xrpl.dll
Syntax
public enum VaultPhase

Fields

Name Description
Investment

After SubscriptionDate and before RedemptionDate: deposits are refused with tecEXPIRED, withdrawals with tecTOO_SOON.

None

No phase applies: the vault is not closed-ended, no time is given, or the amendment that enforces the phases is not enabled.

Redemption

From RedemptionDate on: withdrawals are taken, deposits refused with tecEXPIRED.

Subscription

Up to and including SubscriptionDate: deposits and withdrawals are taken.

Extension Methods

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