pub trait AvsRegistryService {
// Required methods
fn get_operators_avs_state_at_block<'life0, 'life1, 'async_trait>(
&'life0 self,
block_num: u32,
quorum_nums: &'life1 [u8],
) -> Pin<Box<dyn Future<Output = Result<HashMap<FixedBytes<32>, OperatorAvsState>, AvsRegistryError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn get_quorums_avs_state_at_block<'life0, 'life1, 'async_trait>(
&'life0 self,
quorum_nums: &'life1 [u8],
block_num: u32,
) -> Pin<Box<dyn Future<Output = Result<HashMap<u8, QuorumAvsState>, AvsRegistryError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn get_check_signatures_indices<'life0, 'async_trait>(
&'life0 self,
reference_block_number: u32,
quorum_numbers: Vec<u8>,
non_signer_operator_ids: Vec<FixedBytes<32>>,
) -> Pin<Box<dyn Future<Output = Result<CheckSignaturesIndices, AvsRegistryError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}
Required Methods§
Sourcefn get_operators_avs_state_at_block<'life0, 'life1, 'async_trait>(
&'life0 self,
block_num: u32,
quorum_nums: &'life1 [u8],
) -> Pin<Box<dyn Future<Output = Result<HashMap<FixedBytes<32>, OperatorAvsState>, AvsRegistryError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_operators_avs_state_at_block<'life0, 'life1, 'async_trait>(
&'life0 self,
block_num: u32,
quorum_nums: &'life1 [u8],
) -> Pin<Box<dyn Future<Output = Result<HashMap<FixedBytes<32>, OperatorAvsState>, AvsRegistryError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Sourcefn get_quorums_avs_state_at_block<'life0, 'life1, 'async_trait>(
&'life0 self,
quorum_nums: &'life1 [u8],
block_num: u32,
) -> Pin<Box<dyn Future<Output = Result<HashMap<u8, QuorumAvsState>, AvsRegistryError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_quorums_avs_state_at_block<'life0, 'life1, 'async_trait>(
&'life0 self,
quorum_nums: &'life1 [u8],
block_num: u32,
) -> Pin<Box<dyn Future<Output = Result<HashMap<u8, QuorumAvsState>, AvsRegistryError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Sourcefn get_check_signatures_indices<'life0, 'async_trait>(
&'life0 self,
reference_block_number: u32,
quorum_numbers: Vec<u8>,
non_signer_operator_ids: Vec<FixedBytes<32>>,
) -> Pin<Box<dyn Future<Output = Result<CheckSignaturesIndices, AvsRegistryError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_check_signatures_indices<'life0, 'async_trait>(
&'life0 self,
reference_block_number: u32,
quorum_numbers: Vec<u8>,
non_signer_operator_ids: Vec<FixedBytes<32>>,
) -> Pin<Box<dyn Future<Output = Result<CheckSignaturesIndices, AvsRegistryError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get the signatures indices of quorum members for a specific block and checks if the indices are valid
§Arguments
reference_block_number
- The reference block numberquorum_numbers
- The list of quorum numbersnon_signer_operator_ids
- The list of non-signer operator ids
§Returns
A struct containing the indices of the quorum members that signed, and the ones that didn’t