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_transfer_operation Struct Reference

transfers the account to another account while clearing the white listIn theory an account can be transferred by simply updating the authorities, but that kind of transfer lacks semantic meaning and is more often done to rotate keys without transferring ownership. This operation is used to indicate the legal transfer of title to this account and a break in the operation history. More...

#include <account.hpp>

Inheritance diagram for graphene::chain::account_transfer_operation:
graphene::chain::base_operation

Classes

struct  fee_parameters_type
 

Public Member Functions

account_id_type fee_payer () const
 
void validate () 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_id
 
account_id_type new_owner
 
extensions_type extensions
 

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

transfers the account to another account while clearing the white list

In theory an account can be transferred by simply updating the authorities, but that kind of transfer lacks semantic meaning and is more often done to rotate keys without transferring ownership. This operation is used to indicate the legal transfer of title to this account and a break in the operation history.

The account_id's owner/active/voting/memo authority should be set to new_owner

This operation will clear the account's whitelist statuses, but not the blacklist statuses.

Definition at line 257 of file account.hpp.

Member Function Documentation

◆ fee_payer()

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

Definition at line 266 of file account.hpp.

◆ validate()

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

Definition at line 272 of file account.cpp.

Member Data Documentation

◆ account_id

account_id_type graphene::chain::account_transfer_operation::account_id

Definition at line 262 of file account.hpp.

◆ extensions

extensions_type graphene::chain::account_transfer_operation::extensions

Definition at line 264 of file account.hpp.

◆ fee

asset graphene::chain::account_transfer_operation::fee

Definition at line 261 of file account.hpp.

◆ new_owner

account_id_type graphene::chain::account_transfer_operation::new_owner

Definition at line 263 of file account.hpp.


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