plebble
us.wallet.wallet.rpc_api Class Reference
Inheritance diagram for us.wallet.wallet.rpc_api:
Collaboration diagram for us.wallet.wallet.rpc_api:

Public Member Functions

 rpc_api (us.gov.cli.rpc_api endpoint_)
 
pair< ko, String > balance (uint16_t _arg_detail)
 
pair< ko, String > list (uint16_t _arg_detail)
 
pair< ko, hash_tnew_address ()
 
pair< ko, hash_tadd_address (PrivateKey _arg_priv)
 
pair< ko, String > transfer (hash_t _arg_addr, int64_t _arg_amount, hash_t _arg_coin)
 
pair< ko, String > transfer_from (hash_t _arg_src_addr, hash_t _arg_rcpt_addr, int64_t _arg_amount, hash_t _arg_coin)
 
pair< ko, String > tx_charge_pay (hash_t _arg_addr, int64_t _arg_samount, hash_t _arg_scoin, int64_t _arg_ramount, hash_t _arg_rcoin)
 
pair< ko, String > tx_pay (String _arg_txb58)
 
pair< ko, String > tx_new ()
 
pair< ko, String > tx_add_section (String _arg_txb58, hash_t _arg_coin)
 
pair< ko, String > tx_add_input (String _arg_txb58, uint16_t _arg_section, hash_t _arg_addr, int64_t _arg_amount)
 
pair< ko, String > tx_add_output (String _arg_txb58, uint16_t _arg_section, hash_t _arg_addr, int64_t _arg_amount)
 
pair< ko, String > tx_make_p2pkh (hash_t _arg_src_addr, hash_t _arg_rcpt_addr, int64_t _arg_amount, hash_t _arg_coin)
 
pair< ko, String > tx_sign (String _arg_txb58, String _arg_sigcodestr)
 
pair< ko, String > tx_send (String _arg_txb58)
 
pair< ko, String > tx_decode (String _arg_txb58)
 
pair< ko, String > tx_check (String _arg_txb58)
 
pair< ko, String > set_supply (hash_t _arg_addr, int64_t _arg_amount)
 
pair< ko, String > store_kv (hash_t _arg_addr, String _arg_key, String _arg_value)
 
pair< ko, String > rm_kv (hash_t _arg_addr, String _arg_key)
 
pair< ko, tuple3< String, String, hash_t > > store_file (hash_t _arg_addr, String _arg_path, byte[] _arg_content)
 
pair< ko, String > rm_file (hash_t _arg_addr, String _arg_path, hash_t _arg_digest)
 
pair< ko, String > search (hash_t _arg_addr, String _arg_pattern)
 
pair< ko, byte[]> file (hash_t _arg_digest)
 
pair< ko, String > list_protocols ()
 
pair< ko, hash_ttrade (String _arg_endpoint, uint16_t _arg_port, String _arg_protocol, String _arg_role)
 
pair< ko, String > list_trades ()
 
pair< ko, String > kill_trade (hash_t _arg_tid)
 
ko command_trade (hash_t _arg_tid, String _arg_cmd)
 
pair< ko, String > traders_api_exec (String _arg_scope, String _arg_fn, String _arg_args)
 
pair< ko, String > traders_api_list ()
 
pair< ko, String > get_subhome ()
 
pair< ko, tuple3< hash_t, String, ArrayList< tuple3< hash_t, uint32_t, uint16_t > > > > node_pkh ()
 
pair< ko, String > compilance_report (String _arg_jurisdiction, String _arg_date_from, String _arg_date_to)
 
pair< ko, pair< PublicKey, hash_t > > priv_key (PrivateKey _arg_priv)
 
pair< ko, pair< PublicKey, hash_t > > pub_key (PublicKey _arg_pub)
 
pair< ko, tuple3< PrivateKey, PublicKey, hash_t > > gen_keys ()
 
pair< ko, pair< PublicKey, byte[]> > sign (byte[] _arg_msg, PrivateKey _arg_priv)
 
pair< ko, uint8_t > verify (byte[] _arg_msg, PublicKey _arg_pub, byte[] _arg_sig)
 
pair< ko, byte[]> encrypt (byte[] _arg_msg, PrivateKey _arg_src_priv, PublicKey _arg_rcpt_pub)
 
pair< ko, byte[]> decrypt (byte[] _arg_msg_scrambled, PublicKey _arg_src_pub, PrivateKey _arg_rcpt_priv)
 
pair< ko, pair< String, hash_t > > patch_os (String _arg_script, PrivateKey _arg_groot_key)
 

Package Attributes

us.gov.cli.rpc_api endpoint
 

Constructor & Destructor Documentation

◆ rpc_api()

us.wallet.wallet.rpc_api.rpc_api ( us.gov.cli.rpc_api  endpoint_)
inline

Member Function Documentation

◆ add_address()

pair<ko, hash_t> us.wallet.wallet.rpc_api.add_address ( PrivateKey  _arg_priv)
inline

◆ balance()

pair<ko, String> us.wallet.wallet.rpc_api.balance ( uint16_t  _arg_detail)
inline

