BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet 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_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 &params) 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< 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

◆ calculate_fee()

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.

◆ fee_payer()

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

Definition at line 61 of file custom_authority.hpp.

◆ validate()

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

Reimplemented from graphene::protocol::base_operation.

Definition at line 40 of file custom_authority.cpp.

Member Data Documentation

◆ account

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.

◆ auth

authority graphene::protocol::custom_authority_create_operation::auth

Authentication requirements for the custom authority.

Definition at line 55 of file custom_authority.hpp.

◆ enabled

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

extensions_type graphene::protocol::custom_authority_create_operation::extensions

Definition at line 59 of file custom_authority.hpp.

◆ fee

asset graphene::protocol::custom_authority_create_operation::fee

Operation fee.

Definition at line 43 of file custom_authority.hpp.

◆ operation_type

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.

◆ restrictions

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.

◆ valid_from

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.

◆ valid_to

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: