Trait substrate_subxt::staking::BondCallExt[][src]

pub trait BondCallExt<T: Runtime + Staking> {
    fn bond<'a>(
        &'a self,
        signer: &'a (dyn Signer<T> + Send + Sync),
        contrller: T::AccountId,
        value: T::Balance,
        payee: RewardDestination<T::AccountId>
    ) -> Pin<Box<dyn Future<Output = Result<T::Hash, Error>> + Send + 'a>>;
fn bond_and_watch<'a>(
        &'a self,
        signer: &'a (dyn Signer<T> + Send + Sync),
        contrller: T::AccountId,
        value: T::Balance,
        payee: RewardDestination<T::AccountId>
    ) -> Pin<Box<dyn Future<Output = Result<ExtrinsicSuccess<T>, Error>> + Send + 'a>>; }

Call extension trait.

Required methods

fn bond<'a>(
    &'a self,
    signer: &'a (dyn Signer<T> + Send + Sync),
    contrller: T::AccountId,
    value: T::Balance,
    payee: RewardDestination<T::AccountId>
) -> Pin<Box<dyn Future<Output = Result<T::Hash, Error>> + Send + 'a>>
[src]

Create and submit an extrinsic.

fn bond_and_watch<'a>(
    &'a self,
    signer: &'a (dyn Signer<T> + Send + Sync),
    contrller: T::AccountId,
    value: T::Balance,
    payee: RewardDestination<T::AccountId>
) -> Pin<Box<dyn Future<Output = Result<ExtrinsicSuccess<T>, Error>> + Send + 'a>>
[src]

Create, submit and watch an extrinsic.

Loading content...

Implementors

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

Loading content...