#include <boost/fusion/include/map.hpp>
#include <boost/fusion/include/at_key.hpp>
#include <boost/range/algorithm/set_algorithm.hpp>
#include <boost/range/algorithm/transform.hpp>
#include <scorum/protocol/betting/invariants_validation.hpp>
#include <scorum/protocol/betting/game.hpp>
#include <scorum/protocol/betting/market.hpp>
Go to the source code of this file.
|
const bf::map< bf::pair< soccer_game, std::set< market_kind > >, bf::pair< hockey_game, std::set< market_kind > > > | scorum::protocol::game_markets (bf::make_pair< soccer_game >(std::set< market_kind >{ market_kind::result, market_kind::round, market_kind::handicap, market_kind::correct_score, market_kind::goal, market_kind::total, market_kind::total_goals }), bf::make_pair< hockey_game >(std::set< market_kind >{ market_kind::result, market_kind::goal })) |
|
void | scorum::protocol::validate_game (const game_type &game, const fc::flat_set< market_type > &markets) |
|
void | scorum::protocol::validate_markets (const fc::flat_set< market_type > &markets) |
|
void | scorum::protocol::validate_wincases (const fc::flat_set< wincase_type > &wincases) |
|
void | scorum::protocol::validate_wincase (const wincase_type &wincase) |
|
void | scorum::protocol::validate_if_wincase_in_game (const game_type &game, const wincase_type &wincase) |
|
void | scorum::protocol::validate_bet_ids (const fc::flat_set< int64_t > &bet_ids) |
|
void | scorum::protocol::validate_market (const market_type &market) |
|