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

#include <sapling_operation.h>

Inheritance diagram for ShieldedRecipient:
[legend]
Collaboration diagram for ShieldedRecipient:
[legend]

Public Member Functions

 ShieldedRecipient (const libzcash::SaplingPaymentAddress &_address, const CAmount &_amount, const std::string &_memo, bool _fSubtractFeeFromAmount)
 
bool isTransparent () const override
 
Optional< libzcash::SaplingPaymentAddressgetSapPaymentAddr () const override
 
std::string getMemo () const override
 
- Public Member Functions inherited from CRecipientBase
 CRecipientBase (const CAmount &_nAmount, bool _fSubtractFeeFromAmount)
 
virtual Optional< CScriptgetScript () const
 

Public Attributes

const libzcash::SaplingPaymentAddress address
 
const std::string memo
 
- Public Attributes inherited from CRecipientBase
CAmount nAmount
 
bool fSubtractFeeFromAmount
 

Detailed Description

Definition at line 17 of file sapling_operation.h.

Constructor & Destructor Documentation

◆ ShieldedRecipient()

ShieldedRecipient::ShieldedRecipient ( const libzcash::SaplingPaymentAddress _address,
const CAmount _amount,
const std::string &  _memo,
bool  _fSubtractFeeFromAmount 
)
inline

Definition at line 22 of file sapling_operation.h.

Member Function Documentation

◆ getMemo()

std::string ShieldedRecipient::getMemo ( ) const
inlineoverridevirtual

Reimplemented from CRecipientBase.

Definition at line 26 of file sapling_operation.h.

◆ getSapPaymentAddr()

Optional<libzcash::SaplingPaymentAddress> ShieldedRecipient::getSapPaymentAddr ( ) const
inlineoverridevirtual

Reimplemented from CRecipientBase.

Definition at line 25 of file sapling_operation.h.

◆ isTransparent()

bool ShieldedRecipient::isTransparent ( ) const
inlineoverridevirtual

Reimplemented from CRecipientBase.

Definition at line 24 of file sapling_operation.h.

Member Data Documentation

◆ address

const libzcash::SaplingPaymentAddress ShieldedRecipient::address

Definition at line 20 of file sapling_operation.h.

◆ memo

const std::string ShieldedRecipient::memo

Definition at line 21 of file sapling_operation.h.


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