MidlePayQml
0.0.4
MiddlePay QML module
|
#include <qunlock_conditions.hpp>
Public Types | |
enum | types : quint8 { Address_typ =0 , Storage_Deposit_Return_typ =1 , Timelock_typ =2 , Expiration_typ =3 , State_Controller_Address_typ =4 , Governor_Address_typ =5 , Immutable_Alias_Address_typ =6 } |
Public Member Functions | |
Unlock_Condition (types typ, const std::shared_ptr< const Address > &address_m=nullptr) | |
virtual void | serialize (QDataStream &out) const |
virtual QJsonObject | get_Json (void) const |
std::shared_ptr< const class Address > | address (void) const |
types | type (void) const |
Static Public Member Functions | |
template<class from_type > | |
static std::shared_ptr< const Unlock_Condition > | from_ (from_type &val) |
static std::shared_ptr< const Unlock_Condition > | Address (const std::shared_ptr< const class Address > &address_m) |
static std::shared_ptr< const Unlock_Condition > | Storage_Deposit_Return (const std::shared_ptr< const class Address > &return_address_m, const quint64 &return_amount_m) |
static std::shared_ptr< const Unlock_Condition > | Timelock (const quint32 &unix_time_m) |
static std::shared_ptr< const Unlock_Condition > | Expiration (const quint32 &unix_time_m, const std::shared_ptr< const class Address > &return_address_m) |
static std::shared_ptr< const Unlock_Condition > | State_Controller_Address (const std::shared_ptr< const class Address > &address_m) |
static std::shared_ptr< const Unlock_Condition > | Governor_Address (const std::shared_ptr< const class Address > &address_m) |
static std::shared_ptr< const Unlock_Condition > | Immutable_Alias_Address (const std::shared_ptr< const class Address > &address_m) |
Friends | |
bool | operator< (const Unlock_Condition &a, const Unlock_Condition &b) |
enum qiota::qblocks::Unlock_Condition::types : quint8 |
qiota::qblocks::Unlock_Condition::Unlock_Condition | ( | types | typ, |
const std::shared_ptr< const Address > & | address_m = nullptr |
||
) |
|
static |
|
inline |
|
static |
|
static |
|
virtual |
|
static |
|
static |
|
virtual |
|
static |
|
static |
|
static |
|
inline |
|
friend |