|
CatapultServer
v0.5.0.1 (Elephant)
|
A lock info. More...


Public Member Functions | |
| constexpr bool | isActive (catapult::Height height) const |
Returns true if lock info is active at height. More... | |
Public Attributes | |
| 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... | |
Protected Member Functions | |
| 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... | |
A lock info.
|
inlineprotected |
Creates a default lock info.
|
inlineexplicitprotected |
Creates a lock info around account, mosaicId, amount and height.
|
inlineconstexpr |
Returns true if lock info is active at height.
| Key catapult::state::LockInfo::Account |
Account.
| catapult::Amount catapult::state::LockInfo::Amount |
Amount.
| catapult::Height catapult::state::LockInfo::Height |
Height at which the lock expires.
| catapult::MosaicId catapult::state::LockInfo::MosaicId |
Mosaic id.
| LockStatus catapult::state::LockInfo::Status |
Flag indicating whether or not the lock was already used.