| 1 |
#ifndef FEATHER_TRANSACTION_CONSTRUCTION_INFO_H |
| 2 |
#define FEATHER_TRANSACTION_CONSTRUCTION_INFO_H |
| 3 |
|
| 4 |
#include "wallet/api/wallet2_api.h" |
| 5 |
#include "wallet/wallet2.h" |
| 6 |
#include "wallet.h" |
| 7 |
#include <string> |
| 8 |
|
| 9 |
namespace Monero { |
| 10 |
|
| 11 |
class TransactionConstructionInfoImpl : public TransactionConstructionInfo |
| 12 |
{ |
| 13 |
public: |
| 14 |
TransactionConstructionInfoImpl(WalletImpl &wallet, const tools::wallet2::tx_construction_data & ptx); |
| 15 |
~TransactionConstructionInfoImpl() override; |
| 16 |
|
| 17 |
uint64_t unlockTime() const override; |
| 18 |
std::set<std::uint32_t> subaddressIndices() const override; |
| 19 |
std::vector<std::string> subaddresses() const override; |
| 20 |
uint64_t minMixinCount() const override; |
| 21 |
std::vector<Input> inputs() const override; |
| 22 |
std::vector<Output> outputs() const override; |
| 23 |
|
| 24 |
private: |
| 25 |
friend class WalletImpl; |
| 26 |
WalletImpl &m_wallet; |
| 27 |
tools::wallet2::tx_construction_data m_txcd; |
| 28 |
}; |
| 29 |
|
| 30 |
} |
| 31 |
|
| 32 |
#endif |