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

Update a custom authority. More...

#include <custom_authority.hpp>

Inheritance diagram for graphene::protocol::custom_authority_update_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 owns the custom authority to update; also pays the fee. More...
 
custom_authority_id_type authority_to_update
 ID of the custom authority to update. More...
 
optional< bool > new_enabled
 Change to whether the custom authority is enabled or not. More...
 
optional< time_point_secnew_valid_from
 Change to the custom authority begin date. More...
 
optional< time_point_secnew_valid_to
 Change to the custom authority expiration date. More...
 
optional< authoritynew_auth
 Change to the authentication for the custom authority. More...
 
flat_set< uint16_t > restrictions_to_remove
 Set of IDs of restrictions to remove. More...
 
vector< restrictionrestrictions_to_add
 Vector of new restrictions. 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

Update a custom authority.

Definition at line 70 of file custom_authority.hpp.

Member Function Documentation

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

Definition at line 61 of file custom_authority.cpp.

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

Definition at line 97 of file custom_authority.hpp.

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

Definition at line 71 of file custom_authority.cpp.

Member Data Documentation

account_id_type graphene::protocol::custom_authority_update_operation::account

Account which owns the custom authority to update; also pays the fee.

Definition at line 79 of file custom_authority.hpp.

custom_authority_id_type graphene::protocol::custom_authority_update_operation::authority_to_update

ID of the custom authority to update.

Definition at line 81 of file custom_authority.hpp.

extensions_type graphene::protocol::custom_authority_update_operation::extensions

Definition at line 95 of file custom_authority.hpp.

asset graphene::protocol::custom_authority_update_operation::fee

Operation fee.

Definition at line 77 of file custom_authority.hpp.

optional<authority> graphene::protocol::custom_authority_update_operation::new_auth

Change to the authentication for the custom authority.

Definition at line 89 of file custom_authority.hpp.

optional<bool> graphene::protocol::custom_authority_update_operation::new_enabled

Change to whether the custom authority is enabled or not.

Definition at line 83 of file custom_authority.hpp.

optional<time_point_sec> graphene::protocol::custom_authority_update_operation::new_valid_from

Change to the custom authority begin date.

Definition at line 85 of file custom_authority.hpp.

optional<time_point_sec> graphene::protocol::custom_authority_update_operation::new_valid_to

Change to the custom authority expiration date.

Definition at line 87 of file custom_authority.hpp.

vector<restriction> graphene::protocol::custom_authority_update_operation::restrictions_to_add

Vector of new restrictions.

Definition at line 93 of file custom_authority.hpp.

flat_set<uint16_t> graphene::protocol::custom_authority_update_operation::restrictions_to_remove

Set of IDs of restrictions to remove.

Definition at line 91 of file custom_authority.hpp.


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