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

Create a new worker object. More...

#include <worker.hpp>

Inheritance diagram for graphene::chain::worker_create_operation:


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 owner
time_point_sec work_begin_date
time_point_sec work_end_date
share_type daily_pay
string name
string url
worker_initializer initializer
 This should be set to the initializer appropriate for the type of worker to be created. More...

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

Create a new worker object.

Definition at line 77 of file worker.hpp.

Member Function Documentation

◆ fee_payer()

account_id_type graphene::chain::worker_create_operation::fee_payer ( ) const

Definition at line 91 of file worker.hpp.

◆ validate()

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

Definition at line 28 of file worker.cpp.

Member Data Documentation

◆ daily_pay

share_type graphene::chain::worker_create_operation::daily_pay

Definition at line 85 of file worker.hpp.

◆ fee

asset graphene::chain::worker_create_operation::fee

Definition at line 81 of file worker.hpp.

◆ initializer

worker_initializer graphene::chain::worker_create_operation::initializer

This should be set to the initializer appropriate for the type of worker to be created.

Definition at line 89 of file worker.hpp.

◆ name

string graphene::chain::worker_create_operation::name

Definition at line 86 of file worker.hpp.

◆ owner

account_id_type graphene::chain::worker_create_operation::owner

Definition at line 82 of file worker.hpp.

◆ url

string graphene::chain::worker_create_operation::url

Definition at line 87 of file worker.hpp.

◆ work_begin_date

time_point_sec graphene::chain::worker_create_operation::work_begin_date

Definition at line 83 of file worker.hpp.

◆ work_end_date

time_point_sec graphene::chain::worker_create_operation::work_end_date

Definition at line 84 of file worker.hpp.

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