Bitshares-Core  2.0.181105
BitShares blockchain implementation and command-line interface software
Classes | Public Member Functions | Public Attributes | List of all members
graphene::chain::account_update_operation Struct Reference

Update an existing account. More...

#include <account.hpp>

Inheritance diagram for graphene::chain::account_update_operation:
graphene::chain::base_operation

Classes

struct  ext
 
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
 
bool is_owner_update () const
 
void get_required_owner_authorities (flat_set< account_id_type > &a) const
 
void get_required_active_authorities (flat_set< account_id_type > &a) const
 
- Public Member Functions inherited from graphene::chain::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
 

Public Attributes

asset fee
 
account_id_type account
 The account to update. More...
 
optional< authorityowner
 New owner authority. If set, this operation requires owner authority to execute. More...
 
optional< authorityactive
 New active authority. This can be updated by the current active authority. More...
 
optional< account_optionsnew_options
 New account options. More...
 
extension< extextensions
 

Additional Inherited Members

- Static Public Member Functions inherited from graphene::chain::base_operation
static uint64_t calculate_data_fee (uint64_t bytes, uint64_t price_per_kbyte)
 

Detailed Description

Update an existing account.

This operation is used to update an existing account. It can be used to update the authorities, or adjust the options on the account. See account_object::options_type for the options which may be updated.

Definition at line 126 of file account.hpp.

Member Function Documentation

◆ calculate_fee()

share_type graphene::chain::account_update_operation::calculate_fee ( const fee_parameters_type k) const

Definition at line 214 of file account.cpp.

◆ fee_payer()

account_id_type graphene::chain::account_update_operation::fee_payer ( ) const
inline

Definition at line 154 of file account.hpp.

◆ get_required_active_authorities()

void graphene::chain::account_update_operation::get_required_active_authorities ( flat_set< account_id_type > &  a) const
inline

Definition at line 164 of file account.hpp.

◆ get_required_owner_authorities()

void graphene::chain::account_update_operation::get_required_owner_authorities ( flat_set< account_id_type > &  a) const
inline

Definition at line 161 of file account.hpp.

◆ is_owner_update()

bool graphene::chain::account_update_operation::is_owner_update ( ) const
inline

Definition at line 158 of file account.hpp.

◆ validate()

void graphene::chain::account_update_operation::validate ( ) const

Definition at line 222 of file account.cpp.

Member Data Documentation

◆ account

account_id_type graphene::chain::account_update_operation::account

The account to update.

Definition at line 143 of file account.hpp.

◆ active

optional<authority> graphene::chain::account_update_operation::active

New active authority. This can be updated by the current active authority.

Definition at line 148 of file account.hpp.

◆ extensions

extension< ext > graphene::chain::account_update_operation::extensions

Definition at line 152 of file account.hpp.

◆ fee

asset graphene::chain::account_update_operation::fee

Definition at line 141 of file account.hpp.

◆ new_options

optional<account_options> graphene::chain::account_update_operation::new_options

New account options.

Definition at line 151 of file account.hpp.

◆ owner

optional<authority> graphene::chain::account_update_operation::owner

New owner authority. If set, this operation requires owner authority to execute.

Definition at line 146 of file account.hpp.


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