pub trait VestedRewardsApi<Block: BlockT, AccountId, AssetId, Balance, CrowdloanTag>: Core<Block>where
AccountId: Codec,
AssetId: Codec,
Balance: Codec + MaybeFromStr + MaybeDisplay,
CrowdloanTag: Codec,{
// Provided methods
fn crowdloan_claimable(
&self,
__runtime_api_at_param__: &BlockId<Block>,
tag: CrowdloanTag,
account_id: AccountId,
asset_id: AssetId
) -> Result<Option<BalanceInfo<Balance>>, ApiError> { ... }
fn crowdloan_claimable_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
tag: CrowdloanTag,
account_id: AccountId,
asset_id: AssetId
) -> Result<Option<BalanceInfo<Balance>>, ApiError> { ... }
fn crowdloan_lease(
&self,
__runtime_api_at_param__: &BlockId<Block>,
tag: CrowdloanTag
) -> Result<Option<CrowdloanLease>, ApiError> { ... }
fn crowdloan_lease_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
tag: CrowdloanTag
) -> Result<Option<CrowdloanLease>, ApiError> { ... }
fn crowdloan_claimable_before_version_2(
&self,
__runtime_api_at_param__: &BlockId<Block>,
account_id: AccountId,
asset_id: AssetId
) -> Result<Option<BalanceInfo<Balance>>, ApiError> { ... }
fn crowdloan_claimable_before_version_2_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
account_id: AccountId,
asset_id: AssetId
) -> Result<Option<BalanceInfo<Balance>>, ApiError> { ... }
fn crowdloan_lease_before_version_2(
&self,
__runtime_api_at_param__: &BlockId<Block>
) -> Result<CrowdloanLease, ApiError> { ... }
fn crowdloan_lease_before_version_2_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext
) -> Result<CrowdloanLease, ApiError> { ... }
}
Provided Methods§
fn crowdloan_claimable( &self, __runtime_api_at_param__: &BlockId<Block>, tag: CrowdloanTag, account_id: AccountId, asset_id: AssetId ) -> Result<Option<BalanceInfo<Balance>>, ApiError>
fn crowdloan_claimable_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, tag: CrowdloanTag, account_id: AccountId, asset_id: AssetId ) -> Result<Option<BalanceInfo<Balance>>, ApiError>
fn crowdloan_lease( &self, __runtime_api_at_param__: &BlockId<Block>, tag: CrowdloanTag ) -> Result<Option<CrowdloanLease>, ApiError>
fn crowdloan_lease_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, tag: CrowdloanTag ) -> Result<Option<CrowdloanLease>, ApiError>
sourcefn crowdloan_claimable_before_version_2(
&self,
__runtime_api_at_param__: &BlockId<Block>,
account_id: AccountId,
asset_id: AssetId
) -> Result<Option<BalanceInfo<Balance>>, ApiError>
fn crowdloan_claimable_before_version_2( &self, __runtime_api_at_param__: &BlockId<Block>, account_id: AccountId, asset_id: AssetId ) -> Result<Option<BalanceInfo<Balance>>, ApiError>
👎Deprecated
sourcefn crowdloan_claimable_before_version_2_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
account_id: AccountId,
asset_id: AssetId
) -> Result<Option<BalanceInfo<Balance>>, ApiError>
fn crowdloan_claimable_before_version_2_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, account_id: AccountId, asset_id: AssetId ) -> Result<Option<BalanceInfo<Balance>>, ApiError>
👎Deprecated
sourcefn crowdloan_lease_before_version_2(
&self,
__runtime_api_at_param__: &BlockId<Block>
) -> Result<CrowdloanLease, ApiError>
fn crowdloan_lease_before_version_2( &self, __runtime_api_at_param__: &BlockId<Block> ) -> Result<CrowdloanLease, ApiError>
👎Deprecated
sourcefn crowdloan_lease_before_version_2_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext
) -> Result<CrowdloanLease, ApiError>
fn crowdloan_lease_before_version_2_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext ) -> Result<CrowdloanLease, ApiError>
👎Deprecated