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},
64 InnerObjectFormats
const&
65 InnerObjectFormats::getInstance()
72 InnerObjectFormats::findSOTemplateBySField(
SField const& sField)
const
74 auto itemPtr = findByType(sField.
getCode());
76 return &(itemPtr->getSOTemplate());