CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
26 namespace catapult {
namespace model {
117 template<
typename TArtifactId>
135 #define DEFINE_RECEIPT_CONSTANTS(TYPE, VERSION) \
137 static constexpr uint8_t Current_Version = VERSION; \
139 static constexpr ReceiptType Receipt_Type = TYPE;
catapult::Amount Amount
Amount.
Definition: Receipt.h:93
uint8_t const model::InflationCalculator & calculator
Definition: HarvestFeeObserver.cpp:65
DECLARE_OBSERVER(HarvestFee, Notification)(MosaicId currencyMosaicId
Binary layout for a receipt entity.
Definition: Receipt.h:31
catapult::Amount Amount
Amount.
Definition: Receipt.h:69
catapult::MosaicId MosaicId
Mosaic id.
Definition: Receipt.h:66
Key Sender
Mosaic sender public key.
Definition: Receipt.h:60
Binary layout for an inflation receipt.
Definition: Receipt.h:97
utils::BaseValue< uint64_t, Height_tag > Height
Definition: src/catapult/types.h:85
Binary layout for a balance change receipt.
Definition: Receipt.h:73
InflationReceipt(ReceiptType receiptType, catapult::MosaicId mosaicId, catapult::Amount amount)
Creates a receipt around receiptType, mosaicId and amount.
Definition: Receipt.h:100
Key Account
Account public key.
Definition: Receipt.h:87
catapult::MosaicId MosaicId
Mosaic id.
Definition: Receipt.h:90
TArtifactId ArtifactId
Artifact id.
Definition: Receipt.h:129
uint16_t Version
Receipt version.
Definition: Receipt.h:33
Address Recipient
Mosaic recipient address.
Definition: Receipt.h:63
ReceiptType Type
Receipt type.
Definition: Receipt.h:36
ArtifactExpiryReceipt(ReceiptType receiptType, TArtifactId artifactId)
Creates a receipt around receiptType and artifactId.
Definition: Receipt.h:121
ReceiptType
Enumeration of receipt types.
Definition: ReceiptType.h:58
Binary layout for a size prefixed entity.
Definition: SizePrefixedEntity.h:30
catapult::Amount Amount
Amount.
Definition: Receipt.h:113
std::unique_ptr< importance::ImportanceCalculator > m_pCommitCalculator
Definition: RecalculateImportancesObserver.cpp:80
catapult::MosaicId MosaicId
Mosaic id.
Definition: Receipt.h:110
BalanceChangeReceipt(ReceiptType receiptType, const Key &account, catapult::MosaicId mosaicId, catapult::Amount amount)
Creates a receipt around receiptType, account, mosaicId and amount.
Definition: Receipt.h:76
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.
Definition: Receipt.h:43
Notifies the arrival of a block.
Definition: Notifications.h:190
Binary layout for a balance transfer receipt.
Definition: Receipt.h:40
std::unique_ptr< importance::ImportanceCalculator > m_pRollbackCalculator
Definition: RecalculateImportancesObserver.cpp:81
Binary layout for an artifact expiry receipt.
Definition: Receipt.h:118
Definition: AddressExtractionExtension.cpp:28
ImportanceHeight ConvertToImportanceHeight(Height height, Height::ValueType grouping)
Definition: ImportanceHeight.cpp:33
uint32_t Size
Entity size.
Definition: SizePrefixedEntity.h:33
std::string m_name
Definition: RecalculateImportancesObserver.cpp:82