20 #include <ripple/protocol/InnerObjectFormats.h>
29 {sfAccount, soeREQUIRED},
30 {sfSignerWeight, soeREQUIRED},
31 {sfWalletLocator, soeOPTIONAL},
37 {sfAccount, soeREQUIRED},
38 {sfSigningPubKey, soeREQUIRED},
39 {sfTxnSignature, soeREQUIRED},
45 {sfAmendment, soeREQUIRED},
46 {sfCloseTime, soeREQUIRED},
52 {sfPublicKey, soeREQUIRED},
53 {sfFirstLedgerSequence, soeREQUIRED},
59 {sfNFTokenID, soeREQUIRED},
66 {sfAccount, soeREQUIRED},
67 {sfTradingFee, soeDEFAULT},
68 {sfVoteWeight, soeREQUIRED},
74 {sfAccount, soeREQUIRED},
75 {sfExpiration, soeREQUIRED},
76 {sfDiscountedFee, soeDEFAULT},
77 {sfPrice, soeREQUIRED},
78 {sfAuthAccounts, soeOPTIONAL},
84 {sfAccount, soeREQUIRED},
88 InnerObjectFormats
const&
89 InnerObjectFormats::getInstance()
96 InnerObjectFormats::findSOTemplateBySField(
SField const& sField)
const
98 auto itemPtr = findByType(sField.
getCode());
100 return &(itemPtr->getSOTemplate());