23 auto& account_service = this->
db().account_service();
24 auto& dev_pool = this->
db().dev_pool_service();
26 FC_ASSERT(o.
amount <= dev_pool.get_scr_balace(),
"Not enough SCR in dev pool.");
28 dev_pool.decrease_scr_balance(o.
amount);
30 const auto& account = account_service.get_account(o.
to_account);
32 account_service.increase_balance(account, o.
amount);
36 data_service_factory_i& r)
44 auto& hardfork_service = this->
db().hardfork_property_service();
46 if (hardfork_service.has_hardfork(SCORUM_HARDFORK_0_2))
57 create_withdraw.
apply(ctx);
69 auto& adv_property_service = this->
db().advertising_property_service();
71 adv_property_service.update([&](advertising_property_object& obj) { obj.moderator = o.
account; });
75 data_service_factory_i& r)
83 auto& service = this->
db().betting_property_service();
97 auto& service = this->
db().betting_property_service();
106 auto& adv_property = this->db().advertising_property_service();
108 adv_property.update([&](advertising_property_object& adv) {
109 adv.auction_post_coefficients.clear();
111 std::back_inserter(adv.auction_post_coefficients));
119 auto& adv_property = this->db().advertising_property_service();
121 adv_property.update([&](advertising_property_object& adv) {
122 adv.auction_banner_coefficients.clear();
124 std::back_inserter(adv.auction_banner_coefficients));
account_name_type moderator
moderator account name
uint32_t resolve_delay_sec
resolve delay time after gam
DataServices & db() const
void apply(ContextType &ctx)
development_committee_change_betting_resolve_delay_evaluator(data_service_factory_i &r)
void do_apply(const operation_type &o)
void do_apply(const operation_type &o)
development_committee_empower_advertising_moderator_evaluator(data_service_factory_i &r)
void do_apply(const operation_type &o)
void do_apply(const operation_type &o)
development_committee_empower_betting_moderator_evaluator(data_service_factory_i &r)
void do_apply(const operation_type &o)
development_committee_transfer_evaluator(data_service_factory_i &r)
development_committee_withdraw_vesting_evaluator(data_service_factory_i &r)
void do_apply(const operation_type &o)
std::vector< percent_type > auction_coefficients
account_name_type account
account_name_type account
account_name_type to_account