Trait ethcore_rpc::v1::traits::parity_accounts::ParityAccounts []

pub trait ParityAccounts: Sized + Send + Sync + 'static {
    fn all_accounts_info(&self)
                     -> Result<BTreeMap<String, BTreeMap<String, String>>, Error>; fn new_account_from_phrase(&self, String, String) -> Result<H160, Error>; fn new_account_from_wallet(&self, String, String) -> Result<H160, Error>; fn new_account_from_secret(&self, H256, String) -> Result<H160, Error>; fn test_password(&self, H160, String) -> Result<bool, Error>; fn change_password(&self, H160, String, String) -> Result<bool, Error>; fn kill_account(&self, H160, String) -> Result<bool, Error>; fn remove_address(&self, H160) -> Result<bool, Error>; fn set_account_name(&self, H160, String) -> Result<bool, Error>; fn set_account_meta(&self, H160, String) -> Result<bool, Error>; fn set_account_visibility(&self, H160, H256, bool) -> Result<bool, Error>; fn set_dapps_addresses(&self, DappId, Vec<H160>) -> Result<bool, Error>; fn dapps_addresses(&self, DappId) -> Result<Vec<H160>, Error>; fn set_new_dapps_whitelist(&self, Option<Vec<H160>>) -> Result<bool, Error>; fn new_dapps_whitelist(&self) -> Result<Option<Vec<H160>>, Error>; fn recent_dapps(&self) -> Result<BTreeMap<DappId, u64>, Error>; fn import_geth_accounts(&self, Vec<H160>) -> Result<Vec<H160>, Error>; fn geth_accounts(&self) -> Result<Vec<H160>, Error>; fn to_delegate<M: Metadata>(self) -> IoDelegate<Self, M> { ... } }

Personal Parity rpc interface.

Required Methods

Returns accounts information.

Creates new account from the given phrase using standard brainwallet mechanism. Second parameter is password for the new account.

Creates new account from the given JSON wallet. Second parameter is password for the wallet and the new account.

Creates new account from the given raw secret. Second parameter is password for the new account.

Returns true if given password would unlock given account. Arguments: account, password.

Changes an account's password. Arguments: account, password, new_password.

Permanently deletes an account. Arguments: account, password.

Permanently deletes an address from the addressbook Arguments: address

Set an account's name.

Set an account's metadata string.

Sets account visibility

Sets accounts exposed for particular dapp.

Gets accounts exposed for particular dapp.

Sets accounts exposed for new dapps. None means that all accounts will be exposed.

Gets accounts exposed for new dapps. None means that all accounts will be exposed.

Returns identified dapps that recently used RPC Includes last usage timestamp.

Imports a number of Geth accounts, with the list provided as the argument.

Returns the accounts available for importing from Geth.

Provided Methods

Transform this into an IoDelegate, automatically wrapping the parameters.

Implementors