◆ command_trade()

ko us.wallet.wallet.rpc_api.command_trade ( hash_t  _arg_tid,
String  _arg_cmd 
)
inline

Implements us.wallet.wallet.api.

References us.wallet.wallet.rpc_api.endpoint, us.ko.is_ko(), us.ok, and us.wallet.protocol.wallet_command_trade.

Here is the call graph for this function:

◆ compilance_report()

pair<ko, String> us.wallet.wallet.rpc_api.compilance_report ( String  _arg_jurisdiction,
String  _arg_date_from,
String  _arg_date_to 
)
inline

◆ decrypt()

pair<ko, byte[]> us.wallet.wallet.rpc_api.decrypt ( byte[]  _arg_msg_scrambled,
PublicKey  _arg_src_pub,
PrivateKey  _arg_rcpt_priv 
)
inline

◆ encrypt()

pair<ko, byte[]> us.wallet.wallet.rpc_api.encrypt ( byte[]  _arg_msg,
PrivateKey  _arg_src_priv,
PublicKey  _arg_rcpt_pub 
)
inline

◆ file()

pair<ko, byte[]> us.wallet.wallet.rpc_api.file ( hash_t  _arg_digest)
inline

◆ gen_keys()

pair<ko, tuple3<PrivateKey, PublicKey, hash_t> > us.wallet.wallet.rpc_api.gen_keys ( )
inline

◆ get_subhome()

pair<ko, String> us.wallet.wallet.rpc_api.get_subhome ( )
inline

◆ kill_trade()

pair<ko, String> us.wallet.wallet.rpc_api.kill_trade ( hash_t  _arg_tid)
inline

◆ list()

pair<ko, String> us.wallet.wallet.rpc_api.list ( uint16_t  _arg_detail)
inline

◆ list_protocols()

pair<ko, String> us.wallet.wallet.rpc_api.list_protocols ( )
inline

◆ list_trades()

pair<ko, String> us.wallet.wallet.rpc_api.list_trades ( )
inline

◆ new_address()

pair<ko, hash_t> us.wallet.wallet.rpc_api.new_address ( )
inline

◆ node_pkh()

pair<ko, tuple3<hash_t, String, ArrayList<tuple3<hash_t,uint32_t,uint16_t> > > > us.wallet.wallet.rpc_api.node_pkh ( )
inline

◆ patch_os()

pair<ko, pair<String, hash_t> > us.wallet.wallet.rpc_api.patch_os ( String  _arg_script,
PrivateKey  _arg_groot_key 
)
inline

◆ priv_key()

pair<ko, pair<PublicKey, hash_t> > us.wallet.wallet.rpc_api.priv_key ( PrivateKey  _arg_priv)
inline

◆ pub_key()

pair<ko, pair<PublicKey, hash_t> > us.wallet.wallet.rpc_api.pub_key ( PublicKey  _arg_pub)
inline

◆ rm_file()

pair<ko, String> us.wallet.wallet.rpc_api.rm_file ( hash_t  _arg_addr,
String  _arg_path,
hash_t  _arg_digest 
)
inline

◆ rm_kv()

pair<ko, String> us.wallet.wallet.rpc_api.rm_kv ( hash_t  _arg_addr,
String  _arg_key 
)
inline

◆ search()

pair<ko, String> us.wallet.wallet.rpc_api.search ( hash_t  _arg_addr,
String  _arg_pattern 
)
inline

◆ set_supply()

pair<ko, String> us.wallet.wallet.rpc_api.set_supply ( hash_t  _arg_addr,
int64_t  _arg_amount 
)
inline

◆ sign()

pair<ko, pair<PublicKey, byte[]> > us.wallet.wallet.rpc_api.sign ( byte[]  _arg_msg,
PrivateKey  _arg_priv 
)
inline

◆ store_file()

pair<ko, tuple3<String, String, hash_t> > us.wallet.wallet.rpc_api.store_file ( hash_t  _arg_addr,
String  _arg_path,
byte[]  _arg_content 
)
inline

◆ store_kv()

pair<ko, String> us.wallet.wallet.rpc_api.store_kv ( hash_t  _arg_addr,
String  _arg_key,
String  _arg_value 
)
inline

◆ trade()

pair<ko, hash_t> us.wallet.wallet.rpc_api.trade ( String  _arg_endpoint,
uint16_t  _arg_port,
String  _arg_protocol,
String  _arg_role 
)
inline

◆ traders_api_exec()

pair<ko, String> us.wallet.wallet.rpc_api.traders_api_exec ( String  _arg_scope,
String  _arg_fn,
String  _arg_args 
)
inline

◆ traders_api_list()

pair<ko, String> us.wallet.wallet.rpc_api.traders_api_list ( )
inline

◆ transfer()

pair<ko, String> us.wallet.wallet.rpc_api.transfer ( hash_t  _arg_addr,
int64_t  _arg_amount,
hash_t  _arg_coin 
)
inline

◆ transfer_from()

