eigen_services_operatorsinfo::operator_info

Trait OperatorInfoService

Source
pub trait OperatorInfoService {
    // Required methods
    fn get_operator_info<'life0, 'async_trait>(
        &'life0 self,
        address: Address,
    ) -> Pin<Box<dyn Future<Output = Result<Option<OperatorPubKeys>, OperatorInfoServiceError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn get_operator_socket<'life0, 'async_trait>(
        &'life0 self,
        address: Address,
    ) -> Pin<Box<dyn Future<Output = Result<Option<String>, OperatorInfoServiceError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn get_operator_info<'life0, 'async_trait>( &'life0 self, address: Address, ) -> Pin<Box<dyn Future<Output = Result<Option<OperatorPubKeys>, OperatorInfoServiceError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Get the operator info from the operator id

§Arguments
  • operator_id - The operator id
§Returns

The operator public keys

Source

fn get_operator_socket<'life0, 'async_trait>( &'life0 self, address: Address, ) -> Pin<Box<dyn Future<Output = Result<Option<String>, OperatorInfoServiceError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§