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::account_transfer_operation Struct Reference

transfers the account to another account while clearing the white list More...

#include <account.hpp>

Inheritance diagram for graphene::protocol::account_transfer_operation:


struct  fee_params_t

Public Member Functions

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

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 267 of file account.hpp.

Member Function Documentation

◆ fee_payer()

account_id_type graphene::protocol::account_transfer_operation::fee_payer ( ) const

Definition at line 276 of file account.hpp.

◆ validate()

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

Reimplemented from graphene::protocol::base_operation.

Definition at line 275 of file account.cpp.

Member Data Documentation

◆ account_id

account_id_type graphene::protocol::account_transfer_operation::account_id

Definition at line 272 of file account.hpp.

◆ extensions

extensions_type graphene::protocol::account_transfer_operation::extensions

Definition at line 274 of file account.hpp.

◆ fee

asset graphene::protocol::account_transfer_operation::fee

Definition at line 271 of file account.hpp.

◆ new_owner

account_id_type graphene::protocol::account_transfer_operation::new_owner

Definition at line 273 of file account.hpp.

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