#include <coldstakingmodel.h>
|
| enum | ColumnIndex {
OWNER_ADDRESS = 0
, OWNER_ADDRESS_LABEL = 1
, STAKING_ADDRESS = 2
, STAKING_ADDRESS_LABEL = 3
,
IS_WHITELISTED = 4
, IS_WHITELISTED_STRING = 5
, DELEGATED_UTXO_IDS = 6
, TOTAL_STACKEABLE_AMOUNT_STR = 7
,
TOTAL_STACKEABLE_AMOUNT = 8
, IS_RECEIVED_DELEGATION = 9
, COLUMN_COUNT = 10
} |
| |
Definition at line 37 of file coldstakingmodel.h.
◆ ColumnIndex
| Enumerator |
|---|
| OWNER_ADDRESS | |
| OWNER_ADDRESS_LABEL | |
| STAKING_ADDRESS | |
| STAKING_ADDRESS_LABEL | |
| IS_WHITELISTED | |
| IS_WHITELISTED_STRING | |
| DELEGATED_UTXO_IDS | |
| TOTAL_STACKEABLE_AMOUNT_STR | |
| TOTAL_STACKEABLE_AMOUNT | |
| IS_RECEIVED_DELEGATION | |
| COLUMN_COUNT | |
Definition at line 50 of file coldstakingmodel.h.
◆ ColdStakingModel()
◆ ~ColdStakingModel()
| ColdStakingModel::~ColdStakingModel |
( |
| ) |
|
|
inlineoverride |
◆ blacklist()
| bool ColdStakingModel::blacklist |
( |
const QModelIndex & |
index | ) |
|
◆ columnCount()
| int ColdStakingModel::columnCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
|
override |
◆ data()
| QVariant ColdStakingModel::data |
( |
const QModelIndex & |
index, |
|
|
int |
role = Qt::DisplayRole |
|
) |
| const |
|
override |
◆ emitDataSetChanged
| void ColdStakingModel::emitDataSetChanged |
( |
| ) |
|
|
slot |
◆ getTotalAmount()
| CAmount ColdStakingModel::getTotalAmount |
( |
| ) |
const |
|
inline |
◆ parseCSDelegation()
| bool ColdStakingModel::parseCSDelegation |
( |
const CTxOut & |
out, |
|
|
CSDelegation & |
ret, |
|
|
const QString & |
txId, |
|
|
const int |
utxoIndex |
|
) |
| |
|
private |
◆ refresh()
| void ColdStakingModel::refresh |
( |
| ) |
|
◆ removeRowAndEmitDataChanged()
| void ColdStakingModel::removeRowAndEmitDataChanged |
( |
const int |
idx | ) |
|
◆ rowCount()
| int ColdStakingModel::rowCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
|
override |
◆ updateCSList()
| void ColdStakingModel::updateCSList |
( |
| ) |
|
◆ whitelist()
| bool ColdStakingModel::whitelist |
( |
const QModelIndex & |
modelIndex | ) |
|
◆ addressTableModel
◆ cachedAmount
| CAmount ColdStakingModel::cachedAmount |
|
private |
◆ cachedDelegations
List with all of the grouped delegations received by this wallet.
Definition at line 86 of file coldstakingmodel.h.
◆ model
◆ tableModel
The documentation for this class was generated from the following files: