32 #ifndef LEDGER_CORE_TEZOSLIKETRANSACTIONSBULKPARSER_H 33 #define LEDGER_CORE_TEZOSLIKETRANSACTIONSBULKPARSER_H 35 #include "../TezosLikeBlockchainExplorer.h" 36 #include "TezosLikeTransactionsParser.h" 37 #include <wallet/common/explorers/api/AbstractTransactionsBulkParser.h> 41 class TezosLikeBlockchainExplorer;
47 _transactionsParser(lastKey) {
52 if (_depth >= 1 || getLastKey() ==
"" ||
53 (_depth == 0 && getLastKey() ==
"ops")) {
58 getTransactionsParser().init(&_bulk->transactions);
61 PROXY_PARSE_TXS(StartArray)
64 bool String(
const rapidjson::Reader::Ch *str, rapidjson::SizeType length,
bool copy) {
65 std::string value = std::string(str, length);
66 PROXY_PARSE_TXS(
String, str, length, copy)
70 PROXY_PARSE_TXS(Bool, b)
76 return _transactionsParser;
79 std::string &getLastKey()
override {
85 std::string &_lastKey;
89 #endif //LEDGER_CORE_TEZOSLIKETRANSACTIONSBULKPARSER_H Definition: TezosLikeTransactionsBulkParser.h:43
Definition: TezosLikeTransactionsParser.h:40
Definition: Account.cpp:8
Definition: AbstractTransactionsBulkParser.h:45