Switch sfAssetTotal sfAssetAvailable and sfLossUnrealized to required

This commit is contained in:
Bronek Kozicki
2025-03-25 12:07:24 +00:00
parent ae68a09b06
commit fbe28f6536
3 changed files with 40 additions and 11 deletions

View File

@@ -475,10 +475,10 @@ LEDGER_ENTRY(ltVAULT, 0x0083, Vault, vault, ({
{sfAccount, soeREQUIRED},
{sfData, soeOPTIONAL},
{sfAsset, soeREQUIRED},
{sfAssetTotal, soeDEFAULT},
{sfAssetAvailable, soeDEFAULT},
{sfAssetTotal, soeREQUIRED},
{sfAssetAvailable, soeREQUIRED},
{sfAssetMaximum, soeDEFAULT},
{sfLossUnrealized, soeDEFAULT},
{sfLossUnrealized, soeREQUIRED},
{sfMPTokenIssuanceID, soeREQUIRED}, // sfShare
{sfWithdrawalPolicy, soeREQUIRED},
// no ShareTotal ever (use MPTIssuance.sfOutstandingAmount)