mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-09 13:56:10 +00:00
c0024ec6b1
Good coding practices applied only, architecture and logic were not altered.
25 lines
890 B
C++
25 lines
890 B
C++
#pragma once
|
|
|
|
#include "../app_service.h"
|
|
#include "wallet_account.h"
|
|
|
|
#include <memory>
|
|
|
|
#include <QJsonValue>
|
|
#include <QList>
|
|
|
|
namespace Wallets
|
|
{
|
|
class ServiceInterface : public AppService
|
|
{
|
|
public:
|
|
virtual QList<WalletAccountDto> getWalletAccounts() = 0;
|
|
virtual QString generateNewAccount(const QString& password, const QString& accountName, const QString& color) = 0;
|
|
virtual QString addAccountsFromPrivateKey(const QString& privateKey, const QString& password, const QString& accountName, const QString& color) = 0;
|
|
virtual QString addAccountsFromSeed(const QString& seedPhrase, const QString& password, const QString& accountName, const QString& color) = 0;
|
|
virtual QString addWatchOnlyAccount(const QString& address, const QString& accountName , const QString& color) = 0;
|
|
virtual void deleteAccount(const QString& address) = 0;
|
|
};
|
|
|
|
} // namespace Wallets
|