A tuple composed of a mosaic definition and its current state.
Definition: MosaicEntry.h:50
const MosaicDefinition & definition() const
Gets the mosaic definition.
Definition: MosaicEntry.cpp:57
bsoncxx::document::value ToDbModel(const state::HashLockInfo &hashLockInfo, const Address &accountAddress)
Maps a hashLockInfo and accountAddress to the corresponding db model value.
Definition: HashLockInfoMapper.cpp:40
MosaicId mosaicId() const
Gets the mosaic id.
Definition: MosaicEntry.cpp:52
bsoncxx::types::b_binary ToBinary(const uint8_t *pData, size_t size)
Converts raw array (pData) of size elements into bson binary type.
Definition: MapperUtils.cpp:30
bsoncxx::document::value ToDbModel(const state::AccountState &accountState)
Maps an account state (accountState) to the corresponding db model value.
Definition: AccountStateMapper.cpp:81
Amount supply() const
Gets the mosaic supply.
Definition: MosaicEntry.cpp:27