CatapultServer  v0.5.0.1 (Elephant)
MosaicConfiguration.h
Go to the documentation of this file.
1 
21 #pragma once
23 #include <unordered_set>
24 
25 namespace catapult { namespace utils { class ConfigurationBag; } }
26 
27 namespace catapult { namespace config {
28 
31  public:
34 
37 
40 
43 
46 
47  private:
48  MosaicConfiguration() = default;
49 
50  public:
53 
56  };
57 }}
catapult::utils::VerifyBagSizeLte
void VerifyBagSizeLte(const ConfigurationBag &bag, size_t expectedSize)
Verifies that the number of properties in bag is no greater than expectedSize.
Definition: utils/ConfigurationUtils.cpp:38
catapult::config::MosaicConfiguration::MaxMosaicsPerAccount
uint16_t MaxMosaicsPerAccount
Maximum number of mosaics that an account can own.
Definition: MosaicConfiguration.h:33
LOAD_PROPERTY
#define LOAD_PROPERTY(NAME)
catapult::utils::ConfigurationBag
A simple bag of properties.
Definition: ConfigurationBag.h:57
MosaicConfiguration.h
catapult::utils::BaseValue< uint64_t, Amount_tag >
catapult::utils::BlockSpan
Represents a block duration.
Definition: BlockSpan.h:28
catapult::config::MosaicConfiguration::MosaicRentalFee
Amount MosaicRentalFee
Mosaic rental fee.
Definition: MosaicConfiguration.h:45
catapult::config::MosaicConfiguration::MosaicRentalFeeSinkPublicKey
Key MosaicRentalFeeSinkPublicKey
Public key of the mosaic rental fee sink account.
Definition: MosaicConfiguration.h:42
catapult::config::MosaicConfiguration::MaxMosaicDivisibility
uint8_t MaxMosaicDivisibility
Maximum mosaic divisibility.
Definition: MosaicConfiguration.h:39
catapult::config::MosaicConfiguration::LoadFromBag
static MosaicConfiguration LoadFromBag(const utils::ConfigurationBag &bag)
Loads a mosaic configuration from bag.
Definition: MosaicConfiguration.cpp:31
catapult::config::MosaicConfiguration::MaxMosaicDuration
utils::BlockSpan MaxMosaicDuration
Maximum mosaic duration.
Definition: MosaicConfiguration.h:36
catapult::config::MosaicConfiguration::MosaicConfiguration
MosaicConfiguration()=default
catapult::config::MosaicConfiguration::Uninitialized
static MosaicConfiguration Uninitialized()
Creates an uninitialized mosaic configuration.
Definition: MosaicConfiguration.cpp:27
ConfigurationUtils.h
BlockSpan.h
ConfigurationBag.h
catapult
Definition: AddressExtractionExtension.cpp:28
catapult::config::MosaicConfiguration
Mosaic plugin configuration settings.
Definition: MosaicConfiguration.h:30
catapult::utils::ByteArray< Key_Size, Key_tag >