Bitshares-Core  2.0.181105
BitShares blockchain implementation and command-line interface software
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
graphene::wallet::detail::wallet_api_impl Class Reference

Public Member Functions

 wallet_api_impl (wallet_api &s, const wallet_data &initial_data, fc::api< login_api > rapi)
 
virtual ~wallet_api_impl ()
 
void encrypt_keys ()
 
void on_block_applied (const variant &block_id)
 
bool copy_wallet_file (string destination_filename)
 
bool is_locked () const
 
template<typename T >
get_object (object_id< T::space_id, T::type_id, T > id) const
 
void set_operation_fees (signed_transaction &tx, const fee_schedule &s)
 
variant info () const
 
variant_object about () const
 
chain_property_object get_chain_properties () const
 
global_property_object get_global_properties () const
 
dynamic_global_property_object get_dynamic_global_properties () const
 
std::string account_id_to_string (account_id_type id) const
 
account_object get_account (account_id_type id) const
 
account_object get_account (string account_name_or_id) const
 
account_id_type get_account_id (string account_name_or_id) const
 
optional< asset_objectfind_asset (asset_id_type id) const
 
optional< asset_objectfind_asset (string asset_symbol_or_id) const
 
asset_object get_asset (asset_id_type id) const
 
asset_object get_asset (string asset_symbol_or_id) const
 
asset_id_type get_asset_id (string asset_symbol_or_id) const
 
string get_wallet_filename () const
 
fc::ecc::private_key get_private_key (const public_key_type &id) const
 
fc::ecc::private_key get_private_key_for_account (const account_object &account) const
 
bool import_key (string account_name_or_id, string wif_key)
 
vector< signed_transactionimport_balance (string name_or_id, const vector< string > &wif_keys, bool broadcast)
 
bool load_wallet_file (string wallet_filename="")
 
void quit ()
 
void save_wallet_file (string wallet_filename="")
 
transaction_handle_type begin_builder_transaction ()
 
void add_operation_to_builder_transaction (transaction_handle_type transaction_handle, const operation &op)
 
void replace_operation_in_builder_transaction (transaction_handle_type handle, uint32_t operation_index, const operation &new_op)
 
asset set_fees_on_builder_transaction (transaction_handle_type handle, string fee_asset=GRAPHENE_SYMBOL)
 
transaction preview_builder_transaction (transaction_handle_type handle)
 
signed_transaction sign_builder_transaction (transaction_handle_type transaction_handle, bool broadcast=true)
 
pair< transaction_id_type, signed_transactionbroadcast_transaction (signed_transaction tx)
 
signed_transaction propose_builder_transaction (transaction_handle_type handle, time_point_sec expiration=time_point::now()+fc::minutes(1), uint32_t review_period_seconds=0, bool broadcast=true)
 
signed_transaction propose_builder_transaction2 (transaction_handle_type handle, string account_name_or_id, time_point_sec expiration=time_point::now()+fc::minutes(1), uint32_t review_period_seconds=0, bool broadcast=true)
 
void remove_builder_transaction (transaction_handle_type handle)
 
signed_transaction register_account (string name, public_key_type owner, public_key_type active, string registrar_account, string referrer_account, uint32_t referrer_percent, bool broadcast=false)
 
signed_transaction upgrade_account (string name, bool broadcast)
 
int find_first_unused_derived_key_index (const fc::ecc::private_key &parent_key)
 
signed_transaction create_account_with_private_key (fc::ecc::private_key owner_privkey, string account_name, string registrar_account, string referrer_account, bool broadcast=false, bool save_wallet=true)
 
signed_transaction create_account_with_brain_key (string brain_key, string account_name, string registrar_account, string referrer_account, bool broadcast=false, bool save_wallet=true)
 
signed_transaction create_asset (string issuer, string symbol, uint8_t precision, asset_options common, fc::optional< bitasset_options > bitasset_opts, bool broadcast=false)
 
signed_transaction update_asset (string symbol, optional< string > new_issuer, asset_options new_options, bool broadcast)
 
signed_transaction update_asset_issuer (string symbol, string new_issuer, bool broadcast)
 
signed_transaction update_bitasset (string symbol, bitasset_options new_options, bool broadcast)
 
signed_transaction update_asset_feed_producers (string symbol, flat_set< string > new_feed_producers, bool broadcast)
 
signed_transaction publish_asset_feed (string publishing_account, string symbol, price_feed feed, bool broadcast)
 
