#pragma once #include #include #include #include #include using json = nlohmann::json; namespace Status::StatusGo { /// \see status-go's EventType@events.go in services/wallet/transfer module using StatusGoEventType = Helpers::NamedType; /// \see status-go's Event@events.go in services/wallet/transfer module struct StatusGoEvent { std::string type; json event; std::optional error; }; void to_json(json& j, const StatusGoEvent& d); void from_json(const json& j, StatusGoEvent& d); } // namespace Status::StatusGo