status-desktop/libs/Wallet/src/DerivedWalletAddress.cpp
Stefan 7cf0170a8a chore(CPP): integrate tokens balance in UI POC
Integrate token count in UI
Use delete later for QML exposed items to avoid errors

Closes #6321
2022-08-05 10:40:04 +02:00

22 lines
422 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;
}
}