Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/rpc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ target_sources(
handlers/LedgerIndex.cpp
handlers/LedgerRange.cpp
handlers/MPTHolders.cpp
handlers/MPTokenIssuanceHistory.cpp
handlers/NFTsByIssuer.cpp
handlers/NFTBuyOffers.cpp
handlers/NFTHistory.cpp
Expand All @@ -58,4 +59,4 @@ target_sources(
handlers/VaultInfo.cpp
)

target_link_libraries(clio_rpc PUBLIC clio_util clio_data)
target_link_libraries(clio_rpc PUBLIC clio_util clio_data clio_migration)
1 change: 1 addition & 0 deletions src/rpc/RPCCenter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ handledRpcs()
"ledger_index",
"ledger_range",
"mpt_holders",
"mptoken_issuance_history",
"nfts_by_issuer",
"nft_history",
"nft_buy_offers",
Expand Down
3 changes: 3 additions & 0 deletions src/rpc/common/impl/HandlerProvider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
#include "rpc/handlers/LedgerIndex.hpp"
#include "rpc/handlers/LedgerRange.hpp"
#include "rpc/handlers/MPTHolders.hpp"
#include "rpc/handlers/MPTokenIssuanceHistory.hpp"
#include "rpc/handlers/NFTBuyOffers.hpp"
#include "rpc/handlers/NFTHistory.hpp"
#include "rpc/handlers/NFTInfo.hpp"
Expand Down Expand Up @@ -91,6 +92,8 @@ ProductionHandlerProvider::ProductionHandlerProvider(
{"ledger_range", {.handler = LedgerRangeHandler{backend}}},
{"mpt_holders",
{.handler = MPTHoldersHandler{backend}, .isClioOnly = true}}, // clio only
{"mptoken_issuance_history",
{.handler = MPTokenIssuanceHistoryHandler{backend}, .isClioOnly = true}}, // clio only
{"nfts_by_issuer",
{.handler = NFTsByIssuerHandler{backend}, .isClioOnly = true}}, // clio only
{"nft_history",
Expand Down
Loading