BitShares-Core  6.1.0
BitShares blockchain implementation and command-line interface software
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
graphene::chain Namespace Reference

Namespaces

 detail
 

Classes

class  account_balance_object
 Tracks the balance of a single account/asset pairThis object is indexed on owner and asset_type so that black swan events in asset_type can be processed quickly. More...
 
class  account_create_evaluator
 
class  account_history_object
 a node in a linked list of operation_history_objectsAccount history is important for users and wallets even though it is not part of "core validation". Account history is maintained as a linked list stored on disk in a stack. Each account will point to the most recent account history object by ID. When a new operation relativent to that account is processed a new account history object is allcoated at the end of the stack and intialized to point to the prior object. More...
 
class  account_member_index
 This secondary index will allow a reverse lookup of all accounts that a particular key or account is an potential signing authority. More...
 
class  account_object
 This class represents an account on the object graphAccounts are the primary unit of authority on the graphene system. Users must have an account in order to use assets, trade in the markets, vote for committee_members, etc. More...
 
class  account_statistics_object
 
class  account_update_evaluator
 
class  account_upgrade_evaluator
 
class  account_whitelist_evaluator
 
class  assert_evaluator
 
class  asset_bitasset_data_object
 contains properties that only apply to bitassets (market issued assets) More...
 
class  asset_claim_fees_evaluator
 
class  asset_claim_pool_evaluator
 
class  asset_create_evaluator
 
class  asset_dynamic_data_object
 tracks the asset information that changes frequentlyBecause the asset_object is very large it doesn't make sense to save an undo state for all of the parameters that never change. This object factors out the parameters of an asset that change in almost every transaction that involves the asset. More...
 
class  asset_fund_fee_pool_evaluator
 
class  asset_global_settle_evaluator
 
class  asset_issue_evaluator
 
class  asset_object
 tracks the parameters of an assetAll assets have a globally unique symbol name that controls how they are traded and an issuer who has authority over the parameters of the asset. More...
 
class  asset_publish_feeds_evaluator
 
class  asset_reserve_evaluator
 
class  asset_settle_evaluator
 
class  asset_update_bitasset_evaluator
 
class  asset_update_evaluator
 
class  asset_update_feed_producers_evaluator
 
class  asset_update_issuer_evaluator
 
class  balance_claim_evaluator
 
class  balance_object
 
class  balances_by_account_index
 This secondary index will allow fast access to the balance objects that belonging to an account. More...
 
class  bid_collateral_evaluator
 
struct  bitasset_backing_asst_extractor
 Key extractor for short backing asset. More...
 
class  blind_transfer_evaluator
 
class  blinded_balance_object
 tracks a blinded balance commitment More...
 
class  block_database
 
class  block_summary_object
 tracks minimal information about past blocks to implement TaPOSWhen attempting to calculate the validity of a transaction we need to lookup a past block and check its block hash and the time it occurred so we can calculate whether the current transaction is valid and at what time it should expire. More...
 
struct  budget_record
 
class  budget_record_object
 
struct  burn_worker_type
 A worker who permanently destroys all of his pay. More...
 
class  buyback_object
 
struct  by_expiration
 
class  call_order_object
 tracks debt and call price information More...
 
class  call_order_update_evaluator
 
struct  cdd_vesting_policy
 defines vesting in terms of coin-days accrued which allows for dynamic deposit/withdraw More...
 
class  chain_property_object
 
class  collateral_bid_object
 bids of collateral for debt after a black swan More...
 
class  committee_member_create_evaluator
 
class  committee_member_object
 tracks information about a committee_member account.A committee_member is responsible for setting blockchain parameters and has dynamic multi-sig control over the committee account. The current set of active committee_members has control. More...
 
class  committee_member_update_evaluator
 
class  committee_member_update_global_parameters_evaluator
 
class  credit_deal_object
 A credit deal describes the details of a borrower's borrowing of funds from a credit offer. More...
 
class  credit_deal_repay_evaluator
 
class  credit_deal_summary_object
 A credit deal summary describes the summary of a borrower's borrowing of funds from a credit offer. More...
 
class  credit_offer_accept_evaluator
 
class  credit_offer_create_evaluator
 
class  credit_offer_delete_evaluator
 
class  credit_offer_object
 A credit offer is a fund that can be used by other accounts who provide certain collateral. More...
 
class  credit_offer_update_evaluator
 
class  custom_authority_create_evaluator
 
class  custom_authority_delete_evaluator
 
class  custom_authority_object
 Tracks account custom authorities. More...
 
class  custom_authority_update_evaluator
 
class  custom_evaluator
 
class  database
 tracks the blockchain state in an extensible manner More...
 
class  dynamic_global_property_object
 Maintains global state information (committee_member list, current fees)This is an implementation detail. The values here are calculated during normal chain operations and reflect the current values of global blockchain properties. More...
 
class  evaluator
 
class  fba_accumulator_object
 
class  force_settlement_object
 tracks bitassets scheduled for force settlement at some point in the future. More...
 
class  fork_database
 
struct  fork_item
 
class  generic_evaluator
 
struct  genesis_state_type
 
class  global_property_object
 Maintains global state information (committee_member list, current fees)This is an implementation detail. The values here are set by committee_members to tune the blockchain parameters. More...
 
struct  hardfork_visitor
 The hardfork_visitor struct checks whether a given operation type has been hardforked in or not. More...
 
class  hardfork_visitor_1479
 
struct  hardfork_visitor_214
 
class  htlc_create_evaluator
 
class  htlc_extend_evaluator
 
class  htlc_object
 database object to store HTLCs More...
 
class  htlc_redeem_evaluator
 
class  htlc_redeem_visitor
 
struct  immutable_chain_parameters
 
struct  index_entry
 
struct  init_policy_visitor
 
struct  instant_vesting_policy
 instant vesting policy More...
 
class  limit_order_cancel_evaluator
 
class  limit_order_create_evaluator
 
class  limit_order_object
 an offer to sell an amount of an asset at a specified exchange rate by a certain timeThe objects are indexed by expiration and are automatically deleted on the first block after expiration. More...
 
struct  linear_vesting_policy
 Linear vesting balance with cliff. More...
 
class  liquidity_pool_create_evaluator
 
class  liquidity_pool_delete_evaluator
 
class  liquidity_pool_deposit_evaluator
 
class  liquidity_pool_exchange_evaluator
 
class  liquidity_pool_object
 A liquidity pool. More...
 
class  liquidity_pool_withdraw_evaluator
 
class  node_property_object
 Contains per-node database configuration. More...
 
class  op_evaluator
 
class  op_evaluator_impl
 
class  operation_history_object
 tracks the history of all logical operations on blockchain stateAll operations and virtual operations result in the creation of an operation_history_object that is maintained on disk as a stack. Each real or virtual operation is assigned a unique ID / sequence number that it can be referenced by. More...
 
class  override_transfer_evaluator
 
struct  predicate_evaluator
 
struct  price_feed_with_icr
 defines market parameters for margin positions, extended with an initial_collateral_ratio field More...
 
class  proposal_create_evaluator
 
class  proposal_delete_evaluator
 
class  proposal_object
 tracks the approval of a partially approved transaction More...
 
struct  proposal_operation_hardfork_visitor
 
class  proposal_update_evaluator
 
class  push_proposal_nesting_guard
 
struct  refund_worker_type
 A worker who returns all of his pay to the reserve. More...
 
class  required_approval_index
 tracks all of the proposal objects that requrie approval of an individual account. More...
 
class  samet_fund_borrow_evaluator
 
class  samet_fund_create_evaluator
 
class  samet_fund_delete_evaluator
 
class  samet_fund_object
 A SameT Fund is a fund which can be used by a borrower and have to be repaid in the same transaction. More...
 
class  samet_fund_repay_evaluator
 
class  samet_fund_update_evaluator
 
struct  special_authority_evaluate_visitor
 
class  special_authority_object
 
class  ticket_create_evaluator
 
class  ticket_object
 a ticket for governance voting More...
 
class  ticket_update_evaluator
 
class  transaction_evaluation_state
 
class  transaction_history_object
 
class  transfer_evaluator
 
class  transfer_from_blind_evaluator
 
class  transfer_to_blind_evaluator
 
class  vesting_balance_create_evaluator
 
class  vesting_balance_object
 
class  vesting_balance_withdraw_evaluator
 
struct  vesting_balance_worker_type
 A worker who sends his pay to a vesting balance. More...
 
struct  vesting_policy_context
 
struct  vote_counter
 
class  withdraw_permission_claim_evaluator
 
class  withdraw_permission_create_evaluator
 
class  withdraw_permission_delete_evaluator
 
class  withdraw_permission_object
 Grants another account authority to withdraw a limited amount of funds per interval. More...
 
class  withdraw_permission_update_evaluator
 
class  witness_create_evaluator
 
class  witness_object
 
class  witness_schedule_object
 
class  witness_update_evaluator
 
class  worker_create_evaluator
 
struct  worker_init_visitor
 
class  worker_object
 Worker object contains the details of a blockchain worker. See The Blockchain Worker System for details. More...
 
struct  worker_pay_visitor
 A visitor for worker_type which calls pay_worker on the worker within. More...
 

Typedefs

typedef multi_index_container< account_balance_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type, &object::id > >, ordered_non_unique< tag< by_maintenance_flag >, member< account_balance_object, bool, &account_balance_object::maintenance_flag > >, ordered_unique< tag< by_asset_balance >, composite_key< account_balance_object, member< account_balance_object, asset_id_type, &account_balance_object::asset_type >, member< account_balance_object, share_type, &account_balance_object::balance >, member< account_balance_object, account_id_type, &account_balance_object::owner > >, composite_key_compare< std::less< asset_id_type >, std::greater< share_type >, std::less< account_id_type > > > > > account_balance_object_multi_index_type
 
