Trait substrate_subxt::staking::PayeeStoreExt[][src]

pub trait PayeeStoreExt<T: Runtime + Staking> {
    fn payee<'a>(
        &'a self,
        stash: T::AccountId,
        hash: Option<T::Hash>
    ) -> Pin<Box<dyn Future<Output = Result<RewardDestination<T::AccountId>, Error>> + Send + 'a>>;
fn payee_iter<'a>(
        &'a self,
        hash: Option<T::Hash>
    ) -> Pin<Box<dyn Future<Output = Result<KeyIter<T, PayeeStore<T>>, Error>> + Send + 'a>>; }

Store extension trait.

Required methods

fn payee<'a>(
    &'a self,
    stash: T::AccountId,
    hash: Option<T::Hash>
) -> Pin<Box<dyn Future<Output = Result<RewardDestination<T::AccountId>, Error>> + Send + 'a>>
[src]

Retrieve the store element.

fn payee_iter<'a>(
    &'a self,
    hash: Option<T::Hash>
) -> Pin<Box<dyn Future<Output = Result<KeyIter<T, PayeeStore<T>>, Error>> + Send + 'a>>
[src]

Iterate over the store element.

Loading content...

Implementors

impl<T: Runtime + Staking> PayeeStoreExt<T> for Client<T>[src]

Loading content...