Bitshares-Core  2.0.180202
Your share in the Decentralized Exchange
Namespaces | Classes | Typedefs | Functions
graphene::app Namespace Reference




class  abstract_plugin
struct  account_asset_balance
struct  api_access
struct  api_access_info
class  application
class  asset_api
struct  asset_holders
class  block_api
 Block api. More...
class  crypto_api
class  database_api
 The database_api class implements the RPC API for the chain database. More...
class  database_api_impl
struct  full_account
struct  get_impacted_account_visitor
struct  get_required_fees_helper
class  history_api
 The history_api class implements the RPC API for account history. More...
struct  history_operation_detail
class  login_api
 The login_api class implements the bottom layer of the RPC API. More...
struct  market_ticker
struct  market_trade
struct  market_volume
class  network_broadcast_api
 The network_broadcast_api class allows broadcasting of transactions. More...
class  network_node_api
 The network_node_api class allows maintenance of p2p connections. More...
struct  order
struct  order_book
class  plugin
struct  verify_range_proof_rewind_result
struct  verify_range_result


typedef boost::multiprecision::uint256_t u256


void operation_get_impacted_accounts (const operation &op, flat_set< account_id_type > &result)
void transaction_get_impacted_accounts (const transaction &tx, flat_set< account_id_type > &result)
void operation_get_impacted_accounts (const graphene::chain::operation &op, fc::flat_set< graphene::chain::account_id_type > &result)
void transaction_get_impacted_accounts (const graphene::chain::transaction &tx, fc::flat_set< graphene::chain::account_id_type > &result)
u256 to256 (const fc::uint128 &t)
fc::uint128 to_capped128 (const u256 &t)
string uint128_amount_to_string (const fc::uint128 &amount, const uint8_t precision)
string price_to_string (const price &_price, const uint8_t base_precision, const uint8_t quote_precision)
string price_diff_percent_string (const price &old_price, const price &new_price)
template<typename T >
dejsonify (const string &s)

Typedef Documentation

◆ u256

typedef boost::multiprecision::uint256_t graphene::app::u256

Definition at line 35 of file util.hpp.

Function Documentation

◆ dejsonify()

template<typename T >
T graphene::app::dejsonify ( const string &  s)

Some useful tools for boost::program_options arguments using vectors of JSON strings

Definition at line 126 of file plugin.hpp.

◆ operation_get_impacted_accounts() [1/2]

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

◆ operation_get_impacted_accounts() [2/2]

void graphene::app::operation_get_impacted_accounts ( const operation op,
flat_set< account_id_type > &  result 

Definition at line 216 of file impacted.cpp.

◆ price_diff_percent_string()

string graphene::app::price_diff_percent_string ( const price old_price,
const price new_price 

Definition at line 102 of file util.cpp.

◆ price_to_string()

string graphene::app::price_to_string ( const price _price,
const uint8_t  base_precision,
const uint8_t  quote_precision 

Definition at line 80 of file util.cpp.

◆ to256()

u256 graphene::app::to256 ( const fc::uint128 &  t)

Definition at line 30 of file util.cpp.

◆ to_capped128()

fc::uint128 graphene::app::to_capped128 ( const u256 t)

Definition at line 38 of file util.cpp.

◆ transaction_get_impacted_accounts() [1/2]

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

◆ transaction_get_impacted_accounts() [2/2]

void graphene::app::transaction_get_impacted_accounts ( const transaction tx,
flat_set< account_id_type > &  result 

Definition at line 222 of file impacted.cpp.

◆ uint128_amount_to_string()

string graphene::app::uint128_amount_to_string ( const fc::uint128 &  amount,
const uint8_t  precision 

Definition at line 54 of file util.cpp.