Scorum
founders_initializator.hpp
Go to the documentation of this file.
1 #pragma once
2 
4 
7 
8 namespace scorum {
9 namespace chain {
10 namespace genesis {
11 
14 
16 {
17  virtual void on_apply(initializator_context&);
18 
19 private:
20  bool is_founders_pool_exists(initializator_context&);
21  void check_founders(initializator_context&);
22  asset distribure_sp_by_percent(initializator_context&, account_name_type& pitiful);
23  void distribure_sp_rest(initializator_context&, const asset& rest, const account_name_type& pitiful);
24  void feed_account(initializator_context& ctx, const account_name_type& name, const asset& sp);
25 };
26 }
27 }
28 }
fc::fixed_string_16 account_name_type
Definition: types.hpp:62
Definition: asset.cpp:15