signed_transaction fund_asset_fee_pool (string from, string symbol, string amount, bool broadcast)
 
signed_transaction claim_asset_fee_pool (string symbol, string amount, bool broadcast)
 
signed_transaction reserve_asset (string from, string amount, string symbol, bool broadcast)
 
signed_transaction global_settle_asset (string symbol, price settle_price, bool broadcast)
 
signed_transaction settle_asset (string account_to_settle, string amount_to_settle, string symbol, bool broadcast)
 
signed_transaction bid_collateral (string bidder_name, string debt_amount, string debt_symbol, string additional_collateral, bool broadcast)
 
signed_transaction whitelist_account (string authorizing_account, string account_to_list, account_whitelist_operation::account_listing new_listing_status, bool broadcast)
 
signed_transaction create_committee_member (string owner_account, string url, bool broadcast)
 
witness_object get_witness (string owner_account)
 
committee_member_object get_committee_member (string owner_account)
 
signed_transaction create_witness (string owner_account, string url, bool broadcast)
 
signed_transaction update_witness (string witness_name, string url, string block_signing_key, bool broadcast)
 
signed_transaction create_worker (string owner_account, time_point_sec work_begin_date, time_point_sec work_end_date, share_type daily_pay, string name, string url, variant worker_settings, bool broadcast)
 
signed_transaction update_worker_votes (string account, worker_vote_delta delta, bool broadcast)
 
vector< vesting_balance_object_with_infoget_vesting_balances (string account_name)
 
signed_transaction withdraw_vesting (string witness_name, string amount, string asset_symbol, bool broadcast=false)
 
signed_transaction vote_for_committee_member (string voting_account, string committee_member, bool approve, bool broadcast)
 
signed_transaction vote_for_witness (string voting_account, string witness, bool approve, bool broadcast)
 
signed_transaction set_voting_proxy (string account_to_modify, optional< string > voting_account, bool broadcast)
 
signed_transaction set_desired_witness_and_committee_member_count (string account_to_modify, uint16_t desired_number_of_witnesses, uint16_t desired_number_of_committee_members, bool broadcast)
 
signed_transaction sign_transaction (signed_transaction tx, bool broadcast=false)
 
memo_data sign_memo (string from, string to, string memo)
 
string read_memo (const memo_data &md)
 
signed_transaction sell_asset (string seller_account, string amount_to_sell, string symbol_to_sell, string min_to_receive, string symbol_to_receive, uint32_t timeout_sec=0, bool fill_or_kill=false, bool broadcast=false)
 
signed_transaction borrow_asset (string seller_name, string amount_to_borrow, string asset_symbol, string amount_of_collateral, bool broadcast=false)
 
signed_transaction borrow_asset_ext (string seller_name, string amount_to_borrow, string asset_symbol, string amount_of_collateral, call_order_update_operation::extensions_type extensions, bool broadcast=false)
 
signed_transaction cancel_order (object_id_type order_id, bool broadcast=false)
 
signed_transaction transfer (string from, string to, string amount, string asset_symbol, string memo, bool broadcast=false)
 
signed_transaction issue_asset (string to_account, string amount, string symbol, string memo, bool broadcast=false)
 
std::map< string, std::function< string(fc::variant, const fc::variants &)> > get_result_formatters () const
 
signed_transaction propose_parameter_change (const string &proposing_account, fc::time_point_sec expiration_time, const variant_object &changed_values, bool broadcast=false)
 
signed_transaction propose_fee_change (const string &proposing_account, fc::time_point_sec expiration_time, const variant_object &changed_fees, bool broadcast=false)
 
signed_transaction approve_proposal (const string &fee_paying_account, const string &proposal_id, const approval_delta &delta, bool broadcast=false)
 
void dbg_make_uia (string creator, string symbol)
 
void dbg_make_mia (string creator, string symbol)
 
void dbg_push_blocks (const std::string &src_filename, uint32_t count)
 
void dbg_generate_blocks (const std::string &debug_wif_key, uint32_t count)
 
void dbg_stream_json_objects (const std::string &filename)
 
void dbg_update_object (const fc::variant_object &update)
 
void use_network_node_api ()
 
void use_debug_api ()
 
void network_add_nodes (const vector< string > &nodes)
 
vector< variant > network_get_connected_peers ()
 
void flood_network (string prefix, uint32_t number_of_transactions)
 
operation get_prototype_operation (string operation_name)
 

Static Public Member Functions

template<typename WorkerInit >
static WorkerInit _create_worker_initializer (const variant &worker_settings)
 

