CatapultServer  v0.5.0.1 (Elephant)
catapult::state::MosaicEntrySupplyMixin Class Reference

Mixin for storing and modifying a supply in MosaicEntry. More...

Inheritance diagram for catapult::state::MosaicEntrySupplyMixin:
Collaboration diagram for catapult::state::MosaicEntrySupplyMixin:

Public Member Functions

Amount supply () const
 Gets the mosaic supply. More...
 
void increaseSupply (Amount delta)
 Increases the supply by delta. More...
 
void decreaseSupply (Amount delta)
 

Private Attributes

Amount m_supply
 

Detailed Description

Mixin for storing and modifying a supply in MosaicEntry.

Member Function Documentation

◆ decreaseSupply()

void catapult::state::MosaicEntrySupplyMixin::decreaseSupply ( Amount  delta)

◆ increaseSupply()

void catapult::state::MosaicEntrySupplyMixin::increaseSupply ( Amount  delta)

Increases the supply by delta.

◆ supply()

Amount catapult::state::MosaicEntrySupplyMixin::supply ( ) const

Gets the mosaic supply.

Here is the caller graph for this function:

Member Data Documentation

◆ m_supply

Amount catapult::state::MosaicEntrySupplyMixin::m_supply
private

The documentation for this class was generated from the following files: