20 #include <ripple/protocol/InnerObjectFormats.h>
21 #include <ripple/protocol/SField.h>
22 #include <ripple/protocol/SOTemplate.h>
34 {sfAccount, soeREQUIRED},
35 {sfSignerWeight, soeREQUIRED},
36 {sfWalletLocator, soeOPTIONAL},
42 {sfAccount, soeREQUIRED},
43 {sfSigningPubKey, soeREQUIRED},
44 {sfTxnSignature, soeREQUIRED},
50 {sfAmendment, soeREQUIRED},
51 {sfCloseTime, soeREQUIRED},
57 {sfPublicKey, soeREQUIRED},
58 {sfFirstLedgerSequence, soeREQUIRED},
64 {sfNFTokenID, soeREQUIRED},
71 {sfAccount, soeREQUIRED},
72 {sfTradingFee, soeDEFAULT},
73 {sfVoteWeight, soeREQUIRED},
78 {{sfAccount, soeREQUIRED},
79 {sfExpiration, soeREQUIRED},
80 {sfDiscountedFee, soeDEFAULT},
81 {sfPrice, soeREQUIRED},
82 {sfAuthAccounts, soeOPTIONAL}});
87 {sfAttestationSignerAccount, soeREQUIRED},
88 {sfPublicKey, soeREQUIRED},
89 {sfSignature, soeREQUIRED},
90 {sfAmount, soeREQUIRED},
91 {sfAccount, soeREQUIRED},
92 {sfAttestationRewardAccount, soeREQUIRED},
93 {sfWasLockingChainSend, soeREQUIRED},
94 {sfXChainClaimID, soeREQUIRED},
95 {sfDestination, soeOPTIONAL},
101 {sfAttestationSignerAccount, soeREQUIRED},
102 {sfPublicKey, soeREQUIRED},
103 {sfSignature, soeREQUIRED},
104 {sfAmount, soeREQUIRED},
105 {sfAccount, soeREQUIRED},
106 {sfAttestationRewardAccount, soeREQUIRED},
107 {sfWasLockingChainSend, soeREQUIRED},
108 {sfXChainAccountCreateCount, soeREQUIRED},
109 {sfDestination, soeREQUIRED},
110 {sfSignatureReward, soeREQUIRED},
116 {sfAttestationSignerAccount, soeREQUIRED},
117 {sfPublicKey, soeREQUIRED},
118 {sfAmount, soeREQUIRED},
119 {sfAttestationRewardAccount, soeREQUIRED},
120 {sfWasLockingChainSend, soeREQUIRED},
121 {sfDestination, soeOPTIONAL},
127 {sfAttestationSignerAccount, soeREQUIRED},
128 {sfPublicKey, soeREQUIRED},
129 {sfAmount, soeREQUIRED},
130 {sfSignatureReward, soeREQUIRED},
131 {sfAttestationRewardAccount, soeREQUIRED},
132 {sfWasLockingChainSend, soeREQUIRED},
133 {sfDestination, soeREQUIRED},
139 {sfAccount, soeREQUIRED},
143 InnerObjectFormats
const&
144 InnerObjectFormats::getInstance()
151 InnerObjectFormats::findSOTemplateBySField(
SField const& sField)
const
153 auto itemPtr = findByType(sField.
getCode());
155 return &(itemPtr->getSOTemplate());