Scorum
Namespaces | Classes | Typedefs | Enumerations | Functions
scorum::chain Namespace Reference

Namespaces

 committee
 
 database_ns
 
 dba
 
 detail
 
 development_committee
 
 genesis
 
 registration_committee
 
 util
 
 utils
 
 withdraw_scorumpower_objects
 
 witness_schedule
 

Classes

struct  matcher
 
struct  resolver_results
 
class  database_impl
 
class  registration_pool_evaluator_impl
 
struct  strcmp_equal
 
struct  comment_options_extension_visitor
 
class  set_withdraw_scorumpower_route_evaluator_impl
 
class  withdraw_scorumpower_impl
 
struct  adv_budget_service_i
 
class  advertising_auction
 
struct  betting_matcher_i
 
class  betting_matcher
 
struct  matched_stake_type
 
struct  betting_resolver_i
 
class  betting_resolver
 
struct  betting_service_i
 
class  betting_service
 
class  block_log
 
class  database
 tracks the blockchain state in an extensible manner More...
 
struct  database_virtual_operations_emmiter_i
 
struct  fork_item
 
class  fork_database
 
class  adjust_nft_experience_evaluator
 
class  cancel_game_evaluator
 
class  cancel_pending_bets_evaluator
 
class  close_budget_by_advertising_moderator_evaluator
 
class  close_budget_evaluator
 
struct  get_operation_committee_visitor
 
class  create_budget_evaluator
 
class  create_game_evaluator
 
class  create_game_round_evaluator
 
class  create_nft_evaluator
 
class  delegate_sp_from_reg_pool_evaluator
 
class  evaluator
 
class  evaluator_impl
 
class  evaluator_registry
 
class  post_bet_evaluator
 
class  post_game_results_evaluator
 
class  proposal_create_evaluator
 
struct  proposal_add_member_evaluator
 
struct  proposal_exclude_member_evaluator
 
struct  proposal_change_quorum_evaluator
 
struct  development_committee_withdraw_vesting_evaluator
 
struct  development_committee_transfer_evaluator
 
struct  development_committee_empower_advertising_moderator_evaluator
 
struct  development_committee_empower_betting_moderator_evaluator
 
struct  development_committee_change_betting_resolve_delay_evaluator
 
struct  development_committee_change_budgets_auction_properties_evaluator
 
class  proposal_vote_evaluator
 
class  registration_pool_evaluator
 
class  give_bonus_from_registration_pool_task_context
 
class  give_bonus_from_registration_pool_task
 
class  set_withdraw_scorumpower_route_to_account_evaluator
 
class  set_withdraw_scorumpower_route_to_dev_pool_evaluator
 
class  set_withdraw_scorumpower_route_context
 
class  set_withdraw_scorumpower_route_from_dev_pool_task
 
class  update_budget_evaluator
 
class  update_game_markets_evaluator
 
class  update_game_round_result_evaluator
 
class  update_game_start_time_evaluator
 
class  update_nft_meta_evaluator
 
class  update_nft_name_evaluator
 
class  vote_evaluator
 
class  withdraw_scorumpower_evaluator
 
class  withdraw_scorumpower_context
 
class  withdraw_scorumpower_dev_pool_task
 
class  db_genesis
 
struct  genesis_chain_id_type
 
struct  genesis_persistent_state_type
 
struct  genesis_state_type
 
class  node_property_object
 Contains per-node database configuration. More...
 
struct  operation_notification
 
struct  bet_data
 
class  bet_uuid_history_object
 
class  pending_bet_object
 
class  matched_bet_object
 
class  betting_property_object
 
class  block_summary_object
 tracks minimal information about past blocks to implement TaPOS More...
 
class  fund_budget_object
 
struct  budget_traits
 
struct  budget_traits< budget_type::banner >
 
struct  budget_traits< budget_type::post >
 
class  adv_budget_object
 
class  chain_property_object
 
struct  adv_total_stats
 
struct  betting_total_stats
 
class  dynamic_global_property_object
 Maintains global state information. More...
 
class  game_uuid_history_object
 
class  game_object
 
class  nft_object
 
class  game_round_object
 
class  proposal_object
 
class  registration_pool_object
 
class  registration_committee_member_object
 
class  reward_balancer_object
 
class  reward_fund_object
 
class  escrow_object
 
class  decline_voting_rights_request_object
 
struct  shared_authority
 
class  transaction_object
 
class  withdraw_scorumpower_route_object
 
class  withdraw_scorumpower_route_statistic_object
 
class  withdraw_scorumpower_object
 
struct  less_for_withdrawable_id
 
class  witness_object
 
class  witness_vote_object
 
class  witness_schedule_object
 
class  witness_reward_in_sp_migration_object
 
struct  accounts_total
 
struct  account_service_i
 
class  dbs_account
 
struct  account_blogging_statistic_service_i
 
class  dbs_account_blogging_statistic
 
struct  account_registration_bonus_service_i
 
class  dbs_account_registration_bonus
 
struct  advertising_property_service_i
 
struct  atomicswap_service_i
 
class  dbs_atomicswap
 
struct  betting_property_service_i
 
struct  blocks_story_service_i
 
class  dbs_blocks_story
 
struct  fund_budget_service_i
 
class  dbs_fund_budget
 
struct  banner_budget_service_i
 
struct  post_budget_service_i
 
struct  budget_service_traits
 
struct  budget_service_traits< budget_type::banner >
 
struct  budget_service_traits< budget_type::post >
 
class  dbs_advertising_budget
 
struct  comment_service_i
 
class  dbs_comment
 
struct  comment_statistic_base_service_i
 
class  dbs_comment_statistic_base
 
struct  comment_statistic_scr_service_i
 
struct  comment_statistic_sp_service_i
 
struct  comment_vote_service_i
 
class  dbs_comment_vote
 
class  dbs_base
 
class  dbservice_dbs_factory
 
struct  decline_voting_rights_request_service_i
 
class  dbs_decline_voting_rights_request
 
struct  dev_pool_service_i
 
class  dbs_dev_pool
 
struct  development_committee_service_i
 
struct  dbs_development_committee
 
struct  dynamic_global_property_service_i
 
class  dbs_dynamic_global_property
 
struct  escrow_service_i
 
class  dbs_escrow
 
struct  game_service_i
 
class  dbs_game
 
struct  genesis_state_service_i
 
class  dbs_genesis_state
 
struct  hardfork_property_service_i
 
class  dbs_hardfork_property
 
struct  pending_bet_service_i
 
class  dbs_pending_bet
 
struct  proposal_service_i
 
class  dbs_proposal
 
struct  proposal_executor_service_i
 
class  dbs_proposal_executor
 
struct  registration_committee_service_i
 
class  dbs_registration_committee
 
struct  registration_pool_service_i
 
class  dbs_registration_pool
 
struct  content_reward_scr_service_i
 
struct  voters_reward_scr_service_i
 
struct  voters_reward_sp_service_i
 
struct  content_reward_fund_scr_service_i
 
struct  content_reward_fund_sp_service_i
 
struct  content_fifa_world_cup_2018_bounty_reward_fund_service_i
 
struct  scorumpower_delegation_service_i
 
class  dbs_scorumpower_delegation
 
struct  base_service_i
 
class  dbs_service_base
 
struct  withdraw_scorumpower_service_i
 
class  dbs_withdraw_scorumpower
 
struct  withdraw_scorumpower_route_service_i
 
class  dbs_withdraw_scorumpower_route
 
struct  withdraw_scorumpower_route_statistic_service_i
 
class  dbs_withdraw_scorumpower_route_statistic
 
struct  witness_service_i
 
class  dbs_witness
 
struct  witness_reward_in_sp_migration_service_i
 
struct  witness_schedule_service_i
 
struct  witness_vote_service_i
 
class  dbs_witness_vote
 
struct  task_reentrance_guard_i
 
class  dummy_reentrance_guard
 
class  task
 
class  dbs_withdraw_scorumpower_route_impl
 

Typedefs

using matching_fix_list = std::map< scorum::uuid_type, std::vector< scorum::uuid_type > >
 
typedef std::shared_ptr< fork_itemitem_ptr
 
template<typename EvaluatorType >
using proposal_operation_evaluator = scorum::chain::evaluator_impl< data_service_factory_i, EvaluatorType, protocol::proposal_operation >
 
using development_committee_change_top_post_budgets_amount_evaluator = development_committee_change_budgets_auction_properties_evaluator< budget_type::post >
 
using development_committee_change_top_banner_budgets_amount_evaluator = development_committee_change_budgets_auction_properties_evaluator< budget_type::banner >
 
using bet_uuid_history_index = shared_multi_index_container< bet_uuid_history_object, indexed_by< ordered_unique< tag< by_id >, member< bet_uuid_history_object, bet_uuid_history_id_type, &bet_uuid_history_object::id > >, hashed_unique< tag< by_uuid >, member< bet_uuid_history_object, uuid_type, &bet_uuid_history_object::uuid > >> >
 
