BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet software
Public Member Functions | 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:
graphene::db::abstract_object< proposal_object, protocol_ids, proposal_object_type > graphene::db::base_abstract_object< proposal_object > graphene::db::object

Public Member Functions

bool is_authorized_to_execute (database &db) const
 
- Public Member Functions inherited from graphene::db::abstract_object< proposal_object, protocol_ids, proposal_object_type >
 abstract_object ()
 
object_id< SpaceID, TypeID > get_id () const
 
- Public Member Functions inherited from graphene::db::base_abstract_object< proposal_object >
std::unique_ptr< objectclone () const override
 
void move_from (object &obj) override
 
fc::variant to_variant () const override
 
std::vector< char > pack () const override
 
 object ()=default
 
 object (uint8_t space_id, uint8_t type_id)
 
- Public Member Functions inherited from graphene::db::object
 object ()=default
 
 object (uint8_t space_id, uint8_t type_id)
 
virtual ~object ()=default
 
virtual std::unique_ptr< objectclone () const =0
 
virtual fc::variant to_variant () const =0
 
virtual std::vector< char > pack () const =0
 

Public Attributes

time_point_sec expiration_time
 
optional< time_point_sec > review_period_time
 
transaction proposed_transaction
 
flat_set< account_id_type > required_active_approvals
 
flat_set< account_id_type > available_active_approvals
 
flat_set< account_id_type > required_owner_approvals
 
flat_set< account_id_type > available_owner_approvals
 
flat_set< public_key_typeavailable_key_approvals
 
account_id_type proposer
 
std::string fail_reason
 
- Public Attributes inherited from graphene::db::object
object_id_type id
 

Additional Inherited Members

- Static Public Attributes inherited from graphene::db::abstract_object< proposal_object, protocol_ids, proposal_object_type >
static constexpr uint8_t space_id
 
static constexpr uint8_t type_id
 

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 34 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 47 of file proposal_object.hpp.

◆ available_key_approvals

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

Definition at line 50 of file proposal_object.hpp.

◆ available_owner_approvals

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

Definition at line 49 of file proposal_object.hpp.

◆ expiration_time

time_point_sec graphene::chain::proposal_object::expiration_time

Definition at line 43 of file proposal_object.hpp.

◆ fail_reason

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

Definition at line 52 of file proposal_object.hpp.

◆ proposed_transaction

transaction graphene::chain::proposal_object::proposed_transaction

Definition at line 45 of file proposal_object.hpp.

◆ proposer

account_id_type graphene::chain::proposal_object::proposer

Definition at line 51 of file proposal_object.hpp.

◆ required_active_approvals

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

Definition at line 46 of file proposal_object.hpp.

◆ required_owner_approvals

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

Definition at line 48 of file proposal_object.hpp.

◆ review_period_time

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

Definition at line 44 of file proposal_object.hpp.


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