typedef generic_index< account_balance_object, account_balance_object_multi_index_typeaccount_balance_index
 
typedef multi_index_container< account_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type, &object::id > >, ordered_unique< tag< by_name >, member< account_object, string, &account_object::name > > > > account_multi_index_type
 
typedef generic_index< account_object, account_multi_index_typeaccount_index
 
typedef multi_index_container< account_statistics_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type, &object::id > >, ordered_unique< tag< by_maintenance_seq >, composite_key< account_statistics_object, const_mem_fun< account_statistics_object, bool, &account_statistics_object::need_maintenance >, member< account_statistics_object, string, &account_statistics_object::name > > >, ordered_non_unique< tag< by_voting_power_active >, composite_key< account_statistics_object, member< account_statistics_object, time_point_sec, &account_statistics_object::vote_tally_time >, member< account_statistics_object, uint64_t, &account_statistics_object::vp_active > >, composite_key_compare< std::greater< time_point_sec >, std::greater< uint64_t > > > > > account_stats_multi_index_type
 
typedef generic_index< account_statistics_object, account_stats_multi_index_typeaccount_stats_index
 
using bitasset_data_multi_index_type = multi_index_container< asset_bitasset_data_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type, &object::id > >, ordered_non_unique< tag< by_short_backing_asset >, bitasset_backing_asst_extractor >, ordered_unique< tag< by_feed_expiration >, composite_key< asset_bitasset_data_object, const_mem_fun< asset_bitasset_data_object, time_point_sec, &asset_bitasset_data_object::feed_expiration_time >, member< asset_bitasset_data_object, asset_id_type, &asset_bitasset_data_object::asset_id > > >, ordered_non_unique< tag< by_cer_update >, const_mem_fun< asset_bitasset_data_object, bool, &asset_bitasset_data_object::need_to_update_cer > > > >
 
using asset_bitasset_data_index = generic_index< asset_bitasset_data_object, bitasset_data_multi_index_type >
 
using asset_object_multi_index_type = multi_index_container< asset_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type, &object::id > >, ordered_unique< tag< by_symbol >, member< asset_object, string, &asset_object::symbol > >, ordered_unique< tag< by_type >, composite_key< asset_object, const_mem_fun< asset_object, bool, &asset_object::is_market_issued >, member< object, object_id_type, &object::id > > >, ordered_unique< tag< by_issuer >, composite_key< asset_object, member< asset_object, account_id_type, &asset_object::issuer >, member< object, object_id_type, &object::id > > > > >
 
using asset_index = generic_index< asset_object, asset_object_multi_index_type >
 
using balance_multi_index_type = multi_index_container< balance_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type, &object::id > >, ordered_non_unique< tag< by_owner >, composite_key< balance_object, member< balance_object, address, &balance_object::owner >, const_mem_fun< balance_object, asset_id_type, &balance_object::asset_type > > > > >
 
using balance_index = generic_index< balance_object, balance_multi_index_type >
 
typedef multi_index_container< buyback_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type, &object::id > >, ordered_unique< tag< by_asset >, member< buyback_object, asset_id_type, &buyback_object::asset_to_buy > > >> buyback_multi_index_type
 
typedef generic_index< buyback_object, buyback_multi_index_typebuyback_index
 
using committee_member_multi_index_type = multi_index_container< committee_member_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type, &object::id > >, ordered_unique< tag< by_account >, member< committee_member_object, account_id_type, &committee_member_object::committee_member_account > >, ordered_unique< tag< by_vote_id >, member< committee_member_object, vote_id_type, &committee_member_object::vote_id > > > >
 
using committee_member_index = generic_index< committee_member_object, committee_member_multi_index_type >
 
using blinded_balance_obj_multi_idx = multi_index_container< blinded_balance_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type, &object::id > >, ordered_unique< tag< by_commitment >, member< blinded_balance_object, commitment_type, &blinded_balance_object::commitment > > > >
 
using blinded_balance_index = generic_index< blinded_balance_object, blinded_balance_obj_multi_idx >
 
using credit_offer_multi_index_type = multi_index_container< credit_offer_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type, &object::id > >, ordered_unique< tag< by_auto_disable_time >, composite_key< credit_offer_object, member< credit_offer_object, bool, &credit_offer_object::enabled >, member< credit_offer_object, time_point_sec, &credit_offer_object::auto_disable_time >, member< object, object_id_type, &object::id > > >, ordered_unique< tag< by_owner >, composite_key< credit_offer_object, member< credit_offer_object, account_id_type, &credit_offer_object::owner_account >, member< object, object_id_type, &object::id > > >, ordered_unique< tag< by_asset_type >, composite_key< credit_offer_object, member< credit_offer_object, asset_id_type, &credit_offer_object::asset_type >, member< object, object_id_type, &object::id > > > > >
 
using credit_offer_index = generic_index< credit_offer_object, credit_offer_multi_index_type >
 
using credit_deal_multi_index_type = multi_index_container< credit_deal_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type, &object::id > >, ordered_unique< tag< by_latest_repay_time >, composite_key< credit_deal_object, member< credit_deal_object, time_point_sec, &credit_deal_object::latest_repay_time >, member< object, object_id_type, &object::id > > >, ordered_unique< tag< by_offer_id >, composite_key< credit_deal_object, member< credit_deal_object, credit_offer_id_type, &credit_deal_object::offer_id >, member< object, object_id_type, &object::id > > >, ordered_unique< tag< by_offer_owner >, composite_key< credit_deal_object, member< credit_deal_object, account_id_type, &credit_deal_object::offer_owner >, member< object, object_id_type, &object::id > > >, ordered_unique< tag< by_borrower >, composite_key< credit_deal_object, member< credit_deal_object, account_id_type, &credit_deal_object::borrower >, member< object, object_id_type, &object::id > > >, ordered_unique< tag< by_debt_asset >, composite_key< credit_deal_object, member< credit_deal_object, asset_id_type, &credit_deal_object::debt_asset >, member< object, object_id_type, &object::id > > >, ordered_unique< tag< by_collateral_asset >, composite_key< credit_deal_object, member< credit_deal_object, asset_id_type, &credit_deal_object::collateral_asset >, member< object, object_id_type, &object::id > > > > >
 
using credit_deal_index = generic_index< credit_deal_object, credit_deal_multi_index_type >
 
using credit_deal_summary_index_type = multi_index_container< credit_deal_summary_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type, &object::id > >, ordered_unique< tag< by_offer_borrower >, composite_key< credit_deal_summary_object, member< credit_deal_summary_object, credit_offer_id_type, &credit_deal_summary_object::offer_id >, member< credit_deal_summary_object, account_id_type, &credit_deal_summary_object::borrower > > > > >
 
using credit_deal_summary_index = generic_index< credit_deal_summary_object, credit_deal_summary_index_type >
 
typedef multi_index_container< custom_authority_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type, &object::id > >, ordered_unique< tag< by_account_custom >, composite_key< custom_authority_object, member< custom_authority_object, account_id_type, &custom_authority_object::account >, member< custom_authority_object, unsigned_int, &custom_authority_object::operation_type >, member< custom_authority_object, bool, &custom_authority_object::enabled >, member< object, object_id_type, &object::id > > >, ordered_unique< tag< by_expiration >, composite_key< custom_authority_object, member< custom_authority_object, time_point_sec, &custom_authority_object::valid_to >, member< object, object_id_type, &object::id > > > > > custom_authority_multi_index_type
 
using custom_authority_index = generic_index< custom_authority_object, custom_authority_multi_index_type >
 
typedef shared_ptr< fork_itemitem_ptr
 
using htlc_object_multi_index_type = multi_index_container< htlc_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type, &object::id > >, ordered_unique< tag< by_expiration >, composite_key< htlc_object, htlc_object::timelock_extractor, member< object, object_id_type, &object::id > > >, ordered_unique< tag< by_from_id >, composite_key< htlc_object, htlc_object::from_extractor, member< object, object_id_type, &object::id > > >, ordered_unique< tag< by_to_id >, composite_key< htlc_object, htlc_object::to_extractor, member< object, object_id_type, &object::id > > > > >
 
using htlc_index = generic_index< htlc_object, htlc_object_multi_index_type >
 
typedef multi_index_container< liquidity_pool_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type, &object::id > >, ordered_unique< tag< by_share_asset >, member< liquidity_pool_object, asset_id_type, &liquidity_pool_object::share_asset > >, ordered_unique< tag< by_asset_a >, composite_key< liquidity_pool_object, member< liquidity_pool_object, asset_id_type, &liquidity_pool_object::asset_a >, member< object, object_id_type, &object::id > > >, ordered_unique< tag< by_asset_b >, composite_key< liquidity_pool_object, member< liquidity_pool_object, asset_id_type, &liquidity_pool_object::asset_b >, member< object, object_id_type, &object::id > > >, ordered_unique< tag< by_asset_ab >, composite_key< liquidity_pool_object, member< liquidity_pool_object, asset_id_type, &liquidity_pool_object::asset_a >, member< liquidity_pool_object, asset_id_type, &liquidity_pool_object::asset_b >, member< object, object_id_type, &object::id > > > >> liquidity_pool_multi_index_type
 
typedef generic_index< liquidity_pool_object, liquidity_pool_multi_index_typeliquidity_pool_index
 
