featureVaultContinuousAccrual

This commit is contained in:
Denis Angell
2026-09-12 06:41:06 -04:00
parent 9403736199
commit bb60431ebf
30 changed files with 1985 additions and 53 deletions

View File

@@ -41,6 +41,18 @@ Vault::create(CreateArgs const& args) const
jv[sfRedemptionDate] = *args.redemptionDate;
if (args.leVersion)
jv[sfLEVersion] = std::to_underlying(*args.leVersion);
if (args.dealingInterval)
jv[sfDealingInterval] = *args.dealingInterval;
if (args.dealingWindow)
jv[sfDealingWindow] = *args.dealingWindow;
if (args.depositFee)
jv[sfDepositFee] = *args.depositFee;
if (args.redemptionFee)
jv[sfRedemptionFee] = *args.redemptionFee;
if (args.redemptionPeriod)
jv[sfRedemptionPeriod] = *args.redemptionPeriod;
if (args.accountingMethod)
jv[sfAccountingMethod] = *args.accountingMethod;
return {jv, keylet};
}