CatapultServer  v0.5.0.1 (Elephant)
catapult::model::MosaicSupplyChangeNotification Struct Reference

Notification of a mosaic supply change. More...

Inheritance diagram for catapult::model::MosaicSupplyChangeNotification:
Collaboration diagram for catapult::model::MosaicSupplyChangeNotification:

Public Member Functions

 MosaicSupplyChangeNotification (const Key &signer, UnresolvedMosaicId mosaicId, MosaicSupplyChangeDirection direction, Amount delta)
 Creates a notification around signer, mosaicId, direction and delta. More...
 
- Public Member Functions inherited from catapult::model::Notification
 Notification (NotificationType type, size_t size)
 Creates a new notification with type and size. More...
 

Public Attributes

const KeySigner
 Signer. More...
 
UnresolvedMosaicId MosaicId
 Id of the affected mosaic. More...
 
MosaicSupplyChangeDirection Direction
 Supply change direction. More...
 
Amount Delta
 Amount of the change. More...
 
- Public Attributes inherited from catapult::model::Notification
NotificationType Type
 Notification type. More...
 
size_t Size
 Notification size. More...
 

Static Public Attributes

static constexpr auto Notification_Type = Mosaic_Supply_Change_Notification
 Matching notification type. More...
 

Detailed Description

Notification of a mosaic supply change.

Constructor & Destructor Documentation

◆ MosaicSupplyChangeNotification()

catapult::model::MosaicSupplyChangeNotification::MosaicSupplyChangeNotification ( const Key signer,
UnresolvedMosaicId  mosaicId,
MosaicSupplyChangeDirection  direction,
Amount  delta 
)
inline

Creates a notification around signer, mosaicId, direction and delta.

Member Data Documentation

◆ Delta

Amount catapult::model::MosaicSupplyChangeNotification::Delta

Amount of the change.

◆ Direction

MosaicSupplyChangeDirection catapult::model::MosaicSupplyChangeNotification::Direction

Supply change direction.

◆ MosaicId

UnresolvedMosaicId catapult::model::MosaicSupplyChangeNotification::MosaicId

Id of the affected mosaic.

◆ Notification_Type

constexpr auto catapult::model::MosaicSupplyChangeNotification::Notification_Type = Mosaic_Supply_Change_Notification
staticconstexpr

Matching notification type.

◆ Signer

const Key& catapult::model::MosaicSupplyChangeNotification::Signer

Signer.


The documentation for this struct was generated from the following file: