CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
27 namespace catapult {
namespace model {
32 template<
typename THeader>
57 return transaction.PropertiesHeader.Count ? THeader::PayloadStart(transaction) :
nullptr;
Binary layout for a mosaic definition transaction body.
Definition: MosaicDefinitionTransaction.h:33
MosaicPropertiesHeader PropertiesHeader
Properties header.
Definition: MosaicDefinitionTransaction.h:49
static constexpr uint64_t CalculateRealSize(const TransactionType &transaction) noexcept
Calculates the real size of mosaic definition transaction.
Definition: MosaicDefinitionTransaction.h:62
constexpr size_t First_Optional_Property
Index of first optional property.
Definition: MosaicProperty.h:84
DEFINE_OBSERVER(AccountAddress, model::AccountAddressNotification, [](const auto ¬ification, const auto &context) { DefaultAccountVisitor visitor(context);visitor.visit(notification.Address);})
NotifyMode
Enumeration of possible notification modes.
Definition: ObserverContext.h:41
#define DEFINE_EMBEDDABLE_TRANSACTION(NAME)
Defines a transaction with NAME that supports embedding.
Definition: Transaction.h:69
uint32_t Value
Definition: BlockScorer.cpp:32
Mosaic property composed of an id and a value.
Definition: MosaicProperty.h:69
static MosaicProperties FromValues(const PropertyValuesContainer &values)
Creates mosaic properties from values.
Definition: MosaicProperties.h:65
#define DEFINE_TRANSACTION_CONSTANTS(TYPE, VERSION)
Defines constants for a transaction with TYPE and VERSION.
Definition: Transaction.h:50
Definition: AddressExtractionExtension.cpp:28
#define DEFINE_TRANSACTION_VARIABLE_DATA_ACCESSORS(NAME, TYPE)
Defines NAME (TYPE typed) variable data accessors around a similarly named templated untyped data acc...
Definition: Transaction.h:57
MosaicDefinitionTransactionBody< THeader > TransactionType
Definition: MosaicDefinitionTransaction.h:35
std::array< uint64_t, Num_Mosaic_Properties > PropertyValuesContainer
Type of values container.
Definition: MosaicProperties.h:52
static auto * PropertiesPtrT(T &transaction)
Definition: MosaicDefinitionTransaction.h:56