Add WithdrawalPolicy

This commit is contained in:
Bronek Kozicki
2025-02-25 19:06:58 +00:00
parent 3f5df80b47
commit a0632a0cb3
8 changed files with 50 additions and 6 deletions

View File

@@ -118,6 +118,9 @@ std::uint64_t constexpr maxMPTokenAmount = 0x7FFF'FFFF'FFFF'FFFFull;
/** The maximum length of MPTokenMetadata */
std::size_t constexpr maxVaultDataLength = 256;
/** Vault withdrawal policies */
std::uint8_t constexpr vaultStrategyFirstComeFirstServe = 1;
/** A ledger index. */
using LedgerIndex = std::uint32_t;