CatapultServer  v0.5.0.1 (Elephant)
catapult::model::InflationReceipt Struct Reference

Binary layout for an inflation receipt. More...

Inheritance diagram for catapult::model::InflationReceipt:
Collaboration diagram for catapult::model::InflationReceipt:

Public Member Functions

 InflationReceipt (ReceiptType receiptType, catapult::MosaicId mosaicId, catapult::Amount amount)
 Creates a receipt around receiptType, mosaicId and amount. More...
 
- Public Member Functions inherited from catapult::model::SizePrefixedEntity
bool operator== (const SizePrefixedEntity &rhs) const
 Returns true if this entity is equal to rhs. More...
 
bool operator!= (const SizePrefixedEntity &rhs) const
 Returns true if this entity is not equal to rhs. More...
 
- Public Member Functions inherited from catapult::utils::NonCopyable
constexpr NonCopyable ()=default
 Default constructor. More...
 
 ~NonCopyable ()=default
 Default destructor. More...
 
 NonCopyable (const NonCopyable &)=delete
 Disabled copy constructor. More...
 
NonCopyableoperator= (const NonCopyable &)=delete
 Disabled assignment operator. More...
 

Public Attributes

catapult::MosaicId MosaicId
 Mosaic id. More...
 
catapult::Amount Amount
 Amount. More...
 
- Public Attributes inherited from catapult::model::Receipt
uint16_t Version
 Receipt version. More...
 
ReceiptType Type
 Receipt type. More...
 
- Public Attributes inherited from catapult::model::SizePrefixedEntity
uint32_t Size
 Entity size. More...
 

Additional Inherited Members

- Protected Member Functions inherited from catapult::model::SizePrefixedEntity
const uint8_t * ToBytePointer () const
 Returns byte-based const pointer to this entity. More...
 
uint8_t * ToBytePointer ()
 Returns byte-based pointer to this entity. More...
 
- Static Protected Member Functions inherited from catapult::model::SizePrefixedEntity
template<typename T >
static auto PayloadStart (T &entity)
 Gets the start of the variable data part of entity. More...
 

Detailed Description

Binary layout for an inflation receipt.

Constructor & Destructor Documentation

◆ InflationReceipt()

catapult::model::InflationReceipt::InflationReceipt ( ReceiptType  receiptType,
catapult::MosaicId  mosaicId,
catapult::Amount  amount 
)
inline

Creates a receipt around receiptType, mosaicId and amount.

Member Data Documentation

◆ Amount

catapult::Amount catapult::model::InflationReceipt::Amount

Amount.

◆ MosaicId

catapult::MosaicId catapult::model::InflationReceipt::MosaicId

Mosaic id.


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