using pending_bet_index = shared_multi_index_container< pending_bet_object, indexed_by< ordered_unique< tag< by_id >, member< pending_bet_object, pending_bet_id_type, &pending_bet_object::id > >, hashed_unique< tag< by_uuid >, const_mem_fun< pending_bet_object, uuid_type, &pending_bet_object::get_uuid > >, ordered_unique< tag< by_game_uuid_wincase_asc >, composite_key< pending_bet_object, member< pending_bet_object, uuid_type, &pending_bet_object::game_uuid >, const_mem_fun< pending_bet_object, wincase_type, &pending_bet_object::get_wincase >, const_mem_fun< pending_bet_object, fc::time_point_sec, &pending_bet_object::get_created >, member< pending_bet_object, pending_bet_id_type, &pending_bet_object::id > >, composite_key_compare< std::less< uuid_type >, std::less< wincase_type >, std::less< time_point_sec >, std::less< pending_bet_id_type > >>, ordered_unique< tag< by_game_uuid_kind >, composite_key< pending_bet_object, member< pending_bet_object, uuid_type, &pending_bet_object::game_uuid >, const_mem_fun< pending_bet_object, pending_bet_kind, &pending_bet_object::get_kind >, member< pending_bet_object, pending_bet_id_type, &pending_bet_object::id > >>, ordered_unique< tag< by_game_uuid_market >, composite_key< pending_bet_object, member< pending_bet_object, uuid_type, &pending_bet_object::game_uuid >, member< pending_bet_object, market_type, &pending_bet_object::market >, member< pending_bet_object, pending_bet_id_type, &pending_bet_object::id > >>, ordered_unique< tag< by_game_uuid_created >, composite_key< pending_bet_object, member< pending_bet_object, uuid_type, &pending_bet_object::game_uuid >, const_mem_fun< pending_bet_object, fc::time_point_sec, &pending_bet_object::get_created >, member< pending_bet_object, pending_bet_id_type, &pending_bet_object::id > >> >>
 
using matched_bet_index = shared_multi_index_container< matched_bet_object, indexed_by< ordered_unique< tag< by_id >, member< matched_bet_object, matched_bet_id_type, &matched_bet_object::id > >, ordered_unique< tag< by_bet1_uuid >, composite_key< matched_bet_object, const_mem_fun< matched_bet_object, uuid_type, &matched_bet_object::get_bet1_uuid >, member< matched_bet_object, matched_bet_id_type, &matched_bet_object::id > >>, ordered_unique< tag< by_bet2_uuid >, composite_key< matched_bet_object, const_mem_fun< matched_bet_object, uuid_type, &matched_bet_object::get_bet2_uuid >, member< matched_bet_object, matched_bet_id_type, &matched_bet_object::id > >>, ordered_unique< tag< by_game_uuid_market >, composite_key< matched_bet_object, member< matched_bet_object, uuid_type, &matched_bet_object::game_uuid >, member< matched_bet_object, market_type, &matched_bet_object::market >, member< matched_bet_object, matched_bet_id_type, &matched_bet_object::id > >>, ordered_unique< tag< by_game_uuid_created >, composite_key< matched_bet_object, member< matched_bet_object, uuid_type, &matched_bet_object::game_uuid >, member< matched_bet_object, fc::time_point_sec, &matched_bet_object::created >, member< matched_bet_object, matched_bet_id_type, &matched_bet_object::id > >> >>
 
typedef shared_multi_index_container< betting_property_object, indexed_by< ordered_unique< tag< by_id >, member< betting_property_object, betting_property_object::id_type, &betting_property_object::id > >, ordered_unique< tag< by_moderator >, member< betting_property_object, account_name_type, &betting_property_object::moderator > > > > betting_property_index
 
typedef shared_multi_index_container< block_summary_object, indexed_by< ordered_unique< tag< by_id >, member< block_summary_object, block_summary_object::id_type, &block_summary_object::id > > > > block_summary_index
 
template<typename TBudgetObject >
using id_t = typename TBudgetObject::id_type
 
using fund_budget_index = shared_multi_index_container< fund_budget_object, indexed_by< ordered_unique< tag< by_id >, member< fund_budget_object, fund_budget_object::id_type, &fund_budget_object::id > >> >
 
template<budget_type budget_type_v>
using adv_budget_index = shared_multi_index_container< adv_budget_object< budget_type_v >, indexed_by< ordered_unique< tag< by_id >, member< adv_budget_object< budget_type_v >, id_t< adv_budget_object< budget_type_v > >, &adv_budget_object< budget_type_v >::id > >, hashed_unique< tag< by_uuid >, member< adv_budget_object< budget_type_v >, uuid_type, &adv_budget_object< budget_type_v >::uuid > >, ordered_non_unique< tag< by_owner_name >, member< adv_budget_object< budget_type_v >, account_name_type, &adv_budget_object< budget_type_v >::owner > >, ordered_non_unique< tag< by_balances >, composite_key< adv_budget_object< budget_type_v >, member< adv_budget_object< budget_type_v >, asset, &adv_budget_object< budget_type_v >::balance >, member< adv_budget_object< budget_type_v >, asset, &adv_budget_object< budget_type_v >::owner_pending_income >, member< adv_budget_object< budget_type_v >, asset, &adv_budget_object< budget_type_v >::budget_pending_outgo > >>, ordered_non_unique< tag< by_cashout_time >, member< adv_budget_object< budget_type_v >, fc::time_point_sec, &adv_budget_object< budget_type_v >::cashout_time > >, ordered_unique< tag< by_per_block >, composite_key< adv_budget_object< budget_type_v >, const_mem_fun< adv_budget_object< budget_type_v >, bool, &adv_budget_object< budget_type_v >::is_positive_balance >, member< adv_budget_object< budget_type_v >, asset, &adv_budget_object< budget_type_v >::per_block >, member< adv_budget_object< budget_type_v >, id_t< adv_budget_object< budget_type_v > >, &adv_budget_object< budget_type_v >::id > >, composite_key_compare< std::greater< bool >, std::greater< asset >, std::less< id_t< adv_budget_object< budget_type_v > >> >> >>
 
using post_budget_object = adv_budget_object< budget_type::post >
 
using banner_budget_object = adv_budget_object< budget_type::banner >
 
using post_budget_index = adv_budget_index< budget_type::post >
 
using banner_budget_index = adv_budget_index< budget_type::banner >
 
typedef shared_multi_index_container< chain_property_object, indexed_by< ordered_unique< tag< by_id >, member< chain_property_object, chain_property_object::id_type, &chain_property_object::id > > > > chain_property_index
 
typedef shared_multi_index_container< dynamic_global_property_object, indexed_by< ordered_unique< tag< by_id >, member< dynamic_global_property_object, dynamic_global_property_object::id_type, &dynamic_global_property_object::id > > > > dynamic_global_property_index
 
using game_uuid_history_index = shared_multi_index_container< game_uuid_history_object, indexed_by< ordered_unique< tag< by_id >, member< game_uuid_history_object, game_uuid_history_id_type, &game_uuid_history_object::id > >, hashed_unique< tag< by_uuid >, member< game_uuid_history_object, uuid_type, &game_uuid_history_object::uuid > >> >
 
using game_index = shared_multi_index_container< game_object, indexed_by< ordered_unique< tag< by_id >, member< game_object, game_object::id_type, &game_object::id > >, hashed_unique< tag< by_uuid >, member< game_object, uuid_type, &game_object::uuid > >, ordered_unique< tag< by_auto_resolve_time >, composite_key< game_object, member< game_object, time_point_sec, &game_object::auto_resolve_time >, member< game_object, game_object::id_type, &game_object::id > >>, ordered_unique< tag< by_bets_resolve_time >, composite_key< game_object, member< game_object, time_point_sec, &game_object::bets_resolve_time >, member< game_object, game_object::id_type, &game_object::id > >>, ordered_unique< tag< by_start_time >, composite_key< game_object, member< game_object, fc::time_point_sec, &game_object::start_time >, member< game_object, game_object::id_type, &game_object::id > >> >>
 
using nft_index = shared_multi_index_container< nft_object, indexed_by< ordered_unique< tag< by_id >, member< nft_object, nft_id_type, &nft_object::id > >, hashed_unique< tag< by_uuid >, member< nft_object, uuid_type, &nft_object::uuid > >, hashed_unique< tag< by_name >, member< nft_object, account_name_type, &nft_object::name > > > >
 
using game_round_index = shared_multi_index_container< game_round_object, indexed_by< ordered_unique< tag< by_id >, member< game_round_object, game_round_id_type, &game_round_object::id > >, hashed_unique< tag< by_uuid >, member< game_round_object, uuid_type, &game_round_object::uuid > > > >
 
typedef shared_multi_index_container< proposal_object, indexed_by< ordered_unique< tag< by_id >, member< proposal_object, proposal_id_type, &proposal_object::id > >, ordered_non_unique< tag< by_expiration >, member< proposal_object, fc::time_point_sec, &proposal_object::expiration > >, ordered_non_unique< tag< by_created >, member< proposal_object, fc::time_point_sec, &proposal_object::created > > > > proposal_object_index
 
typedef shared_multi_index_container< registration_pool_object, indexed_by< ordered_unique< tag< by_id >, member< registration_pool_object, registration_pool_id_type, &registration_pool_object::id > > > > registration_pool_index
 
typedef shared_multi_index_container< registration_committee_member_object, indexed_by< ordered_unique< tag< by_id >, member< registration_committee_member_object, registration_committee_member_id_type, &registration_committee_member_object::id > >, ordered_unique< tag< by_account_name >, member< registration_committee_member_object, account_name_type, &registration_committee_member_object::account > > > > registration_committee_member_index
 
template<typename BalancerObjectType >
using reward_balancer_index = shared_multi_index_container< BalancerObjectType, indexed_by< ordered_unique< tag< by_id >, member< BalancerObjectType, typename BalancerObjectType::id_type, &BalancerObjectType::id > >> >
 
using content_reward_balancer_scr_object = reward_balancer_object< content_reward_balancer_scr_object_type, SCORUM_SYMBOL >
 
using voters_reward_balancer_scr_object = reward_balancer_object< voters_reward_balancer_scr_object_type, SCORUM_SYMBOL >
 
using voters_reward_balancer_sp_object = reward_balancer_object< voters_reward_balancer_sp_object_type, SP_SYMBOL >
 
using content_reward_balancer_scr_index = reward_balancer_index< content_reward_balancer_scr_object >
 
using voters_reward_balancer_scr_index = reward_balancer_index< voters_reward_balancer_scr_object >
 
using voters_reward_balancer_sp_index = reward_balancer_index< voters_reward_balancer_sp_object >
 
template<typename FundObjectType >
using reward_fund_index = shared_multi_index_container< FundObjectType, indexed_by< ordered_unique< tag< by_id >, member< FundObjectType, typename FundObjectType::id_type, &FundObjectType::id > >> >
 
using content_reward_fund_scr_object = reward_fund_object< content_reward_fund_scr_object_type, SCORUM_SYMBOL >
 
using content_reward_fund_sp_object = reward_fund_object< content_reward_fund_sp_object_type, SP_SYMBOL >
 
using content_fifa_world_cup_2018_bounty_reward_fund_object = reward_fund_object< content_fifa_world_cup_2018_bounty_reward_fund_type, SP_SYMBOL >
 
using content_reward_fund_scr_index = reward_fund_index< content_reward_fund_scr_object >
 
using content_reward_fund_sp_index = reward_fund_index< content_reward_fund_sp_object >
 
using content_fifa_world_cup_2018_bounty_reward_fund_index = reward_fund_index< content_fifa_world_cup_2018_bounty_reward_fund_object >
 
using account_authority_id_type = oid< account_authority_object >
 
using account_id_type = oid< account_object >
 
using account_blogging_statistic_id_type = oid< account_blogging_statistic_object >
 
using account_recovery_request_id_type = oid< account_recovery_request_object >
 
using atomicswap_contract_id_type = oid< atomicswap_contract_object >
 
using block_stats_id_type = oid< block_stats_object >
 
using block_summary_id_type = oid< block_summary_object >
 
using owned_budgets_id_type = oid< owned_budgets_object >
 
using chain_property_id_type = oid< chain_property_object >
 
using change_recovery_account_request_id_type = oid< change_recovery_account_request_object >
 
using account_registration_bonus_id_type = oid< account_registration_bonus_object >
 
using comment_id_type = oid< comment_object >
 
using comments_bounty_fund_id_type = oid< comments_bounty_fund_object >
 
using comment_vote_id_type = oid< comment_vote_object >
 
using decline_voting_rights_request_id_type = oid< decline_voting_rights_request_object >
 
using dynamic_global_property_id_type = oid< dynamic_global_property_object >
 
using escrow_id_type = oid< escrow_object >
 
using hardfork_property_id_type = oid< hardfork_property_object >
 
using owner_authority_history_id_type = oid< owner_authority_history_object >
 
using proposal_id_type = oid< proposal_object >
 
using registration_committee_member_id_type = oid< registration_committee_member_object >
 
using registration_pool_id_type = oid< registration_pool_object >
 
using transaction_object_id_type = oid< transaction_object >
 
using scorumpower_delegation_expiration_id_type = oid< scorumpower_delegation_expiration_object >
 
using scorumpower_delegation_id_type = oid< scorumpower_delegation_object >
 
using reg_pool_sp_delegation_id_type = oid< reg_pool_sp_delegation_object >
 
using withdraw_scorumpower_route_id_type = oid< withdraw_scorumpower_route_object >
 
using withdraw_scorumpower_route_statistic_id_type = oid< withdraw_scorumpower_route_statistic_object >
 
using withdraw_scorumpower_id_type = oid< withdraw_scorumpower_object >
 
using witness_id_type = oid< witness_object >
 
using witness_schedule_id_type = oid< witness_schedule_object >
 
using witness_vote_id_type = oid< witness_vote_object >
 
using dev_committee_id_type = oid< dev_committee_object >
 
using dev_committee_member_id_type = oid< dev_committee_member_object >
 
using witness_reward_in_sp_migration_id_type = oid< witness_reward_in_sp_migration_object >
 
using game_id_type = oid< game_object >
 
using pending_bet_id_type = oid< pending_bet_object >
 
using matched_bet_id_type = oid< matched_bet_object >
 
using bet_uuid_history_id_type = oid< bet_uuid_history_object >
 
using game_uuid_history_id_type = oid< game_uuid_history_object >
 
using nft_id_type = oid< nft_object >
 
using game_round_id_type = oid< game_round_object >
 
using withdrawable_id_type = fc::static_variant< account_id_type, dev_committee_id_type >
 
typedef shared_multi_index_container< escrow_object, indexed_by< ordered_unique< tag< by_id >, member< escrow_object, escrow_id_type, &escrow_object::id > >, ordered_unique< tag< by_from_id >, composite_key< escrow_object, member< escrow_object, account_name_type, &escrow_object::from >, member< escrow_object, uint32_t, &escrow_object::escrow_id > > >, ordered_unique< tag< by_to >, composite_key< escrow_object, member< escrow_object, account_name_type, &escrow_object::to >, member< escrow_object, escrow_id_type, &escrow_object::id > > >, ordered_unique< tag< by_agent >, composite_key< escrow_object, member< escrow_object, account_name_type, &escrow_object::agent >, member< escrow_object, escrow_id_type, &escrow_object::id > > >, ordered_unique< tag< by_ratification_deadline >, composite_key< escrow_object, const_mem_fun< escrow_object, bool, &escrow_object::is_approved >, member< escrow_object, time_point_sec, &escrow_object::ratification_deadline >, member< escrow_object, escrow_id_type, &escrow_object::id > >, composite_key_compare< std::less< bool >, std::less< time_point_sec >, std::less< escrow_id_type > > > > > escrow_index
 
typedef shared_multi_index_container< decline_voting_rights_request_object, indexed_by< ordered_unique< tag< by_id >, member< decline_voting_rights_request_object, decline_voting_rights_request_id_type, &decline_voting_rights_request_object::id > >, ordered_unique< tag< by_account >, member< decline_voting_rights_request_object, account_id_type, &decline_voting_rights_request_object::account > >, ordered_unique< tag< by_effective_date >, composite_key< decline_voting_rights_request_object, member< decline_voting_rights_request_object, time_point_sec, &decline_voting_rights_request_object::effective_date >, member< decline_voting_rights_request_object, account_id_type, &decline_voting_rights_request_object::account > >, composite_key_compare< std::less< time_point_sec >, std::less< account_id_type > > > > > decline_voting_rights_request_index
 
typedef shared_multi_index_container< transaction_object, indexed_by< ordered_unique< tag< by_id >, member< transaction_object, transaction_object_id_type, &transaction_object::id > >, hashed_unique< tag< by_trx_id >, BOOST_MULTI_INDEX_MEMBER(transaction_object, transaction_id_type, trx_id), std::hash< transaction_id_type > >, ordered_non_unique< tag< by_expiration >, member< transaction_object, time_point_sec, &transaction_object::expiration > > > > transaction_index
 
typedef shared_multi_index_container< withdraw_scorumpower_route_object, indexed_by< ordered_unique< tag< by_id >, member< withdraw_scorumpower_route_object, withdraw_scorumpower_route_id_type, &withdraw_scorumpower_route_object::id > >, ordered_unique< tag< by_withdraw_route >, composite_key< withdraw_scorumpower_route_object, member< withdraw_scorumpower_route_object, withdrawable_id_type, &withdraw_scorumpower_route_object::from_id >, member< withdraw_scorumpower_route_object, withdrawable_id_type, &withdraw_scorumpower_route_object::to_id > >, composite_key_compare< less_for_withdrawable_id, less_for_withdrawable_id > >, ordered_unique< tag< by_destination >, composite_key< withdraw_scorumpower_route_object, member< withdraw_scorumpower_route_object, withdrawable_id_type, &withdraw_scorumpower_route_object::to_id >, member< withdraw_scorumpower_route_object, withdraw_scorumpower_route_id_type, &withdraw_scorumpower_route_object::id > >, composite_key_compare< less_for_withdrawable_id, std::less< withdraw_scorumpower_route_id_type > > > > > withdraw_scorumpower_route_index
 
typedef shared_multi_index_container< withdraw_scorumpower_route_statistic_object, indexed_by< ordered_unique< tag< by_id >, member< withdraw_scorumpower_route_statistic_object, withdraw_scorumpower_route_statistic_id_type, &withdraw_scorumpower_route_statistic_object::id > >, ordered_unique< tag< by_destination >, member< withdraw_scorumpower_route_statistic_object, withdrawable_id_type, &withdraw_scorumpower_route_statistic_object::from_id >, less_for_withdrawable_id > > > withdraw_scorumpower_route_statistic_index
 
