BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
Create a new custom authority. More...
#include <custom_authority.hpp>
Classes | |
struct | fee_params_t |
Public Member Functions | |
account_id_type | fee_payer () const |
void | validate () const |
share_type | calculate_fee (const fee_params_t &k) const |
Public Member Functions inherited from graphene::protocol::base_operation | |
virtual | ~base_operation ()=default |
template<typename T > | |
share_type | calculate_fee (const T ¶ms) const |
virtual void | get_required_authorities (vector< authority > &) const |
virtual void | get_required_active_authorities (flat_set< account_id_type > &) const |
virtual void | get_required_owner_authorities (flat_set< account_id_type > &) const |
fc::optional< fc::future< void > > | validate_parallel (uint32_t skip) const |
Public Attributes | |
asset | fee |
Operation fee. More... | |
account_id_type | account |
Account which is setting the custom authority; also pays the fee. More... | |
bool | enabled |
Whether the custom authority is enabled or not. More... | |
time_point_sec | valid_from |
Date when custom authority becomes active. More... | |
time_point_sec | valid_to |
Expiration date for custom authority. More... | |
unsigned_int | operation_type |
Tag of the operation this custom authority can authorize. More... | |
authority | auth |
Authentication requirements for the custom authority. More... | |
vector< restriction > | restrictions |
Restrictions on operations this custom authority can authenticate. More... | |
extensions_type | extensions |
Additional Inherited Members | |
Static Public Member Functions inherited from graphene::protocol::base_operation | |
static uint64_t | calculate_data_fee (uint64_t bytes, uint64_t price_per_kbyte) |
Create a new custom authority.
Definition at line 36 of file custom_authority.hpp.
share_type graphene::protocol::custom_authority_create_operation::calculate_fee | ( | const fee_params_t & | k | ) | const |
Definition at line 32 of file custom_authority.cpp.
|
inline |
Definition at line 61 of file custom_authority.hpp.
|
virtual |
Reimplemented from graphene::protocol::base_operation.
Definition at line 40 of file custom_authority.cpp.
account_id_type graphene::protocol::custom_authority_create_operation::account |
Account which is setting the custom authority; also pays the fee.
Definition at line 45 of file custom_authority.hpp.
authority graphene::protocol::custom_authority_create_operation::auth |
Authentication requirements for the custom authority.
Definition at line 55 of file custom_authority.hpp.
bool graphene::protocol::custom_authority_create_operation::enabled |
Whether the custom authority is enabled or not.
Definition at line 47 of file custom_authority.hpp.
extensions_type graphene::protocol::custom_authority_create_operation::extensions |
Definition at line 59 of file custom_authority.hpp.
asset graphene::protocol::custom_authority_create_operation::fee |
Operation fee.
Definition at line 43 of file custom_authority.hpp.
unsigned_int graphene::protocol::custom_authority_create_operation::operation_type |
Tag of the operation this custom authority can authorize.
Definition at line 53 of file custom_authority.hpp.
vector<restriction> graphene::protocol::custom_authority_create_operation::restrictions |
Restrictions on operations this custom authority can authenticate.
Definition at line 57 of file custom_authority.hpp.
time_point_sec graphene::protocol::custom_authority_create_operation::valid_from |
Date when custom authority becomes active.
Definition at line 49 of file custom_authority.hpp.
time_point_sec graphene::protocol::custom_authority_create_operation::valid_to |
Expiration date for custom authority.
Definition at line 51 of file custom_authority.hpp.