CatapultServer
v0.5.0.1 (Elephant)
|
Binary layout for a balance transfer receipt. More...
Public Member Functions | |
BalanceTransferReceipt (ReceiptType receiptType, const Key &sender, const Address &recipient, catapult::MosaicId mosaicId, catapult::Amount amount) | |
Creates a receipt around receiptType, sender, recipient, 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 | Sender |
Mosaic sender public key. More... | |
Address | Recipient |
Mosaic recipient address. 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 transfer receipt.
|
inline |
Creates a receipt around receiptType, sender, recipient, mosaicId and amount.
catapult::Amount catapult::model::BalanceTransferReceipt::Amount |
Amount.
catapult::MosaicId catapult::model::BalanceTransferReceipt::MosaicId |
Mosaic id.
Address catapult::model::BalanceTransferReceipt::Recipient |
Mosaic recipient address.
Key catapult::model::BalanceTransferReceipt::Sender |
Mosaic sender public key.