Public Attributes

api_documentation method_documentation
 
wallet_apiself
 
string _wallet_filename
 
wallet_data _wallet
 
map< public_key_type, string > _keys
 
fc::sha512 _checksum
 
chain_id_type _chain_id
 
fc::api< login_api_remote_api
 
fc::api< database_api_remote_db
 
fc::api< network_broadcast_api_remote_net_broadcast
 
fc::api< history_api_remote_hist
 
optional< fc::api< network_node_api > > _remote_net_node
 
optional< fc::api< graphene::debug_witness::debug_api > > _remote_debug
 
flat_map< string, operation_prototype_ops
 
static_variant_map _operation_which_map = create_static_variant_map< operation >()
 
const string _wallet_filename_extension = ".wallet"
 

Detailed Description

Definition at line 262 of file wallet.cpp.

Constructor & Destructor Documentation

◆ wallet_api_impl()

graphene::wallet::detail::wallet_api_impl::wallet_api_impl ( wallet_api s,
const wallet_data initial_data,
fc::api< login_api rapi 
)
inline

Definition at line 402 of file wallet.cpp.

◆ ~wallet_api_impl()

virtual graphene::wallet::detail::wallet_api_impl::~wallet_api_impl ( )
inlinevirtual

Definition at line 429 of file wallet.cpp.

Member Function Documentation

◆ _create_worker_initializer()

template<typename WorkerInit >
static WorkerInit graphene::wallet::detail::wallet_api_impl::_create_worker_initializer ( const variant &  worker_settings)
inlinestatic

Definition at line 1624 of file wallet.cpp.

◆ about()

variant_object graphene::wallet::detail::wallet_api_impl::about ( ) const
inline

Definition at line 532 of file wallet.cpp.

◆ account_id_to_string()

std::string graphene::wallet::detail::wallet_api_impl::account_id_to_string ( account_id_type  id) const
inline

Definition at line 578 of file wallet.cpp.

◆ add_operation_to_builder_transaction()

void graphene::wallet::detail::wallet_api_impl::add_operation_to_builder_transaction ( transaction_handle_type  transaction_handle,
const operation op 
)
inline

Definition at line 858 of file wallet.cpp.

◆ approve_proposal()

signed_transaction graphene::wallet::detail::wallet_api_impl::approve_proposal ( const string &  fee_paying_account,
const string &  proposal_id,
const approval_delta delta,
bool  broadcast = false 
)
inline

Definition at line 2560 of file wallet.cpp.

◆ begin_builder_transaction()

transaction_handle_type graphene::wallet::detail::wallet_api_impl::begin_builder_transaction ( )
inline

Definition at line 851 of file wallet.cpp.

◆ bid_collateral()

signed_transaction graphene::wallet::detail::wallet_api_impl::bid_collateral ( string  bidder_name,
string  debt_amount,
string  debt_symbol,
string  additional_collateral,
bool  broadcast 
)
inline

Definition at line 1435 of file wallet.cpp.

◆ borrow_asset()

signed_transaction graphene::wallet::detail::wallet_api_impl::borrow_asset ( string  seller_name,
string  amount_to_borrow,
string  asset_symbol,
string  amount_of_collateral,
bool  broadcast = false 
)
inline

Definition at line 2078 of file wallet.cpp.

◆ borrow_asset_ext()

signed_transaction graphene::wallet::detail::wallet_api_impl::borrow_asset_ext ( string  seller_name,
string  amount_to_borrow,
string  asset_symbol,
string  amount_of_collateral,
call_order_update_operation::extensions_type  extensions,
bool  broadcast = false 
)
inline

Definition at line 2099 of file wallet.cpp.

◆ broadcast_transaction()

pair<transaction_id_type,signed_transaction> graphene::wallet::detail::wallet_api_impl::broadcast_transaction ( signed_transaction  tx)
inline

Definition at line 908 of file wallet.cpp.

◆ cancel_order()

signed_transaction graphene::wallet::detail::wallet_api_impl::cancel_order ( object_id_type  order_id,
bool  broadcast = false 
)
inline

Definition at line 2123 of file wallet.cpp.

◆ claim_asset_fee_pool()

signed_transaction graphene::wallet::detail::wallet_api_impl::claim_asset_fee_pool ( string  symbol,
string  amount,
bool  broadcast 
)
inline

Definition at line 1348 of file wallet.cpp.

◆ copy_wallet_file()