typedef multi_index_container< limit_order_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type, &object::id > >, ordered_unique< tag< by_expiration >, composite_key< limit_order_object, member< limit_order_object, time_point_sec, &limit_order_object::expiration >, member< object, object_id_type, &object::id > > >, ordered_unique< tag< by_price >, composite_key< limit_order_object, member< limit_order_object, price, &limit_order_object::sell_price >, member< object, object_id_type, &object::id > >, composite_key_compare< std::greater< price >, std::less< object_id_type > > >, ordered_unique< tag< by_is_settled_debt >, composite_key< limit_order_object, member< limit_order_object, bool, &limit_order_object::is_settled_debt >, const_mem_fun< limit_order_object, asset_id_type, &limit_order_object::receive_asset_id >, member< object, object_id_type, &object::id > > >, ordered_unique< tag< by_account >, composite_key< limit_order_object, member< limit_order_object, account_id_type, &limit_order_object::seller >, member< object, object_id_type, &object::id > > >, ordered_unique< tag< by_account_price >, composite_key< limit_order_object, member< limit_order_object, account_id_type, &limit_order_object::seller >, member< limit_order_object, price, &limit_order_object::sell_price >, member< object, object_id_type, &object::id > >, composite_key_compare< std::less< account_id_type >, std::greater< price >, std::less< object_id_type > > > >> limit_order_multi_index_type
 
typedef generic_index< limit_order_object, limit_order_multi_index_typelimit_order_index
 
typedef multi_index_container< call_order_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type, &object::id > >, ordered_unique< tag< by_price >, composite_key< call_order_object, member< call_order_object, price, &call_order_object::call_price >, member< object, object_id_type, &object::id > >, composite_key_compare< std::less< price >, std::less< object_id_type > > >, ordered_unique< tag< by_account >, composite_key< call_order_object, member< call_order_object, account_id_type, &call_order_object::borrower >, const_mem_fun< call_order_object, asset_id_type, &call_order_object::debt_type > > >, ordered_unique< tag< by_collateral >, composite_key< call_order_object, const_mem_fun< call_order_object, price, &call_order_object::collateralization >, member< object, object_id_type, &object::id > > > >> call_order_multi_index_type
 
typedef multi_index_container< force_settlement_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type, &object::id > >, ordered_unique< tag< by_account >, composite_key< force_settlement_object, member< force_settlement_object, account_id_type, &force_settlement_object::owner >, member< object, object_id_type, &object::id > > >, ordered_unique< tag< by_expiration >, composite_key< force_settlement_object, const_mem_fun< force_settlement_object, asset_id_type, &force_settlement_object::settlement_asset_id >, member< force_settlement_object, time_point_sec, &force_settlement_object::settlement_date >, member< object, object_id_type, &object::id > > > >> force_settlement_object_multi_index_type
 
typedef multi_index_container< collateral_bid_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type, &object::id > >, ordered_unique< tag< by_account >, composite_key< collateral_bid_object, const_mem_fun< collateral_bid_object, asset_id_type, &collateral_bid_object::debt_type >, member< collateral_bid_object, account_id_type, &collateral_bid_object::bidder > > >, ordered_unique< tag< by_price >, composite_key< collateral_bid_object, const_mem_fun< collateral_bid_object, asset_id_type, &collateral_bid_object::debt_type >, member< collateral_bid_object, price, &collateral_bid_object::inv_swan_price >, member< object, object_id_type, &object::id > >, composite_key_compare< std::less< asset_id_type >, std::greater< price >, std::less< object_id_type > > > >> collateral_bid_object_multi_index_type
 
typedef generic_index< call_order_object, call_order_multi_index_typecall_order_index
 
typedef generic_index< force_settlement_object, force_settlement_object_multi_index_typeforce_settlement_index
 
typedef generic_index< collateral_bid_object, collateral_bid_object_multi_index_typecollateral_bid_index
 
using operation_history_mlti_idx_type = multi_index_container< operation_history_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type, &object::id > >, ordered_unique< tag< by_block >, composite_key< operation_history_object, member< operation_history_object, uint32_t, &operation_history_object::block_num >, member< operation_history_object, uint16_t, &operation_history_object::trx_in_block >, member< operation_history_object, uint16_t, &operation_history_object::op_in_trx >, member< operation_history_object, uint32_t, &operation_history_object::virtual_op > > >, ordered_unique< tag< by_time >, composite_key< operation_history_object, member< operation_history_object, time_point_sec, &operation_history_object::block_time >, member< object, object_id_type, &object::id > >, composite_key_compare< std::greater< time_point_sec >, std::greater< object_id_type > > > > >
 
using operation_history_index = generic_index< operation_history_object, operation_history_mlti_idx_type >
 
using account_history_multi_idx_type = multi_index_container< account_history_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type, &object::id > >, ordered_unique< tag< by_seq >, composite_key< account_history_object, member< account_history_object, account_id_type, &account_history_object::account >, member< account_history_object, uint64_t, &account_history_object::sequence > > >, ordered_unique< tag< by_op >, composite_key< account_history_object, member< account_history_object, account_id_type, &account_history_object::account >, member< account_history_object, operation_history_id_type, &account_history_object::operation_id > >, composite_key_compare< std::less< account_id_type >, std::greater< operation_history_id_type > > >, ordered_non_unique< tag< by_opid >, member< account_history_object, operation_history_id_type, &account_history_object::operation_id > > > >
 
using account_history_index = generic_index< account_history_object, account_history_multi_idx_type >
 
typedef boost::multi_index_container< proposal_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type, &object::id > >, ordered_unique< tag< by_expiration >, composite_key< proposal_object, member< proposal_object, time_point_sec, &proposal_object::expiration_time >, member< object, object_id_type, &object::id > > > >> proposal_multi_index_container
 
typedef generic_index< proposal_object, proposal_multi_index_containerproposal_index
 
using samet_fund_multi_index_type = multi_index_container< samet_fund_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type, &object::id > >, ordered_unique< tag< by_unpaid >, composite_key< samet_fund_object, member< samet_fund_object, share_type, &samet_fund_object::unpaid_amount >, member< object, object_id_type, &object::id > >, composite_key_compare< std::greater< share_type >, std::less< object_id_type > > >, ordered_unique< tag< by_owner >, composite_key< samet_fund_object, member< samet_fund_object, account_id_type, &samet_fund_object::owner_account >, member< object, object_id_type, &object::id > > >, ordered_unique< tag< by_asset_type >, composite_key< samet_fund_object, member< samet_fund_object, asset_id_type, &samet_fund_object::asset_type >, member< object, object_id_type, &object::id > > > > >
 
using samet_fund_index = generic_index< samet_fund_object, samet_fund_multi_index_type >
 
using special_authority_multi_idx_typ = multi_index_container< special_authority_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type, &object::id > >, ordered_unique< tag< by_account >, member< special_authority_object, account_id_type, &special_authority_object::account > > > >
 
using special_authority_index = generic_index< special_authority_object, special_authority_multi_idx_typ >
 
typedef multi_index_container< ticket_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type, &object::id > >, ordered_unique< tag< by_next_update >, composite_key< ticket_object, member< ticket_object, time_point_sec, &ticket_object::next_auto_update_time >, member< object, object_id_type, &object::id > > >, ordered_unique< tag< by_account >, composite_key< ticket_object, member< ticket_object, account_id_type, &ticket_object::account >, member< object, object_id_type, &object::id > > > >> ticket_multi_index_type
 
typedef generic_index< ticket_object, ticket_multi_index_typeticket_index
 
typedef multi_index_container< transaction_history_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type, &object::id > >, hashed_unique< tag< by_trx_id >, BOOST_MULTI_INDEX_MEMBER(transaction_history_object, transaction_id_type, trx_id), std::hash< transaction_id_type > >, ordered_non_unique< tag< by_expiration >, const_mem_fun< transaction_history_object, time_point_sec, &transaction_history_object::get_expiration > > > > transaction_multi_index_type
 
typedef generic_index< transaction_history_object, transaction_multi_index_typetransaction_index
 
typedef fc::static_variant< linear_vesting_policy, cdd_vesting_policy, instant_vesting_policyvesting_policy
 
typedef multi_index_container< vesting_balance_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type, &object::id > >, ordered_non_unique< tag< by_account >, member< vesting_balance_object, account_id_type, &vesting_balance_object::owner > >, hashed_unique< tag< by_vesting_type >, identity< vesting_balance_object >, detail::vesting_balance_object_hash, detail::vesting_balance_object_equal > > > vesting_balance_multi_index_type
 
typedef generic_index< vesting_balance_object, vesting_balance_multi_index_typevesting_balance_index
 
using withdraw_permission_obj_mlt_idx = multi_index_container< withdraw_permission_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type, &object::id > >, ordered_unique< tag< by_from >, composite_key< withdraw_permission_object, member< withdraw_permission_object, account_id_type, &withdraw_permission_object::withdraw_from_account >, member< object, object_id_type, &object::id > > >, ordered_unique< tag< by_authorized >, composite_key< withdraw_permission_object, member< withdraw_permission_object, account_id_type, &withdraw_permission_object::authorized_account >, member< object, object_id_type, &object::id > > >, ordered_unique< tag< by_expiration >, composite_key< withdraw_permission_object, member< withdraw_permission_object, time_point_sec, &withdraw_permission_object::expiration >, member< object, object_id_type, &object::id > > > > >
 
using withdraw_permission_index = generic_index< withdraw_permission_object, withdraw_permission_obj_mlt_idx >
 
using witness_multi_index_type = multi_index_container< witness_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type, &object::id > >, ordered_unique< tag< by_account >, member< witness_object, account_id_type, &witness_object::witness_account > >, ordered_unique< tag< by_vote_id >, member< witness_object, vote_id_type, &witness_object::vote_id > > > >
 
using witness_index = generic_index< witness_object, witness_multi_index_type >
 
typedef static_variant< refund_worker_type, vesting_balance_worker_type, burn_worker_typeworker_type
 
