CatapultServer
v0.5.0.1 (Elephant)
|
Binary layout for a balance change receipt. More...
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... | |
NonCopyable & | operator= (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... | |
Binary layout for a balance change receipt.
|
inline |
Creates a receipt around receiptType, account, mosaicId and amount.
Key catapult::model::BalanceChangeReceipt::Account |
Account public key.
catapult::Amount catapult::model::BalanceChangeReceipt::Amount |
Amount.
catapult::MosaicId catapult::model::BalanceChangeReceipt::MosaicId |
Mosaic id.