added get_binned_order_book to wallet
This commit is contained in:
parent
28ada40217
commit
e9f1788eae
2 changed files with 7 additions and 0 deletions
|
|
@ -1573,6 +1573,7 @@ class wallet_api
|
||||||
|
|
||||||
asset get_total_matched_bet_amount_for_betting_market_group(betting_market_group_id_type group_id);
|
asset get_total_matched_bet_amount_for_betting_market_group(betting_market_group_id_type group_id);
|
||||||
std::vector<event_object> get_events_containing_sub_string(const std::string& sub_string, const std::string& language);
|
std::vector<event_object> get_events_containing_sub_string(const std::string& sub_string, const std::string& language);
|
||||||
|
binned_order_book get_binned_order_book(graphene::chain::betting_market_id_type betting_market_id, int32_t precision);
|
||||||
|
|
||||||
vector<sport_object> list_sports() const;
|
vector<sport_object> list_sports() const;
|
||||||
vector<event_group_object> list_event_groups(sport_id_type sport_id) const;
|
vector<event_group_object> list_event_groups(sport_id_type sport_id) const;
|
||||||
|
|
@ -1993,4 +1994,5 @@ FC_API( graphene::wallet::wallet_api,
|
||||||
(get_order_book)
|
(get_order_book)
|
||||||
(get_total_matched_bet_amount_for_betting_market_group)
|
(get_total_matched_bet_amount_for_betting_market_group)
|
||||||
(get_events_containing_sub_string)
|
(get_events_containing_sub_string)
|
||||||
|
(get_binned_order_book)
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -5642,6 +5642,11 @@ std::vector<event_object> wallet_api::get_events_containing_sub_string(const std
|
||||||
return( my->_remote_bookie->get_events_containing_sub_string(sub_string, language) );
|
return( my->_remote_bookie->get_events_containing_sub_string(sub_string, language) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
binned_order_book wallet_api::get_binned_order_book(graphene::chain::betting_market_id_type betting_market_id, int32_t precision)
|
||||||
|
{
|
||||||
|
return( my->_remote_bookie->get_binned_order_book(betting_market_id, precision) );
|
||||||
|
}
|
||||||
|
|
||||||
// default ctor necessary for FC_REFLECT
|
// default ctor necessary for FC_REFLECT
|
||||||
signed_block_with_info::signed_block_with_info( const signed_block& block )
|
signed_block_with_info::signed_block_with_info( const signed_block& block )
|
||||||
: signed_block( block )
|
: signed_block( block )
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue