mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-03 10:14:04 +00:00
5450384a34
Also - added debugging test for `checkRecentHistory` from the attempt to use transactions to restore balance - small improvements that might clarify better the issues reported about running under linux issues (didn't test them) - fix issues found while reviewing the code. - add support for custom infura token to be used in development Updates #7662
32 lines
696 B
C++
32 lines
696 B
C++
#pragma once
|
|
|
|
#include <Accounts/accounts_types.h>
|
|
|
|
#include <Helpers/NamedType.h>
|
|
#include <Helpers/conversions.h>
|
|
|
|
#include <Wallet/BigInt.h>
|
|
|
|
#include <nlohmann/json.hpp>
|
|
|
|
using json = nlohmann::json;
|
|
|
|
namespace Status::StatusGo
|
|
{
|
|
|
|
/// \see status-go's EventType@events.go in services/wallet/transfer module
|
|
using StatusGoEventType = Helpers::NamedType<QString, struct StatusGoEventTypeTag>;
|
|
|
|
/// \see status-go's Event@events.go in services/wallet/transfer module
|
|
struct StatusGoEvent
|
|
{
|
|
std::string type;
|
|
json event;
|
|
std::optional<QString> error;
|
|
};
|
|
|
|
void to_json(json& j, const StatusGoEvent& d);
|
|
void from_json(const json& j, StatusGoEvent& d);
|
|
|
|
} // namespace Status::StatusGo
|