pair<ko, String> us.wallet.wallet.rpc_api.transfer_from ( hash_t  _arg_src_addr,
hash_t  _arg_rcpt_addr,
int64_t  _arg_amount,
hash_t  _arg_coin 
)
inline

◆ tx_add_input()

pair<ko, String> us.wallet.wallet.rpc_api.tx_add_input ( String  _arg_txb58,
uint16_t  _arg_section,
hash_t  _arg_addr,
int64_t  _arg_amount 
)
inline

◆ tx_add_output()

pair<ko, String> us.wallet.wallet.rpc_api.tx_add_output ( String  _arg_txb58,
uint16_t  _arg_section,
hash_t  _arg_addr,
int64_t  _arg_amount 
)
inline

◆ tx_add_section()

pair<ko, String> us.wallet.wallet.rpc_api.tx_add_section ( String  _arg_txb58,
hash_t  _arg_coin 
)
inline

◆ tx_charge_pay()

pair<ko, String> us.wallet.wallet.rpc_api.tx_charge_pay ( hash_t  _arg_addr,
int64_t  _arg_samount,
hash_t  _arg_scoin,
int64_t  _arg_ramount,
hash_t  _arg_rcoin 
)
inline

◆ tx_check()

pair<ko, String> us.wallet.wallet.rpc_api.tx_check ( String  _arg_txb58)
inline

◆ tx_decode()

pair<ko, String> us.wallet.wallet.rpc_api.tx_decode ( String  _arg_txb58)
inline

◆ tx_make_p2pkh()

pair<ko, String> us.wallet.wallet.rpc_api.tx_make_p2pkh ( hash_t  _arg_src_addr,
hash_t  _arg_rcpt_addr,
int64_t  _arg_amount,
hash_t  _arg_coin 
)
inline

◆ tx_new()

pair<ko, String> us.wallet.wallet.rpc_api.tx_new ( )
inline

◆ tx_pay()

pair<ko, String> us.wallet.wallet.rpc_api.tx_pay ( String  _arg_txb58)
inline

◆ tx_send()

pair<ko, String> us.wallet.wallet.rpc_api.tx_send ( String  _arg_txb58)
inline

◆ tx_sign()

pair<ko, String> us.wallet.wallet.rpc_api.tx_sign ( String  _arg_txb58,
String  _arg_sigcodestr 
)
inline

◆ verify()

pair<ko, uint8_t> us.wallet.wallet.rpc_api.verify ( byte[]  _arg_msg,
PublicKey  _arg_pub,
byte[]  _arg_sig 
)
inline

Member Data Documentation

◆ endpoint

us.gov.cli.rpc_api us.wallet.wallet.rpc_api.endpoint
package

Referenced by us.wallet.wallet.rpc_api.add_address(), us.wallet.wallet.rpc_api.balance(), us.wallet.wallet.rpc_api.command_trade(), us.wallet.wallet.rpc_api.compilance_report(), us.wallet.wallet.rpc_api.decrypt(), us.wallet.wallet.rpc_api.encrypt(), us.wallet.wallet.rpc_api.file(), us.wallet.wallet.rpc_api.gen_keys(), us.wallet.wallet.rpc_api.get_subhome(), us.wallet.wallet.rpc_api.kill_trade(), us.wallet.wallet.rpc_api.list(), us.wallet.wallet.rpc_api.list_protocols(), us.wallet.wallet.rpc_api.list_trades(), us.wallet.wallet.rpc_api.new_address(), us.wallet.wallet.rpc_api.node_pkh(), us.wallet.wallet.rpc_api.patch_os(), us.wallet.wallet.rpc_api.priv_key(), us.wallet.wallet.rpc_api.pub_key(), us.wallet.wallet.rpc_api.rm_file(), us.wallet.wallet.rpc_api.rm_kv(), us.wallet.wallet.rpc_api.rpc_api(), us.wallet.wallet.rpc_api.search(), us.wallet.wallet.rpc_api.set_supply(), us.wallet.wallet.rpc_api.sign(), us.wallet.wallet.rpc_api.store_file(), us.wallet.wallet.rpc_api.store_kv(), us.wallet.wallet.rpc_api.trade(), us.wallet.wallet.rpc_api.traders_api_exec(), us.wallet.wallet.rpc_api.traders_api_list(), us.wallet.wallet.rpc_api.transfer(), us.wallet.wallet.rpc_api.transfer_from(), us.wallet.wallet.rpc_api.tx_add_input(), us.wallet.wallet.rpc_api.tx_add_output(), us.wallet.wallet.rpc_api.tx_add_section(), us.wallet.wallet.rpc_api.tx_charge_pay(), us.wallet.wallet.rpc_api.tx_check(), us.wallet.wallet.rpc_api.tx_decode(), us.wallet.wallet.rpc_api.tx_make_p2pkh(), us.wallet.wallet.rpc_api.tx_new(), us.wallet.wallet.rpc_api.tx_pay(), us.wallet.wallet.rpc_api.tx_send(), us.wallet.wallet.rpc_api.tx_sign(), and us.wallet.wallet.rpc_api.verify().


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