bool graphene::wallet::detail::wallet_api_impl::copy_wallet_file ( string  destination_filename)
inline

Definition at line 462 of file wallet.cpp.

◆ create_account_with_brain_key()

signed_transaction graphene::wallet::detail::wallet_api_impl::create_account_with_brain_key ( string  brain_key,
string  account_name,
string  registrar_account,
string  referrer_account,
bool  broadcast = false,
bool  save_wallet = true 
)
inline

Definition at line 1163 of file wallet.cpp.

◆ create_account_with_private_key()

signed_transaction graphene::wallet::detail::wallet_api_impl::create_account_with_private_key ( fc::ecc::private_key  owner_privkey,
string  account_name,
string  registrar_account,
string  referrer_account,
bool  broadcast = false,
bool  save_wallet = true 
)
inline

Definition at line 1088 of file wallet.cpp.

◆ create_asset()

signed_transaction graphene::wallet::detail::wallet_api_impl::create_asset ( string  issuer,
string  symbol,
uint8_t  precision,
asset_options  common,
fc::optional< bitasset_options bitasset_opts,
bool  broadcast = false 
)
inline

Definition at line 1178 of file wallet.cpp.

◆ create_committee_member()

signed_transaction graphene::wallet::detail::wallet_api_impl::create_committee_member ( string  owner_account,
string  url,
bool  broadcast 
)
inline

Definition at line 1476 of file wallet.cpp.

◆ create_witness()

signed_transaction graphene::wallet::detail::wallet_api_impl::create_witness ( string  owner_account,
string  url,
bool  broadcast 
)
inline

Definition at line 1571 of file wallet.cpp.

◆ create_worker()

signed_transaction graphene::wallet::detail::wallet_api_impl::create_worker ( string  owner_account,
time_point_sec  work_begin_date,
time_point_sec  work_end_date,
share_type  daily_pay,
string  name,
string  url,
variant  worker_settings,
bool  broadcast 
)
inline

Definition at line 1631 of file wallet.cpp.

◆ dbg_generate_blocks()

void graphene::wallet::detail::wallet_api_impl::dbg_generate_blocks ( const std::string &  debug_wif_key,
uint32_t  count 
)
inline

Definition at line 2619 of file wallet.cpp.

◆ dbg_make_mia()

void graphene::wallet::detail::wallet_api_impl::dbg_make_mia ( string  creator,
string  symbol 
)
inline

Definition at line 2602 of file wallet.cpp.

◆ dbg_make_uia()

void graphene::wallet::detail::wallet_api_impl::dbg_make_uia ( string  creator,
string  symbol 
)
inline

Definition at line 2593 of file wallet.cpp.

◆ dbg_push_blocks()

void graphene::wallet::detail::wallet_api_impl::dbg_push_blocks ( const std::string &  src_filename,
uint32_t  count 
)
inline

Definition at line 2612 of file wallet.cpp.

◆ dbg_stream_json_objects()

void graphene::wallet::detail::wallet_api_impl::dbg_stream_json_objects ( const std::string &  filename)
inline

Definition at line 2626 of file wallet.cpp.

◆ dbg_update_object()

void graphene::wallet::detail::wallet_api_impl::dbg_update_object ( const fc::variant_object &  update)
inline

Definition at line 2633 of file wallet.cpp.

◆ encrypt_keys()

void graphene::wallet::detail::wallet_api_impl::encrypt_keys ( )
inline

Definition at line 445 of file wallet.cpp.

◆ find_asset() [1/2]

optional<asset_object> graphene::wallet::detail::wallet_api_impl::find_asset ( asset_id_type  id) const
inline

Definition at line 611 of file wallet.cpp.

◆ find_asset() [2/2]

optional<asset_object> graphene::wallet::detail::wallet_api_impl::find_asset ( string  asset_symbol_or_id) const
inline

Definition at line 616 of file wallet.cpp.

◆ find_first_unused_derived_key_index()

int graphene::wallet::detail::wallet_api_impl::find_first_unused_derived_key_index ( const fc::ecc::private_key &  parent_key)
inline

Definition at line 1057 of file wallet.cpp.

◆ flood_network()

void graphene::wallet::detail::wallet_api_impl::flood_network ( string  prefix,
uint32_t  number_of_transactions 
)
inline

Definition at line 2702 of file wallet.cpp.

◆ fund_asset_fee_pool()

signed_transaction graphene::wallet::detail::wallet_api_impl::fund_asset_fee_pool ( string  from,
string  symbol,
string  amount,
bool  broadcast 
)
inline

