|
CatapultServer
v0.5.0.1 (Elephant)
|
A tuple composed of a mosaic definition and its current state. More...


Public Member Functions | |
| MosaicEntry (MosaicId id, const MosaicDefinition &definition) | |
| Creates a mosaic entry around mosaic id and mosaic definition. More... | |
| MosaicId | mosaicId () const |
| Gets the mosaic id. More... | |
| const MosaicDefinition & | definition () const |
| Gets the mosaic definition. More... | |
| bool | isActive (Height height) const |
Returns true if entry is active at height. More... | |
Public Member Functions inherited from catapult::state::MosaicEntrySupplyMixin | |
| Amount | supply () const |
| Gets the mosaic supply. More... | |
| void | increaseSupply (Amount delta) |
| Increases the supply by delta. More... | |
| void | decreaseSupply (Amount delta) |
Private Attributes | |
| MosaicId | m_id |
| MosaicDefinition | m_definition |
A tuple composed of a mosaic definition and its current state.
| catapult::state::MosaicEntry::MosaicEntry | ( | MosaicId | id, |
| const MosaicDefinition & | definition | ||
| ) |
Creates a mosaic entry around mosaic id and mosaic definition.
| const MosaicDefinition & catapult::state::MosaicEntry::definition | ( | ) | const |
Gets the mosaic definition.

| bool catapult::state::MosaicEntry::isActive | ( | Height | height | ) | const |
Returns true if entry is active at height.

| MosaicId catapult::state::MosaicEntry::mosaicId | ( | ) | const |
Gets the mosaic id.

|
private |
|
private |