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

#include <account.hpp>

Inheritance diagram for graphene::protocol::account_create_operation:
graphene::protocol::base_operation

Classes

struct  ext
 
struct  fee_params_t
 

Public Member Functions

account_id_type fee_payer () const
 
void validate () const
 
share_type calculate_fee (const fee_params_t &) const
 
void get_required_active_authorities (flat_set< account_id_type > &a) 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_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 registrar
 This account pays the fee. Must be a lifetime member. More...
 
account_id_type referrer
 This account receives a portion of the fee split between registrar and referrer. Must be a member. More...
 
uint16_t referrer_percent = 0
 
string name
 
authority owner
 
authority active
 
account_options options
 
extension< extextensions
 

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

Definition at line 81 of file account.hpp.

Member Function Documentation

◆ calculate_fee()

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

Definition at line 173 of file account.cpp.

◆ fee_payer()

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

Definition at line 115 of file account.hpp.

◆ get_required_active_authorities()

void graphene::protocol::account_create_operation::get_required_active_authorities ( flat_set< account_id_type > &  a) const
inlinevirtual

Reimplemented from graphene::protocol::base_operation.

Definition at line 119 of file account.hpp.

◆ validate()

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

Reimplemented from graphene::protocol::base_operation.

Definition at line 187 of file account.cpp.

Member Data Documentation

◆ active

authority graphene::protocol::account_create_operation::active

Definition at line 110 of file account.hpp.

◆ extensions

extension< ext > graphene::protocol::account_create_operation::extensions

Definition at line 113 of file account.hpp.

◆ fee

asset graphene::protocol::account_create_operation::fee

Definition at line 98 of file account.hpp.

◆ name

string graphene::protocol::account_create_operation::name

Definition at line 108 of file account.hpp.

◆ options

account_options graphene::protocol::account_create_operation::options

Definition at line 112 of file account.hpp.

◆ owner

authority graphene::protocol::account_create_operation::owner

Definition at line 109 of file account.hpp.

◆ referrer

account_id_type graphene::protocol::account_create_operation::referrer

This account receives a portion of the fee split between registrar and referrer. Must be a member.

Definition at line 103 of file account.hpp.

◆ referrer_percent

uint16_t graphene::protocol::account_create_operation::referrer_percent = 0

Of the fee split between registrar and referrer, this percentage goes to the referrer. The rest goes to the registrar.

Definition at line 106 of file account.hpp.

◆ registrar

account_id_type graphene::protocol::account_create_operation::registrar

This account pays the fee. Must be a lifetime member.

Definition at line 100 of file account.hpp.


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