BitShares-Core  5.0.0
BitShares blockchain implementation and command-line interface software
Classes | Public Member Functions | Public Attributes | List of all members
graphene::protocol::worker_create_operation Struct Reference

Create a new worker object. More...

#include <worker.hpp>

Inheritance diagram for graphene::protocol::worker_create_operation:
graphene::protocol::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::protocol::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
 
fc::optional< fc::future< void > > validate_parallel (uint32_t skip) 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::protocol::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 78 of file worker.hpp.

Member Function Documentation

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

Definition at line 92 of file worker.hpp.

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

Definition at line 30 of file worker.cpp.

Member Data Documentation

share_type graphene::protocol::worker_create_operation::daily_pay

Definition at line 86 of file worker.hpp.

asset graphene::protocol::worker_create_operation::fee

Definition at line 82 of file worker.hpp.

worker_initializer graphene::protocol::worker_create_operation::initializer

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

Definition at line 90 of file worker.hpp.

string graphene::protocol::worker_create_operation::name

Definition at line 87 of file worker.hpp.

account_id_type graphene::protocol::worker_create_operation::owner

Definition at line 83 of file worker.hpp.

string graphene::protocol::worker_create_operation::url

Definition at line 88 of file worker.hpp.

time_point_sec graphene::protocol::worker_create_operation::work_begin_date

Definition at line 84 of file worker.hpp.

time_point_sec graphene::protocol::worker_create_operation::work_end_date

Definition at line 85 of file worker.hpp.


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