20 #include <ripple/protocol/InnerObjectFormats.h>
21 #include <ripple/protocol/SField.h>
22 #include <ripple/protocol/SOTemplate.h>
31 {sfAccount, soeREQUIRED},
32 {sfSignerWeight, soeREQUIRED},
33 {sfWalletLocator, soeOPTIONAL},
39 {sfAccount, soeREQUIRED},
40 {sfSigningPubKey, soeREQUIRED},
41 {sfTxnSignature, soeREQUIRED},
47 {sfAmendment, soeREQUIRED},
48 {sfCloseTime, soeREQUIRED},
54 {sfPublicKey, soeREQUIRED},
55 {sfFirstLedgerSequence, soeREQUIRED},
61 {sfNFTokenID, soeREQUIRED},
68 {sfAccount, soeREQUIRED},
69 {sfTradingFee, soeDEFAULT},
70 {sfVoteWeight, soeREQUIRED},
75 {{sfAccount, soeREQUIRED},
76 {sfExpiration, soeREQUIRED},
77 {sfDiscountedFee, soeDEFAULT},
78 {sfPrice, soeREQUIRED},
79 {sfAuthAccounts, soeOPTIONAL}});
84 {sfAttestationSignerAccount, soeREQUIRED},
85 {sfPublicKey, soeREQUIRED},
86 {sfSignature, soeREQUIRED},
87 {sfAmount, soeREQUIRED},
88 {sfAccount, soeREQUIRED},
89 {sfAttestationRewardAccount, soeREQUIRED},
90 {sfWasLockingChainSend, soeREQUIRED},
91 {sfXChainClaimID, soeREQUIRED},
92 {sfDestination, soeOPTIONAL},
98 {sfAttestationSignerAccount, soeREQUIRED},
99 {sfPublicKey, soeREQUIRED},
100 {sfSignature, soeREQUIRED},
101 {sfAmount, soeREQUIRED},
102 {sfAccount, soeREQUIRED},
103 {sfAttestationRewardAccount, soeREQUIRED},
104 {sfWasLockingChainSend, soeREQUIRED},
105 {sfXChainAccountCreateCount, soeREQUIRED},
106 {sfDestination, soeREQUIRED},
107 {sfSignatureReward, soeREQUIRED},
113 {sfAttestationSignerAccount, soeREQUIRED},
114 {sfPublicKey, soeREQUIRED},
115 {sfAmount, soeREQUIRED},
116 {sfAttestationRewardAccount, soeREQUIRED},
117 {sfWasLockingChainSend, soeREQUIRED},
118 {sfDestination, soeOPTIONAL},
124 {sfAttestationSignerAccount, soeREQUIRED},
125 {sfPublicKey, soeREQUIRED},
126 {sfAmount, soeREQUIRED},
127 {sfSignatureReward, soeREQUIRED},
128 {sfAttestationRewardAccount, soeREQUIRED},
129 {sfWasLockingChainSend, soeREQUIRED},
130 {sfDestination, soeREQUIRED},
136 {sfAccount, soeREQUIRED},
140 InnerObjectFormats
const&
141 InnerObjectFormats::getInstance()
148 InnerObjectFormats::findSOTemplateBySField(
SField const& sField)
const
150 auto itemPtr = findByType(sField.
getCode());
152 return &(itemPtr->getSOTemplate());