pub trait GatewayFederationApi {
// Required methods
fn outgoing_contract_expiration<'life0, 'async_trait>(
&'life0 self,
outpoint: OutPoint,
) -> Pin<Box<dyn Future<Output = FederationResult<Option<(ContractId, u64)>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn consensus_block_count<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = FederationResult<u64>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Required Methods§
fn outgoing_contract_expiration<'life0, 'async_trait>(
&'life0 self,
outpoint: OutPoint,
) -> Pin<Box<dyn Future<Output = FederationResult<Option<(ContractId, u64)>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Sourcefn consensus_block_count<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = FederationResult<u64>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn consensus_block_count<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = FederationResult<u64>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
The consensus block count, answered once a threshold of guardians report the same value.