typedef multi_index_container< worker_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type, &object::id > >, ordered_non_unique< tag< by_account >, member< worker_object, account_id_type, &worker_object::worker_account > >, ordered_unique< tag< by_vote_for >, member< worker_object, vote_id_type, &worker_object::vote_for > >, ordered_unique< tag< by_vote_against >, member< worker_object, vote_id_type, &worker_object::vote_against > >, ordered_non_unique< tag< by_end_date >, member< worker_object, time_point_sec, &worker_object::work_end_date > > >> worker_object_multi_index_type
 
using worker_index = generic_index< worker_object, worker_object_multi_index_type >
 

Enumerations

enum  graphene_fba_accumulator_id_enum { fba_accumulator_id_transfer_to_blind = 0, fba_accumulator_id_blind_transfer, fba_accumulator_id_transfer_from_blind, fba_accumulator_id_count }
 
enum  ticket_status { charging, stable, withdrawing, TICKET_STATUS_COUNT }
 Status of a ticket. More...
 
enum  ticket_version { ticket_v1 = 1, ticket_v2 = 2 }
 Version of a ticket. More...
 
enum  vesting_balance_type {
  vesting_balance_type::unspecified, vesting_balance_type::cashback, vesting_balance_type::worker, vesting_balance_type::witness,
  vesting_balance_type::market_fee_sharing
}
 

Functions

void verify_authority_accounts (const database &db, const authority &a)
 
void verify_account_votes (const database &db, const account_options &options)
 
share_type cut_fee (share_type a, uint16_t p)
 
void check_children_of_bitasset (const database &d, const asset_update_bitasset_operation &op, const asset_object &new_backing_asset)
 
void evaluate_buyback_account_options (const database &db, const buyback_account_options &bbo)
 
void debug_apply_update (database &db, const fc::variant_object &vo)
 
template<typename Visitor >
void visit_special_authorities (const database &db, Visitor visit)
 
void update_top_n_authorities (database &db)
 
void split_fba_balance (database &db, uint64_t fba_id, uint16_t network_pct, uint16_t designated_asset_buyback_pct, uint16_t designated_asset_issuer_pct)
 
void distribute_fba_balances (database &db)
 
void create_buyback_orders (database &db)
 
void deprecate_annual_members (database &db)
 
void update_call_orders_hf_343 (database &db)
 
void update_call_orders_hf_1270 (database &db)
 
void match_call_orders (database &db)
 Match call orders for all bitAssets, including PMs. More...
 
void process_hf_1465 (database &db)
 
void process_hf_2103 (database &db)
 
void process_hf_868_890 (database &db)
 
void delete_expired_custom_auths (database &db)
 Remove any custom active authorities whose expiration dates are in the past. More...
 
void process_hf_2262 (database &db)
 A one-time data process to set values of existing liquid tickets to zero. More...
 
void process_hf_2281 (database &db)
 A one-time data process to cancel all collateral bids for assets that disabled collateral bidding already. More...
 
bool maybe_cull_small_order (database &db, const limit_order_object &order)
 
void operation_get_impacted_accounts (const operation &op, flat_set< account_id_type > &result, bool ignore_custom_op_required_auths)
 
void transaction_get_impacted_accs (const transaction &tx, flat_set< account_id_type > &result, bool ignore_custom_op_required_auths)
 
 FC_IMPLEMENT_DERIVED_EXCEPTION (database_query_exception, chain_exception, 3010000, "database query exception") FC_IMPLEMENT_DERIVED_EXCEPTION(block_validate_exception
 
block validation exception FC_IMPLEMENT_DERIVED_EXCEPTION (transaction_process_exception, chain_exception, 3030000, "transaction processing exception") FC_IMPLEMENT_DERIVED_EXCEPTION(operation_validate_exception
 
block validation exception operation validation exception FC_IMPLEMENT_DERIVED_EXCEPTION (operation_evaluate_exception, chain_exception, 3050000, "operation evaluation exception") FC_IMPLEMENT_DERIVED_EXCEPTION(utility_exception
 
block validation exception operation validation exception utility method exception FC_IMPLEMENT_DERIVED_EXCEPTION (undo_database_exception, chain_exception, 3070000, "undo database exception") FC_IMPLEMENT_DERIVED_EXCEPTION(duplicate_transaction
 
block validation exception operation validation exception utility method exception duplicate transaction FC_IMPLEMENT_DERIVED_EXCEPTION (pop_empty_chain, undo_database_exception, 3070001, "there are no blocks to pop") GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS(transfer)
 
 GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS (limit_order_create)
 
 GRAPHENE_IMPLEMENT_OP_EVALUATE_EXCEPTION (kill_unfilled, limit_order_create, 1, "Killing limit order due to unable to fill") GRAPHENE_IMPLEMENT_OP_EVALUATE_EXCEPTION(market_not_whitelisted
 
The market has not been whitelisted by the selling asset GRAPHENE_IMPLEMENT_OP_EVALUATE_EXCEPTION (market_blacklisted, limit_order_create, 3, "The market has been blacklisted by the selling asset") GRAPHENE_IMPLEMENT_OP_EVALUATE_EXCEPTION(selling_asset_unauthorized
 
The market has not been whitelisted by the selling asset The account is not allowed to transact the selling asset GRAPHENE_IMPLEMENT_OP_EVALUATE_EXCEPTION (receiving_asset_unauthorized, limit_order_create, 5, "The account is not allowed to transact the receiving asset") GRAPHENE_IMPLEMENT_OP_EVALUATE_EXCEPTION(insufficient_balance
 
The market has not been whitelisted by the selling asset The account is not allowed to transact the selling asset Insufficient balance GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS (limit_order_cancel)
 
 GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS (call_order_update)
 
 GRAPHENE_IMPLEMENT_OP_EVALUATE_EXCEPTION (unfilled_margin_call, call_order_update, 1, "Updating call order would trigger a margin call that cannot be fully filled") GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS(account_create)
 
 GRAPHENE_IMPLEMENT_OP_EVALUATE_EXCEPTION (buyback_incorrect_issuer, account_create, 3, "Incorrect issuer specified for account") GRAPHENE_IMPLEMENT_OP_EVALUATE_EXCEPTION(buyback_already_exists
 
Cannot create buyback for asset which already has buyback GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS (account_update)
 
 GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS (asset_reserve)
 
 GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS (proposal_create)
 
 GRAPHENE_IMPLEMENT_OP_EVALUATE_EXCEPTION (review_period_insufficient, proposal_create, 2, "review_period insufficient") GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS(balance_claim)
 
 GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS (override_transfer)
 
 GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS (blind_transfer)
 
 GRAPHENE_IMPLEMENT_OP_EVALUATE_EXCEPTION (unknown_commitment, blind_transfer, 1, "Attempting to claim an unknown prior commitment")
 
 GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS (liquidity_pool_exchange)
 
 GRAPHENE_IMPLEMENT_OP_EVALUATE_EXCEPTION (unfillable_price, liquidity_pool_exchange, 1, "Unable to exchange at expected price")
 
fc::variant_object get_config ()
 
optional< htlc_optionsget_committee_htlc_options (graphene::chain::database &db)
 
 GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS (transfer)
 
 GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS (limit_order_create)
 
 GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS (limit_order_cancel)
 
 GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS (call_order_update)
 
 GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS (account_create)
 
 GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS (account_update)
 
 GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS (asset_reserve)
 
 GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS (proposal_create)
 
 GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS (balance_claim)
 
 GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS (override_transfer)
 
 GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS (blind_transfer)
 
 GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS (liquidity_pool_exchange)
 
void operation_get_impacted_accounts (const graphene::chain::operation &op, fc::flat_set< graphene::chain::account_id_type > &result, bool ignore_custom_operation_required_auths)
 
void transaction_get_impacted_accounts (const graphene::chain::transaction &tx, fc::flat_set< graphene::chain::account_id_type > &result, bool ignore_custom_operation_required_auths)
 
bool is_authorized_asset (const database &d, const account_object &acct, const asset_object &asset_obj)
 
void evaluate_special_authority (const database &db, const special_authority &auth)
 
bool sum_below_max_shares (const asset &a, const asset &b)
 
 VESTING_VISITOR (on_deposit,)
 
 VESTING_VISITOR (on_deposit_vested,)
 
 VESTING_VISITOR (on_withdraw,)
 
 VESTING_VISITOR (is_deposit_allowed, const)
 
 VESTING_VISITOR (is_deposit_vested_allowed, const)
 
 VESTING_VISITOR (is_withdraw_allowed, const)
 
 VESTING_VISITOR (get_allowed_withdraw, const)
 

Variables

 chain_exception
 
block validation exception operation validation exception utility method exception transaction_process_exception
 
 limit_order_create
 
 account_create
 

Typedef Documentation

◆ account_balance_index

Definition at line 413 of file account_object.hpp.

◆ account_balance_object_multi_index_type

typedef multi_index_container< account_balance_object, indexed_by< ordered_unique< tag<by_id>, member< object, object_id_type, &object::id > >, ordered_non_unique< tag<by_maintenance_flag>, member< account_balance_object, bool, &account_balance_object::maintenance_flag > >, ordered_unique< tag<by_asset_balance>, composite_key< account_balance_object, member<account_balance_object, asset_id_type, &account_balance_object::asset_type>, member<account_balance_object, share_type, &account_balance_object::balance>, member<account_balance_object, account_id_type, &account_balance_object::owner> >, composite_key_compare< std::less< asset_id_type >, std::greater< share_type >, std::less< account_id_type > > > > > graphene::chain::account_balance_object_multi_index_type

Definition at line 384 of file account_object.hpp.

◆ account_history_index

Definition at line 165 of file operation_history_object.hpp.

◆ account_history_multi_idx_type

using graphene::chain::account_history_multi_idx_type = typedef multi_index_container< account_history_object, indexed_by< ordered_unique< tag<by_id>, member< object, object_id_type, &object::id > >, ordered_unique< tag<by_seq>, composite_key< account_history_object, member< account_history_object, account_id_type, &account_history_object::account>, member< account_history_object, uint64_t, &account_history_object::sequence> > >, ordered_unique< tag<by_op>, composite_key< account_history_object, member< account_history_object, account_id_type, &account_history_object::account>, member< account_history_object, operation_history_id_type, &account_history_object::operation_id> >, composite_key_compare< std::less< account_id_type >, std::greater< operation_history_id_type > > >, ordered_non_unique< tag<by_opid>, member< account_history_object, operation_history_id_type, &account_history_object::operation_id> > > >

Definition at line 163 of file operation_history_object.hpp.

◆ account_index

Definition at line 431 of file account_object.hpp.

◆ account_multi_index_type

typedef multi_index_container< account_object, indexed_by< ordered_unique< tag<by_id>, member< object, object_id_type, &object::id > >, ordered_unique< tag<by_name>, member<account_object, string, &account_object::name> > > > graphene::chain::account_multi_index_type

Definition at line 415 of file account_object.hpp.

◆ account_stats_index

Definition at line 467 of file account_object.hpp.

◆ account_stats_multi_index_type

typedef multi_index_container< account_statistics_object, indexed_by< ordered_unique< tag<by_id>, member< object, object_id_type, &object::id > >, ordered_unique< tag<by_maintenance_seq>, composite_key< account_statistics_object, const_mem_fun<account_statistics_object, bool, &account_statistics_object::need_maintenance>, member<account_statistics_object, string, &account_statistics_object::name> > >, ordered_non_unique< tag<by_voting_power_active>, composite_key< account_statistics_object, member<account_statistics_object, time_point_sec, &account_statistics_object::vote_tally_time>, member<account_statistics_object, uint64_t, &account_statistics_object::vp_active> >, composite_key_compare< std::greater< time_point_sec >, std::greater< uint64_t > > > > > graphene::chain::account_stats_multi_index_type

Definition at line 434 of file account_object.hpp.

◆ asset_bitasset_data_index

Definition at line 439 of file asset_object.hpp.

◆ asset_index

Definition at line 463 of file asset_object.hpp.

◆ asset_object_multi_index_type

using graphene::chain::asset_object_multi_index_type = typedef multi_index_container< asset_object, indexed_by< ordered_unique< tag<by_id>, member< object, object_id_type, &object::id > >, ordered_unique< tag<by_symbol>, member<asset_object, string, &asset_object::symbol> >, ordered_unique< tag<by_type>, composite_key< asset_object, const_mem_fun<asset_object, bool, &asset_object::is_market_issued>, member< object, object_id_type, &object::id > > >, ordered_unique< tag<by_issuer>, composite_key< asset_object, member< asset_object, account_id_type, &asset_object::issuer >, member< object, object_id_type, &object::id > > > > >

Definition at line 462 of file asset_object.hpp.

◆ balance_index

Definition at line 68 of file balance_object.hpp.

◆ balance_multi_index_type

using graphene::chain::balance_multi_index_type = typedef multi_index_container< balance_object, indexed_by< ordered_unique< tag<by_id>, member< object, object_id_type, &object::id > >, ordered_non_unique< tag<by_owner>, composite_key< balance_object, member<balance_object, address, &balance_object::owner>, const_mem_fun<balance_object, asset_id_type, &balance_object::asset_type> > > > >

Definition at line 63 of file balance_object.hpp.

◆ bitasset_data_multi_index_type

using graphene::chain::bitasset_data_multi_index_type = typedef multi_index_container< asset_bitasset_data_object, indexed_by< ordered_unique< tag<by_id>, member< object, object_id_type, &object::id > >, ordered_non_unique< tag<by_short_backing_asset>, bitasset_backing_asst_extractor >, ordered_unique< tag<by_feed_expiration>, composite_key< asset_bitasset_data_object, const_mem_fun< asset_bitasset_data_object, time_point_sec, &asset_bitasset_data_object::feed_expiration_time >, member< asset_bitasset_data_object, asset_id_type, &asset_bitasset_data_object::asset_id > > >, ordered_non_unique< tag<by_cer_update>, const_mem_fun< asset_bitasset_data_object, bool, &asset_bitasset_data_object::need_to_update_cer > > > >

Definition at line 438 of file asset_object.hpp.

◆ blinded_balance_index

Definition at line 63 of file confidential_object.hpp.

◆ blinded_balance_obj_multi_idx

using graphene::chain::blinded_balance_obj_multi_idx = typedef multi_index_container< blinded_balance_object, indexed_by< ordered_unique< tag<by_id>, member< object, object_id_type, &object::id > >, ordered_unique< tag<by_commitment>, member<blinded_balance_object, commitment_type, &blinded_balance_object::commitment> > > >

Definition at line 62 of file confidential_object.hpp.

◆ buyback_index

Definition at line 60 of file buyback_object.hpp.

◆ buyback_multi_index_type

typedef multi_index_container< buyback_object, indexed_by< ordered_unique< tag<by_id>, member< object, object_id_type, &object::id > >, ordered_unique< tag<by_asset>, member< buyback_object, asset_id_type, &buyback_object::asset_to_buy> > >> graphene::chain::buyback_multi_index_type

Definition at line 50 of file buyback_object.hpp.

◆ call_order_index

Definition at line 276 of file market_object.hpp.

◆ call_order_multi_index_type

typedef multi_index_container< call_order_object, indexed_by< ordered_unique< tag<by_id>, member< object, object_id_type, &object::id > >, ordered_unique< tag<by_price>, composite_key< call_order_object, member< call_order_object, price, &call_order_object::call_price>, member< object, object_id_type, &object::id> >, composite_key_compare< std::less<price>, std::less<object_id_type> > >, ordered_unique< tag<by_account>, composite_key< call_order_object, member< call_order_object, account_id_type, &call_order_object::borrower >, const_mem_fun< call_order_object, asset_id_type, &call_order_object::debt_type> > >, ordered_unique< tag<by_collateral>, composite_key< call_order_object, const_mem_fun< call_order_object, price, &call_order_object::collateralization >, member< object, object_id_type, &object::id > > > >> graphene::chain::call_order_multi_index_type

Definition at line 205 of file market_object.hpp.

◆ collateral_bid_index

Definition at line 278 of file market_object.hpp.

◆ collateral_bid_object_multi_index_type

typedef multi_index_container< collateral_bid_object, indexed_by< ordered_unique< tag<by_id>, member< object, object_id_type, &object::id > >, ordered_unique< tag<by_account>, composite_key< collateral_bid_object, const_mem_fun< collateral_bid_object, asset_id_type, &collateral_bid_object::debt_type>, member< collateral_bid_object, account_id_type, &collateral_bid_object::bidder> > >, ordered_unique< tag<by_price>, composite_key< collateral_bid_object, const_mem_fun< collateral_bid_object, asset_id_type, &collateral_bid_object::debt_type>, member< collateral_bid_object, price, &collateral_bid_object::inv_swan_price >, member< object, object_id_type, &object::id > >, composite_key_compare< std::less<asset_id_type>, std::greater<price>, std::less<object_id_type> > > >> graphene::chain::collateral_bid_object_multi_index_type

Definition at line 274 of file market_object.hpp.

◆ committee_member_index

Definition at line 69 of file committee_member_object.hpp.

◆ committee_member_multi_index_type

using graphene::chain::committee_member_multi_index_type = typedef multi_index_container< committee_member_object, indexed_by< ordered_unique< tag<by_id>, member<object, object_id_type, &object::id> >, ordered_unique< tag<by_account>, member<committee_member_object, account_id_type, &committee_member_object::committee_member_account> >, ordered_unique< tag<by_vote_id>, member<committee_member_object, vote_id_type, &committee_member_object::vote_id> > > >

Definition at line 68 of file committee_member_object.hpp.

◆ credit_deal_index

Definition at line 174 of file credit_offer_object.hpp.

◆ credit_deal_multi_index_type

using graphene::chain::credit_deal_multi_index_type = typedef multi_index_container< credit_deal_object, indexed_by< ordered_unique< tag<by_id>, member< object, object_id_type, &object::id > >, ordered_unique< tag<by_latest_repay_time>, composite_key< credit_deal_object, member< credit_deal_object, time_point_sec, &credit_deal_object::latest_repay_time >, member< object, object_id_type, &object::id> > >, ordered_unique< tag<by_offer_id>, composite_key< credit_deal_object, member< credit_deal_object, credit_offer_id_type, &credit_deal_object::offer_id >, member< object, object_id_type, &object::id> > >, ordered_unique< tag<by_offer_owner>, composite_key< credit_deal_object, member< credit_deal_object, account_id_type, &credit_deal_object::offer_owner >, member< object, object_id_type, &object::id> > >, ordered_unique< tag<by_borrower>, composite_key< credit_deal_object, member< credit_deal_object, account_id_type, &credit_deal_object::borrower >, member< object, object_id_type, &object::id> > >, ordered_unique< tag<by_debt_asset>, composite_key< credit_deal_object, member< credit_deal_object, asset_id_type, &credit_deal_object::debt_asset >, member< object, object_id_type, &object::id> > >, ordered_unique< tag<by_collateral_asset>, composite_key< credit_deal_object, member< credit_deal_object, asset_id_type, &credit_deal_object::collateral_asset >, member< object, object_id_type, &object::id> > > > >

Definition at line 169 of file credit_offer_object.hpp.

◆ credit_deal_summary_index

Definition at line 215 of file credit_offer_object.hpp.

◆ credit_deal_summary_index_type

using graphene::chain::credit_deal_summary_index_type = typedef multi_index_container< credit_deal_summary_object, indexed_by< ordered_unique< tag<by_id>, member< object, object_id_type, &object::id > >, ordered_unique< tag<by_offer_borrower>, composite_key< credit_deal_summary_object, member< credit_deal_summary_object, credit_offer_id_type, &credit_deal_summary_object::offer_id >, member< credit_deal_summary_object, account_id_type, &credit_deal_summary_object::borrower > > > > >

Definition at line 210 of file credit_offer_object.hpp.

◆ credit_offer_index

Definition at line 95 of file credit_offer_object.hpp.

◆ credit_offer_multi_index_type

using graphene::chain::credit_offer_multi_index_type = typedef multi_index_container< credit_offer_object, indexed_by< ordered_unique< tag<by_id>, member< object, object_id_type, &object::id > >, ordered_unique< tag<by_auto_disable_time>, composite_key< credit_offer_object, member< credit_offer_object, bool, &credit_offer_object::enabled >, member< credit_offer_object, time_point_sec, &credit_offer_object::auto_disable_time >, member< object, object_id_type, &object::id> > >, ordered_unique< tag<by_owner>, composite_key< credit_offer_object, member< credit_offer_object, account_id_type, &credit_offer_object::owner_account >, member< object, object_id_type, &object::id> > >, ordered_unique< tag<by_asset_type>, composite_key< credit_offer_object, member< credit_offer_object, asset_id_type, &credit_offer_object::asset_type >, member< object, object_id_type, &object::id> > > > >

Definition at line 90 of file credit_offer_object.hpp.

◆ custom_authority_index

Definition at line 110 of file custom_authority_object.hpp.

◆ custom_authority_multi_index_type

Definition at line 82 of file custom_authority_object.hpp.

◆ force_settlement_index

Definition at line 277 of file market_object.hpp.

◆ force_settlement_object_multi_index_type

typedef multi_index_container< force_settlement_object, indexed_by< ordered_unique< tag<by_id>, member< object, object_id_type, &object::id > >, ordered_unique< tag<by_account>, composite_key< force_settlement_object, member<force_settlement_object, account_id_type, &force_settlement_object::owner>, member< object, object_id_type, &object::id > > >, ordered_unique< tag<by_expiration>, composite_key< force_settlement_object, const_mem_fun<force_settlement_object, asset_id_type, &force_settlement_object::settlement_asset_id>, member<force_settlement_object, time_point_sec, &force_settlement_object::settlement_date>, member< object, object_id_type, &object::id > > > >> graphene::chain::force_settlement_object_multi_index_type

Definition at line 233 of file market_object.hpp.

◆ htlc_index

Definition at line 116 of file htlc_object.hpp.

◆ htlc_object_multi_index_type

using graphene::chain::htlc_object_multi_index_type = typedef multi_index_container< htlc_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type, &object::id > >, ordered_unique< tag< by_expiration >, composite_key< htlc_object, htlc_object::timelock_extractor, member< object, object_id_type, &object::id > > >, ordered_unique< tag< by_from_id >, composite_key< htlc_object, htlc_object::from_extractor, member< object, object_id_type, &object::id > > >, ordered_unique< tag< by_to_id >, composite_key< htlc_object, htlc_object::to_extractor, member< object, object_id_type, &object::id > > > > >

Definition at line 114 of file htlc_object.hpp.

◆ item_ptr

typedef shared_ptr<fork_item> graphene::chain::item_ptr

Definition at line 57 of file fork_database.hpp.

◆ limit_order_index

Definition at line 116 of file market_object.hpp.

◆ limit_order_multi_index_type

typedef multi_index_container< limit_order_object, indexed_by< ordered_unique< tag<by_id>, member< object, object_id_type, &object::id > >, ordered_unique< tag<by_expiration>, composite_key< limit_order_object, member< limit_order_object, time_point_sec, &limit_order_object::expiration>, member< object, object_id_type, &object::id> > >, ordered_unique< tag<by_price>, composite_key< limit_order_object, member< limit_order_object, price, &limit_order_object::sell_price>, member< object, object_id_type, &object::id> >, composite_key_compare< std::greater<price>, std::less<object_id_type> > >, ordered_unique< tag<by_is_settled_debt>, composite_key< limit_order_object, member< limit_order_object, bool, &limit_order_object::is_settled_debt >, const_mem_fun< limit_order_object, asset_id_type, &limit_order_object::receive_asset_id >, member< object, object_id_type, &object::id> > >, ordered_unique< tag<by_account>, composite_key< limit_order_object, member<limit_order_object, account_id_type, &limit_order_object::seller>, member<object, object_id_type, &object::id> > >, ordered_unique< tag<by_account_price>, composite_key< limit_order_object, member<limit_order_object, account_id_type, &limit_order_object::seller>, member<limit_order_object, price, &limit_order_object::sell_price>, member<object, object_id_type, &object::id> >, composite_key_compare<std::less<account_id_type>, std::greater<price>, std::less<object_id_type> > > >> graphene::chain::limit_order_multi_index_type

Definition at line 72 of file market_object.hpp.

◆ liquidity_pool_index

Definition at line 101 of file liquidity_pool_object.hpp.

◆ liquidity_pool_multi_index_type

typedef multi_index_container< liquidity_pool_object, indexed_by< ordered_unique< tag<by_id>, member< object, object_id_type, &object::id > >, ordered_unique< tag<by_share_asset>, member< liquidity_pool_object, asset_id_type, &liquidity_pool_object::share_asset > >, ordered_unique< tag<by_asset_a>, composite_key< liquidity_pool_object, member< liquidity_pool_object, asset_id_type, &liquidity_pool_object::asset_a >, member< object, object_id_type, &object::id> > >, ordered_unique< tag<by_asset_b>, composite_key< liquidity_pool_object, member< liquidity_pool_object, asset_id_type, &liquidity_pool_object::asset_b >, member< object, object_id_type, &object::id> > >, ordered_unique< tag<by_asset_ab>, composite_key< liquidity_pool_object, member< liquidity_pool_object, asset_id_type, &liquidity_pool_object::asset_a >, member< liquidity_pool_object, asset_id_type, &liquidity_pool_object::asset_b >, member< object, object_id_type, &object::id> > > >> graphene::chain::liquidity_pool_multi_index_type

Definition at line 65 of file liquidity_pool_object.hpp.

◆ operation_history_index

Definition at line 133 of file operation_history_object.hpp.

◆ operation_history_mlti_idx_type

using graphene::chain::operation_history_mlti_idx_type = typedef multi_index_container< operation_history_object, indexed_by< ordered_unique< tag<by_id>, member< object, object_id_type, &object::id > >, ordered_unique< tag<by_block>, composite_key< operation_history_object, member< operation_history_object, uint32_t, &operation_history_object::block_num>, member< operation_history_object, uint16_t, &operation_history_object::trx_in_block>, member< operation_history_object, uint16_t, &operation_history_object::op_in_trx>, member< operation_history_object, uint32_t, &operation_history_object::virtual_op> > >, ordered_unique< tag<by_time>, composite_key< operation_history_object, member< operation_history_object, time_point_sec, &operation_history_object::block_time>, member< object, object_id_type, &object::id > >, composite_key_compare< std::greater< time_point_sec >, std::greater< object_id_type > > > > >

Definition at line 131 of file operation_history_object.hpp.

◆ proposal_index

Definition at line 99 of file proposal_object.hpp.

◆ proposal_multi_index_container

typedef boost::multi_index_container< proposal_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type, &object::id > >, ordered_unique<tag<by_expiration>, composite_key<proposal_object, member<proposal_object, time_point_sec, &proposal_object::expiration_time>, member< object, object_id_type, &object::id > > > >> graphene::chain::proposal_multi_index_container

Definition at line 98 of file proposal_object.hpp.

◆ samet_fund_index

Definition at line 85 of file samet_fund_object.hpp.

◆ samet_fund_multi_index_type

using graphene::chain::samet_fund_multi_index_type = typedef multi_index_container< samet_fund_object, indexed_by< ordered_unique< tag<by_id>, member< object, object_id_type, &object::id > >, ordered_unique< tag<by_unpaid>, composite_key< samet_fund_object, member< samet_fund_object, share_type, &samet_fund_object::unpaid_amount >, member< object, object_id_type, &object::id> >, composite_key_compare< std::greater<share_type>, std::less<object_id_type> > >, ordered_unique< tag<by_owner>, composite_key< samet_fund_object, member< samet_fund_object, account_id_type, &samet_fund_object::owner_account >, member< object, object_id_type, &object::id> > >, ordered_unique< tag<by_asset_type>, composite_key< samet_fund_object, member< samet_fund_object, asset_id_type, &samet_fund_object::asset_type >, member< object, object_id_type, &object::id> > > > >

Definition at line 80 of file samet_fund_object.hpp.

◆ special_authority_index

Definition at line 60 of file special_authority_object.hpp.

◆ special_authority_multi_idx_typ

using graphene::chain::special_authority_multi_idx_typ = typedef multi_index_container< special_authority_object, indexed_by< ordered_unique< tag<by_id>, member< object, object_id_type, &object::id > >, ordered_unique< tag<by_account>, member< special_authority_object, account_id_type, &special_authority_object::account> > > >

Definition at line 58 of file special_authority_object.hpp.

◆ ticket_index

Definition at line 144 of file ticket_object.hpp.

◆ ticket_multi_index_type

typedef multi_index_container< ticket_object, indexed_by< ordered_unique< tag<by_id>, member< object, object_id_type, &object::id > >, ordered_unique< tag<by_next_update>, composite_key< ticket_object, member< ticket_object, time_point_sec, &ticket_object::next_auto_update_time>, member< object, object_id_type, &object::id> > >, ordered_unique< tag<by_account>, composite_key< ticket_object, member< ticket_object, account_id_type, &ticket_object::account>, member< object, object_id_type, &object::id> > > >> graphene::chain::ticket_multi_index_type

Definition at line 117 of file ticket_object.hpp.

◆ transaction_index

Definition at line 67 of file transaction_history_object.hpp.

◆ transaction_multi_index_type

typedef multi_index_container< transaction_history_object, indexed_by< ordered_unique< tag<by_id>, member< object, object_id_type, &object::id > >, hashed_unique< tag<by_trx_id>, BOOST_MULTI_INDEX_MEMBER(transaction_history_object, transaction_id_type, trx_id), std::hash<transaction_id_type> >, ordered_non_unique< tag<by_expiration>, const_mem_fun< transaction_history_object, time_point_sec, &transaction_history_object::get_expiration > > > > graphene::chain::transaction_multi_index_type

Definition at line 55 of file transaction_history_object.hpp.

◆ vesting_balance_index

Definition at line 270 of file vesting_balance_object.hpp.

◆ vesting_balance_multi_index_type

typedef multi_index_container< vesting_balance_object, indexed_by< ordered_unique< tag<by_id>, member< object, object_id_type, &object::id > >, ordered_non_unique< tag<by_account>, member<vesting_balance_object, account_id_type, &vesting_balance_object::owner> >, hashed_unique< tag<by_vesting_type>, identity<vesting_balance_object>, detail::vesting_balance_object_hash, detail::vesting_balance_object_equal > > > graphene::chain::vesting_balance_multi_index_type

Definition at line 266 of file vesting_balance_object.hpp.

◆ vesting_policy

Definition at line 141 of file vesting_balance_object.hpp.

◆ withdraw_permission_index

Definition at line 121 of file withdraw_permission_object.hpp.

◆ withdraw_permission_obj_mlt_idx

using graphene::chain::withdraw_permission_obj_mlt_idx = typedef multi_index_container< withdraw_permission_object, indexed_by< ordered_unique< tag<by_id>, member< object, object_id_type, &object::id > >, ordered_unique< tag<by_from>, composite_key< withdraw_permission_object, member< withdraw_permission_object, account_id_type, &withdraw_permission_object::withdraw_from_account >, member< object, object_id_type, &object::id > > >, ordered_unique< tag<by_authorized>, composite_key< withdraw_permission_object, member< withdraw_permission_object, account_id_type, &withdraw_permission_object::authorized_account >, member< object, object_id_type, &object::id > > >, ordered_unique< tag<by_expiration>, composite_key< withdraw_permission_object, member< withdraw_permission_object, time_point_sec, &withdraw_permission_object::expiration >, member< object, object_id_type, &object::id > > > > >

Definition at line 119 of file withdraw_permission_object.hpp.

◆ witness_index

Definition at line 63 of file witness_object.hpp.

◆ witness_multi_index_type

using graphene::chain::witness_multi_index_type = typedef multi_index_container< witness_object, indexed_by< ordered_unique< tag<by_id>, member<object, object_id_type, &object::id> >, ordered_unique< tag<by_account>, member<witness_object, account_id_type, &witness_object::witness_account> >, ordered_unique< tag<by_vote_id>, member<witness_object, vote_id_type, &witness_object::vote_id> > > >

Definition at line 62 of file witness_object.hpp.

◆ worker_index

Definition at line 157 of file worker_object.hpp.

◆ worker_object_multi_index_type

typedef multi_index_container< worker_object, indexed_by< ordered_unique< tag<by_id>, member< object, object_id_type, &object::id > >, ordered_non_unique< tag<by_account>, member< worker_object, account_id_type, &worker_object::worker_account > >, ordered_unique< tag<by_vote_for>, member< worker_object, vote_id_type, &worker_object::vote_for > >, ordered_unique< tag<by_vote_against>, member< worker_object, vote_id_type, &worker_object::vote_against > >, ordered_non_unique< tag<by_end_date>, member< worker_object, time_point_sec, &worker_object::work_end_date> > >> graphene::chain::worker_object_multi_index_type

Definition at line 145 of file worker_object.hpp.

◆ worker_type

Definition at line 101 of file worker_object.hpp.

Enumeration Type Documentation

◆ graphene_fba_accumulator_id_enum

An object will be created at genesis for each of these FBA accumulators.

Enumerator
fba_accumulator_id_transfer_to_blind 
fba_accumulator_id_blind_transfer 
fba_accumulator_id_transfer_from_blind 
fba_accumulator_id_count 

Definition at line 33 of file fba_accumulator_id.hpp.

◆ ticket_status

Status of a ticket.

Enumerator
charging 
stable 
withdrawing 
TICKET_STATUS_COUNT 

Definition at line 41 of file ticket_object.hpp.

◆ ticket_version

Version of a ticket.

Enumerator
ticket_v1 
ticket_v2 

Definition at line 50 of file ticket_object.hpp.

◆ vesting_balance_type

Enumerator
unspecified 
cashback 
worker 
witness 
market_fee_sharing 

Definition at line 143 of file vesting_balance_object.hpp.

Function Documentation

◆ check_children_of_bitasset()

void graphene::chain::check_children_of_bitasset ( const database d,
const asset_update_bitasset_operation op,
const asset_object new_backing_asset 
)

Definition at line 696 of file asset_evaluator.cpp.

◆ create_buyback_orders()

void graphene::chain::create_buyback_orders ( database db)

Definition at line 720 of file db_maint.cpp.

◆ cut_fee()

share_type graphene::chain::cut_fee ( share_type  a,
uint16_t  p 
)

Definition at line 32 of file account_object.cpp.

◆ debug_apply_update()

void graphene::chain::debug_apply_update ( database db,
const fc::variant_object vo 
)

Definition at line 117 of file db_debug.cpp.

◆ delete_expired_custom_auths()

void graphene::chain::delete_expired_custom_auths ( database db)

Remove any custom active authorities whose expiration dates are in the past.

Parameters
dbA mutable database reference

Definition at line 1123 of file db_maint.cpp.

◆ deprecate_annual_members()

void graphene::chain::deprecate_annual_members ( database db)

Definition at line 796 of file db_maint.cpp.

◆ distribute_fba_balances()

void graphene::chain::distribute_fba_balances ( database db)

Definition at line 709 of file db_maint.cpp.

◆ evaluate_buyback_account_options()

void graphene::chain::evaluate_buyback_account_options ( const database db,
const buyback_account_options bbo 
)

Definition at line 32 of file buyback.cpp.

◆ evaluate_special_authority()

void graphene::chain::evaluate_special_authority ( const database db,
const special_authority auth 
)

Definition at line 46 of file special_authority_evaluation.cpp.

◆ FC_IMPLEMENT_DERIVED_EXCEPTION() [1/5]

graphene::chain::FC_IMPLEMENT_DERIVED_EXCEPTION ( database_query_exception  ,
chain_exception  ,
3010000  ,
"database query exception"   
)

◆ FC_IMPLEMENT_DERIVED_EXCEPTION() [2/5]

block validation exception graphene::chain::FC_IMPLEMENT_DERIVED_EXCEPTION ( transaction_process_exception  ,
chain_exception  ,
3030000  ,
"transaction processing exception"   
)

◆ FC_IMPLEMENT_DERIVED_EXCEPTION() [3/5]

block validation exception operation validation exception graphene::chain::FC_IMPLEMENT_DERIVED_EXCEPTION ( operation_evaluate_exception  ,
chain_exception  ,
3050000  ,
"operation evaluation exception"   
)

◆ FC_IMPLEMENT_DERIVED_EXCEPTION() [4/5]

block validation exception operation validation exception utility method exception graphene::chain::FC_IMPLEMENT_DERIVED_EXCEPTION ( undo_database_exception  ,
chain_exception  ,
3070000  ,
"undo database exception"   
)

◆ FC_IMPLEMENT_DERIVED_EXCEPTION() [5/5]

block validation exception operation validation exception utility method exception duplicate transaction graphene::chain::FC_IMPLEMENT_DERIVED_EXCEPTION ( pop_empty_chain  ,
undo_database_exception  ,
3070001  ,
"there are no blocks to pop"   
)

◆ get_committee_htlc_options()

optional<htlc_options> graphene::chain::get_committee_htlc_options ( graphene::chain::database db)

Definition at line 69 of file htlc_evaluator.cpp.

◆ get_config()

fc::variant_object graphene::chain::get_config ( )

Definition at line 31 of file get_config.cpp.

◆ GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS() [1/12]

graphene::chain::GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS ( transfer  )

◆ GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS() [2/12]

graphene::chain::GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS ( limit_order_create  )

◆ GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS() [3/12]

graphene::chain::GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS ( limit_order_cancel  )

◆ GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS() [4/12]

graphene::chain::GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS ( call_order_update  )

◆ GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS() [5/12]

graphene::chain::GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS ( account_create  )

◆ GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS() [6/12]

graphene::chain::GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS ( account_update  )

◆ GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS() [7/12]

graphene::chain::GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS ( asset_reserve  )

◆ GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS() [8/12]

graphene::chain::GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS ( proposal_create  )

◆ GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS() [9/12]

graphene::chain::GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS ( balance_claim  )

◆ GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS() [10/12]

graphene::chain::GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS ( override_transfer  )

◆ GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS() [11/12]

graphene::chain::GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS ( blind_transfer  )

◆ GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS() [12/12]

graphene::chain::GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS ( liquidity_pool_exchange  )

◆ GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS() [1/9]

graphene::chain::GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS ( limit_order_create  )

◆ GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS() [2/9]

The market has not been whitelisted by the selling asset The account is not allowed to transact the selling asset Insufficient balance graphene::chain::GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS ( limit_order_cancel  )

◆ GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS() [3/9]

graphene::chain::GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS ( call_order_update  )

◆ GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS() [4/9]

Cannot create buyback for asset which already has buyback graphene::chain::GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS ( account_update  )

◆ GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS() [5/9]

graphene::chain::GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS ( asset_reserve  )

◆ GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS() [6/9]

graphene::chain::GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS ( proposal_create  )

◆ GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS() [7/9]

graphene::chain::GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS ( override_transfer  )

◆ GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS() [8/9]

graphene::chain::GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS ( blind_transfer  )

◆ GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS() [9/9]

graphene::chain::GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS ( liquidity_pool_exchange  )

◆ GRAPHENE_IMPLEMENT_OP_EVALUATE_EXCEPTION() [1/8]

graphene::chain::GRAPHENE_IMPLEMENT_OP_EVALUATE_EXCEPTION ( kill_unfilled  ,
limit_order_create  ,
,
"Killing limit order due to unable to fill"   
)

◆ GRAPHENE_IMPLEMENT_OP_EVALUATE_EXCEPTION() [2/8]

The market has not been whitelisted by the selling asset graphene::chain::GRAPHENE_IMPLEMENT_OP_EVALUATE_EXCEPTION ( market_blacklisted  ,
limit_order_create  ,
,
"The market has been blacklisted by the selling asset  
)

◆ GRAPHENE_IMPLEMENT_OP_EVALUATE_EXCEPTION() [3/8]

The market has not been whitelisted by the selling asset The account is not allowed to transact the selling asset graphene::chain::GRAPHENE_IMPLEMENT_OP_EVALUATE_EXCEPTION ( receiving_asset_unauthorized  ,
limit_order_create  ,
,
"The account is not allowed to transact the receiving asset  
)

◆ GRAPHENE_IMPLEMENT_OP_EVALUATE_EXCEPTION() [4/8]

graphene::chain::GRAPHENE_IMPLEMENT_OP_EVALUATE_EXCEPTION ( unfilled_margin_call  ,
call_order_update  ,
,
"Updating call order would trigger a margin call that cannot be fully filled"   
)

◆ GRAPHENE_IMPLEMENT_OP_EVALUATE_EXCEPTION() [5/8]

graphene::chain::GRAPHENE_IMPLEMENT_OP_EVALUATE_EXCEPTION ( buyback_incorrect_issuer  ,
account_create  ,
,
"Incorrect issuer specified for account"   
)

◆ GRAPHENE_IMPLEMENT_OP_EVALUATE_EXCEPTION() [6/8]

graphene::chain::GRAPHENE_IMPLEMENT_OP_EVALUATE_EXCEPTION ( review_period_insufficient  ,
proposal_create  ,
,
"review_period insufficient"   
)

◆ GRAPHENE_IMPLEMENT_OP_EVALUATE_EXCEPTION() [7/8]

graphene::chain::GRAPHENE_IMPLEMENT_OP_EVALUATE_EXCEPTION ( unknown_commitment  ,
blind_transfer  ,
,
"Attempting to claim an unknown prior commitment"   
)

◆ GRAPHENE_IMPLEMENT_OP_EVALUATE_EXCEPTION() [8/8]

graphene::chain::GRAPHENE_IMPLEMENT_OP_EVALUATE_EXCEPTION ( unfillable_price  ,
liquidity_pool_exchange  ,
,
"Unable to exchange at expected price  
)

◆ is_authorized_asset()

bool graphene::chain::is_authorized_asset ( const database d,
const account_object acct,
const asset_object asset_obj 
)
inline
Returns
true if the account is whitelisted and not blacklisted to transact in the provided asset; false otherwise.

Definition at line 43 of file is_authorized_asset.hpp.

◆ match_call_orders()

void graphene::chain::match_call_orders ( database db)

Match call orders for all bitAssets, including PMs.

market issued

Definition at line 936 of file db_maint.cpp.

◆ maybe_cull_small_order()

bool graphene::chain::maybe_cull_small_order ( database db,
const limit_order_object order 
)

There are times when the AMOUNT_FOR_SALE * SALE_PRICE == 0 which means that we have hit the limit where the seller is asking for nothing in return. When this happens we must refund any balance back to the seller, it is too small to be sold at the sale price.

If the order is a taker order (as opposed to a maker order), so the price is set by the counterparty, this check is deferred until the order becomes unmatched (see #555) – however, detecting this condition is the responsibility of the caller.

Definition at line 601 of file db_market.cpp.

◆ operation_get_impacted_accounts() [1/2]

void graphene::chain::operation_get_impacted_accounts ( const graphene::chain::operation op,
fc::flat_set< graphene::chain::account_id_type > &  result,
bool  ignore_custom_operation_required_auths 
)

◆ operation_get_impacted_accounts() [2/2]

void graphene::chain::operation_get_impacted_accounts ( const operation op,
flat_set< account_id_type > &  result,
bool  ignore_custom_op_required_auths 
)

Definition at line 391 of file db_notify.cpp.

◆ process_hf_1465()

void graphene::chain::process_hf_1465 ( database db)

Definition at line 998 of file db_maint.cpp.

◆ process_hf_2103()

void graphene::chain::process_hf_2103 ( database db)

Definition at line 1025 of file db_maint.cpp.

◆ process_hf_2262()

void graphene::chain::process_hf_2262 ( database db)

A one-time data process to set values of existing liquid tickets to zero.

Definition at line 1131 of file db_maint.cpp.

◆ process_hf_2281()

void graphene::chain::process_hf_2281 ( database db)

A one-time data process to cancel all collateral bids for assets that disabled collateral bidding already.

Definition at line 1147 of file db_maint.cpp.

◆ process_hf_868_890()

void graphene::chain::process_hf_868_890 ( database db)

Definition at line 1063 of file db_maint.cpp.

◆ split_fba_balance()

void graphene::chain::split_fba_balance ( database db,
uint64_t  fba_id,
uint16_t  network_pct,
uint16_t  designated_asset_buyback_pct,
uint16_t  designated_asset_issuer_pct 
)

Definition at line 628 of file db_maint.cpp.

◆ sum_below_max_shares()

bool graphene::chain::sum_below_max_shares ( const asset a,
const asset b 
)
inline

Definition at line 31 of file vesting_balance_object.cpp.

◆ transaction_get_impacted_accounts()

void graphene::chain::transaction_get_impacted_accounts ( const graphene::chain::transaction tx,
fc::flat_set< graphene::chain::account_id_type > &  result,
bool  ignore_custom_operation_required_auths 
)

◆ transaction_get_impacted_accs()

void graphene::chain::transaction_get_impacted_accs ( const transaction tx,
flat_set< account_id_type > &  result,
bool  ignore_custom_op_required_auths 
)

Definition at line 399 of file db_notify.cpp.

◆ update_call_orders_hf_1270()

void graphene::chain::update_call_orders_hf_1270 ( database db)

Reset call_price of all call orders to (1,1) since it won't be used in the future. Update PMs as well.

Definition at line 923 of file db_maint.cpp.

◆ update_call_orders_hf_343()

void graphene::chain::update_call_orders_hf_343 ( database db)

Reset call_price of all call orders according to their remaining collateral and debt. Do not update orders of prediction markets because we're sure they're up to date.

Definition at line 897 of file db_maint.cpp.

◆ update_top_n_authorities()

void graphene::chain::update_top_n_authorities ( database db)

Definition at line 589 of file db_maint.cpp.

◆ verify_account_votes()

void graphene::chain::verify_account_votes ( const database db,
const account_options options 
)

Definition at line 58 of file account_evaluator.cpp.

◆ verify_authority_accounts()

void graphene::chain::verify_authority_accounts ( const database db,
const authority a 
)

Definition at line 42 of file account_evaluator.cpp.

◆ VESTING_VISITOR() [1/7]

graphene::chain::VESTING_VISITOR ( on_deposit  )

◆ VESTING_VISITOR() [2/7]

graphene::chain::VESTING_VISITOR ( on_deposit_vested  )

◆ VESTING_VISITOR() [3/7]

graphene::chain::VESTING_VISITOR ( on_withdraw  )

◆ VESTING_VISITOR() [4/7]

graphene::chain::VESTING_VISITOR ( is_deposit_allowed  ,
const   
)

◆ VESTING_VISITOR() [5/7]

graphene::chain::VESTING_VISITOR ( is_deposit_vested_allowed  ,
const   
)

◆ VESTING_VISITOR() [6/7]

graphene::chain::VESTING_VISITOR ( is_withdraw_allowed  ,
const   
)

◆ VESTING_VISITOR() [7/7]

graphene::chain::VESTING_VISITOR ( get_allowed_withdraw  ,
const   
)

◆ visit_special_authorities()

template<typename Visitor >
void graphene::chain::visit_special_authorities ( const database db,
Visitor  visit 
)

Definition at line 571 of file db_maint.cpp.

Variable Documentation

◆ account_create

graphene::chain::account_create

Definition at line 100 of file exceptions.cpp.

◆ chain_exception

block validation exception operation validation exception graphene::chain::chain_exception

Definition at line 44 of file exceptions.cpp.

◆ limit_order_create

The market has not been whitelisted by the selling asset The account is not allowed to transact the selling asset graphene::chain::limit_order_create

Definition at line 76 of file exceptions.cpp.

◆ transaction_process_exception

block validation exception operation validation exception utility method exception graphene::chain::transaction_process_exception

Definition at line 62 of file exceptions.cpp.