2022-02-22 08:02:34 +00:00
|
|
|
#pragma once
|
2022-02-14 14:38:41 +00:00
|
|
|
|
2022-02-21 18:03:38 +00:00
|
|
|
#include "wallet_token.h"
|
2022-02-22 08:02:34 +00:00
|
|
|
|
2022-02-14 14:38:41 +00:00
|
|
|
#include <QJsonValue>
|
|
|
|
#include <QString>
|
|
|
|
#include <QVector>
|
|
|
|
|
|
|
|
namespace Wallets
|
|
|
|
{
|
|
|
|
class WalletAccountDto
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
QString name;
|
|
|
|
QString address;
|
|
|
|
QString path;
|
|
|
|
QString color;
|
|
|
|
QString publicKey;
|
|
|
|
QString walletType;
|
|
|
|
bool isWallet;
|
|
|
|
bool isChat;
|
|
|
|
QVector<WalletTokenDto> tokens;
|
|
|
|
};
|
|
|
|
|
2022-02-22 08:02:34 +00:00
|
|
|
WalletAccountDto toWalletAccountDto(const QJsonValue& jsonObj);
|
2022-02-14 14:38:41 +00:00
|
|
|
|
2022-02-21 18:03:38 +00:00
|
|
|
} // namespace Wallets
|