Definition at line 1324 of file wallet.cpp.

◆ get_account() [1/2]

account_object graphene::wallet::detail::wallet_api_impl::get_account ( account_id_type  id) const
inline

Definition at line 585 of file wallet.cpp.

◆ get_account() [2/2]

account_object graphene::wallet::detail::wallet_api_impl::get_account ( string  account_name_or_id) const
inline

Definition at line 593 of file wallet.cpp.

◆ get_account_id()

account_id_type graphene::wallet::detail::wallet_api_impl::get_account_id ( string  account_name_or_id) const
inline

Definition at line 607 of file wallet.cpp.

◆ get_asset() [1/2]

asset_object graphene::wallet::detail::wallet_api_impl::get_asset ( asset_id_type  id) const
inline

Definition at line 635 of file wallet.cpp.

◆ get_asset() [2/2]

asset_object graphene::wallet::detail::wallet_api_impl::get_asset ( string  asset_symbol_or_id) const
inline

Definition at line 641 of file wallet.cpp.

◆ get_asset_id()

asset_id_type graphene::wallet::detail::wallet_api_impl::get_asset_id ( string  asset_symbol_or_id) const
inline

Definition at line 648 of file wallet.cpp.

◆ get_chain_properties()

chain_property_object graphene::wallet::detail::wallet_api_impl::get_chain_properties ( ) const
inline

Definition at line 566 of file wallet.cpp.

◆ get_committee_member()

committee_member_object graphene::wallet::detail::wallet_api_impl::get_committee_member ( string  owner_account)
inline

Definition at line 1537 of file wallet.cpp.

◆ get_dynamic_global_properties()

dynamic_global_property_object graphene::wallet::detail::wallet_api_impl::get_dynamic_global_properties ( ) const
inline

Definition at line 574 of file wallet.cpp.

◆ get_global_properties()

global_property_object graphene::wallet::detail::wallet_api_impl::get_global_properties ( ) const
inline

Definition at line 570 of file wallet.cpp.

◆ get_object()

template<typename T >
T graphene::wallet::detail::wallet_api_impl::get_object ( object_id< T::space_id, T::type_id, T >  id) const
inline

Definition at line 501 of file wallet.cpp.

◆ get_private_key()

fc::ecc::private_key graphene::wallet::detail::wallet_api_impl::get_private_key ( const public_key_type id) const
inline

Definition at line 664 of file wallet.cpp.

◆ get_private_key_for_account()

fc::ecc::private_key graphene::wallet::detail::wallet_api_impl::get_private_key_for_account ( const account_object account) const
inline

Definition at line 674 of file wallet.cpp.

◆ get_prototype_operation()

operation graphene::wallet::detail::wallet_api_impl::get_prototype_operation ( string  operation_name)
inline

Definition at line 2750 of file wallet.cpp.

◆ get_result_formatters()

std::map<string,std::function<string(fc::variant,const fc::variants&)> > graphene::wallet::detail::wallet_api_impl::get_result_formatters ( ) const
inline

Definition at line 2204 of file wallet.cpp.

◆ get_vesting_balances()

vector< vesting_balance_object_with_info > graphene::wallet::detail::wallet_api_impl::get_vesting_balances ( string  account_name)
inline

Definition at line 1738 of file wallet.cpp.

◆ get_wallet_filename()

string graphene::wallet::detail::wallet_api_impl::get_wallet_filename ( ) const
inline

Definition at line 659 of file wallet.cpp.

◆ get_witness()

witness_object graphene::wallet::detail::wallet_api_impl::get_witness ( string  owner_account)
inline

Definition at line 1502 of file wallet.cpp.

◆ global_settle_asset()

signed_transaction graphene::wallet::detail::wallet_api_impl::global_settle_asset ( string  symbol,
price  settle_price,
bool  broadcast 
)
inline

Definition at line 1393 of file wallet.cpp.

◆ import_balance()

vector< signed_transaction > graphene::wallet::detail::wallet_api_impl::import_balance ( string  name_or_id,
const vector< string > &  wif_keys,
bool  broadcast 
)

Definition at line 3990 of file wallet.cpp.

◆ import_key()

bool graphene::wallet::detail::wallet_api_impl::import_key ( string  account_name_or_id,
string  wif_key 
)
inline

Definition at line 686 of file wallet.cpp.

◆ info()

variant graphene::wallet::detail::wallet_api_impl::info ( ) const
inline

