29 namespace graphene {
namespace api_helper_indexes {
30 using namespace chain;
41 void object_inserted(
const object& obj )
override;
42 void object_removed(
const object& obj )
override;
43 void about_to_modify(
const object& before )
override;
44 void object_modified(
const object& after )
override;
50 flat_map<asset_id_type, share_type> in_collateral;
51 flat_map<asset_id_type, share_type> backing_collateral;
62 void object_inserted(
const object& obj )
override;
63 void object_removed(
const object& obj )
override;
64 void about_to_modify(
const object& before )
override;
65 void object_modified(
const object& after )
override;
67 const flat_set<liquidity_pool_id_type>& get_liquidity_pools_by_asset(
const asset_id_type& a )
const;
70 flat_set<liquidity_pool_id_type> empty_set;
71 flat_map<asset_id_type, flat_set<liquidity_pool_id_type>> asset_in_pools_map;
82 object_id_type get_next_id( uint8_t space_id, uint8_t type_id )
const;
91 class api_helper_indexes_impl;
100 std::string plugin_name()
const override;
101 std::string plugin_description()
const override;
102 void plugin_set_program_options(
103 boost::program_options::options_description& cli,
104 boost::program_options::options_description& cfg)
override;
105 void plugin_initialize(
const boost::program_options::variables_map& options)
override;
106 void plugin_startup()
override;
111 std::unique_ptr<detail::api_helper_indexes_impl> my;
116 bool _next_ids_map_initialized =
false;
117 void refresh_next_ids();