CatapultServer
v0.5.0.1 (Elephant)
|
A secret lock info. More...
Public Member Functions | |
SecretLockInfo () | |
Creates a default secret lock info. More... | |
SecretLockInfo (const Key &account, catapult::MosaicId mosaicId, catapult::Amount amount, catapult::Height height, model::LockHashAlgorithm hashAlgorithm, const Hash256 &secret, const catapult::Address &recipient) | |
Creates a secret lock info around account, mosaicId, amount, height, hashAlgorithm, secret and recipient. 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 | |
model::LockHashAlgorithm | HashAlgorithm |
Hash algorithm. More... | |
Hash256 | Secret |
Secret. More... | |
catapult::Address | Recipient |
Recipient of the locked mosaic. More... | |
Hash256 | CompositeHash |
Composite 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... | |
A secret lock info.
|
inline |
Creates a default secret lock info.
|
inline |
Creates a secret lock info around account, mosaicId, amount, height, hashAlgorithm, secret and recipient.
Hash256 catapult::state::SecretLockInfo::CompositeHash |
Composite hash.
model::LockHashAlgorithm catapult::state::SecretLockInfo::HashAlgorithm |
Hash algorithm.
catapult::Address catapult::state::SecretLockInfo::Recipient |
Recipient of the locked mosaic.
Hash256 catapult::state::SecretLockInfo::Secret |
Secret.