15 if (!is_registration_pool_exists(ctx))
17 dlog(
"There is no registration pool.");
26 using schedule_items_type = std::map<uint8_t, schedule_item_type>;
27 schedule_items_type items;
30 items.insert(schedule_items_type::value_type(
31 genesis_item.stage, schedule_item_type{ genesis_item.users, genesis_item.bonus_percent }));
37 FC_ASSERT(!registration_pool_service.
is_exists());
42 using account_names_type = std::vector<account_name_type>;
const genesis_state_type & genesis_state() const
data_service_factory_i & services() const
virtual bool is_exists() const =0
virtual void on_apply(initializator_context &)
asset registration_supply
std::vector< registration_schedule_item > registration_schedule
std::vector< std::string > registration_committee
virtual committee_members_cref_type create_committee(const std::vector< account_name_type > &accounts)=0
virtual const registration_pool_object & create_pool(const asset &supply, const asset &maximum_bonus, const schedule_items_type &schedule_items)=0
asset_symbol_type symbol() const