Implement nextgen handler for nft_buy_offers (#568)

Fixes #564
This commit is contained in:
Alex Kremer
2023-03-29 16:33:48 +01:00
committed by GitHub
parent 5604b37c02
commit 75c2011845
8 changed files with 981 additions and 18 deletions

View File

@@ -181,7 +181,7 @@ CreateRippleStateLedgerObject(
uint32_t previousTxnSeq,
uint32_t flag = 0);
ripple::STObject
[[nodiscard]] ripple::STObject
CreateOfferLedgerObject(
std::string_view account,
int takerGets,
@@ -192,16 +192,16 @@ CreateOfferLedgerObject(
std::string_view paysIssueId,
std::string_view bookDirId);
ripple::STObject
[[nodiscard]] ripple::STObject
CreateTicketLedgerObject(std::string_view rootIndex, uint32_t sequence);
ripple::STObject
[[nodiscard]] ripple::STObject
CreateEscrowLedgerObject(std::string_view account, std::string_view dest);
ripple::STObject
[[nodiscard]] ripple::STObject
CreateCheckLedgerObject(std::string_view account, std::string_view dest);
ripple::STObject
[[nodiscard]] ripple::STObject
CreateDepositPreauthLedgerObject(
std::string_view account,
std::string_view auth);
@@ -213,3 +213,6 @@ CreateNFT(
ripple::LedgerIndex seq = 1234u,
ripple::Blob uri = ripple::Blob{'u', 'r', 'i'},
bool isBurned = false);
[[nodiscard]] ripple::STObject
CreateNFTBuyOffer(std::string_view tokenID, std::string_view account);