|
typedef boost::multiprecision::int128_t | int128_t |
|
using | asset_symbol_type = uint64_t |
|
typedef flat_map< account_name_type, authority_weight_type > | account_authority_map |
|
typedef static_variant< void_t, version, hardfork_version_vote > | block_header_extensions |
|
typedef static_variant< void_t > | future_extensions |
|
typedef flat_set< block_header_extensions > | block_header_extensions_type |
|
typedef flat_set< future_extensions > | extensions_type |
|
using | game_type = fc::static_variant< soccer_game, hockey_game > |
|
using | result_home = yes_no_market< market_kind::result, home_tag > |
|
using | result_draw = yes_no_market< market_kind::result, draw_tag > |
|
using | result_away = yes_no_market< market_kind::result, away_tag > |
|
using | round_home = yes_no_market< market_kind::round > |
|
using | handicap = over_under_market< market_kind::handicap > |
|
using | correct_score_home = yes_no_market< market_kind::correct_score, home_tag > |
|
using | correct_score_draw = yes_no_market< market_kind::correct_score, draw_tag > |
|
using | correct_score_away = yes_no_market< market_kind::correct_score, away_tag > |
|
using | correct_score = score_yes_no_market< market_kind::correct_score > |
|
using | goal_home = yes_no_market< market_kind::goal, home_tag > |
|
using | goal_both = yes_no_market< market_kind::goal, both_tag > |
|
using | goal_away = yes_no_market< market_kind::goal, away_tag > |
|
using | total = over_under_market< market_kind::total > |
|
using | total_goals_home = over_under_market< market_kind::total_goals, home_tag > |
|
using | total_goals_away = over_under_market< market_kind::total_goals, away_tag > |
|
using | market_type = fc::static_variant< result_home, result_draw, result_away, round_home, handicap, correct_score_home, correct_score_draw, correct_score_away, correct_score, goal_home, goal_both, goal_away, total, total_goals_home, total_goals_away > |
|
using | wincase_type = fc::static_variant< result_home::yes, result_home::no, result_draw::yes, result_draw::no, result_away::yes, result_away::no, round_home::yes, round_home::no, handicap::over, handicap::under, correct_score_home::yes, correct_score_home::no, correct_score_draw::yes, correct_score_draw::no, correct_score_away::yes, correct_score_away::no, correct_score::yes, correct_score::no, goal_home::yes, goal_home::no, goal_both::yes, goal_both::no, goal_away::yes, goal_away::no, total::over, total::under, total_goals_home::over, total_goals_home::under, total_goals_away::over, total_goals_away::under > |
|
typedef static_variant< comment_payout_beneficiaries > | comment_options_extension |
|
typedef flat_set< comment_options_extension > | comment_options_extensions_type |
|
using | odds_value_type = int32_t |
|
using | odds_fraction_type = utils::fraction< odds_value_type, odds_value_type > |
|
using | operation = fc::static_variant< vote_operation, comment_operation, transfer_operation, transfer_to_scorumpower_operation, withdraw_scorumpower_operation, account_create_by_committee_operation, account_create_operation, account_create_with_delegation_operation, account_update_operation, witness_update_operation, account_witness_vote_operation, account_witness_proxy_operation, delete_comment_operation, comment_options_operation, set_withdraw_scorumpower_route_to_account_operation, set_withdraw_scorumpower_route_to_dev_pool_operation, prove_authority_operation, request_account_recovery_operation, recover_account_operation, change_recovery_account_operation, escrow_approve_operation, escrow_dispute_operation, escrow_release_operation, escrow_transfer_operation, decline_voting_rights_operation, delegate_scorumpower_operation, create_budget_operation, close_budget_operation, proposal_vote_operation, proposal_create_operation, atomicswap_initiate_operation, atomicswap_redeem_operation, atomicswap_refund_operation, close_budget_by_advertising_moderator_operation, update_budget_operation, create_game_operation, cancel_game_operation, update_game_markets_operation, update_game_start_time_operation, post_game_results_operation, post_bet_operation, cancel_pending_bets_operation, delegate_sp_from_reg_pool_operation, create_nft_operation, update_nft_meta_operation, create_game_round_operation, update_game_round_result_operation, adjust_nft_experience_operation, update_nft_name_operation, author_reward_operation, comment_benefficiary_reward_operation, comment_payout_update_operation, comment_reward_operation, curation_reward_operation, hardfork_operation, producer_reward_operation, active_sp_holders_reward_operation, return_scorumpower_delegation_operation, shutdown_witness_operation, witness_miss_block_operation, expired_contract_refund_operation, acc_finished_vesting_withdraw_operation, devpool_finished_vesting_withdraw_operation, acc_to_acc_vesting_withdraw_operation, devpool_to_acc_vesting_withdraw_operation, acc_to_devpool_vesting_withdraw_operation, devpool_to_devpool_vesting_withdraw_operation, proposal_virtual_operation, budget_outgo_operation, budget_owner_income_operation, active_sp_holders_reward_legacy_operation, budget_closing_operation, bets_matched_operation, game_status_changed_operation, bet_resolved_operation, bet_cancelled_operation, bet_restored_operation, bet_updated_operation > |
|
using | development_committee_change_post_budgets_auction_properties_operation = development_committee_change_budgets_auction_properties_operation< budget_type::post > |
|
using | development_committee_change_banner_budgets_auction_properties_operation = development_committee_change_budgets_auction_properties_operation< budget_type::banner > |
|
using | proposal_operation = fc::static_variant< registration_committee_add_member_operation, registration_committee_exclude_member_operation, registration_committee_change_quorum_operation, development_committee_add_member_operation, development_committee_exclude_member_operation, development_committee_change_quorum_operation, development_committee_withdraw_vesting_operation, development_committee_transfer_operation, development_committee_empower_advertising_moderator_operation, development_committee_change_post_budgets_auction_properties_operation, development_committee_change_banner_budgets_auction_properties_operation, development_committee_empower_betting_moderator_operation, development_committee_change_betting_resolve_delay_operation > |
|
typedef std::function< authority(const std::string &)> | authority_getter |
|
typedef fc::ecc::private_key | private_key_type |
|
typedef fc::sha256 | chain_id_type |
|
typedef fc::fixed_string_16 | account_name_type |
|
typedef fc::ripemd160 | block_id_type |
|
typedef fc::ripemd160 | checksum_type |
|
typedef fc::ripemd160 | transaction_id_type |
|
typedef fc::sha256 | digest_type |
|
typedef fc::ecc::compact_signature | signature_type |
|
typedef uint16_t | authority_weight_type |
|
typedef uint16_t | percent_type |
|
typedef int16_t | vote_weight_type |
|
using | share_value_type = int64_t |
|
using | share_type = fc::safe< share_value_type > |
|
|
bool | is_valid_account_name (const std::string &name) |
|
bool | operator== (const authority &a, const authority &b) |
|
const bf::map< bf::pair< soccer_game, std::set< market_kind > >, bf::pair< hockey_game, std::set< market_kind > > > | 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 | validate_game (const game_type &game, const fc::flat_set< market_type > &markets) |
|
void | validate_markets (const fc::flat_set< market_type > &markets) |
|
void | validate_wincases (const fc::flat_set< wincase_type > &wincases) |
|
void | validate_wincase (const wincase_type &wincase) |
|
void | validate_if_wincase_in_game (const game_type &game, const wincase_type &wincase) |
|
void | validate_bet_ids (const fc::flat_set< int64_t > &bet_ids) |
|
void | validate_market (const market_type &market) |
|
std::pair< wincase_type, wincase_type > | create_wincases (const market_type &market) |
|
market_type | create_market (const wincase_type &wincase) |
|
wincase_type | create_opposite (const wincase_type &wincase) |
|
bool | has_trd_state (const market_type &market) |
|
bool | match_wincases (const wincase_type &lhs, const wincase_type &rhs) |
|
market_kind | get_market_kind (const wincase_type &wincase) |
|
fc::variant_object | get_config () |
|
template<typename Stream > |
Stream & | operator<< (Stream &stream, const scorum::protocol::asset &a) |
|
template<typename Stream > |
Stream & | operator>> (Stream &stream, scorum::protocol::asset &a) |
|
template<typename AuthorityType > |
void | add_authority_accounts (flat_set< account_name_type > &result, const AuthorityType &a) |
|
void | validate_account_name (const std::string &name) |
|
void | validate_permlink (const std::string &permlink) |
|
void | validate_json_metadata (const std::string &json_metadata) |
|
template<typename T > |
std::set< market_kind > | get_markets_kind (const T &markets) |
|
template<typename T > |
bool | is_belong_markets (const wincase_type &wincase, const T &markets) |
|
template<market_kind kind, typename tag > |
bool | operator< (const over_under_market< kind, tag > &lhs, const over_under_market< kind, tag > &rhs) |
|
template<market_kind kind, typename tag > |
bool | operator< (const yes_no_market< kind, tag > &lhs, const yes_no_market< kind, tag > &rhs) |
|
template<market_kind kind, typename tag > |
bool | operator< (const score_yes_no_market< kind, tag > &lhs, const score_yes_no_market< kind, tag > &rhs) |
|
template<bool side, market_kind kind, typename tag > |
bool | operator< (const over_under_wincase< side, kind, tag > &lhs, const over_under_wincase< side, kind, tag > &rhs) |
|
template<bool side, market_kind kind, typename tag > |
bool | operator< (const yes_no_wincase< side, kind, tag > &lhs, const yes_no_wincase< side, kind, tag > &rhs) |
|
template<bool side, market_kind kind, typename tag > |
bool | operator< (const score_yes_no_wincase< side, kind, tag > &lhs, const score_yes_no_wincase< side, kind, tag > &rhs) |
|
| FC_DECLARE_DERIVED_EXCEPTION (tx_missing_active_auth, scorum::protocol::transaction_exception, 3010000, "missing required active authority") FC_DECLARE_DERIVED_EXCEPTION(tx_missing_owner_auth |
|
missing required owner authority | FC_DECLARE_DERIVED_EXCEPTION (tx_missing_posting_auth, scorum::protocol::transaction_exception, 3030000, "missing required posting authority") FC_DECLARE_DERIVED_EXCEPTION(tx_missing_other_auth |
|
missing required owner authority missing required other authority | FC_DECLARE_DERIVED_EXCEPTION (tx_irrelevant_sig, scorum::protocol::transaction_exception, 3050000, "irrelevant signature included") FC_DECLARE_DERIVED_EXCEPTION(tx_duplicate_sig |
|
template<typename Stream > |
Stream & | operator<< (Stream &stream, const scorum::protocol::odds &o) |
|
template<typename Stream > |
Stream & | operator>> (Stream &stream, scorum::protocol::odds &o) |
|
bool | is_market_operation (const operation &op) |
|
bool | is_virtual_operation (const operation &op) |
|
void | validate_quorum (quorum_type t, protocol::percent_type quorum) |
|
void | operation_validate (const proposal_operation &op) |
|
protocol::percent_type | operation_get_required_quorum (committee &committee_service, const proposal_operation &op) |
|
void | verify_authority (const std::vector< operation > &ops, const flat_set< public_key_type > &sigs, const authority_getter &get_active, const authority_getter &get_owner, const authority_getter &get_posting, uint32_t max_recursion=SCORUM_MAX_SIG_CHECK_DEPTH, bool allow_committe=false, const flat_set< account_name_type > &active_aprovals=flat_set< account_name_type >(), const flat_set< account_name_type > &owner_aprovals=flat_set< account_name_type >(), const flat_set< account_name_type > &posting_approvals=flat_set< account_name_type >()) |
|
bool | is_asset_type (asset asset, asset_symbol_type symbol) |
|
template<class T > |
bool | is_unique (const std::vector< T > &input) |
|
bool | operator== (const public_key_type &p1, const fc::ecc::public_key &p2) |
|
bool | operator== (const public_key_type &p1, const public_key_type &p2) |
|
bool | operator!= (const public_key_type &p1, const public_key_type &p2) |
|
bool | operator== (const extended_public_key_type &p1, const fc::ecc::extended_public_key &p2) |
|
bool | operator== (const extended_public_key_type &p1, const extended_public_key_type &p2) |
|
bool | operator!= (const extended_public_key_type &p1, const extended_public_key_type &p2) |
|
bool | operator== (const extended_private_key_type &p1, const fc::ecc::extended_public_key &p2) |
|
bool | operator== (const extended_private_key_type &p1, const extended_private_key_type &p2) |
|
bool | operator!= (const extended_private_key_type &p1, const extended_private_key_type &p2) |
|
int | string_to_int (fc::string input) |
|
fc::string | int_to_string (int input) |
|