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

Notification of a required mosaic. More...

Inheritance diagram for catapult::model::MosaicRequiredNotification:
Collaboration diagram for catapult::model::MosaicRequiredNotification:

Public Types

enum  MosaicType { MosaicType::Resolved, MosaicType::Unresolved }
 Mosaic types. More...
 

Public Member Functions

 MosaicRequiredNotification (const Key &signer, MosaicId mosaicId)
 Creates a notification around signer and mosaicId. More...
 
 MosaicRequiredNotification (const Key &signer, UnresolvedMosaicId mosaicId)
 Creates a notification around signer and mosaicId. 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...
 
catapult::MosaicId MosaicId
 Mosaic id (resolved). More...
 
catapult::UnresolvedMosaicId UnresolvedMosaicId
 Mosaic id (unresolved). More...
 
MosaicType ProvidedMosaicType
 Type of mosaic provided and attached to this notification. 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 = Core_Mosaic_Required_Notification
 Matching notification type. More...
 

Detailed Description

Notification of a required mosaic.

Member Enumeration Documentation

◆ MosaicType

Mosaic types.

Enumerator
Resolved 
Unresolved 

Constructor & Destructor Documentation

◆ MosaicRequiredNotification() [1/2]

catapult::model::MosaicRequiredNotification::MosaicRequiredNotification ( const Key signer,
MosaicId  mosaicId 
)
inline

Creates a notification around signer and mosaicId.

◆ MosaicRequiredNotification() [2/2]

catapult::model::MosaicRequiredNotification::MosaicRequiredNotification ( const Key signer,
UnresolvedMosaicId  mosaicId 
)
inline

Creates a notification around signer and mosaicId.

Member Data Documentation

◆ MosaicId

catapult::MosaicId catapult::model::MosaicRequiredNotification::MosaicId

Mosaic id (resolved).

◆ Notification_Type

constexpr auto catapult::model::MosaicRequiredNotification::Notification_Type = Core_Mosaic_Required_Notification
staticconstexpr

Matching notification type.

◆ ProvidedMosaicType

MosaicType catapult::model::MosaicRequiredNotification::ProvidedMosaicType

Type of mosaic provided and attached to this notification.

◆ Signer

const Key& catapult::model::MosaicRequiredNotification::Signer

Signer.

◆ UnresolvedMosaicId

catapult::UnresolvedMosaicId catapult::model::MosaicRequiredNotification::UnresolvedMosaicId

Mosaic id (unresolved).


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