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

Notification of a secret lock. More...

Inheritance diagram for catapult::model::SecretLockNotification:
Collaboration diagram for catapult::model::SecretLockNotification:

Public Member Functions

 SecretLockNotification (const Key &signer, const UnresolvedMosaic &mosaic, BlockDuration duration, LockHashAlgorithm hashAlgorithm, const Hash256 &secret, const UnresolvedAddress &recipient)
 Creates secret lock notification around signer, mosaic, duration, hashAlgorithm, secret and recipient. 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

LockHashAlgorithm HashAlgorithm
 Hash algorithm. More...
 
const Hash256Secret
 Secret. More...
 
UnresolvedAddress Recipient
 Recipient of the locked mosaic. More...
 
- Public Attributes inherited from catapult::model::BaseLockNotification< SecretLockNotification >
const KeySigner
 Signer. More...
 
UnresolvedMosaic Mosaic
 Locked mosaic. More...
 
BlockDuration Duration
 Lock duration. 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 = LockSecret_Secret_Notification
 Matching notification type. More...
 

Additional Inherited Members

- Protected Member Functions inherited from catapult::model::BaseLockNotification< SecretLockNotification >
 BaseLockNotification (const Key &signer, const UnresolvedMosaic &mosaic, BlockDuration duration)
 Creates base lock notification around signer, mosaic and duration. More...
 

Detailed Description

Notification of a secret lock.

Constructor & Destructor Documentation

◆ SecretLockNotification()

catapult::model::SecretLockNotification::SecretLockNotification ( const Key signer,
const UnresolvedMosaic mosaic,
BlockDuration  duration,
LockHashAlgorithm  hashAlgorithm,
const Hash256 secret,
const UnresolvedAddress recipient 
)
inline

Creates secret lock notification around signer, mosaic, duration, hashAlgorithm, secret and recipient.

Member Data Documentation

◆ HashAlgorithm

LockHashAlgorithm catapult::model::SecretLockNotification::HashAlgorithm

Hash algorithm.

◆ Notification_Type

constexpr auto catapult::model::SecretLockNotification::Notification_Type = LockSecret_Secret_Notification
staticconstexpr

Matching notification type.

◆ Recipient

UnresolvedAddress catapult::model::SecretLockNotification::Recipient

Recipient of the locked mosaic.

◆ Secret

const Hash256& catapult::model::SecretLockNotification::Secret

Secret.


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