Definition at line 513 of file wallet.cpp.

◆ is_locked()

bool graphene::wallet::detail::wallet_api_impl::is_locked ( ) const
inline

Definition at line 495 of file wallet.cpp.

◆ issue_asset()

signed_transaction graphene::wallet::detail::wallet_api_impl::issue_asset ( string  to_account,
string  amount,
string  symbol,
string  memo,
bool  broadcast = false 
)
inline

Definition at line 2174 of file wallet.cpp.

◆ load_wallet_file()

bool graphene::wallet::detail::wallet_api_impl::load_wallet_file ( string  wallet_filename = "")
inline

Definition at line 714 of file wallet.cpp.

◆ network_add_nodes()

void graphene::wallet::detail::wallet_api_impl::network_add_nodes ( const vector< string > &  nodes)
inline

Definition at line 2678 of file wallet.cpp.

◆ network_get_connected_peers()

vector< variant > graphene::wallet::detail::wallet_api_impl::network_get_connected_peers ( )
inline

Definition at line 2687 of file wallet.cpp.

◆ on_block_applied()

void graphene::wallet::detail::wallet_api_impl::on_block_applied ( const variant &  block_id)
inline

Definition at line 457 of file wallet.cpp.

◆ preview_builder_transaction()

transaction graphene::wallet::detail::wallet_api_impl::preview_builder_transaction ( transaction_handle_type  handle)
inline

Definition at line 896 of file wallet.cpp.

◆ propose_builder_transaction()

signed_transaction graphene::wallet::detail::wallet_api_impl::propose_builder_transaction ( transaction_handle_type  handle,
time_point_sec  expiration = time_point::now() + fc::minutes(1),
uint32_t  review_period_seconds = 0,
bool  broadcast = true 
)
inline

Definition at line 920 of file wallet.cpp.

◆ propose_builder_transaction2()

signed_transaction graphene::wallet::detail::wallet_api_impl::propose_builder_transaction2 ( transaction_handle_type  handle,
string  account_name_or_id,
time_point_sec  expiration = time_point::now() + fc::minutes(1),
uint32_t  review_period_seconds = 0,
bool  broadcast = true 
)
inline

Definition at line 939 of file wallet.cpp.

◆ propose_fee_change()

signed_transaction graphene::wallet::detail::wallet_api_impl::propose_fee_change ( const string &  proposing_account,
fc::time_point_sec  expiration_time,
const variant_object &  changed_fees,
bool  broadcast = false 
)
inline

Definition at line 2478 of file wallet.cpp.

◆ propose_parameter_change()

signed_transaction graphene::wallet::detail::wallet_api_impl::propose_parameter_change ( const string &  proposing_account,
fc::time_point_sec  expiration_time,
const variant_object &  changed_values,
bool  broadcast = false 
)
inline

Definition at line 2444 of file wallet.cpp.

◆ publish_asset_feed()

signed_transaction graphene::wallet::detail::wallet_api_impl::publish_asset_feed ( string  publishing_account,
string  symbol,
price_feed  feed,
bool  broadcast 
)
inline

Definition at line 1302 of file wallet.cpp.

◆ quit()

void graphene::wallet::detail::wallet_api_impl::quit ( )
inline

Definition at line 778 of file wallet.cpp.

◆ read_memo()

string graphene::wallet::detail::wallet_api_impl::read_memo ( const memo_data md)
inline

Definition at line 2026 of file wallet.cpp.

◆ register_account()

signed_transaction graphene::wallet::detail::wallet_api_impl::register_account ( string  name,
public_key_type  owner,
public_key_type  active,
string  registrar_account,
string  referrer_account,
uint32_t  referrer_percent,
bool  broadcast = false 
)
inline

Definition at line 966 of file wallet.cpp.

◆ remove_builder_transaction()

void graphene::wallet::detail::wallet_api_impl::remove_builder_transaction ( transaction_handle_type  handle)
inline

Definition at line 960 of file wallet.cpp.

◆ replace_operation_in_builder_transaction()

void graphene::wallet::detail::wallet_api_impl::replace_operation_in_builder_transaction ( transaction_handle_type  handle,
uint32_t  operation_index,
const operation new_op 
)
inline

Definition at line 863 of file wallet.cpp.

◆ reserve_asset()

signed_transaction graphene::wallet::detail::wallet_api_impl::reserve_asset ( string  from,
string  amount,
string  symbol,
bool  broadcast 
)
inline

