pub trait ProtocolParametersRetriever: Sync + Send {
// Required method
fn get_protocol_parameters<'life0, 'async_trait>(
&'life0 self,
epoch: Epoch,
) -> Pin<Box<dyn Future<Output = StdResult<Option<ProtocolParameters>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}
Expand description
Retrieve the ProtocolParameters for the given epoch.