mirror of
https://github.com/feather-wallet/feather.git
synced 2025-01-24 11:35:52 +00:00
39 lines
1,007 B
C++
39 lines
1,007 B
C++
// SPDX-License-Identifier: BSD-3-Clause
|
|
// SPDX-FileCopyrightText: 2014-2022 The Monero Project
|
|
|
|
#ifndef FEATHER_CONSTRUCTIONINFO_H
|
|
#define FEATHER_CONSTRUCTIONINFO_H
|
|
|
|
#include <wallet/api/wallet2_api.h>
|
|
#include <QObject>
|
|
#include <QSet>
|
|
|
|
class Input;
|
|
class Transfer;
|
|
|
|
class ConstructionInfo : public QObject
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
quint64 unlockTime() const;
|
|
QSet<quint32> subaddressIndices() const;
|
|
QVector<QString> subaddresses() const;
|
|
quint64 minMixinCount() const;
|
|
QList<Input*> inputs() const;
|
|
QList<Transfer*> outputs() const;
|
|
|
|
private:
|
|
explicit ConstructionInfo(const Monero::TransactionConstructionInfo *pimpl, QObject *parent = nullptr);
|
|
|
|
friend class PendingTransactionInfo;
|
|
friend class UnsignedTransaction;
|
|
quint64 m_unlockTime;
|
|
QSet<quint32> m_subaddressIndices;
|
|
QVector<QString> m_subaddresses;
|
|
quint64 m_minMixinCount;
|
|
mutable QList<Input*> m_inputs;
|
|
mutable QList<Transfer*> m_outputs;
|
|
};
|
|
|
|
#endif //FEATHER_CONSTRUCTIONINFO_H
|