PIVX Core  5.6.99
P2P Digital Currency
Public Member Functions | Public Attributes | List of all members
CSDelegation Class Reference

#include <coldstakingmodel.h>

Public Member Functions

 CSDelegation ()
 
 CSDelegation (const std::string &_stakingAddress, const std::string &_ownerAddress)
 
bool operator== (const CSDelegation &obj)
 

Public Attributes

std::string stakingAddress {}
 
std::string ownerAddress {}
 
QMap< QString, int > delegatedUtxo {}
 Map of txId --> index num for stakeable utxo delegations. More...
 
CAmount cachedTotalAmount {0}
 
bool isSpendable {false}
 

Detailed Description

Definition at line 15 of file coldstakingmodel.h.

Constructor & Destructor Documentation

◆ CSDelegation() [1/2]

CSDelegation::CSDelegation ( )
inline

Definition at line 18 of file coldstakingmodel.h.

◆ CSDelegation() [2/2]

CSDelegation::CSDelegation ( const std::string &  _stakingAddress,
const std::string &  _ownerAddress 
)
inline

Definition at line 19 of file coldstakingmodel.h.

Member Function Documentation

◆ operator==()

bool CSDelegation::operator== ( const CSDelegation obj)
inline

Definition at line 32 of file coldstakingmodel.h.

Member Data Documentation

◆ cachedTotalAmount

CAmount CSDelegation::cachedTotalAmount {0}

Definition at line 27 of file coldstakingmodel.h.

◆ delegatedUtxo

QMap<QString, int> CSDelegation::delegatedUtxo {}

Map of txId --> index num for stakeable utxo delegations.

Definition at line 25 of file coldstakingmodel.h.

◆ isSpendable

bool CSDelegation::isSpendable {false}

Definition at line 30 of file coldstakingmodel.h.

◆ ownerAddress

std::string CSDelegation::ownerAddress {}

Definition at line 23 of file coldstakingmodel.h.

◆ stakingAddress

std::string CSDelegation::stakingAddress {}

Definition at line 22 of file coldstakingmodel.h.


The documentation for this class was generated from the following file: