Bitshares-Core  2.0.181105
BitShares blockchain implementation and command-line interface software
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
graphene::chain::proposal_object Class Reference

tracks the approval of a partially approved transaction More...

#include <proposal_object.hpp>

Inheritance diagram for graphene::chain::proposal_object:

Public Member Functions

bool is_authorized_to_execute (database &db) const
 

Public Attributes

time_point_sec expiration_time
 
optional< time_point_sec > review_period_time
 
transaction proposed_transaction
 
flat_set< account_id_typerequired_active_approvals
 
flat_set< account_id_typeavailable_active_approvals
 
flat_set< account_id_typerequired_owner_approvals
 
flat_set< account_id_typeavailable_owner_approvals
 
flat_set< public_key_typeavailable_key_approvals
 
account_id_type proposer
 
std::string fail_reason
 

Static Public Attributes

static const uint8_t space_id = protocol_ids
 
static const uint8_t type_id = proposal_object_type
 

Detailed Description

tracks the approval of a partially approved transaction

Definition at line 40 of file proposal_object.hpp.

Member Function Documentation

◆ is_authorized_to_execute()

bool graphene::chain::proposal_object::is_authorized_to_execute ( database db) const

Definition at line 29 of file proposal_object.cpp.

Member Data Documentation

◆ available_active_approvals

flat_set<account_id_type> graphene::chain::proposal_object::available_active_approvals

Definition at line 50 of file proposal_object.hpp.

◆ available_key_approvals

flat_set<public_key_type> graphene::chain::proposal_object::available_key_approvals

Definition at line 53 of file proposal_object.hpp.

◆ available_owner_approvals

flat_set<account_id_type> graphene::chain::proposal_object::available_owner_approvals

Definition at line 52 of file proposal_object.hpp.

◆ expiration_time

time_point_sec graphene::chain::proposal_object::expiration_time

Definition at line 46 of file proposal_object.hpp.

◆ fail_reason

std::string graphene::chain::proposal_object::fail_reason

Definition at line 55 of file proposal_object.hpp.

◆ proposed_transaction

transaction graphene::chain::proposal_object::proposed_transaction

Definition at line 48 of file proposal_object.hpp.

◆ proposer

account_id_type graphene::chain::proposal_object::proposer

Definition at line 54 of file proposal_object.hpp.

◆ required_active_approvals

flat_set<account_id_type> graphene::chain::proposal_object::required_active_approvals

Definition at line 49 of file proposal_object.hpp.

◆ required_owner_approvals

flat_set<account_id_type> graphene::chain::proposal_object::required_owner_approvals

Definition at line 51 of file proposal_object.hpp.

◆ review_period_time

optional<time_point_sec> graphene::chain::proposal_object::review_period_time

Definition at line 47 of file proposal_object.hpp.

◆ space_id

const uint8_t graphene::chain::proposal_object::space_id = protocol_ids
static

Definition at line 43 of file proposal_object.hpp.

◆ type_id

const uint8_t graphene::chain::proposal_object::type_id = proposal_object_type
static

Definition at line 44 of file proposal_object.hpp.


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