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_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_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 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

◆ calculate_fee()

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

Definition at line 61 of file custom_authority.cpp.

◆ fee_payer()

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

Definition at line 97 of file custom_authority.hpp.

◆ validate()

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

Reimplemented from graphene::protocol::base_operation.

Definition at line 71 of file custom_authority.cpp.

Member Data Documentation

◆ account

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.

◆ authority_to_update

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

extensions_type graphene::protocol::custom_authority_update_operation::extensions

Definition at line 95 of file custom_authority.hpp.

◆ fee

asset graphene::protocol::custom_authority_update_operation::fee

Operation fee.

Definition at line 77 of file custom_authority.hpp.

◆ new_auth

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.

◆ new_enabled

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.

◆ new_valid_from

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.

◆ new_valid_to

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.

◆ restrictions_to_add

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

Vector of new restrictions.

Definition at line 93 of file custom_authority.hpp.

◆ restrictions_to_remove

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: