Scorum
|
#include <registration_pool.hpp>
Public Types | |
using | schedule_item_type = registration_pool_object::schedule_item |
using | schedule_items_type = std::map< uint8_t, schedule_item_type > |
![]() | |
using | object_type = registration_pool_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 registration_pool_object & | create_pool (const asset &supply, const asset &maximum_bonus, const schedule_items_type &schedule_items)=0 |
virtual void | decrease_balance (const asset &amount)=0 |
virtual void | increase_already_allocated_count ()=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 registration_pool.hpp.
using scorum::chain::registration_pool_service_i::schedule_item_type = registration_pool_object::schedule_item |
Definition at line 11 of file registration_pool.hpp.
using scorum::chain::registration_pool_service_i::schedule_items_type = std::map<uint8_t , schedule_item_type > |
Definition at line 12 of file registration_pool.hpp.
|
pure virtual |
Implemented in scorum::chain::dbs_registration_pool.
|
pure virtual |
Implemented in scorum::chain::dbs_registration_pool.
|
pure virtual |
Implemented in scorum::chain::dbs_registration_pool.