Definition at line 1371 of file wallet.cpp.

◆ save_wallet_file()

void graphene::wallet::detail::wallet_api_impl::save_wallet_file ( string  wallet_filename = "")
inline

Definition at line 785 of file wallet.cpp.

◆ sell_asset()

signed_transaction graphene::wallet::detail::wallet_api_impl::sell_asset ( string  seller_account,
string  amount_to_sell,
string  symbol_to_sell,
string  min_to_receive,
string  symbol_to_receive,
uint32_t  timeout_sec = 0,
bool  fill_or_kill = false,
bool  broadcast = false 
)
inline

Definition at line 2051 of file wallet.cpp.

◆ set_desired_witness_and_committee_member_count()

signed_transaction graphene::wallet::detail::wallet_api_impl::set_desired_witness_and_committee_member_count ( string  account_to_modify,
uint16_t  desired_number_of_witnesses,
uint16_t  desired_number_of_committee_members,
bool  broadcast 
)
inline

Definition at line 1912 of file wallet.cpp.

◆ set_fees_on_builder_transaction()

asset graphene::wallet::detail::wallet_api_impl::set_fees_on_builder_transaction ( transaction_handle_type  handle,
string  fee_asset = GRAPHENE_SYMBOL 
)
inline

Definition at line 872 of file wallet.cpp.

◆ set_operation_fees()

void graphene::wallet::detail::wallet_api_impl::set_operation_fees ( signed_transaction tx,
const fee_schedule s 
)
inline

Definition at line 507 of file wallet.cpp.

◆ set_voting_proxy()

signed_transaction graphene::wallet::detail::wallet_api_impl::set_voting_proxy ( string  account_to_modify,
optional< string >  voting_account,
bool  broadcast 
)
inline

Definition at line 1881 of file wallet.cpp.

◆ settle_asset()

signed_transaction graphene::wallet::detail::wallet_api_impl::settle_asset ( string  account_to_settle,
string  amount_to_settle,
string  symbol,
bool  broadcast 
)
inline

Definition at line 1414 of file wallet.cpp.

◆ sign_builder_transaction()

signed_transaction graphene::wallet::detail::wallet_api_impl::sign_builder_transaction ( transaction_handle_type  transaction_handle,
bool  broadcast = true 
)
inline

Definition at line 901 of file wallet.cpp.

◆ sign_memo()

memo_data graphene::wallet::detail::wallet_api_impl::sign_memo ( string  from,
string  to,
string  memo 
)
inline

Definition at line 2001 of file wallet.cpp.

◆ sign_transaction()

signed_transaction graphene::wallet::detail::wallet_api_impl::sign_transaction ( signed_transaction  tx,
bool  broadcast = false 
)
inline

Definition at line 1938 of file wallet.cpp.

◆ transfer()

signed_transaction graphene::wallet::detail::wallet_api_impl::transfer ( string  from,
string  to,
string  amount,
string  asset_symbol,
string  memo,
bool  broadcast = false 
)
inline

Definition at line 2139 of file wallet.cpp.

◆ update_asset()

signed_transaction graphene::wallet::detail::wallet_api_impl::update_asset ( string  symbol,
optional< string >  new_issuer,
asset_options  new_options,
bool  broadcast 
)
inline

Definition at line 1203 of file wallet.cpp.

◆ update_asset_feed_producers()

signed_transaction graphene::wallet::detail::wallet_api_impl::update_asset_feed_producers ( string  symbol,
flat_set< string >  new_feed_producers,
bool  broadcast 
)
inline

Definition at line 1278 of file wallet.cpp.

◆ update_asset_issuer()

signed_transaction graphene::wallet::detail::wallet_api_impl::update_asset_issuer ( string  symbol,
string  new_issuer,
bool  broadcast 
)
inline

Definition at line 1234 of file wallet.cpp.

◆ update_bitasset()

signed_transaction graphene::wallet::detail::wallet_api_impl::update_bitasset ( string  symbol,
bitasset_options  new_options,
bool  broadcast 
)
inline

Definition at line 1257 of file wallet.cpp.

◆ update_witness()

signed_transaction graphene::wallet::detail::wallet_api_impl::update_witness ( string  witness_name,
string  url,
string  block_signing_key,
bool  broadcast 
)
inline

Definition at line 1599 of file wallet.cpp.

◆ update_worker_votes()

signed_transaction graphene::wallet::detail::wallet_api_impl::update_worker_votes ( string  account,
worker_vote_delta  delta,
bool  broadcast 
)
inline

