61 public api_obj<scorum::witness::reserve_ratio_object>
65 T& base =
static_cast<T&
>(*this);
99 bool created_by_genesis =
false;
100 bool owner_challenged =
false;
101 bool active_challenged =
false;
107 bool can_vote =
false;
108 uint16_t voting_power = 0;
132 uint32_t post_count = 0;
133 uint32_t comment_count = 0;
134 uint32_t vote_count = 0;
141 time_point_sec active_sp_holders_cashout_time = fc::time_point_sec::maximum();
148 inline void set_account(
const chain::account_object&);
149 inline void set_account_blogging_statistic(
const chain::account_blogging_statistic_object&);
150 inline void initialize(
const chain::account_object& a,
const chain::database& db);
157 , scorumpower(a.scorumpower)
174 , previous_owner_authority(
authority(o.previous_owner_authority))
175 , last_valid_time(o.last_valid_time)
194 , account_to_recover(o.account_to_recover)
195 , new_owner_authority(
authority(o.new_owner_authority))
216 , expiration(p.expiration)
217 , quorum_percent(p.quorum_percent)
221 voted_accounts.insert(a);
229 proposal_object::id_type
id;
237 uint64_t quorum_percent = 0;
250 , initial_power(n.initial_power)
251 , experience(n.experience)
252 , total_experience(n.initial_power + n.experience)
255 , json_metadata(
fc::to_string(n.json_metadata))
281 , seed(
fc::to_string(o.seed))
282 , verification_key(
fc::to_string(o.verification_key))
283 , vrf(
fc::to_string(o.vrf))
284 , proof(
fc::to_string(o.proof))
310 , url(
fc::to_string(w.url))
311 , total_missed(w.total_missed)
312 , last_confirmed_block_num(w.last_confirmed_block_num)
313 , signing_key(w.signing_key)
314 , proposed_chain_props(w.proposed_chain_props)
316 , virtual_last_update(w.virtual_last_update)
317 , virtual_position(w.virtual_position)
318 , virtual_scheduled_time(w.virtual_scheduled_time)
319 , running_version(w.running_version)
321 , hardfork_time_vote(w.hardfork_time_vote)
333 uint32_t total_missed = 0;
334 uint64_t last_confirmed_block_num = 0;
357 , json_metadata(
fc::to_string(b.json_metadata))
360 , deadline(b.deadline)
362 , per_block(b.per_block)
363 , cashout_time(b.cashout_time)
364 , owner_pending_income(b.owner_pending_income)
365 , budget_pending_outgo(b.budget_pending_outgo)
374 , json_metadata(
fc::to_string(b.json_metadata))
377 , deadline(b.deadline)
379 , per_block(b.per_block)
380 , cashout_time(b.cashout_time)
381 , owner_pending_income(b.owner_pending_income)
382 , budget_pending_outgo(b.budget_pending_outgo)
417 , contract_initiator(c.type == chain::atomicswap_contract_initiator)
422 , deadline(c.deadline)
423 , metadata(
fc::to_string(c.metadata))
451 , secret(
fc::to_string(c.secret))
452 , secret_hash(
fc::to_string(c.secret_hash))
466 return secret_hash.empty() || !
owner.size() || !to.size() || amount.amount == 0;
479 const std::string& secret =
"")
483 obj.owner = op.
owner;
511 : invite_quorum(reg_committee.invite_quorum)
512 , dropout_quorum(reg_committee.dropout_quorum)
513 , change_quorum(reg_committee.change_quorum)
529 (auction_post_coefficients)
530 (auction_banner_coefficients))
545 (registration_pool_balance)
546 (fund_budget_balance)
547 (reward_pool_balance)
548 (content_reward_scr_balance)
549 (content_reward_sp_balance)
556 (
id)(name)(
owner)(
active)(
posting)(memo_key)(json_metadata)(proxy)(last_owner_update)(last_account_update)
557 (created)(created_by_genesis)
558 (owner_challenged)(active_challenged)(last_owner_proved)(last_active_proved)(recovery_account)(last_account_recovery)
559 (can_vote)(voting_power)(last_vote_time)
561 (scorumpower)(delegated_scorumpower)(received_scorumpower)
562 (proxied_vsf_votes)(witnesses_voted_for)
563 (average_bandwidth)(lifetime_bandwidth)(last_bandwidth_update)
564 (average_market_bandwidth)(lifetime_market_bandwidth)(last_market_bandwidth_update)
565 (last_post)(last_root_post)
566 (post_count)(comment_count)(vote_count)
567 (curation_rewards_scr)
568 (curation_rewards_sp)
569 (posting_rewards_scr)
571 (active_sp_holders_cashout_time)
572 (active_sp_holders_pending_scr_reward)
573 (active_sp_holders_pending_sp_reward)
574 (nft_spend_scorumpower)
578 (balance)(scorumpower))
583 (previous_owner_authority)
590 (new_owner_authority)
598 (url)(votes)(virtual_last_update)(virtual_position)(virtual_scheduled_time)(total_missed)
599 (last_confirmed_block_num)(signing_key)
600 (proposed_chain_props)
626 (budget_pending_outgo)
627 (owner_pending_income)
budget_api_obj(const chain::banner_budget_object &b)
fc::time_point_sec created
std::string json_metadata
budget_api_obj(const chain::post_budget_object &b)
fc::time_point_sec cashout_time
fc::time_point_sec deadline
tracks minimal information about past blocks to implement TaPOS
tracks the blockchain state in an extensible manner
Maintains global state information.
fc::shared_flat_set< account_name_type > voted_accounts
FC_REFLECT(appender_args,(appender)(stream)) FC_REFLECT_DERIVED(file_appender_args
api_obj< scorum::chain::scorumpower_delegation_object > scorumpower_delegation_api_obj
api_obj< scorum::chain::dev_committee_object > development_committee_api_obj
api_obj< scorum::chain::withdraw_scorumpower_route_object > withdraw_scorumpower_route_api_obj
api_obj< scorum::chain::escrow_object > escrow_api_obj
api_obj< scorum::witness::reserve_ratio_object > reserve_ratio_api_obj
api_obj< scorum::chain::witness_vote_object > witness_vote_api_obj
api_obj< scorum::chain::decline_voting_rights_request_object > decline_voting_rights_request_api_obj
api_obj< scorum::chain::scorumpower_delegation_expiration_object > scorumpower_delegation_expiration_api_obj
api_obj< scorum::chain::block_summary_object > block_summary_api_obj
api_obj< scorum::witness::account_bandwidth_object > account_bandwidth_api_obj
api_obj< scorum::chain::change_recovery_account_request_object > change_recovery_account_request_api_obj
api_obj< scorum::chain::witness_schedule_object > witness_schedule_api_obj
@ post
Rate limiting posting reward eligibility over time.
fc::safe< share_value_type > share_type
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 > operation
fc::fixed_string_16 account_name_type
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 > proposal_operation
boost::uuids::uuid uuid_type
time_point_sec last_bandwidth_update
time_point_sec last_vote_time
time_point_sec last_market_bandwidth_update
time_point_sec last_root_post
time_point_sec last_account_recovery
time_point_sec last_active_proved
uint16_t witnesses_voted_for
std::string json_metadata
time_point_sec last_account_update
time_point_sec last_owner_update
std::vector< share_type > proxied_vsf_votes
time_point_sec last_owner_proved
asset nft_spend_scorumpower
account_name_type recovery_account
account_balance_info_api_obj(const account_api_obj &a)
account_balance_info_api_obj()
account_recovery_request_api_obj()
authority new_owner_authority
account_recovery_request_id_type id
account_name_type account_to_recover
account_recovery_request_api_obj(const chain::account_recovery_request_object &o)
std::vector< percent_type > auction_banner_coefficients
advertising_property_api_obj()
std::vector< percent_type > auction_post_coefficients
account_name_type moderator
atomicswap_contract_api_obj()
atomicswap_contract_api_obj(const chain::atomicswap_contract_object &c)
atomicswap_contract_info_api_obj(const chain::atomicswap_contract_object &c)
atomicswap_contract_info_api_obj()
protocol::annotated_signed_transaction tr
atomicswap_contract_result_api_obj()
atomicswap_contract_info_api_obj obj
atomicswap_contract_result_api_obj(const protocol::annotated_signed_transaction &_tr)
atomicswap_contract_result_api_obj(const protocol::annotated_signed_transaction &_tr, const protocol::atomicswap_initiate_operation &op, const std::string &secret="")
dynamic_global_property_api_obj & operator=(const T &other)
std::string verification_key
game_round_api_obj(const chain::game_round_object &o)
nft_api_obj(const chain::nft_object &n)
share_type total_experience
std::string json_metadata
account_name_type account
time_point_sec last_valid_time
owner_authority_history_api_obj(const chain::owner_authority_history_object &o)
owner_authority_history_api_obj()
owner_authority_history_id_type id
authority previous_owner_authority
flat_set< account_name_type > voted_accounts
proposal_api_obj(const proposal_object &p)
proposal_object::id_type id
fc::time_point_sec expiration
account_name_type creator
protocol::proposal_operation operation
registration_committee_api_obj()
registration_committee_api_obj(const registration_pool_object ®_committee)
fc::uint128 virtual_scheduled_time
public_key_type signing_key
hardfork_version hardfork_version_vote
chain_properties proposed_chain_props
time_point_sec hardfork_time_vote
fc::uint128 virtual_last_update
witness_api_obj(const chain::witness_object &w)
fc::uint128 virtual_position
Initiates atomicswap operation.
account_name_type recipient