mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-04 01:06:48 +00:00
Add SponsorshipEnd/Create/Reassign flags for SponsorshipTransfer
This commit is contained in:
@@ -307,6 +307,12 @@ constexpr std::uint32_t tfDeleteObject = 0
|
||||
constexpr std::uint32_t tfSponsorshipSetMask = ~(tfUniversal | tfSponsorshipSetRequireSignForFee | tfSponsorshipClearRequireSignForFee | tfSponsorshipSetRequireSignForReserve | tfSponsorshipClearRequireSignForReserve | tfDeleteObject);
|
||||
constexpr std::uint32_t tfSponsorshipSetPermissionMask = ~(tfUniversal | tfSponsorshipSetRequireSignForFee | tfSponsorshipSetRequireSignForReserve);
|
||||
|
||||
// SponsorshipTransfer flags:
|
||||
constexpr std::uint32_t tfSponsorshipEnd = 0x00000001;
|
||||
constexpr std::uint32_t tfSponsorshipCreate = 0x00000002;
|
||||
constexpr std::uint32_t tfSponsorshipReassign = 0x00000004;
|
||||
constexpr std::uint32_t tfSponsorshipTransferMask = ~(tfUniversal | tfSponsorshipEnd | tfSponsorshipCreate | tfSponsorshipReassign);
|
||||
|
||||
// clang-format on
|
||||
|
||||
} // namespace xrpl
|
||||
|
||||
@@ -13,6 +13,9 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
static std::uint32_t
|
||||
getFlagsMask(PreflightContext const& ctx);
|
||||
|
||||
static NotTEC
|
||||
preflight(PreflightContext const& ctx);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user