Scorum
|
#include <betting_api.hpp>
Classes | |
class | impl |
Public Member Functions | |
betting_api (const api_context &ctx) | |
~betting_api () | |
void | on_api_startup () |
Public API | |
std::vector< matched_bet_api_object > | get_game_returns (const uuid_type &game_uuid) const |
Returns bets with draw status. More... | |
std::vector< winner_api_object > | get_game_winners (const uuid_type &game_uuid) const |
Returns all winners for particular game. More... | |
std::vector< game_api_object > | get_games_by_status (const fc::flat_set< chain::game_status > &filter) const |
Returns games. More... | |
std::vector< game_api_object > | get_games_by_uuids (const std::vector< uuid_type > &uuids) const |
Returns games. More... | |
std::vector< game_api_object > | lookup_games_by_id (chain::game_id_type from, uint32_t limit) const |
Returns games. More... | |
std::vector< matched_bet_api_object > | lookup_matched_bets (chain::matched_bet_id_type from, uint32_t limit) const |
Returns matched bets. More... | |
std::vector< pending_bet_api_object > | lookup_pending_bets (chain::pending_bet_id_type from, uint32_t limit) const |
Return pending bets. More... | |
std::vector< matched_bet_api_object > | get_matched_bets (const std::vector< uuid_type > &uuids) const |
Returns matched bets. More... | |
std::vector< pending_bet_api_object > | get_pending_bets (const std::vector< uuid_type > &uuids) const |
Return pending bets. More... | |
std::vector< matched_bet_api_object > | get_game_matched_bets (const uuid_type &uuid) const |
Returns matched bets for game. More... | |
std::vector< pending_bet_api_object > | get_game_pending_bets (const uuid_type &uuid) const |
Return pending bets for game. More... | |
betting_property_api_object | get_betting_properties () const |
Return betting properties. More... | |
Definition at line 26 of file betting_api.hpp.
scorum::app::betting_api::betting_api | ( | const api_context & | ctx | ) |
Definition at line 10 of file betting_api.cpp.
|
default |
void scorum::app::betting_api::on_api_startup | ( | ) |
Definition at line 21 of file betting_api.cpp.