mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-23 04:50:28 +00:00
22 lines
450 B
C++
22 lines
450 B
C++
#include "DerivedWalletAddress.h"
|
|
|
|
namespace Status::Wallet
|
|
{
|
|
|
|
DerivedWalletAddress::DerivedWalletAddress(WalletGo::DerivedAddress address, QObject* parent)
|
|
: QObject{parent}
|
|
, m_derivedAddress{std::move(address)}
|
|
{ }
|
|
|
|
QString DerivedWalletAddress::address() const
|
|
{
|
|
return m_derivedAddress.address.get();
|
|
}
|
|
|
|
bool DerivedWalletAddress::alreadyCreated() const
|
|
{
|
|
return m_derivedAddress.alreadyCreated;
|
|
}
|
|
|
|
} // namespace Status::Wallet
|