pub trait VestedRewardsApiClient<BlockHash, AccountId, AssetId, OptionBalanceInfo, CrowdloanTag>: ClientTwhere
    BlockHash: Send + Sync + 'static + Serialize,
    AccountId: Send + Sync + 'static + Serialize,
    AssetId: Send + Sync + 'static + Serialize,
    OptionBalanceInfo: Send + Sync + 'static + DeserializeOwned,
    CrowdloanTag: Send + Sync + 'static + Serialize,{
    // Provided methods
    fn crowdloan_claimable<'life0, 'async_trait>(
        &'life0 self,
        tag: CrowdloanTag,
        account_id: AccountId,
        asset_id: AssetId,
        at: Option<BlockHash>
    ) -> Pin<Box<dyn Future<Output = Result<OptionBalanceInfo>> + Send + 'async_trait>>
       where Self: Sync + 'async_trait,
             'life0: 'async_trait { ... }
    fn crowdloan_lease<'life0, 'async_trait>(
        &'life0 self,
        tag: CrowdloanTag,
        at: Option<BlockHash>
    ) -> Pin<Box<dyn Future<Output = Result<CrowdloanLease>> + Send + 'async_trait>>
       where Self: Sync + 'async_trait,
             'life0: 'async_trait { ... }
}
Expand description

Client implementation for the VestedRewardsApi RPC API.

Provided Methods§

source

fn crowdloan_claimable<'life0, 'async_trait>( &'life0 self, tag: CrowdloanTag, account_id: AccountId, asset_id: AssetId, at: Option<BlockHash> ) -> Pin<Box<dyn Future<Output = Result<OptionBalanceInfo>> + Send + 'async_trait>>where Self: Sync + 'async_trait, 'life0: 'async_trait,

source

fn crowdloan_lease<'life0, 'async_trait>( &'life0 self, tag: CrowdloanTag, at: Option<BlockHash> ) -> Pin<Box<dyn Future<Output = Result<CrowdloanLease>> + Send + 'async_trait>>where Self: Sync + 'async_trait, 'life0: 'async_trait,

Implementors§

source§

impl<TypeJsonRpseeInteral, BlockHash, AccountId, AssetId, OptionBalanceInfo, CrowdloanTag> VestedRewardsApiClient<BlockHash, AccountId, AssetId, OptionBalanceInfo, CrowdloanTag> for TypeJsonRpseeInteralwhere TypeJsonRpseeInteral: ClientT, BlockHash: Send + Sync + 'static + Serialize, AccountId: Send + Sync + 'static + Serialize, AssetId: Send + Sync + 'static + Serialize, OptionBalanceInfo: Send + Sync + 'static + DeserializeOwned, CrowdloanTag: Send + Sync + 'static + Serialize,