Files
rippled/src/test/jtx/ledgerStateFix.h
2026-07-13 10:40:40 +00:00

26 lines
527 B
C++

#pragma once
#include <test/jtx/Account.h>
#include <xrpl/basics/base_uint.h>
#include <xrpl/json/json_value.h>
/**
* LedgerStateFix operations.
*/
namespace xrpl::test::jtx::ledgerStateFix {
/**
* Repair the links in an NFToken directory.
*/
json::Value
nftPageLinks(jtx::Account const& acct, jtx::Account const& owner);
/**
* Repair sfExchangeRate on a book directory's first page.
*/
json::Value
bookExchangeRate(jtx::Account const& acct, uint256 const& bookDir);
} // namespace xrpl::test::jtx::ledgerStateFix