[][src]Trait sunshine_identity_client::CreateAccountForCallExt

pub trait CreateAccountForCallExt<T: Runtime + Identity> {
    fn create_account_for<'a>(
        &'a self,
        signer: &'a (dyn Signer<T> + Send + Sync),
        key: &'a <T as System>::AccountId
    ) -> Pin<Box<dyn Future<Output = Result<T::Hash, Error>> + Send + 'a>>;
fn create_account_for_and_watch<'a>(
        &'a self,
        signer: &'a (dyn Signer<T> + Send + Sync),
        key: &'a <T as System>::AccountId
    ) -> Pin<Box<dyn Future<Output = Result<ExtrinsicSuccess<T>, Error>> + Send + 'a>>; }

Call extension trait.

Required methods

fn create_account_for<'a>(
    &'a self,
    signer: &'a (dyn Signer<T> + Send + Sync),
    key: &'a <T as System>::AccountId
) -> Pin<Box<dyn Future<Output = Result<T::Hash, Error>> + Send + 'a>>

Create and submit an extrinsic.

fn create_account_for_and_watch<'a>(
    &'a self,
    signer: &'a (dyn Signer<T> + Send + Sync),
    key: &'a <T as System>::AccountId
) -> Pin<Box<dyn Future<Output = Result<ExtrinsicSuccess<T>, Error>> + Send + 'a>>

Create, submit and watch an extrinsic.

Loading content...

Implementations on Foreign Types

impl<T: Runtime + Identity> CreateAccountForCallExt<T> for Client<T> where
    <<T::Extra as SignedExtra<T>>::Extra as SignedExtension>::AdditionalSigned: Send + Sync
[src]

Loading content...

Implementors

Loading content...