#include <betting_api_impl.hpp>
|
| impl (dba::db_accessor< betting_property_object > &betting_prop_dba, dba::db_accessor< game_object > &game_dba, dba::db_accessor< matched_bet_object > &matched_bet_dba, dba::db_accessor< pending_bet_object > &pending_bet_dba, uint32_t lookup_limit=LOOKUP_LIMIT) |
|
std::vector< matched_bet_api_object > | get_game_returns (const uuid_type &game_uuid) const |
|
std::vector< winner_api_object > | get_game_winners (const uuid_type &game_uuid) const |
|
std::vector< game_api_object > | get_games_by_status (const fc::flat_set< game_status > &filter) const |
|
std::vector< game_api_object > | get_games_by_uuids (const std::vector< uuid_type > &uuids) const |
|
std::vector< game_api_object > | lookup_games_by_id (game_id_type from, uint32_t limit) const |
|
std::vector< matched_bet_api_object > | lookup_matched_bets (matched_bet_id_type from, uint32_t limit) const |
|
std::vector< pending_bet_api_object > | lookup_pending_bets (pending_bet_id_type from, uint32_t limit) const |
|
std::vector< matched_bet_api_object > | get_matched_bets (const std::vector< uuid_type > &uuids) const |
|
std::vector< pending_bet_api_object > | get_pending_bets (const std::vector< uuid_type > &uuids) const |
|
template<typename TApiObject , typename TObject , typename TId > |
std::vector< TApiObject > | get_bets (dba::db_accessor< TObject > &accessor, TId from, uint32_t limit) const |
|
betting_property_api_object | get_betting_properties () const |
|
std::vector< matched_bet_api_object > | get_game_matched_bets (const uuid_type &uuid) const |
|
std::vector< pending_bet_api_object > | get_game_pending_bets (const uuid_type &uuid) const |
|
Definition at line 30 of file betting_api_impl.hpp.
◆ impl()
◆ get_bets()
template<typename TApiObject , typename TObject , typename TId >
std::vector<TApiObject> scorum::app::betting_api::impl::get_bets |
( |
dba::db_accessor< TObject > & |
accessor, |
|
|
TId |
from, |
|
|
uint32_t |
limit |
|
) |
| const |
|
inline |
◆ get_betting_properties()
◆ get_game_matched_bets()
◆ get_game_pending_bets()
◆ get_game_returns()
◆ get_game_winners()
◆ get_games_by_status()
std::vector<game_api_object> scorum::app::betting_api::impl::get_games_by_status |
( |
const fc::flat_set< game_status > & |
filter | ) |
const |
|
inline |
◆ get_games_by_uuids()
std::vector<game_api_object> scorum::app::betting_api::impl::get_games_by_uuids |
( |
const std::vector< uuid_type > & |
uuids | ) |
const |
|
inline |
◆ get_matched_bets()
◆ get_pending_bets()
◆ lookup_games_by_id()
◆ lookup_matched_bets()
◆ lookup_pending_bets()
The documentation for this class was generated from the following file: