Trait farming_runtime_api::FarmingApi
source · pub trait FarmingApi<Block: BlockT, AssetId: Codec>: Core<Block> {
// Provided methods
fn reward_doubling_assets(
&self,
__runtime_api_at_param__: &BlockId<Block>
) -> Result<Vec<AssetId>, ApiError> { ... }
fn reward_doubling_assets_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext
) -> Result<Vec<AssetId>, ApiError> { ... }
}