Scorum
|
#include <proposal.hpp>
Public Types | |
using | proposal_refs_type = std::vector< proposal_object::cref_type > |
![]() | |
using | object_type = proposal_object |
using | modifier_type = std::function< void(object_type &)> |
using | call_type = std::function< void(const object_type &)> |
using | object_cref_type = std::reference_wrapper< const object_type > |
Public Member Functions | |
virtual const proposal_object & | create_proposal (const account_name_type &creator, const protocol::proposal_operation &operation, const fc::time_point_sec &expiration, uint64_t quorum)=0 |
virtual bool | is_exists (proposal_id_type proposal_id)=0 |
virtual const proposal_object & | get (proposal_id_type proposal_id)=0 |
virtual void | vote_for (const account_name_type &voter, const proposal_object &proposal)=0 |
virtual size_t | get_votes (const proposal_object &proposal)=0 |
virtual bool | is_expired (const proposal_object &proposal)=0 |
virtual void | clear_expired_proposals ()=0 |
virtual void | for_all_proposals_remove_from_voting_list (const account_name_type &member)=0 |
virtual proposal_refs_type | get_proposals ()=0 |
![]() | |
virtual | ~base_service_i () |
virtual const object_type & | create (const modifier_type &modifier)=0 |
virtual void | update (const modifier_type &modifier)=0 |
virtual void | update (const object_type &o, const modifier_type &modifier)=0 |
virtual void | remove ()=0 |
virtual void | remove (const object_type &o)=0 |
virtual void | remove_all (const std::vector< object_cref_type > &os)=0 |
virtual bool | is_exists () const=0 |
virtual const object_type & | get () const=0 |
Definition at line 9 of file proposal.hpp.
using scorum::chain::proposal_service_i::proposal_refs_type = std::vector<proposal_object::cref_type> |
Definition at line 34 of file proposal.hpp.
|
pure virtual |
Implemented in scorum::chain::dbs_proposal.
|
pure virtual |
Implemented in scorum::chain::dbs_proposal.
|
pure virtual |
Implemented in scorum::chain::dbs_proposal.
|
pure virtual |
Implemented in scorum::chain::dbs_proposal.
|
pure virtual |
Implemented in scorum::chain::dbs_proposal.
|
pure virtual |
Implemented in scorum::chain::dbs_proposal.
|
pure virtual |
Implemented in scorum::chain::dbs_proposal.
|
pure virtual |
Implemented in scorum::chain::dbs_proposal.
|
pure virtual |
Implemented in scorum::chain::dbs_proposal.