Definition at line 1674 of file wallet.cpp.

◆ upgrade_account()

signed_transaction graphene::wallet::detail::wallet_api_impl::upgrade_account ( string  name,
bool  broadcast 
)
inline

Definition at line 1035 of file wallet.cpp.

◆ use_debug_api()

void graphene::wallet::detail::wallet_api_impl::use_debug_api ( )
inline

Definition at line 2658 of file wallet.cpp.

◆ use_network_node_api()

void graphene::wallet::detail::wallet_api_impl::use_network_node_api ( )
inline

Definition at line 2640 of file wallet.cpp.

◆ vote_for_committee_member()

signed_transaction graphene::wallet::detail::wallet_api_impl::vote_for_committee_member ( string  voting_account,
string  committee_member,
bool  approve,
bool  broadcast 
)
inline

Definition at line 1799 of file wallet.cpp.

◆ vote_for_witness()

signed_transaction graphene::wallet::detail::wallet_api_impl::vote_for_witness ( string  voting_account,
string  witness,
bool  approve,
bool  broadcast 
)
inline

Definition at line 1840 of file wallet.cpp.

◆ whitelist_account()

signed_transaction graphene::wallet::detail::wallet_api_impl::whitelist_account ( string  authorizing_account,
string  account_to_list,
account_whitelist_operation::account_listing  new_listing_status,
bool  broadcast 
)
inline

Definition at line 1458 of file wallet.cpp.

◆ withdraw_vesting()

signed_transaction graphene::wallet::detail::wallet_api_impl::withdraw_vesting ( string  witness_name,
string  amount,
string  asset_symbol,
bool  broadcast = false 
)
inline

Definition at line 1768 of file wallet.cpp.

Member Data Documentation

◆ _chain_id

chain_id_type graphene::wallet::detail::wallet_api_impl::_chain_id

Definition at line 2764 of file wallet.cpp.

◆ _checksum

fc::sha512 graphene::wallet::detail::wallet_api_impl::_checksum

Definition at line 2762 of file wallet.cpp.

◆ _keys

map<public_key_type,string> graphene::wallet::detail::wallet_api_impl::_keys

Definition at line 2761 of file wallet.cpp.

◆ _operation_which_map

static_variant_map graphene::wallet::detail::wallet_api_impl::_operation_which_map = create_static_variant_map< operation >()

Definition at line 2774 of file wallet.cpp.

◆ _prototype_ops

flat_map<string, operation> graphene::wallet::detail::wallet_api_impl::_prototype_ops

Definition at line 2772 of file wallet.cpp.

◆ _remote_api

fc::api<login_api> graphene::wallet::detail::wallet_api_impl::_remote_api

Definition at line 2765 of file wallet.cpp.

◆ _remote_db

fc::api<database_api> graphene::wallet::detail::wallet_api_impl::_remote_db

Definition at line 2766 of file wallet.cpp.

◆ _remote_debug

optional< fc::api<graphene::debug_witness::debug_api> > graphene::wallet::detail::wallet_api_impl::_remote_debug

Definition at line 2770 of file wallet.cpp.

◆ _remote_hist

fc::api<history_api> graphene::wallet::detail::wallet_api_impl::_remote_hist

Definition at line 2768 of file wallet.cpp.

◆ _remote_net_broadcast

fc::api<network_broadcast_api> graphene::wallet::detail::wallet_api_impl::_remote_net_broadcast

Definition at line 2767 of file wallet.cpp.

◆ _remote_net_node

optional< fc::api<network_node_api> > graphene::wallet::detail::wallet_api_impl::_remote_net_node

Definition at line 2769 of file wallet.cpp.

◆ _wallet

wallet_data graphene::wallet::detail::wallet_api_impl::_wallet

Definition at line 2759 of file wallet.cpp.

◆ _wallet_filename

string graphene::wallet::detail::wallet_api_impl::_wallet_filename

Definition at line 2758 of file wallet.cpp.

◆ _wallet_filename_extension

const string graphene::wallet::detail::wallet_api_impl::_wallet_filename_extension = ".wallet"

Definition at line 2779 of file wallet.cpp.

◆ method_documentation

api_documentation graphene::wallet::detail::wallet_api_impl::method_documentation

Definition at line 265 of file wallet.cpp.

◆ self

wallet_api& graphene::wallet::detail::wallet_api_impl::self

Definition at line 401 of file wallet.cpp.


The documentation for this class was generated from the following file: