mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-06 18:26:51 +00:00
Merge branch 'develop' into mvadari/rearch/account
This commit is contained in:
@@ -125,9 +125,8 @@ public:
|
||||
Transactor(Transactor const&) = delete;
|
||||
Transactor&
|
||||
operator=(Transactor const&) = delete;
|
||||
// 68 transactor subclass files
|
||||
// NOLINTNEXTLINE(cppcoreguidelines-use-enum-class)
|
||||
enum ConsequencesFactoryType { Normal, Blocker, Custom };
|
||||
|
||||
enum class ConsequencesFactoryType { Normal, Blocker, Custom };
|
||||
|
||||
/** Process the transaction. */
|
||||
ApplyResult
|
||||
|
||||
@@ -25,7 +25,7 @@ not have the relevant amendments enabled_. It's intentionally a pain in the neck
|
||||
so that bad code gets caught and fixed as early as possible.
|
||||
*/
|
||||
|
||||
// Bitwise flags, 86 files
|
||||
// Bitwise flags, 86 files, used in macros files
|
||||
// NOLINTNEXTLINE(cppcoreguidelines-use-enum-class)
|
||||
enum Privilege {
|
||||
NoPriv = 0x0000, // The transaction can not do any of the enumerated operations
|
||||
|
||||
@@ -11,8 +11,8 @@ namespace xrpl {
|
||||
class ValidPermissionedDEX
|
||||
{
|
||||
bool regularOffers_ = false;
|
||||
bool badHybridsOld_ = false; // pre-fixSecurity3_1_3: missing field/domain or size > 1
|
||||
bool badHybrids_ = false; // post-fixSecurity3_1_3: also catches size == 0 (size != 1)
|
||||
bool badHybridsOld_ = false; // pre-fixCleanup3_1_3: missing field/domain or size > 1
|
||||
bool badHybrids_ = false; // post-fixCleanup3_1_3: also catches size == 0 (size != 1)
|
||||
hash_set<uint256> domains_;
|
||||
|
||||
public:
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace xrpl {
|
||||
class AccountDelete : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Blocker};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Blocker;
|
||||
|
||||
explicit AccountDelete(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace xrpl {
|
||||
class AccountSet : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Custom};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Custom;
|
||||
|
||||
explicit AccountSet(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace xrpl {
|
||||
class SetRegularKey : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Blocker};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Blocker;
|
||||
|
||||
explicit SetRegularKey(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -24,7 +24,7 @@ private:
|
||||
std::vector<SignerEntries::SignerEntry> signers_;
|
||||
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Blocker};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Blocker;
|
||||
|
||||
explicit SignerListSet(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -12,7 +12,7 @@ constexpr size_t kXBRIDGE_MAX_ACCOUNT_CREATE_CLAIMS = 128;
|
||||
class XChainCreateBridge : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Normal};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Normal;
|
||||
|
||||
explicit XChainCreateBridge(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
@@ -45,7 +45,7 @@ public:
|
||||
class BridgeModify : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Normal};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Normal;
|
||||
|
||||
explicit BridgeModify(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
@@ -95,7 +95,7 @@ class XChainClaim : public Transactor
|
||||
{
|
||||
public:
|
||||
// Blocker since we cannot accurately calculate the consequences
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Blocker};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Blocker;
|
||||
|
||||
explicit XChainClaim(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
@@ -133,7 +133,7 @@ public:
|
||||
class XChainCommit : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Custom};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Custom;
|
||||
|
||||
static TxConsequences
|
||||
makeTxConsequences(PreflightContext const& ctx);
|
||||
@@ -179,7 +179,7 @@ public:
|
||||
class XChainCreateClaimID : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Normal};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Normal;
|
||||
|
||||
explicit XChainCreateClaimID(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
@@ -222,7 +222,7 @@ class XChainAddClaimAttestation : public Transactor
|
||||
{
|
||||
public:
|
||||
// Blocker since we cannot accurately calculate the consequences
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Blocker};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Blocker;
|
||||
|
||||
explicit XChainAddClaimAttestation(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
@@ -256,7 +256,7 @@ class XChainAddAccountCreateAttestation : public Transactor
|
||||
{
|
||||
public:
|
||||
// Blocker since we cannot accurately calculate the consequences
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Blocker};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Blocker;
|
||||
|
||||
explicit XChainAddAccountCreateAttestation(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
@@ -314,7 +314,7 @@ public:
|
||||
class XChainCreateAccountCommit : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Normal};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Normal;
|
||||
|
||||
explicit XChainCreateAccountCommit(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace xrpl {
|
||||
class CheckCancel : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Normal};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Normal;
|
||||
|
||||
explicit CheckCancel(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace xrpl {
|
||||
class CheckCash : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Normal};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Normal;
|
||||
|
||||
explicit CheckCash(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace xrpl {
|
||||
class CheckCreate : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Normal};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Normal;
|
||||
|
||||
explicit CheckCreate(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace xrpl {
|
||||
class CredentialAccept : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Normal};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Normal;
|
||||
|
||||
explicit CredentialAccept(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace xrpl {
|
||||
class CredentialCreate : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Normal};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Normal;
|
||||
|
||||
explicit CredentialCreate(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace xrpl {
|
||||
class CredentialDelete : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Normal};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Normal;
|
||||
|
||||
explicit CredentialDelete(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace xrpl {
|
||||
class DelegateSet : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Normal};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Normal;
|
||||
|
||||
explicit DelegateSet(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -45,7 +45,7 @@ namespace xrpl {
|
||||
class AMMBid : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Normal};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Normal;
|
||||
|
||||
explicit AMMBid(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ class Sandbox;
|
||||
class AMMClawback : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Normal};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Normal;
|
||||
|
||||
explicit AMMClawback(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -37,7 +37,7 @@ namespace xrpl {
|
||||
class AMMCreate : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Normal};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Normal;
|
||||
|
||||
explicit AMMCreate(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace xrpl {
|
||||
class AMMDelete : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Normal};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Normal;
|
||||
|
||||
explicit AMMDelete(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -42,7 +42,7 @@ class Sandbox;
|
||||
class AMMDeposit : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Normal};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Normal;
|
||||
|
||||
explicit AMMDeposit(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -30,7 +30,7 @@ namespace xrpl {
|
||||
class AMMVote : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Normal};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Normal;
|
||||
|
||||
explicit AMMVote(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -50,7 +50,7 @@ enum class WithdrawAll : bool { No = false, Yes };
|
||||
class AMMWithdraw : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Normal};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Normal;
|
||||
|
||||
explicit AMMWithdraw(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace xrpl {
|
||||
class OfferCancel : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Normal};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Normal;
|
||||
|
||||
explicit OfferCancel(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -12,7 +12,7 @@ class Sandbox;
|
||||
class OfferCreate : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Custom};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Custom;
|
||||
|
||||
/** Construct a Transactor subclass that creates an offer in the ledger. */
|
||||
explicit OfferCreate(ApplyContext& ctx) : Transactor(ctx)
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace xrpl {
|
||||
class DIDDelete : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Normal};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Normal;
|
||||
|
||||
explicit DIDDelete(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace xrpl {
|
||||
class DIDSet : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Normal};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Normal;
|
||||
|
||||
explicit DIDSet(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace xrpl {
|
||||
class EscrowCancel : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Normal};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Normal;
|
||||
|
||||
explicit EscrowCancel(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace xrpl {
|
||||
class EscrowCreate : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Custom};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Custom;
|
||||
|
||||
explicit EscrowCreate(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace xrpl {
|
||||
class EscrowFinish : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Normal};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Normal;
|
||||
|
||||
explicit EscrowFinish(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace xrpl {
|
||||
class LoanBrokerCoverClawback : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Normal};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Normal;
|
||||
|
||||
explicit LoanBrokerCoverClawback(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace xrpl {
|
||||
class LoanBrokerCoverDeposit : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Normal};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Normal;
|
||||
|
||||
explicit LoanBrokerCoverDeposit(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace xrpl {
|
||||
class LoanBrokerCoverWithdraw : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Normal};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Normal;
|
||||
|
||||
explicit LoanBrokerCoverWithdraw(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace xrpl {
|
||||
class LoanBrokerDelete : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Normal};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Normal;
|
||||
|
||||
explicit LoanBrokerDelete(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace xrpl {
|
||||
class LoanBrokerSet : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Normal};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Normal;
|
||||
|
||||
explicit LoanBrokerSet(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace xrpl {
|
||||
class LoanDelete : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Normal};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Normal;
|
||||
|
||||
explicit LoanDelete(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace xrpl {
|
||||
class LoanManage : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Normal};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Normal;
|
||||
|
||||
explicit LoanManage(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace xrpl {
|
||||
class LoanPay : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Normal};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Normal;
|
||||
|
||||
explicit LoanPay(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace xrpl {
|
||||
class LoanSet : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Normal};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Normal;
|
||||
|
||||
explicit LoanSet(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -20,7 +20,7 @@ private:
|
||||
transferNFToken(AccountID const& buyer, AccountID const& seller, uint256 const& nfTokenID);
|
||||
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Normal};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Normal;
|
||||
|
||||
explicit NFTokenAcceptOffer(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace xrpl {
|
||||
class NFTokenBurn : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Normal};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Normal;
|
||||
|
||||
explicit NFTokenBurn(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace xrpl {
|
||||
class NFTokenCancelOffer : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Normal};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Normal;
|
||||
|
||||
explicit NFTokenCancelOffer(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace xrpl {
|
||||
class NFTokenCreateOffer : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Normal};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Normal;
|
||||
|
||||
explicit NFTokenCreateOffer(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace xrpl {
|
||||
class NFTokenMint : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Normal};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Normal;
|
||||
|
||||
explicit NFTokenMint(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace xrpl {
|
||||
class NFTokenModify : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Normal};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Normal;
|
||||
|
||||
explicit NFTokenModify(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace xrpl {
|
||||
class OracleDelete : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Normal};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Normal;
|
||||
|
||||
explicit OracleDelete(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace xrpl {
|
||||
class OracleSet : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Normal};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Normal;
|
||||
|
||||
explicit OracleSet(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace xrpl {
|
||||
class DepositPreauth : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Normal};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Normal;
|
||||
|
||||
explicit DepositPreauth(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -13,7 +13,7 @@ class Payment : public Transactor
|
||||
static std::size_t const kMAX_PATH_LENGTH = 8;
|
||||
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Custom};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Custom;
|
||||
|
||||
explicit Payment(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace xrpl {
|
||||
class PaymentChannelClaim : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Normal};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Normal;
|
||||
|
||||
explicit PaymentChannelClaim(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace xrpl {
|
||||
class PaymentChannelCreate : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Custom};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Custom;
|
||||
|
||||
explicit PaymentChannelCreate(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace xrpl {
|
||||
class PaymentChannelFund : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Custom};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Custom;
|
||||
|
||||
explicit PaymentChannelFund(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace xrpl {
|
||||
class PermissionedDomainDelete : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Normal};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Normal;
|
||||
|
||||
explicit PermissionedDomainDelete(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace xrpl {
|
||||
class PermissionedDomainSet : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Normal};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Normal;
|
||||
|
||||
explicit PermissionedDomainSet(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace xrpl {
|
||||
class Batch : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Normal};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Normal;
|
||||
|
||||
explicit Batch(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace xrpl {
|
||||
class Change : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Normal};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Normal;
|
||||
|
||||
explicit Change(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -11,7 +11,7 @@ public:
|
||||
NfTokenPageLink = 1,
|
||||
};
|
||||
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Normal};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Normal;
|
||||
|
||||
explicit LedgerStateFix(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace xrpl {
|
||||
class TicketCreate : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Custom};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Custom;
|
||||
|
||||
constexpr static std::uint32_t kMIN_VALID_COUNT = 1;
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace xrpl {
|
||||
class Clawback : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Normal};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Normal;
|
||||
|
||||
explicit Clawback(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -16,7 +16,7 @@ struct MPTAuthorizeArgs
|
||||
class MPTokenAuthorize : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Normal};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Normal;
|
||||
|
||||
explicit MPTokenAuthorize(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -27,7 +27,7 @@ struct MPTCreateArgs
|
||||
class MPTokenIssuanceCreate : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Normal};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Normal;
|
||||
|
||||
explicit MPTokenIssuanceCreate(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace xrpl {
|
||||
class MPTokenIssuanceDestroy : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Normal};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Normal;
|
||||
|
||||
explicit MPTokenIssuanceDestroy(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace xrpl {
|
||||
class MPTokenIssuanceSet : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Normal};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Normal;
|
||||
|
||||
explicit MPTokenIssuanceSet(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace xrpl {
|
||||
class TrustSet : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Normal};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Normal;
|
||||
|
||||
explicit TrustSet(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace xrpl {
|
||||
class VaultClawback : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Normal};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Normal;
|
||||
|
||||
explicit VaultClawback(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace xrpl {
|
||||
class VaultCreate : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Normal};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Normal;
|
||||
|
||||
explicit VaultCreate(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace xrpl {
|
||||
class VaultDelete : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Normal};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Normal;
|
||||
|
||||
explicit VaultDelete(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace xrpl {
|
||||
class VaultDeposit : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Normal};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Normal;
|
||||
|
||||
explicit VaultDeposit(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace xrpl {
|
||||
class VaultSet : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Normal};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Normal;
|
||||
|
||||
explicit VaultSet(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace xrpl {
|
||||
class VaultWithdraw : public Transactor
|
||||
{
|
||||
public:
|
||||
static constexpr ConsequencesFactoryType kCONSEQUENCES_FACTORY{Normal};
|
||||
static constexpr auto kCONSEQUENCES_FACTORY = ConsequencesFactoryType::Normal;
|
||||
|
||||
explicit VaultWithdraw(ApplyContext& ctx) : Transactor(ctx)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user