CatapultServer  v0.5.0.1 (Elephant)
catapult::state::HashLockInfo Struct Reference

A hash lock info. More...

Inheritance diagram for catapult::state::HashLockInfo:
Collaboration diagram for catapult::state::HashLockInfo:

Public Member Functions

 HashLockInfo ()
 Creates a default hash lock info. More...
 
 HashLockInfo (const Key &account, catapult::MosaicId mosaicId, catapult::Amount amount, catapult::Height height, const Hash256 &hash)
 Creates a hash lock info around account, mosaicId, amount, height and hash. More...
 
- Public Member Functions inherited from catapult::state::LockInfo
constexpr bool isActive (catapult::Height height) const
 Returns true if lock info is active at height. More...
 

Public Attributes

Hash256 Hash
 Hash. More...
 
- Public Attributes inherited from catapult::state::LockInfo
Key Account
 Account. More...
 
catapult::MosaicId MosaicId
 Mosaic id. More...
 
catapult::Amount Amount
 Amount. More...
 
catapult::Height Height
 Height at which the lock expires. More...
 
LockStatus Status
 Flag indicating whether or not the lock was already used. More...
 

Additional Inherited Members

- Protected Member Functions inherited from catapult::state::LockInfo
 LockInfo ()
 Creates a default lock info. More...
 
 LockInfo (const Key &account, catapult::MosaicId mosaicId, catapult::Amount amount, catapult::Height height)
 Creates a lock info around account, mosaicId, amount and height. More...
 

Detailed Description

A hash lock info.

Constructor & Destructor Documentation

◆ HashLockInfo() [1/2]

catapult::state::HashLockInfo::HashLockInfo ( )
inline

Creates a default hash lock info.

◆ HashLockInfo() [2/2]

catapult::state::HashLockInfo::HashLockInfo ( const Key account,
catapult::MosaicId  mosaicId,
catapult::Amount  amount,
catapult::Height  height,
const Hash256 hash 
)
inline

Creates a hash lock info around account, mosaicId, amount, height and hash.

Member Data Documentation

◆ Hash

Hash256 catapult::state::HashLockInfo::Hash

Hash.


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