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

Binary layout for a balance change receipt. More...

Inheritance diagram for catapult::model::BalanceChangeReceipt:
Collaboration diagram for catapult::model::BalanceChangeReceipt:

Public Member Functions

 BalanceChangeReceipt (ReceiptType receiptType, const Key &account, catapult::MosaicId mosaicId, catapult::Amount amount)
 Creates a receipt around receiptType, account, 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

Key Account
 Account public key. More...
 
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 a balance change receipt.

Constructor & Destructor Documentation

◆ BalanceChangeReceipt()

catapult::model::BalanceChangeReceipt::BalanceChangeReceipt ( ReceiptType  receiptType,
const Key account,
catapult::MosaicId  mosaicId,
catapult::Amount  amount 
)
inline

Creates a receipt around receiptType, account, mosaicId and amount.

Member Data Documentation

◆ Account

Key catapult::model::BalanceChangeReceipt::Account

Account public key.

◆ Amount

catapult::Amount catapult::model::BalanceChangeReceipt::Amount

Amount.

◆ MosaicId

catapult::MosaicId catapult::model::BalanceChangeReceipt::MosaicId

Mosaic id.


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