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::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_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 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 79 of file worker.hpp.

Member Function Documentation

◆ fee_payer()

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

Definition at line 93 of file worker.hpp.

◆ validate()

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

Reimplemented from graphene::protocol::base_operation.

Definition at line 30 of file worker.cpp.

Member Data Documentation

◆ daily_pay

share_type graphene::protocol::worker_create_operation::daily_pay

Definition at line 87 of file worker.hpp.

◆ fee

asset graphene::protocol::worker_create_operation::fee

Definition at line 83 of file worker.hpp.

◆ initializer

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 91 of file worker.hpp.

◆ name

string graphene::protocol::worker_create_operation::name

Definition at line 88 of file worker.hpp.

◆ owner

account_id_type graphene::protocol::worker_create_operation::owner

Definition at line 84 of file worker.hpp.

◆ url

string graphene::protocol::worker_create_operation::url

Definition at line 89 of file worker.hpp.

◆ work_begin_date

time_point_sec graphene::protocol::worker_create_operation::work_begin_date

Definition at line 85 of file worker.hpp.

◆ work_end_date

time_point_sec graphene::protocol::worker_create_operation::work_end_date

Definition at line 86 of file worker.hpp.


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