BitShares-Core  4.0.0
BitShares blockchain implementation and command-line interface software
Classes | Public Member Functions | Public Attributes | List of all members
graphene::protocol::custom_authority_create_operation Struct Reference

Create a new custom authority. More...

#include <custom_authority.hpp>

Inheritance diagram for graphene::protocol::custom_authority_create_operation:
graphene::protocol::base_operation

Classes

struct  fee_parameters_type
 

Public Member Functions

account_id_type fee_payer () const
 
void validate () const
 
share_type calculate_fee (const fee_parameters_type &k) const
 
- Public Member Functions inherited from graphene::protocol::base_operation
template<typename T >
share_type calculate_fee (const T &params) const
 
void get_required_authorities (vector< authority > &) const
 
void get_required_active_authorities (flat_set< account_id_type > &) const
 
void get_required_owner_authorities (flat_set< account_id_type > &) const
 
void validate () 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< restrictionrestrictions
 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)
 

Detailed Description

Create a new custom authority.

Definition at line 36 of file custom_authority.hpp.

Member Function Documentation

share_type graphene::protocol::custom_authority_create_operation::calculate_fee ( const fee_parameters_type k) const

Definition at line 32 of file custom_authority.cpp.

account_id_type graphene::protocol::custom_authority_create_operation::fee_payer ( ) const
inline

Definition at line 61 of file custom_authority.hpp.

void graphene::protocol::custom_authority_create_operation::validate ( ) const

Definition at line 40 of file custom_authority.cpp.

Member Data Documentation

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.


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