typedef shared_multi_index_container< withdraw_scorumpower_object, indexed_by< ordered_unique< tag< by_id >, member< withdraw_scorumpower_object, withdraw_scorumpower_id_type, &withdraw_scorumpower_object::id > >, ordered_unique< tag< by_destination >, member< withdraw_scorumpower_object, withdrawable_id_type, &withdraw_scorumpower_object::from_id >, less_for_withdrawable_id >, ordered_unique< tag< by_next_vesting_withdrawal >, composite_key< withdraw_scorumpower_object, member< withdraw_scorumpower_object, time_point_sec, &withdraw_scorumpower_object::next_vesting_withdrawal >, member< withdraw_scorumpower_object, withdraw_scorumpower_id_type, &withdraw_scorumpower_object::id > > > > > withdraw_scorumpower_index
 
typedef shared_multi_index_container< witness_object, indexed_by< ordered_unique< tag< by_id >, member< witness_object, witness_id_type, &witness_object::id > >, ordered_unique< tag< by_name >, member< witness_object, account_name_type, &witness_object::owner > >, ordered_unique< tag< by_vote_name >, composite_key< witness_object, member< witness_object, share_type, &witness_object::votes >, member< witness_object, account_name_type, &witness_object::owner > >, composite_key_compare< std::greater< share_type >, std::less< account_name_type > > >, ordered_unique< tag< by_schedule_time >, composite_key< witness_object, member< witness_object, fc::uint128, &witness_object::virtual_scheduled_time >, member< witness_object, witness_id_type, &witness_object::id > > > > > witness_index
 
typedef shared_multi_index_container< witness_vote_object, indexed_by< ordered_unique< tag< by_id >, member< witness_vote_object, witness_vote_id_type, &witness_vote_object::id > >, ordered_unique< tag< by_account_witness >, composite_key< witness_vote_object, member< witness_vote_object, account_id_type, &witness_vote_object::account >, member< witness_vote_object, witness_id_type, &witness_vote_object::witness > >, composite_key_compare< std::less< account_id_type >, std::less< witness_id_type > > >, ordered_unique< tag< by_witness_account >, composite_key< witness_vote_object, member< witness_vote_object, witness_id_type, &witness_vote_object::witness >, member< witness_vote_object, account_id_type, &witness_vote_object::account > >, composite_key_compare< std::less< witness_id_type >, std::less< account_id_type > > > > > witness_vote_index
 
typedef shared_multi_index_container< witness_schedule_object, indexed_by< ordered_unique< tag< by_id >, member< witness_schedule_object, witness_schedule_id_type, &witness_schedule_object::id > > > > witness_schedule_index
 
typedef shared_multi_index_container< witness_reward_in_sp_migration_object, indexed_by< ordered_unique< tag< by_id >, member< witness_reward_in_sp_migration_object, witness_reward_in_sp_migration_id_type, &witness_reward_in_sp_migration_object::id > > > > witness_reward_in_sp_migration_index
 
using dbs_advertising_property = dbs_service_base< advertising_property_service_i >
 
using dbs_betting_property = dbs_service_base< betting_property_service_i >
 
using dbs_banner_budget = dbs_advertising_budget< budget_type::banner >
 
using dbs_post_budget = dbs_advertising_budget< budget_type::post >
 
using dbs_comment_statistic_scr = dbs_comment_statistic_base< comment_statistic_scr_service_i >
 
using dbs_comment_statistic_sp = dbs_comment_statistic_base< comment_statistic_sp_service_i >
 
using dbs_content_reward_scr = dbs_service_base< content_reward_scr_service_i >
 
using dbs_voters_reward_scr = dbs_service_base< voters_reward_scr_service_i >
 
using dbs_voters_reward_sp = dbs_service_base< voters_reward_sp_service_i >
 
using dbs_content_reward_fund_scr = dbs_service_base< content_reward_fund_scr_service_i >
 
using dbs_content_reward_fund_sp = dbs_service_base< content_reward_fund_sp_service_i >
 
using dbs_content_fifa_world_cup_2018_bounty_reward_fund = dbs_service_base< content_fifa_world_cup_2018_bounty_reward_fund_service_i >
 
using chain_properties = scorum::protocol::chain_properties
 
using dbs_witness_reward_in_sp_migration = dbs_service_base< witness_reward_in_sp_migration_service_i >
 
using dbs_witness_schedule = dbs_service_base< witness_schedule_service_i >
 

Enumerations

enum class  pending_bet_kind : uint8_t { live = 0b01 , non_live = 0b10 }
 
enum  object_type {
  account_authority_object_type , account_object_type , account_blogging_statistic_object_type , account_recovery_request_object_type ,
  atomicswap_contract_object_type , block_stats_object_type , block_summary_object_type , fund_budget_object_type ,
  post_budget_object_type , banner_budget_object_type , chain_property_object_type , change_recovery_account_request_object_type ,
  account_registration_bonus_object_type , comment_object_type , comment_statistic_scr_object_type , comment_statistic_sp_object_type ,
  comment_vote_object_type , decline_voting_rights_request_object_type , dynamic_global_property_object_type , escrow_object_type ,
  hardfork_property_object_type , owner_authority_history_object_type , proposal_object_type , registration_committee_member_object_type ,
  registration_pool_object_type , content_reward_fund_scr_object_type , content_reward_fund_sp_object_type , content_fifa_world_cup_2018_bounty_reward_fund_type ,
  content_reward_balancer_scr_object_type , voters_reward_balancer_scr_object_type , voters_reward_balancer_sp_object_type , transaction_object_type ,
  scorumpower_delegation_expiration_object_type , scorumpower_delegation_object_type , withdraw_scorumpower_route_object_type , withdraw_scorumpower_route_statistic_object_type ,
  withdraw_scorumpower_object_type , witness_object_type , witness_schedule_object_type , witness_vote_object_type ,
  dev_committee_object_type , dev_committee_member_object_type , witness_reward_in_sp_migration_object_type , advertising_property_object_type ,
  betting_property_object_type , bet_object_type , pending_bet_object_type , matched_bet_object_type ,
  game_object_type , reg_pool_sp_delegation_object_type , bet_uuid_history_object_type , game_uuid_history_object_type ,
  nft_object_type , game_round_object_type
}
 
enum  bandwidth_type { post , forum , market }
 

Functions

int64_t create_matched_bet (dba::db_accessor< matched_bet_object > &matched_bet_dba, const pending_bet_object &bet1, const pending_bet_object &bet2, const matched_stake_type &matched, fc::time_point_sec head_block_time)
 
asset calculate_gain (const asset &bet_stake, const odds &odds)
 
matched_stake_type calculate_matched_stake (const asset &bet1_stake, const asset &bet2_stake, const odds &bet1_odds, const odds &bet2_odds)
 
void update (fc::flat_map< uuid_type, bet_resolved_operation > &results, const bet_data &bet, asset income, uuid_type game_uuid, bet_resolve_kind kind)
 
protocol::committee get_committee (data_service_factory_i &services, const protocol::proposal_committee_operation< protocol::registration_committee_i > &)
 
protocol::committee get_committee (data_service_factory_i &services, const protocol::proposal_committee_operation< protocol::development_committee_i > &)
 
