Trait farming_rpc::FarmingRuntimeApi
pub trait FarmingRuntimeApi<Block, AssetId>: Core<Block>where
Block: Block,
AssetId: Codec,{
// Provided methods
fn reward_doubling_assets(
&self,
__runtime_api_at_param__: &BlockId<Block>
) -> Result<Vec<AssetId, Global>, ApiError> { ... }
fn reward_doubling_assets_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext
) -> Result<Vec<AssetId, Global>, ApiError> { ... }
}