@@ -53,79 +53,79 @@ namespace ripple {
53
53
54
54
// clang-format off
55
55
// Universal Transaction flags:
56
- constexpr std::uint32_t tfFullyCanonicalSig = 0x80000000 ;
57
- constexpr std::uint32_t tfUniversal = tfFullyCanonicalSig;
58
- constexpr std::uint32_t tfUniversalMask = ~tfUniversal;
56
+ constexpr std::uint32_t tfFullyCanonicalSig = 0x80000000 ;
57
+ constexpr std::uint32_t tfUniversal = tfFullyCanonicalSig;
58
+ constexpr std::uint32_t tfUniversalMask = ~tfUniversal;
59
59
60
60
// AccountSet flags:
61
- constexpr std::uint32_t tfRequireDestTag = 0x00010000 ;
62
- constexpr std::uint32_t tfOptionalDestTag = 0x00020000 ;
63
- constexpr std::uint32_t tfRequireAuth = 0x00040000 ;
64
- constexpr std::uint32_t tfOptionalAuth = 0x00080000 ;
65
- constexpr std::uint32_t tfDisallowXRP = 0x00100000 ;
66
- constexpr std::uint32_t tfAllowXRP = 0x00200000 ;
61
+ constexpr std::uint32_t tfRequireDestTag = 0x00010000 ;
62
+ constexpr std::uint32_t tfOptionalDestTag = 0x00020000 ;
63
+ constexpr std::uint32_t tfRequireAuth = 0x00040000 ;
64
+ constexpr std::uint32_t tfOptionalAuth = 0x00080000 ;
65
+ constexpr std::uint32_t tfDisallowXRP = 0x00100000 ;
66
+ constexpr std::uint32_t tfAllowXRP = 0x00200000 ;
67
67
constexpr std::uint32_t tfAccountSetMask =
68
68
~(tfUniversal | tfRequireDestTag | tfOptionalDestTag | tfRequireAuth |
69
69
tfOptionalAuth | tfDisallowXRP | tfAllowXRP);
70
70
71
71
// AccountSet SetFlag/ClearFlag values
72
- constexpr std::uint32_t asfRequireDest = 1 ;
73
- constexpr std::uint32_t asfRequireAuth = 2 ;
74
- constexpr std::uint32_t asfDisallowXRP = 3 ;
75
- constexpr std::uint32_t asfDisableMaster = 4 ;
76
- constexpr std::uint32_t asfAccountTxnID = 5 ;
77
- constexpr std::uint32_t asfNoFreeze = 6 ;
78
- constexpr std::uint32_t asfGlobalFreeze = 7 ;
79
- constexpr std::uint32_t asfDefaultRipple = 8 ;
80
- constexpr std::uint32_t asfDepositAuth = 9 ;
81
- constexpr std::uint32_t asfAuthorizedNFTokenMinter = 10 ;
72
+ constexpr std::uint32_t asfRequireDest = 1 ;
73
+ constexpr std::uint32_t asfRequireAuth = 2 ;
74
+ constexpr std::uint32_t asfDisallowXRP = 3 ;
75
+ constexpr std::uint32_t asfDisableMaster = 4 ;
76
+ constexpr std::uint32_t asfAccountTxnID = 5 ;
77
+ constexpr std::uint32_t asfNoFreeze = 6 ;
78
+ constexpr std::uint32_t asfGlobalFreeze = 7 ;
79
+ constexpr std::uint32_t asfDefaultRipple = 8 ;
80
+ constexpr std::uint32_t asfDepositAuth = 9 ;
81
+ constexpr std::uint32_t asfAuthorizedNFTokenMinter = 10 ;
82
82
/* // reserved for Hooks amendment
83
- constexpr std::uint32_t asfTshCollect = 11;
83
+ constexpr std::uint32_t asfTshCollect = 11;
84
84
*/
85
85
constexpr std::uint32_t asfDisallowIncomingNFTokenOffer = 12 ;
86
- constexpr std::uint32_t asfDisallowIncomingCheck = 13 ;
87
- constexpr std::uint32_t asfDisallowIncomingPayChan = 14 ;
88
- constexpr std::uint32_t asfDisallowIncomingTrustline = 15 ;
86
+ constexpr std::uint32_t asfDisallowIncomingCheck = 13 ;
87
+ constexpr std::uint32_t asfDisallowIncomingPayChan = 14 ;
88
+ constexpr std::uint32_t asfDisallowIncomingTrustline = 15 ;
89
89
90
90
// OfferCreate flags:
91
- constexpr std::uint32_t tfPassive = 0x00010000 ;
92
- constexpr std::uint32_t tfImmediateOrCancel = 0x00020000 ;
93
- constexpr std::uint32_t tfFillOrKill = 0x00040000 ;
94
- constexpr std::uint32_t tfSell = 0x00080000 ;
91
+ constexpr std::uint32_t tfPassive = 0x00010000 ;
92
+ constexpr std::uint32_t tfImmediateOrCancel = 0x00020000 ;
93
+ constexpr std::uint32_t tfFillOrKill = 0x00040000 ;
94
+ constexpr std::uint32_t tfSell = 0x00080000 ;
95
95
constexpr std::uint32_t tfOfferCreateMask =
96
96
~(tfUniversal | tfPassive | tfImmediateOrCancel | tfFillOrKill | tfSell);
97
97
98
98
// Payment flags:
99
- constexpr std::uint32_t tfNoRippleDirect = 0x00010000 ;
100
- constexpr std::uint32_t tfPartialPayment = 0x00020000 ;
101
- constexpr std::uint32_t tfLimitQuality = 0x00040000 ;
99
+ constexpr std::uint32_t tfNoRippleDirect = 0x00010000 ;
100
+ constexpr std::uint32_t tfPartialPayment = 0x00020000 ;
101
+ constexpr std::uint32_t tfLimitQuality = 0x00040000 ;
102
102
constexpr std::uint32_t tfPaymentMask =
103
103
~(tfUniversal | tfPartialPayment | tfLimitQuality | tfNoRippleDirect);
104
104
105
105
// TrustSet flags:
106
- constexpr std::uint32_t tfSetfAuth = 0x00010000 ;
107
- constexpr std::uint32_t tfSetNoRipple = 0x00020000 ;
108
- constexpr std::uint32_t tfClearNoRipple = 0x00040000 ;
109
- constexpr std::uint32_t tfSetFreeze = 0x00100000 ;
110
- constexpr std::uint32_t tfClearFreeze = 0x00200000 ;
106
+ constexpr std::uint32_t tfSetfAuth = 0x00010000 ;
107
+ constexpr std::uint32_t tfSetNoRipple = 0x00020000 ;
108
+ constexpr std::uint32_t tfClearNoRipple = 0x00040000 ;
109
+ constexpr std::uint32_t tfSetFreeze = 0x00100000 ;
110
+ constexpr std::uint32_t tfClearFreeze = 0x00200000 ;
111
111
constexpr std::uint32_t tfTrustSetMask =
112
112
~(tfUniversal | tfSetfAuth | tfSetNoRipple | tfClearNoRipple | tfSetFreeze |
113
113
tfClearFreeze);
114
114
115
115
// EnableAmendment flags:
116
- constexpr std::uint32_t tfGotMajority = 0x00010000 ;
117
- constexpr std::uint32_t tfLostMajority = 0x00020000 ;
116
+ constexpr std::uint32_t tfGotMajority = 0x00010000 ;
117
+ constexpr std::uint32_t tfLostMajority = 0x00020000 ;
118
118
119
119
// PaymentChannelClaim flags:
120
- constexpr std::uint32_t tfRenew = 0x00010000 ;
121
- constexpr std::uint32_t tfClose = 0x00020000 ;
120
+ constexpr std::uint32_t tfRenew = 0x00010000 ;
121
+ constexpr std::uint32_t tfClose = 0x00020000 ;
122
122
constexpr std::uint32_t tfPayChanClaimMask = ~(tfUniversal | tfRenew | tfClose);
123
123
124
124
// NFTokenMint flags:
125
- constexpr std::uint32_t const tfBurnable = 0x00000001 ;
126
- constexpr std::uint32_t const tfOnlyXRP = 0x00000002 ;
127
- constexpr std::uint32_t const tfTrustLine = 0x00000004 ;
128
- constexpr std::uint32_t const tfTransferable = 0x00000008 ;
125
+ constexpr std::uint32_t const tfBurnable = 0x00000001 ;
126
+ constexpr std::uint32_t const tfOnlyXRP = 0x00000002 ;
127
+ constexpr std::uint32_t const tfTrustLine = 0x00000004 ;
128
+ constexpr std::uint32_t const tfTransferable = 0x00000008 ;
129
129
130
130
// Prior to fixRemoveNFTokenAutoTrustLine, transfer of an NFToken between
131
131
// accounts allowed a TrustLine to be added to the issuer of that token
@@ -147,15 +147,15 @@ constexpr std::uint32_t const tfNFTokenMintMask =
147
147
~(tfUniversal | tfBurnable | tfOnlyXRP | tfTransferable);
148
148
149
149
// NFTokenCreateOffer flags:
150
- constexpr std::uint32_t const tfSellNFToken = 0x00000001 ;
150
+ constexpr std::uint32_t const tfSellNFToken = 0x00000001 ;
151
151
constexpr std::uint32_t const tfNFTokenCreateOfferMask =
152
152
~(tfUniversal | tfSellNFToken);
153
153
154
154
// NFTokenCancelOffer flags:
155
- constexpr std::uint32_t const tfNFTokenCancelOfferMask = ~(tfUniversal);
155
+ constexpr std::uint32_t const tfNFTokenCancelOfferMask = ~(tfUniversal);
156
156
157
157
// NFTokenAcceptOffer flags:
158
- constexpr std::uint32_t const tfNFTokenAcceptOfferMask = ~tfUniversal;
158
+ constexpr std::uint32_t const tfNFTokenAcceptOfferMask = ~tfUniversal;
159
159
160
160
// clang-format on
161
161
0 commit comments