void validate_permlink_0_1 (const std::string &permlink)
 
 FC_DECLARE_DERIVED_EXCEPTION (database_query_exception, scorum::chain::chain_exception, 4010000, "database query exception") FC_DECLARE_DERIVED_EXCEPTION(block_validate_exception
 
block validation exception FC_DECLARE_DERIVED_EXCEPTION (transaction_exception, scorum::chain::chain_exception, 4030000, "transaction validation exception") FC_DECLARE_DERIVED_EXCEPTION(operation_validate_exception
 
block validation exception operation validation exception FC_DECLARE_DERIVED_EXCEPTION (operation_evaluate_exception, scorum::chain::chain_exception, 4050000, "operation evaluation exception") FC_DECLARE_DERIVED_EXCEPTION(undo_database_exception
 
block validation exception operation validation exception undo database exception FC_DECLARE_DERIVED_EXCEPTION (unknown_hardfork_exception, scorum::chain::chain_exception, 4090000, "chain attempted to apply unknown hardfork") FC_DECLARE_DERIVED_EXCEPTION(transaction_expiration_exception
 
block validation exception operation validation exception undo database exception transaction expiration exception FC_DECLARE_DERIVED_EXCEPTION (transaction_tapos_exception, scorum::chain::transaction_exception, 4030200, "transaction tapos exception") FC_DECLARE_DERIVED_EXCEPTION(pop_empty_chain
 
block validation exception operation validation exception undo database exception transaction expiration exception there are no blocks to pop SCORUM_DECLARE_OP_BASE_EXCEPTIONS (transfer)
 
 SCORUM_DECLARE_OP_BASE_EXCEPTIONS (account_create)
 
 SCORUM_DECLARE_OP_BASE_EXCEPTIONS (account_update)
 
bool operator== (const shared_authority &a, const shared_authority &b)
 
bool operator== (const authority &a, const shared_authority &b)
 
bool operator== (const shared_authority &a, const authority &b)
 
bool is_equal_withdrawable_id (const withdrawable_id_type &a, const withdrawable_id_type &b)
 
template<>
const fc::shared_vector< percent_type > & advertising_property_object::get_auction_coefficients< budget_type::post > () const
 
template<>
const fc::shared_vector< percent_type > & advertising_property_object::get_auction_coefficients< budget_type::banner > () const
 

Typedef Documentation

◆ account_authority_id_type

using scorum::chain::account_authority_id_type = typedef oid<account_authority_object>

Definition at line 94 of file scorum_object_types.hpp.

◆ account_blogging_statistic_id_type

using scorum::chain::account_blogging_statistic_id_type = typedef oid<account_blogging_statistic_object>

Definition at line 96 of file scorum_object_types.hpp.

◆ account_id_type

using scorum::chain::account_id_type = typedef oid<account_object>

Definition at line 95 of file scorum_object_types.hpp.

◆ account_recovery_request_id_type

using scorum::chain::account_recovery_request_id_type = typedef oid<account_recovery_request_object>

Definition at line 97 of file scorum_object_types.hpp.

◆ account_registration_bonus_id_type

using scorum::chain::account_registration_bonus_id_type = typedef oid<account_registration_bonus_object>

Definition at line 104 of file scorum_object_types.hpp.

◆ adv_budget_index

template<budget_type budget_type_v>
using scorum::chain::adv_budget_index = typedef shared_multi_index_container<adv_budget_object<budget_type_v>, indexed_by<ordered_unique<tag<by_id>, member<adv_budget_object<budget_type_v>, id_t<adv_budget_object<budget_type_v> >, &adv_budget_object<budget_type_v>::id> >, hashed_unique<tag<by_uuid>, member<adv_budget_object<budget_type_v>, uuid_type, &adv_budget_object<budget_type_v>::uuid> >, ordered_non_unique<tag<by_owner_name>, member<adv_budget_object<budget_type_v>, account_name_type, &adv_budget_object<budget_type_v>::owner> >, ordered_non_unique<tag<by_balances>, composite_key<adv_budget_object<budget_type_v>, member<adv_budget_object<budget_type_v>, asset, &adv_budget_object<budget_type_v>::balance>, member<adv_budget_object<budget_type_v>, asset, &adv_budget_object<budget_type_v>::owner_pending_income>, member<adv_budget_object<budget_type_v>, asset, &adv_budget_object<budget_type_v>::budget_pending_outgo> >>, ordered_non_unique<tag<by_cashout_time>, member<adv_budget_object<budget_type_v>, fc::time_point_sec, &adv_budget_object<budget_type_v>::cashout_time> >, ordered_unique<tag<by_per_block>, composite_key<adv_budget_object<budget_type_v>, const_mem_fun<adv_budget_object<budget_type_v>, bool, &adv_budget_object<budget_type_v>::is_positive_balance>, member<adv_budget_object<budget_type_v>, asset, &adv_budget_object<budget_type_v>::per_block>, member<adv_budget_object<budget_type_v>, id_t<adv_budget_object<budget_type_v> >, &adv_budget_object<budget_type_v>::id> >, composite_key_compare<std::greater<bool>, std::greater<asset>, std::less<id_t<adv_budget_object<budget_type_v> >> >> >>

Definition at line 105 of file budget_objects.hpp.

◆ atomicswap_contract_id_type

using scorum::chain::atomicswap_contract_id_type = typedef oid<atomicswap_contract_object>

Definition at line 98 of file scorum_object_types.hpp.

◆ banner_budget_index

using scorum::chain::banner_budget_index = typedef adv_budget_index<budget_type::banner>

Definition at line 154 of file budget_objects.hpp.

◆ banner_budget_object

using scorum::chain::banner_budget_object = typedef adv_budget_object<budget_type::banner>

Definition at line 151 of file budget_objects.hpp.

◆ bet_uuid_history_id_type

Definition at line 132 of file scorum_object_types.hpp.

◆ bet_uuid_history_index

using scorum::chain::bet_uuid_history_index = typedef shared_multi_index_container<bet_uuid_history_object, indexed_by<ordered_unique<tag<by_id>, member<bet_uuid_history_object, bet_uuid_history_id_type, &bet_uuid_history_object::id> >, hashed_unique<tag<by_uuid>, member<bet_uuid_history_object, uuid_type, &bet_uuid_history_object::uuid> >> >

Definition at line 99 of file bet_objects.hpp.

◆ betting_property_index

typedef shared_multi_index_container<betting_property_object, indexed_by<ordered_unique<tag<by_id>, member<betting_property_object, betting_property_object::id_type, &betting_property_object::id> >, ordered_unique<tag<by_moderator>, member<betting_property_object, account_name_type, &betting_property_object::moderator> > > > scorum::chain::betting_property_index

Definition at line 37 of file betting_property_object.hpp.

◆ block_stats_id_type

using scorum::chain::block_stats_id_type = typedef oid<block_stats_object>

Definition at line 99 of file scorum_object_types.hpp.

◆ block_summary_id_type

Definition at line 100 of file scorum_object_types.hpp.

◆ block_summary_index

typedef shared_multi_index_container<block_summary_object, indexed_by<ordered_unique<tag<by_id>, member<block_summary_object, block_summary_object::id_type, &block_summary_object::id> > > > scorum::chain::block_summary_index

Definition at line 32 of file block_summary_object.hpp.

◆ chain_properties

Definition at line 18 of file witness.hpp.

◆ chain_property_id_type

Definition at line 102 of file scorum_object_types.hpp.

◆ chain_property_index

typedef shared_multi_index_container<chain_property_object, indexed_by<ordered_unique<tag<by_id>, member<chain_property_object, chain_property_object::id_type, &chain_property_object::id> > > > scorum::chain::chain_property_index

Definition at line 23 of file chain_property_object.hpp.

◆ change_recovery_account_request_id_type

using scorum::chain::change_recovery_account_request_id_type = typedef oid<change_recovery_account_request_object>

Definition at line 103 of file scorum_object_types.hpp.

◆ comment_id_type

using scorum::chain::comment_id_type = typedef oid<comment_object>

Definition at line 105 of file scorum_object_types.hpp.

◆ comment_vote_id_type

using scorum::chain::comment_vote_id_type = typedef oid<comment_vote_object>

Definition at line 107 of file scorum_object_types.hpp.

◆ comments_bounty_fund_id_type

using scorum::chain::comments_bounty_fund_id_type = typedef oid<comments_bounty_fund_object>

Definition at line 106 of file scorum_object_types.hpp.

◆ content_fifa_world_cup_2018_bounty_reward_fund_index

Definition at line 52 of file reward_objects.hpp.

◆ content_fifa_world_cup_2018_bounty_reward_fund_object

Definition at line 47 of file reward_objects.hpp.

◆ content_reward_balancer_scr_index

Definition at line 40 of file reward_balancer_objects.hpp.

◆ content_reward_balancer_scr_object

Definition at line 35 of file reward_balancer_objects.hpp.

◆ content_reward_fund_scr_index

Definition at line 50 of file reward_objects.hpp.

◆ content_reward_fund_scr_object

Definition at line 45 of file reward_objects.hpp.

◆ content_reward_fund_sp_index

Definition at line 51 of file reward_objects.hpp.

◆ content_reward_fund_sp_object

Definition at line 46 of file reward_objects.hpp.

◆ dbs_advertising_property

Definition at line 12 of file advertising_property.hpp.

◆ dbs_banner_budget

using scorum::chain::dbs_banner_budget = typedef dbs_advertising_budget<budget_type::banner>

Definition at line 155 of file budgets.hpp.

◆ dbs_betting_property

Definition at line 12 of file betting_property.hpp.

◆ dbs_comment_statistic_scr

Definition at line 47 of file comment_statistic.hpp.

◆ dbs_comment_statistic_sp

Definition at line 53 of file comment_statistic.hpp.

◆ dbs_content_fifa_world_cup_2018_bounty_reward_fund

Definition at line 27 of file reward_funds.hpp.

◆ dbs_content_reward_fund_scr

Definition at line 14 of file reward_funds.hpp.

◆ dbs_content_reward_fund_sp

Definition at line 20 of file reward_funds.hpp.

◆ dbs_content_reward_scr

Definition at line 19 of file reward_balancer.hpp.

◆ dbs_post_budget

Definition at line 156 of file budgets.hpp.

◆ dbs_voters_reward_scr

Definition at line 20 of file reward_balancer.hpp.

◆ dbs_voters_reward_sp

Definition at line 21 of file reward_balancer.hpp.

◆ dbs_witness_reward_in_sp_migration

Definition at line 14 of file witness_reward_in_sp_migration.hpp.

◆ dbs_witness_schedule

Definition at line 13 of file witness_schedule.hpp.

◆ decline_voting_rights_request_id_type

Definition at line 108 of file scorum_object_types.hpp.

◆ decline_voting_rights_request_index

typedef shared_multi_index_container<decline_voting_rights_request_object, indexed_by<ordered_unique<tag<by_id>, member<decline_voting_rights_request_object, decline_voting_rights_request_id_type, &decline_voting_rights_request_object::id> >, ordered_unique<tag<by_account>, member<decline_voting_rights_request_object, account_id_type, &decline_voting_rights_request_object::account> >, ordered_unique<tag<by_effective_date>, composite_key<decline_voting_rights_request_object, member<decline_voting_rights_request_object, time_point_sec, &decline_voting_rights_request_object:: effective_date>, member<decline_voting_rights_request_object, account_id_type, &decline_voting_rights_request_object:: account> >, composite_key_compare<std::less<time_point_sec>, std::less<account_id_type> > > > > scorum::chain::decline_voting_rights_request_index

Definition at line 131 of file scorum_objects.hpp.

◆ dev_committee_id_type

using scorum::chain::dev_committee_id_type = typedef oid<dev_committee_object>

Definition at line 126 of file scorum_object_types.hpp.

◆ dev_committee_member_id_type

using scorum::chain::dev_committee_member_id_type = typedef oid<dev_committee_member_object>

Definition at line 127 of file scorum_object_types.hpp.

◆ development_committee_change_top_banner_budgets_amount_evaluator

Definition at line 179 of file proposal_evaluators.hpp.

◆ development_committee_change_top_post_budgets_amount_evaluator

Definition at line 176 of file proposal_evaluators.hpp.

◆ dynamic_global_property_id_type

Definition at line 109 of file scorum_object_types.hpp.

◆ dynamic_global_property_index

typedef shared_multi_index_container<dynamic_global_property_object, indexed_by<ordered_unique<tag<by_id>, member<dynamic_global_property_object, dynamic_global_property_object::id_type, &dynamic_global_property_object::id> > > > scorum::chain::dynamic_global_property_index

Definition at line 130 of file dynamic_global_property_object.hpp.

◆ escrow_id_type

Definition at line 110 of file scorum_object_types.hpp.

◆ escrow_index

typedef shared_multi_index_container<escrow_object, indexed_by<ordered_unique<tag<by_id>, member<escrow_object, escrow_id_type, &escrow_object::id> >, ordered_unique<tag<by_from_id>, composite_key<escrow_object, member<escrow_object, account_name_type, &escrow_object::from>, member<escrow_object, uint32_t, &escrow_object::escrow_id> > >, ordered_unique<tag<by_to>, composite_key<escrow_object, member<escrow_object, account_name_type, &escrow_object::to>, member<escrow_object, escrow_id_type, &escrow_object::id> > >, ordered_unique<tag<by_agent>, composite_key<escrow_object, member<escrow_object, account_name_type, &escrow_object::agent>, member<escrow_object, escrow_id_type, &escrow_object::id> > >, ordered_unique<tag<by_ratification_deadline>, composite_key<escrow_object, const_mem_fun<escrow_object, bool, &escrow_object::is_approved>, member<escrow_object, time_point_sec, &escrow_object::ratification_deadline>, member<escrow_object, escrow_id_type, &escrow_object::id> >, composite_key_compare<std::less<bool>, std::less<time_point_sec>, std::less<escrow_id_type> > > > > scorum::chain::escrow_index

Definition at line 105 of file scorum_objects.hpp.

◆ fund_budget_index

using scorum::chain::fund_budget_index = typedef shared_multi_index_container<fund_budget_object, indexed_by<ordered_unique<tag<by_id>, member<fund_budget_object, fund_budget_object::id_type, &fund_budget_object::id> >> >

Definition at line 93 of file budget_objects.hpp.

◆ game_id_type

Definition at line 129 of file scorum_object_types.hpp.

◆ game_index

using scorum::chain::game_index = typedef shared_multi_index_container<game_object, indexed_by<ordered_unique<tag<by_id>, member<game_object, game_object::id_type, &game_object::id> >, hashed_unique<tag<by_uuid>, member<game_object, uuid_type, &game_object::uuid> >, ordered_unique<tag<by_auto_resolve_time>, composite_key<game_object, member<game_object, time_point_sec, &game_object::auto_resolve_time>, member<game_object, game_object::id_type, &game_object::id> >>, ordered_unique<tag<by_bets_resolve_time>, composite_key<game_object, member<game_object, time_point_sec, &game_object::bets_resolve_time>, member<game_object, game_object::id_type, &game_object::id> >>, ordered_unique<tag<by_start_time>, composite_key<game_object, member<game_object, fc::time_point_sec, &game_object::start_time>, member<game_object, game_object::id_type, &game_object::id> >> >>

Definition at line 75 of file game_object.hpp.

◆ game_round_id_type

Definition at line 135 of file scorum_object_types.hpp.

◆ game_round_index

using scorum::chain::game_round_index = typedef shared_multi_index_container< game_round_object, indexed_by< ordered_unique<tag<by_id>, member<game_round_object, game_round_id_type, &game_round_object::id> >, hashed_unique<tag<by_uuid>, member<game_round_object, uuid_type, &game_round_object::uuid> > > >

Definition at line 61 of file nft_object.hpp.

◆ game_uuid_history_id_type

Definition at line 133 of file scorum_object_types.hpp.

◆ game_uuid_history_index

using scorum::chain::game_uuid_history_index = typedef shared_multi_index_container<game_uuid_history_object, indexed_by<ordered_unique<tag<by_id>, member<game_uuid_history_object, game_uuid_history_id_type, &game_uuid_history_object::id> >, hashed_unique<tag<by_uuid>, member<game_uuid_history_object, uuid_type, &game_uuid_history_object::uuid> >> >

Definition at line 64 of file game_object.hpp.

◆ hardfork_property_id_type

using scorum::chain::hardfork_property_id_type = typedef oid<hardfork_property_object>

Definition at line 111 of file scorum_object_types.hpp.

◆ id_t

template<typename TBudgetObject >
using scorum::chain::id_t = typedef typename TBudgetObject::id_type

Definition at line 90 of file budget_objects.hpp.

◆ item_ptr

typedef std::shared_ptr<fork_item> scorum::chain::item_ptr

Definition at line 42 of file fork_database.hpp.

◆ matched_bet_id_type

Definition at line 131 of file scorum_object_types.hpp.

◆ matched_bet_index

using scorum::chain::matched_bet_index = typedef shared_multi_index_container<matched_bet_object, indexed_by<ordered_unique<tag<by_id>, member<matched_bet_object, matched_bet_id_type, &matched_bet_object::id> >, ordered_unique<tag<by_bet1_uuid>, composite_key<matched_bet_object, const_mem_fun<matched_bet_object, uuid_type, &matched_bet_object:: get_bet1_uuid>, member<matched_bet_object, matched_bet_id_type, &matched_bet_object::id> >>, ordered_unique<tag<by_bet2_uuid>, composite_key<matched_bet_object, const_mem_fun<matched_bet_object, uuid_type, &matched_bet_object:: get_bet2_uuid>, member<matched_bet_object, matched_bet_id_type, &matched_bet_object::id> >>, ordered_unique<tag<by_game_uuid_market>, composite_key<matched_bet_object, member<matched_bet_object, uuid_type, &matched_bet_object::game_uuid>, member<matched_bet_object, market_type, &matched_bet_object::market>, member<matched_bet_object, matched_bet_id_type, &matched_bet_object::id> >>, ordered_unique<tag<by_game_uuid_created>, composite_key<matched_bet_object, member<matched_bet_object, uuid_type, &matched_bet_object::game_uuid>, member<matched_bet_object, fc::time_point_sec, &matched_bet_object::created>, member<matched_bet_object, matched_bet_id_type, &matched_bet_object::id> >> >>

Definition at line 183 of file bet_objects.hpp.

◆ matching_fix_list

using scorum::chain::matching_fix_list = typedef std::map<scorum::uuid_type, std::vector<scorum::uuid_type> >

Definition at line 26 of file betting_matcher.hpp.

◆ nft_id_type

Definition at line 134 of file scorum_object_types.hpp.

◆ nft_index

using scorum::chain::nft_index = typedef shared_multi_index_container< nft_object, indexed_by< ordered_unique<tag<by_id>, member<nft_object, nft_id_type, &nft_object::id> >, hashed_unique<tag<by_uuid>, member<nft_object, uuid_type, &nft_object::uuid> >, hashed_unique<tag<by_name>, member<nft_object, account_name_type, &nft_object::name> > > >

Definition at line 54 of file nft_object.hpp.

◆ owned_budgets_id_type

using scorum::chain::owned_budgets_id_type = typedef oid<owned_budgets_object>

Definition at line 101 of file scorum_object_types.hpp.

◆ owner_authority_history_id_type

using scorum::chain::owner_authority_history_id_type = typedef oid<owner_authority_history_object>

Definition at line 112 of file scorum_object_types.hpp.

◆ pending_bet_id_type

Definition at line 130 of file scorum_object_types.hpp.

◆ pending_bet_index

using scorum::chain::pending_bet_index = typedef shared_multi_index_container<pending_bet_object, indexed_by<ordered_unique<tag<by_id>, member<pending_bet_object, pending_bet_id_type, &pending_bet_object::id> >, hashed_unique<tag<by_uuid>, const_mem_fun<pending_bet_object, uuid_type, &pending_bet_object::get_uuid> >, ordered_unique<tag<by_game_uuid_wincase_asc>, composite_key<pending_bet_object, member<pending_bet_object, uuid_type, &pending_bet_object::game_uuid>, const_mem_fun<pending_bet_object, wincase_type, &pending_bet_object:: get_wincase>, const_mem_fun<pending_bet_object, fc::time_point_sec, &pending_bet_object:: get_created>, member<pending_bet_object, pending_bet_id_type, &pending_bet_object::id> >, composite_key_compare<std::less<uuid_type>, std::less<wincase_type>, std::less<time_point_sec>, std::less<pending_bet_id_type> >>, ordered_unique<tag<by_game_uuid_kind>, composite_key<pending_bet_object, member<pending_bet_object, uuid_type, &pending_bet_object::game_uuid>, const_mem_fun<pending_bet_object, pending_bet_kind, &pending_bet_object::get_kind>, member<pending_bet_object, pending_bet_id_type, &pending_bet_object::id> >>, ordered_unique<tag<by_game_uuid_market>, composite_key<pending_bet_object, member<pending_bet_object, uuid_type, &pending_bet_object::game_uuid>, member<pending_bet_object, market_type, &pending_bet_object::market>, member<pending_bet_object, pending_bet_id_type, &pending_bet_object::id> >>, ordered_unique<tag<by_game_uuid_created>, composite_key<pending_bet_object, member<pending_bet_object, uuid_type, &pending_bet_object::game_uuid>, const_mem_fun<pending_bet_object, fc::time_point_sec, &pending_bet_object:: get_created>, member<pending_bet_object, pending_bet_id_type, &pending_bet_object::id> >> >>

Definition at line 110 of file bet_objects.hpp.

◆ post_budget_index

Definition at line 153 of file budget_objects.hpp.

◆ post_budget_object

Definition at line 150 of file budget_objects.hpp.

◆ proposal_id_type

Definition at line 113 of file scorum_object_types.hpp.

◆ proposal_object_index

typedef shared_multi_index_container<proposal_object, indexed_by<ordered_unique<tag<by_id>, member<proposal_object, proposal_id_type, &proposal_object::id> >, ordered_non_unique<tag<by_expiration>, member<proposal_object, fc::time_point_sec, &proposal_object::expiration> >, ordered_non_unique<tag<by_created>, member<proposal_object, fc::time_point_sec, &proposal_object::created> > > > scorum::chain::proposal_object_index

Definition at line 49 of file proposal_object.hpp.

◆ proposal_operation_evaluator

template<typename EvaluatorType >
using scorum::chain::proposal_operation_evaluator = typedef scorum::chain::evaluator_impl<data_service_factory_i, EvaluatorType, protocol::proposal_operation>

Definition at line 17 of file proposal_evaluators.hpp.

◆ reg_pool_sp_delegation_id_type

using scorum::chain::reg_pool_sp_delegation_id_type = typedef oid<reg_pool_sp_delegation_object>

Definition at line 119 of file scorum_object_types.hpp.

◆ registration_committee_member_id_type

Definition at line 114 of file scorum_object_types.hpp.

◆ registration_committee_member_index

Definition at line 85 of file registration_objects.hpp.

◆ registration_pool_id_type

Definition at line 115 of file scorum_object_types.hpp.

◆ registration_pool_index

typedef shared_multi_index_container<registration_pool_object, indexed_by<ordered_unique<tag<by_id>, member<registration_pool_object, registration_pool_id_type, &registration_pool_object::id> > > > scorum::chain::registration_pool_index

Definition at line 72 of file registration_objects.hpp.

◆ reward_balancer_index

template<typename BalancerObjectType >
using scorum::chain::reward_balancer_index = typedef shared_multi_index_container<BalancerObjectType, indexed_by<ordered_unique<tag<by_id>, member<BalancerObjectType, typename BalancerObjectType::id_type, &BalancerObjectType::id> >> >

Definition at line 28 of file reward_balancer_objects.hpp.

◆ reward_fund_index

template<typename FundObjectType >
using scorum::chain::reward_fund_index = typedef shared_multi_index_container<FundObjectType, indexed_by<ordered_unique<tag<by_id>, member<FundObjectType, typename FundObjectType::id_type, &FundObjectType::id> >> >

Definition at line 38 of file reward_objects.hpp.

◆ scorumpower_delegation_expiration_id_type

using scorum::chain::scorumpower_delegation_expiration_id_type = typedef oid<scorumpower_delegation_expiration_object>

Definition at line 117 of file scorum_object_types.hpp.

◆ scorumpower_delegation_id_type

using scorum::chain::scorumpower_delegation_id_type = typedef oid<scorumpower_delegation_object>

Definition at line 118 of file scorum_object_types.hpp.

◆ transaction_index

typedef shared_multi_index_container<transaction_object, indexed_by<ordered_unique<tag<by_id>, member<transaction_object, transaction_object_id_type, &transaction_object::id> >, hashed_unique<tag<by_trx_id>, BOOST_MULTI_INDEX_MEMBER( transaction_object, transaction_id_type, trx_id), std::hash<transaction_id_type> >, ordered_non_unique<tag<by_expiration>, member<transaction_object, time_point_sec, &transaction_object::expiration> > > > scorum::chain::transaction_index

Definition at line 45 of file transaction_object.hpp.

◆ transaction_object_id_type

Definition at line 116 of file scorum_object_types.hpp.

◆ voters_reward_balancer_scr_index

Definition at line 41 of file reward_balancer_objects.hpp.

◆ voters_reward_balancer_scr_object

Definition at line 37 of file reward_balancer_objects.hpp.

◆ voters_reward_balancer_sp_index

Definition at line 42 of file reward_balancer_objects.hpp.

◆ voters_reward_balancer_sp_object

Definition at line 38 of file reward_balancer_objects.hpp.

◆ withdraw_scorumpower_id_type

Definition at line 122 of file scorum_object_types.hpp.

◆ withdraw_scorumpower_index

typedef shared_multi_index_container<withdraw_scorumpower_object, indexed_by<ordered_unique<tag<by_id>, member<withdraw_scorumpower_object, withdraw_scorumpower_id_type, &withdraw_scorumpower_object::id> >, ordered_unique<tag<by_destination>, member<withdraw_scorumpower_object, withdrawable_id_type, &withdraw_scorumpower_object::from_id>, less_for_withdrawable_id>, ordered_unique<tag<by_next_vesting_withdrawal>, composite_key<withdraw_scorumpower_object, member<withdraw_scorumpower_object, time_point_sec, &withdraw_scorumpower_object:: next_vesting_withdrawal>, member<withdraw_scorumpower_object, withdraw_scorumpower_id_type, &withdraw_scorumpower_object:: id> > > > > scorum::chain::withdraw_scorumpower_index

Definition at line 215 of file withdraw_scorumpower_objects.hpp.

◆ withdraw_scorumpower_route_id_type

Definition at line 120 of file scorum_object_types.hpp.

◆ withdraw_scorumpower_route_index

typedef shared_multi_index_container<withdraw_scorumpower_route_object, indexed_by<ordered_unique<tag<by_id>, member<withdraw_scorumpower_route_object, withdraw_scorumpower_route_id_type, &withdraw_scorumpower_route_object::id> >, ordered_unique<tag<by_withdraw_route>, composite_key<withdraw_scorumpower_route_object, member<withdraw_scorumpower_route_object, withdrawable_id_type, &withdraw_scorumpower_route_object:: from_id>, member<withdraw_scorumpower_route_object, withdrawable_id_type, &withdraw_scorumpower_route_object:: to_id> >, composite_key_compare<less_for_withdrawable_id, less_for_withdrawable_id> >, ordered_unique<tag<by_destination>, composite_key<withdraw_scorumpower_route_object, member<withdraw_scorumpower_route_object, withdrawable_id_type, &withdraw_scorumpower_route_object:: to_id>, member<withdraw_scorumpower_route_object, withdraw_scorumpower_route_id_type, &withdraw_scorumpower_route_object:: id> >, composite_key_compare<less_for_withdrawable_id, std:: less<withdraw_scorumpower_route_id_type> > > > > scorum::chain::withdraw_scorumpower_route_index

Definition at line 178 of file withdraw_scorumpower_objects.hpp.

◆ withdraw_scorumpower_route_statistic_id_type

Definition at line 121 of file scorum_object_types.hpp.

◆ withdraw_scorumpower_route_statistic_index

typedef shared_multi_index_container<withdraw_scorumpower_route_statistic_object, indexed_by<ordered_unique<tag<by_id>, member<withdraw_scorumpower_route_statistic_object, withdraw_scorumpower_route_statistic_id_type, &withdraw_scorumpower_route_statistic_object:: id> >, ordered_unique<tag<by_destination>, member<withdraw_scorumpower_route_statistic_object, withdrawable_id_type, &withdraw_scorumpower_route_statistic_object:: from_id>, less_for_withdrawable_id> > > scorum::chain::withdraw_scorumpower_route_statistic_index

Definition at line 192 of file withdraw_scorumpower_objects.hpp.

◆ withdrawable_id_type

Definition at line 137 of file scorum_object_types.hpp.

◆ witness_id_type

Definition at line 123 of file scorum_object_types.hpp.

◆ witness_index

typedef shared_multi_index_container<witness_object, indexed_by<ordered_unique<tag<by_id>, member<witness_object, witness_id_type, &witness_object::id> >, ordered_unique<tag<by_name>, member<witness_object, account_name_type, &witness_object::owner> >, ordered_unique<tag<by_vote_name>, composite_key<witness_object, member<witness_object, share_type, &witness_object::votes>, member<witness_object, account_name_type, &witness_object::owner> >, composite_key_compare<std::greater<share_type>, std::less<account_name_type> > >, ordered_unique<tag<by_schedule_time>, composite_key<witness_object, member<witness_object, fc::uint128, &witness_object:: virtual_scheduled_time>, member<witness_object, witness_id_type, &witness_object::id> > > > > scorum::chain::witness_index

Definition at line 168 of file witness_objects.hpp.

◆ witness_reward_in_sp_migration_id_type

Definition at line 128 of file scorum_object_types.hpp.

◆ witness_reward_in_sp_migration_index

Definition at line 213 of file witness_objects.hpp.

◆ witness_schedule_id_type

Definition at line 124 of file scorum_object_types.hpp.

◆ witness_schedule_index

typedef shared_multi_index_container<witness_schedule_object, indexed_by<ordered_unique<tag<by_id>, member<witness_schedule_object, witness_schedule_id_type, &witness_schedule_object::id> > > > scorum::chain::witness_schedule_index

Definition at line 206 of file witness_objects.hpp.

◆ witness_vote_id_type

Definition at line 125 of file scorum_object_types.hpp.

◆ witness_vote_index

typedef shared_multi_index_container<witness_vote_object, indexed_by<ordered_unique<tag<by_id>, member<witness_vote_object, witness_vote_id_type, &witness_vote_object::id> >, ordered_unique<tag<by_account_witness>, composite_key<witness_vote_object, member<witness_vote_object, account_id_type, &witness_vote_object::account>, member<witness_vote_object, witness_id_type, &witness_vote_object::witness> >, composite_key_compare<std::less<account_id_type>, std::less<witness_id_type> > >, ordered_unique<tag<by_witness_account>, composite_key<witness_vote_object, member<witness_vote_object, witness_id_type, &witness_vote_object::witness>, member<witness_vote_object, account_id_type, &witness_vote_object::account> >, composite_key_compare<std::less<witness_id_type>, std:: less<account_id_type> > > > > scorum::chain::witness_vote_index

Definition at line 199 of file witness_objects.hpp.

Enumeration Type Documentation

◆ bandwidth_type

Enumerator
post 

Rate limiting posting reward eligibility over time.

forum 

Rate limiting for all forum related actions.

market 

Rate limiting for all other actions.

Definition at line 139 of file scorum_object_types.hpp.

◆ object_type

Enumerator
account_authority_object_type 
account_object_type 
account_blogging_statistic_object_type 
account_recovery_request_object_type 
atomicswap_contract_object_type 
block_stats_object_type 
block_summary_object_type 
fund_budget_object_type 
post_budget_object_type 
banner_budget_object_type 
chain_property_object_type 
change_recovery_account_request_object_type 
account_registration_bonus_object_type 
comment_object_type 
comment_statistic_scr_object_type 
comment_statistic_sp_object_type 
comment_vote_object_type 
decline_voting_rights_request_object_type 
dynamic_global_property_object_type 
escrow_object_type 
hardfork_property_object_type 
owner_authority_history_object_type 
proposal_object_type 
registration_committee_member_object_type 
registration_pool_object_type 
content_reward_fund_scr_object_type 
content_reward_fund_sp_object_type 
content_fifa_world_cup_2018_bounty_reward_fund_type 
content_reward_balancer_scr_object_type 
voters_reward_balancer_scr_object_type 
voters_reward_balancer_sp_object_type 
transaction_object_type 
scorumpower_delegation_expiration_object_type 
scorumpower_delegation_object_type 
withdraw_scorumpower_route_object_type 
withdraw_scorumpower_route_statistic_object_type 
withdraw_scorumpower_object_type 
witness_object_type 
witness_schedule_object_type 
witness_vote_object_type 
dev_committee_object_type 
dev_committee_member_object_type 
witness_reward_in_sp_migration_object_type 
advertising_property_object_type 
betting_property_object_type 
bet_object_type 
pending_bet_object_type 
matched_bet_object_type 
game_object_type 
reg_pool_sp_delegation_object_type 
bet_uuid_history_object_type 
game_uuid_history_object_type 
nft_object_type 
game_round_object_type 

Definition at line 36 of file scorum_object_types.hpp.

◆ pending_bet_kind

enum scorum::chain::pending_bet_kind : uint8_t
strong
Enumerator
live 
non_live 

Definition at line 18 of file bet_objects.hpp.

Function Documentation

◆ advertising_property_object::get_auction_coefficients< budget_type::banner >()

template<>
const fc::shared_vector<percent_type>& scorum::chain::advertising_property_object::get_auction_coefficients< budget_type::banner > ( ) const

Definition at line 13 of file advertising_property_object.cpp.

◆ advertising_property_object::get_auction_coefficients< budget_type::post >()

template<>
const fc::shared_vector<percent_type>& scorum::chain::advertising_property_object::get_auction_coefficients< budget_type::post > ( ) const

Definition at line 7 of file advertising_property_object.cpp.

◆ calculate_gain()

asset scorum::chain::calculate_gain ( const asset bet_stake,
const odds odds 
)

Definition at line 8 of file betting_math.cpp.

◆ calculate_matched_stake()

matched_stake_type scorum::chain::calculate_matched_stake ( const asset bet1_stake,
const asset bet2_stake,
const odds bet1_odds,
const odds bet2_odds 
)

Definition at line 18 of file betting_math.cpp.

◆ create_matched_bet()

int64_t scorum::chain::create_matched_bet ( dba::db_accessor< matched_bet_object > &  matched_bet_dba,
const pending_bet_object bet1,
const pending_bet_object bet2,
const matched_stake_type matched,
fc::time_point_sec  head_block_time 
)

Definition at line 349 of file betting_matcher.cpp.

◆ FC_DECLARE_DERIVED_EXCEPTION() [1/5]

scorum::chain::FC_DECLARE_DERIVED_EXCEPTION ( database_query_exception  ,
scorum::chain::chain_exception  ,
4010000  ,
"database query exception"   
)

◆ FC_DECLARE_DERIVED_EXCEPTION() [2/5]

block validation exception operation validation exception scorum::chain::FC_DECLARE_DERIVED_EXCEPTION ( operation_evaluate_exception  ,
scorum::chain::chain_exception  ,
4050000  ,
"operation evaluation exception"   
)

◆ FC_DECLARE_DERIVED_EXCEPTION() [3/5]

block validation exception scorum::chain::FC_DECLARE_DERIVED_EXCEPTION ( transaction_exception  ,
scorum::chain::chain_exception  ,
4030000  ,
"transaction validation exception"   
)

◆ FC_DECLARE_DERIVED_EXCEPTION() [4/5]

block validation exception operation validation exception undo database exception transaction expiration exception scorum::chain::FC_DECLARE_DERIVED_EXCEPTION ( transaction_tapos_exception  ,
scorum::chain::transaction_exception  ,
4030200  ,
"transaction tapos exception"   
)

◆ FC_DECLARE_DERIVED_EXCEPTION() [5/5]

block validation exception operation validation exception undo database exception scorum::chain::FC_DECLARE_DERIVED_EXCEPTION ( unknown_hardfork_exception  ,
scorum::chain::chain_exception  ,
4090000  ,
"chain attempted to apply unknown hardfork"   
)

◆ get_committee() [1/2]

protocol::committee scorum::chain::get_committee ( data_service_factory_i &  services,
const protocol::proposal_committee_operation< protocol::development_committee_i > &   
)

Definition at line 12 of file committee_accessor.cpp.

◆ get_committee() [2/2]

protocol::committee scorum::chain::get_committee ( data_service_factory_i &  services,
const protocol::proposal_committee_operation< protocol::registration_committee_i > &   
)

Definition at line 6 of file committee_accessor.cpp.

◆ is_equal_withdrawable_id()

bool scorum::chain::is_equal_withdrawable_id ( const withdrawable_id_type a,
const withdrawable_id_type b 
)
inline

Definition at line 134 of file withdraw_scorumpower_objects.hpp.

◆ operator==() [1/3]

bool scorum::chain::operator== ( const authority a,
const shared_authority b 
)

Definition at line 92 of file shared_authority.cpp.

◆ operator==() [2/3]

bool scorum::chain::operator== ( const shared_authority a,
const authority b 
)

Definition at line 97 of file shared_authority.cpp.

◆ operator==() [3/3]

bool scorum::chain::operator== ( const shared_authority a,
const shared_authority b 
)

Definition at line 86 of file shared_authority.cpp.

◆ SCORUM_DECLARE_OP_BASE_EXCEPTIONS() [1/3]

scorum::chain::SCORUM_DECLARE_OP_BASE_EXCEPTIONS ( account_create  )

◆ SCORUM_DECLARE_OP_BASE_EXCEPTIONS() [2/3]

scorum::chain::SCORUM_DECLARE_OP_BASE_EXCEPTIONS ( account_update  )

◆ SCORUM_DECLARE_OP_BASE_EXCEPTIONS() [3/3]

block validation exception operation validation exception undo database exception transaction expiration exception there are no blocks to pop scorum::chain::SCORUM_DECLARE_OP_BASE_EXCEPTIONS ( transfer  )

◆ update()

void scorum::chain::update ( fc::flat_map< uuid_type, bet_resolved_operation > &  results,
const bet_data bet,
asset  income,
uuid_type  game_uuid,
bet_resolve_kind  kind 
)

Definition at line 26 of file betting_resolver.cpp.

◆ validate_permlink_0_1()

void scorum::chain::validate_permlink_0_1 ( const std::string &  permlink)
inline

Definition at line 57 of file scorum_evaluators.cpp.