CatapultServer
v0.5.0.1 (Elephant)
|
const Key & owner() const
Gets the owner's public key.
Definition: MosaicDefinition.h:54
uint32_t m_revision
Definition: MosaicDefinition.h:71
bool isEternal() const
Returns true if the mosaic definition has eternal duration.
Definition: MosaicDefinition.cpp:27
utils::BaseValue< uint64_t, Height_tag > Height
Definition: src/catapult/types.h:85
model::MosaicProperties m_properties
Definition: MosaicDefinition.h:72
BlockDuration duration() const
Gets mosaic duration.
Definition: MosaicProperties.h:103
constexpr ValueType unwrap() const
Unwraps this value and returns the underlying raw value.
Definition: BaseValue.h:53
constexpr BlockDuration Eternal_Artifact_Duration(0)
Duration of eternal artifact.
Height height() const
Gets the height.
Definition: MosaicDefinition.h:49
bool isActive(Height height) const
Returns true if the mosaic definition is active at height.
Definition: MosaicDefinition.cpp:31
Represents a mosaic definition.
Definition: MosaicDefinition.h:28
uint32_t revision() const
Gets the revision.
Definition: MosaicDefinition.h:59
Key m_owner
Definition: MosaicDefinition.h:70
bool isExpired(Height height) const
Returns true if the mosaic definition is expired at height.
Definition: MosaicDefinition.cpp:35
const model::MosaicProperties & properties() const
Gets the mosaic properties.
Definition: MosaicDefinition.h:64
Height m_height
Definition: MosaicDefinition.h:69
Definition: AddressExtractionExtension.cpp:28
Container for mosaic properties.
Definition: MosaicProperties.h:46
MosaicDefinition(Height height, const Key &owner, uint32_t revision, const model::MosaicProperties &properties)
Creates a mosaic definition around height, owner, mosaic revision and mosaic properties.
Definition: MosaicDefinition.h:31