Documentation ¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: github.com/Nuffle-Labs/nffl/core/chainio (interfaces: AvsReaderer)
Generated by this command:
mockgen -destination=./mocks/avs_reader.go -package=mocks github.com/Nuffle-Labs/nffl/core/chainio AvsReaderer
Package mocks is a generated GoMock package.
Code generated by MockGen. DO NOT EDIT. Source: github.com/Nuffle-Labs/nffl/core/chainio (interfaces: AvsSubscriberer)
Generated by this command:
mockgen -destination=./mocks/avs_subscriber.go -package=mocks github.com/Nuffle-Labs/nffl/core/chainio AvsSubscriberer
Package mocks is a generated GoMock package.
Code generated by MockGen. DO NOT EDIT. Source: github.com/Nuffle-Labs/nffl/core/chainio (interfaces: AvsWriterer)
Generated by this command:
mockgen -destination=./mocks/avs_writer.go -package=mocks github.com/Nuffle-Labs/nffl/core/chainio AvsWriterer
Package mocks is a generated GoMock package.
Index ¶
- type MockAvsReaderer
- func (m *MockAvsReaderer) CheckSignatures(arg0 context.Context, arg1 []byte, arg2 messages.MessageBlsAggregation) (contractSFFLTaskManager.IBLSSignatureCheckerQuorumStakeTotals, error)
- func (m *MockAvsReaderer) EXPECT() *MockAvsReadererMockRecorder
- func (m *MockAvsReaderer) GetCheckSignaturesIndices(arg0 *bind.CallOpts, arg1 uint32, arg2 types.QuorumNums, arg3 []types.Bytes32) (contractOperatorStateRetriever.OperatorStateRetrieverCheckSignaturesIndices, ...)
- func (m *MockAvsReaderer) GetErc20Mock(arg0 context.Context, arg1 common.Address) (*contractERC20Mock.ContractERC20Mock, error)
- func (m *MockAvsReaderer) GetLastCheckpointToTimestamp(arg0 context.Context) (uint64, error)
- func (m *MockAvsReaderer) GetNextOperatorSetUpdateId(arg0 context.Context) (uint64, error)
- func (m *MockAvsReaderer) GetOperatorAddrsInQuorumsAtCurrentBlock(arg0 *bind.CallOpts, arg1 types.QuorumNums) ([][]common.Address, error)
- func (m *MockAvsReaderer) GetOperatorFromId(arg0 *bind.CallOpts, arg1 types.Bytes32) (common.Address, error)
- func (m *MockAvsReaderer) GetOperatorId(arg0 *bind.CallOpts, arg1 common.Address) ([32]byte, error)
- func (m *MockAvsReaderer) GetOperatorSetById(arg0 context.Context, arg1 uint64) ([]contractSFFLOperatorSetUpdateRegistry.RollupOperatorsOperator, error)
- func (m *MockAvsReaderer) GetOperatorSetUpdateBlock(arg0 context.Context, arg1 uint64) (uint32, error)
- func (m *MockAvsReaderer) GetOperatorSetUpdateDelta(arg0 context.Context, arg1 uint64) ([]contractSFFLOperatorSetUpdateRegistry.RollupOperatorsOperator, error)
- func (m *MockAvsReaderer) GetOperatorStakeInQuorumsOfOperatorAtCurrentBlock(arg0 *bind.CallOpts, arg1 types.Bytes32) (map[types.QuorumNum]*big.Int, error)
- func (m *MockAvsReaderer) GetOperatorsStakeInQuorumsAtBlock(arg0 *bind.CallOpts, arg1 types.QuorumNums, arg2 uint32) ([][]contractOperatorStateRetriever.OperatorStateRetrieverOperator, error)
- func (m *MockAvsReaderer) GetOperatorsStakeInQuorumsAtCurrentBlock(arg0 *bind.CallOpts, arg1 types.QuorumNums) ([][]contractOperatorStateRetriever.OperatorStateRetrieverOperator, error)
- func (m *MockAvsReaderer) GetOperatorsStakeInQuorumsOfOperatorAtBlock(arg0 *bind.CallOpts, arg1 types.Bytes32, arg2 uint32) (types.QuorumNums, ...)
- func (m *MockAvsReaderer) GetOperatorsStakeInQuorumsOfOperatorAtCurrentBlock(arg0 *bind.CallOpts, arg1 types.Bytes32) (types.QuorumNums, ...)
- func (m *MockAvsReaderer) GetQuorumCount(arg0 *bind.CallOpts) (byte, error)
- func (m *MockAvsReaderer) IsOperatorRegistered(arg0 *bind.CallOpts, arg1 common.Address) (bool, error)
- func (m *MockAvsReaderer) QueryExistingRegisteredOperatorPubKeys(arg0 context.Context, arg1, arg2 *big.Int) ([]common.Address, []types.OperatorPubkeys, error)
- func (m *MockAvsReaderer) QueryExistingRegisteredOperatorSockets(arg0 context.Context, arg1, arg2 *big.Int) (map[types.Bytes32]types.Socket, error)
- type MockAvsReadererMockRecorder
- func (mr *MockAvsReadererMockRecorder) CheckSignatures(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockAvsReadererMockRecorder) GetCheckSignaturesIndices(arg0, arg1, arg2, arg3 any) *gomock.Call
- func (mr *MockAvsReadererMockRecorder) GetErc20Mock(arg0, arg1 any) *gomock.Call
- func (mr *MockAvsReadererMockRecorder) GetLastCheckpointToTimestamp(arg0 any) *gomock.Call
- func (mr *MockAvsReadererMockRecorder) GetNextOperatorSetUpdateId(arg0 any) *gomock.Call
- func (mr *MockAvsReadererMockRecorder) GetOperatorAddrsInQuorumsAtCurrentBlock(arg0, arg1 any) *gomock.Call
- func (mr *MockAvsReadererMockRecorder) GetOperatorFromId(arg0, arg1 any) *gomock.Call
- func (mr *MockAvsReadererMockRecorder) GetOperatorId(arg0, arg1 any) *gomock.Call
- func (mr *MockAvsReadererMockRecorder) GetOperatorSetById(arg0, arg1 any) *gomock.Call
- func (mr *MockAvsReadererMockRecorder) GetOperatorSetUpdateBlock(arg0, arg1 any) *gomock.Call
- func (mr *MockAvsReadererMockRecorder) GetOperatorSetUpdateDelta(arg0, arg1 any) *gomock.Call
- func (mr *MockAvsReadererMockRecorder) GetOperatorStakeInQuorumsOfOperatorAtCurrentBlock(arg0, arg1 any) *gomock.Call
- func (mr *MockAvsReadererMockRecorder) GetOperatorsStakeInQuorumsAtBlock(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockAvsReadererMockRecorder) GetOperatorsStakeInQuorumsAtCurrentBlock(arg0, arg1 any) *gomock.Call
- func (mr *MockAvsReadererMockRecorder) GetOperatorsStakeInQuorumsOfOperatorAtBlock(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockAvsReadererMockRecorder) GetOperatorsStakeInQuorumsOfOperatorAtCurrentBlock(arg0, arg1 any) *gomock.Call
- func (mr *MockAvsReadererMockRecorder) GetQuorumCount(arg0 any) *gomock.Call
- func (mr *MockAvsReadererMockRecorder) IsOperatorRegistered(arg0, arg1 any) *gomock.Call
- func (mr *MockAvsReadererMockRecorder) QueryExistingRegisteredOperatorPubKeys(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockAvsReadererMockRecorder) QueryExistingRegisteredOperatorSockets(arg0, arg1, arg2 any) *gomock.Call
- type MockAvsSubscriberer
- func (m *MockAvsSubscriberer) EXPECT() *MockAvsSubscribererMockRecorder
- func (m *MockAvsSubscriberer) ParseCheckpointTaskResponded(arg0 types.Log) (*contractSFFLTaskManager.ContractSFFLTaskManagerCheckpointTaskResponded, error)
- func (m *MockAvsSubscriberer) SubscribeToNewPubkeyRegistrations() (chan *contractBLSApkRegistry.ContractBLSApkRegistryNewPubkeyRegistration, ...)
- func (m *MockAvsSubscriberer) SubscribeToNewTasks(...) (event.Subscription, error)
- func (m *MockAvsSubscriberer) SubscribeToOperatorSetUpdates(...) (event.Subscription, error)
- func (m *MockAvsSubscriberer) SubscribeToOperatorSocketUpdates() (...)
- func (m *MockAvsSubscriberer) SubscribeToTaskResponses(...) (event.Subscription, error)
- type MockAvsSubscribererMockRecorder
- func (mr *MockAvsSubscribererMockRecorder) ParseCheckpointTaskResponded(arg0 any) *gomock.Call
- func (mr *MockAvsSubscribererMockRecorder) SubscribeToNewPubkeyRegistrations() *gomock.Call
- func (mr *MockAvsSubscribererMockRecorder) SubscribeToNewTasks(arg0 any) *gomock.Call
- func (mr *MockAvsSubscribererMockRecorder) SubscribeToOperatorSetUpdates(arg0 any) *gomock.Call
- func (mr *MockAvsSubscribererMockRecorder) SubscribeToOperatorSocketUpdates() *gomock.Call
- func (mr *MockAvsSubscribererMockRecorder) SubscribeToTaskResponses(arg0 any) *gomock.Call
- type MockAvsWriterer
- func (m *MockAvsWriterer) DeregisterOperator(arg0 context.Context, arg1 types.QuorumNums, ...) (*types0.Receipt, error)
- func (m *MockAvsWriterer) EXPECT() *MockAvsWritererMockRecorder
- func (m *MockAvsWriterer) RaiseChallenge(arg0 context.Context, arg1 contractSFFLTaskManager.CheckpointTask, ...) (*types0.Receipt, error)
- func (m *MockAvsWriterer) RegisterOperatorInQuorumWithAVSRegistryCoordinator(arg0 context.Context, arg1 *ecdsa.PrivateKey, arg2 [32]byte, arg3 *big.Int, ...) (*types0.Receipt, error)
- func (m *MockAvsWriterer) SendAggregatedResponse(arg0 context.Context, arg1 contractSFFLTaskManager.CheckpointTask, ...) (*types0.Receipt, error)
- func (m *MockAvsWriterer) SendNewCheckpointTask(arg0 context.Context, arg1, arg2 uint64, arg3 types.QuorumThresholdPercentage, ...) (contractSFFLTaskManager.CheckpointTask, uint32, error)
- func (m *MockAvsWriterer) UpdateStakesOfEntireOperatorSetForQuorums(arg0 context.Context, arg1 [][]common.Address, arg2 types.QuorumNums) (*types0.Receipt, error)
- func (m *MockAvsWriterer) UpdateStakesOfOperatorSubsetForAllQuorums(arg0 context.Context, arg1 []common.Address) (*types0.Receipt, error)
- type MockAvsWritererMockRecorder
- func (mr *MockAvsWritererMockRecorder) DeregisterOperator(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockAvsWritererMockRecorder) RaiseChallenge(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call
- func (mr *MockAvsWritererMockRecorder) RegisterOperatorInQuorumWithAVSRegistryCoordinator(arg0, arg1, arg2, arg3, arg4, arg5, arg6 any) *gomock.Call
- func (mr *MockAvsWritererMockRecorder) SendAggregatedResponse(arg0, arg1, arg2, arg3 any) *gomock.Call
- func (mr *MockAvsWritererMockRecorder) SendNewCheckpointTask(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call
- func (mr *MockAvsWritererMockRecorder) UpdateStakesOfEntireOperatorSetForQuorums(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockAvsWritererMockRecorder) UpdateStakesOfOperatorSubsetForAllQuorums(arg0, arg1 any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAvsReaderer ¶
type MockAvsReaderer struct {
// contains filtered or unexported fields
}
MockAvsReaderer is a mock of AvsReaderer interface.
func NewMockAvsReaderer ¶
func NewMockAvsReaderer(ctrl *gomock.Controller) *MockAvsReaderer
NewMockAvsReaderer creates a new mock instance.
func (*MockAvsReaderer) CheckSignatures ¶
func (m *MockAvsReaderer) CheckSignatures(arg0 context.Context, arg1 []byte, arg2 messages.MessageBlsAggregation) (contractSFFLTaskManager.IBLSSignatureCheckerQuorumStakeTotals, error)
CheckSignatures mocks base method.
func (*MockAvsReaderer) EXPECT ¶
func (m *MockAvsReaderer) EXPECT() *MockAvsReadererMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAvsReaderer) GetCheckSignaturesIndices ¶
func (m *MockAvsReaderer) GetCheckSignaturesIndices(arg0 *bind.CallOpts, arg1 uint32, arg2 types.QuorumNums, arg3 []types.Bytes32) (contractOperatorStateRetriever.OperatorStateRetrieverCheckSignaturesIndices, error)
GetCheckSignaturesIndices mocks base method.
func (*MockAvsReaderer) GetErc20Mock ¶
func (m *MockAvsReaderer) GetErc20Mock(arg0 context.Context, arg1 common.Address) (*contractERC20Mock.ContractERC20Mock, error)
GetErc20Mock mocks base method.
func (*MockAvsReaderer) GetLastCheckpointToTimestamp ¶
func (m *MockAvsReaderer) GetLastCheckpointToTimestamp(arg0 context.Context) (uint64, error)
GetLastCheckpointToTimestamp mocks base method.
func (*MockAvsReaderer) GetNextOperatorSetUpdateId ¶
func (m *MockAvsReaderer) GetNextOperatorSetUpdateId(arg0 context.Context) (uint64, error)
GetNextOperatorSetUpdateId mocks base method.
func (*MockAvsReaderer) GetOperatorAddrsInQuorumsAtCurrentBlock ¶
func (m *MockAvsReaderer) GetOperatorAddrsInQuorumsAtCurrentBlock(arg0 *bind.CallOpts, arg1 types.QuorumNums) ([][]common.Address, error)
GetOperatorAddrsInQuorumsAtCurrentBlock mocks base method.
func (*MockAvsReaderer) GetOperatorFromId ¶
func (m *MockAvsReaderer) GetOperatorFromId(arg0 *bind.CallOpts, arg1 types.Bytes32) (common.Address, error)
GetOperatorFromId mocks base method.
func (*MockAvsReaderer) GetOperatorId ¶
GetOperatorId mocks base method.
func (*MockAvsReaderer) GetOperatorSetById ¶
func (m *MockAvsReaderer) GetOperatorSetById(arg0 context.Context, arg1 uint64) ([]contractSFFLOperatorSetUpdateRegistry.RollupOperatorsOperator, error)
GetOperatorSetById mocks base method.
func (*MockAvsReaderer) GetOperatorSetUpdateBlock ¶
func (m *MockAvsReaderer) GetOperatorSetUpdateBlock(arg0 context.Context, arg1 uint64) (uint32, error)
GetOperatorSetUpdateBlock mocks base method.
func (*MockAvsReaderer) GetOperatorSetUpdateDelta ¶
func (m *MockAvsReaderer) GetOperatorSetUpdateDelta(arg0 context.Context, arg1 uint64) ([]contractSFFLOperatorSetUpdateRegistry.RollupOperatorsOperator, error)
GetOperatorSetUpdateDelta mocks base method.
func (*MockAvsReaderer) GetOperatorStakeInQuorumsOfOperatorAtCurrentBlock ¶
func (m *MockAvsReaderer) GetOperatorStakeInQuorumsOfOperatorAtCurrentBlock(arg0 *bind.CallOpts, arg1 types.Bytes32) (map[types.QuorumNum]*big.Int, error)
GetOperatorStakeInQuorumsOfOperatorAtCurrentBlock mocks base method.
func (*MockAvsReaderer) GetOperatorsStakeInQuorumsAtBlock ¶
func (m *MockAvsReaderer) GetOperatorsStakeInQuorumsAtBlock(arg0 *bind.CallOpts, arg1 types.QuorumNums, arg2 uint32) ([][]contractOperatorStateRetriever.OperatorStateRetrieverOperator, error)
GetOperatorsStakeInQuorumsAtBlock mocks base method.
func (*MockAvsReaderer) GetOperatorsStakeInQuorumsAtCurrentBlock ¶
func (m *MockAvsReaderer) GetOperatorsStakeInQuorumsAtCurrentBlock(arg0 *bind.CallOpts, arg1 types.QuorumNums) ([][]contractOperatorStateRetriever.OperatorStateRetrieverOperator, error)
GetOperatorsStakeInQuorumsAtCurrentBlock mocks base method.
func (*MockAvsReaderer) GetOperatorsStakeInQuorumsOfOperatorAtBlock ¶
func (m *MockAvsReaderer) GetOperatorsStakeInQuorumsOfOperatorAtBlock(arg0 *bind.CallOpts, arg1 types.Bytes32, arg2 uint32) (types.QuorumNums, [][]contractOperatorStateRetriever.OperatorStateRetrieverOperator, error)
GetOperatorsStakeInQuorumsOfOperatorAtBlock mocks base method.
func (*MockAvsReaderer) GetOperatorsStakeInQuorumsOfOperatorAtCurrentBlock ¶
func (m *MockAvsReaderer) GetOperatorsStakeInQuorumsOfOperatorAtCurrentBlock(arg0 *bind.CallOpts, arg1 types.Bytes32) (types.QuorumNums, [][]contractOperatorStateRetriever.OperatorStateRetrieverOperator, error)
GetOperatorsStakeInQuorumsOfOperatorAtCurrentBlock mocks base method.
func (*MockAvsReaderer) GetQuorumCount ¶
func (m *MockAvsReaderer) GetQuorumCount(arg0 *bind.CallOpts) (byte, error)
GetQuorumCount mocks base method.
func (*MockAvsReaderer) IsOperatorRegistered ¶
func (m *MockAvsReaderer) IsOperatorRegistered(arg0 *bind.CallOpts, arg1 common.Address) (bool, error)
IsOperatorRegistered mocks base method.
func (*MockAvsReaderer) QueryExistingRegisteredOperatorPubKeys ¶
func (m *MockAvsReaderer) QueryExistingRegisteredOperatorPubKeys(arg0 context.Context, arg1, arg2 *big.Int) ([]common.Address, []types.OperatorPubkeys, error)
QueryExistingRegisteredOperatorPubKeys mocks base method.
type MockAvsReadererMockRecorder ¶
type MockAvsReadererMockRecorder struct {
// contains filtered or unexported fields
}
MockAvsReadererMockRecorder is the mock recorder for MockAvsReaderer.
func (*MockAvsReadererMockRecorder) CheckSignatures ¶
func (mr *MockAvsReadererMockRecorder) CheckSignatures(arg0, arg1, arg2 any) *gomock.Call
CheckSignatures indicates an expected call of CheckSignatures.
func (*MockAvsReadererMockRecorder) GetCheckSignaturesIndices ¶
func (mr *MockAvsReadererMockRecorder) GetCheckSignaturesIndices(arg0, arg1, arg2, arg3 any) *gomock.Call
GetCheckSignaturesIndices indicates an expected call of GetCheckSignaturesIndices.
func (*MockAvsReadererMockRecorder) GetErc20Mock ¶
func (mr *MockAvsReadererMockRecorder) GetErc20Mock(arg0, arg1 any) *gomock.Call
GetErc20Mock indicates an expected call of GetErc20Mock.
func (*MockAvsReadererMockRecorder) GetLastCheckpointToTimestamp ¶
func (mr *MockAvsReadererMockRecorder) GetLastCheckpointToTimestamp(arg0 any) *gomock.Call
GetLastCheckpointToTimestamp indicates an expected call of GetLastCheckpointToTimestamp.
func (*MockAvsReadererMockRecorder) GetNextOperatorSetUpdateId ¶
func (mr *MockAvsReadererMockRecorder) GetNextOperatorSetUpdateId(arg0 any) *gomock.Call
GetNextOperatorSetUpdateId indicates an expected call of GetNextOperatorSetUpdateId.
func (*MockAvsReadererMockRecorder) GetOperatorAddrsInQuorumsAtCurrentBlock ¶
func (mr *MockAvsReadererMockRecorder) GetOperatorAddrsInQuorumsAtCurrentBlock(arg0, arg1 any) *gomock.Call
GetOperatorAddrsInQuorumsAtCurrentBlock indicates an expected call of GetOperatorAddrsInQuorumsAtCurrentBlock.
func (*MockAvsReadererMockRecorder) GetOperatorFromId ¶
func (mr *MockAvsReadererMockRecorder) GetOperatorFromId(arg0, arg1 any) *gomock.Call
GetOperatorFromId indicates an expected call of GetOperatorFromId.
func (*MockAvsReadererMockRecorder) GetOperatorId ¶
func (mr *MockAvsReadererMockRecorder) GetOperatorId(arg0, arg1 any) *gomock.Call
GetOperatorId indicates an expected call of GetOperatorId.
func (*MockAvsReadererMockRecorder) GetOperatorSetById ¶
func (mr *MockAvsReadererMockRecorder) GetOperatorSetById(arg0, arg1 any) *gomock.Call
GetOperatorSetById indicates an expected call of GetOperatorSetById.
func (*MockAvsReadererMockRecorder) GetOperatorSetUpdateBlock ¶
func (mr *MockAvsReadererMockRecorder) GetOperatorSetUpdateBlock(arg0, arg1 any) *gomock.Call
GetOperatorSetUpdateBlock indicates an expected call of GetOperatorSetUpdateBlock.
func (*MockAvsReadererMockRecorder) GetOperatorSetUpdateDelta ¶
func (mr *MockAvsReadererMockRecorder) GetOperatorSetUpdateDelta(arg0, arg1 any) *gomock.Call
GetOperatorSetUpdateDelta indicates an expected call of GetOperatorSetUpdateDelta.
func (*MockAvsReadererMockRecorder) GetOperatorStakeInQuorumsOfOperatorAtCurrentBlock ¶
func (mr *MockAvsReadererMockRecorder) GetOperatorStakeInQuorumsOfOperatorAtCurrentBlock(arg0, arg1 any) *gomock.Call
GetOperatorStakeInQuorumsOfOperatorAtCurrentBlock indicates an expected call of GetOperatorStakeInQuorumsOfOperatorAtCurrentBlock.
func (*MockAvsReadererMockRecorder) GetOperatorsStakeInQuorumsAtBlock ¶
func (mr *MockAvsReadererMockRecorder) GetOperatorsStakeInQuorumsAtBlock(arg0, arg1, arg2 any) *gomock.Call
GetOperatorsStakeInQuorumsAtBlock indicates an expected call of GetOperatorsStakeInQuorumsAtBlock.
func (*MockAvsReadererMockRecorder) GetOperatorsStakeInQuorumsAtCurrentBlock ¶
func (mr *MockAvsReadererMockRecorder) GetOperatorsStakeInQuorumsAtCurrentBlock(arg0, arg1 any) *gomock.Call
GetOperatorsStakeInQuorumsAtCurrentBlock indicates an expected call of GetOperatorsStakeInQuorumsAtCurrentBlock.
func (*MockAvsReadererMockRecorder) GetOperatorsStakeInQuorumsOfOperatorAtBlock ¶
func (mr *MockAvsReadererMockRecorder) GetOperatorsStakeInQuorumsOfOperatorAtBlock(arg0, arg1, arg2 any) *gomock.Call
GetOperatorsStakeInQuorumsOfOperatorAtBlock indicates an expected call of GetOperatorsStakeInQuorumsOfOperatorAtBlock.
func (*MockAvsReadererMockRecorder) GetOperatorsStakeInQuorumsOfOperatorAtCurrentBlock ¶
func (mr *MockAvsReadererMockRecorder) GetOperatorsStakeInQuorumsOfOperatorAtCurrentBlock(arg0, arg1 any) *gomock.Call
GetOperatorsStakeInQuorumsOfOperatorAtCurrentBlock indicates an expected call of GetOperatorsStakeInQuorumsOfOperatorAtCurrentBlock.
func (*MockAvsReadererMockRecorder) GetQuorumCount ¶
func (mr *MockAvsReadererMockRecorder) GetQuorumCount(arg0 any) *gomock.Call
GetQuorumCount indicates an expected call of GetQuorumCount.
func (*MockAvsReadererMockRecorder) IsOperatorRegistered ¶
func (mr *MockAvsReadererMockRecorder) IsOperatorRegistered(arg0, arg1 any) *gomock.Call
IsOperatorRegistered indicates an expected call of IsOperatorRegistered.
func (*MockAvsReadererMockRecorder) QueryExistingRegisteredOperatorPubKeys ¶
func (mr *MockAvsReadererMockRecorder) QueryExistingRegisteredOperatorPubKeys(arg0, arg1, arg2 any) *gomock.Call
QueryExistingRegisteredOperatorPubKeys indicates an expected call of QueryExistingRegisteredOperatorPubKeys.
func (*MockAvsReadererMockRecorder) QueryExistingRegisteredOperatorSockets ¶
func (mr *MockAvsReadererMockRecorder) QueryExistingRegisteredOperatorSockets(arg0, arg1, arg2 any) *gomock.Call
QueryExistingRegisteredOperatorSockets indicates an expected call of QueryExistingRegisteredOperatorSockets.
type MockAvsSubscriberer ¶
type MockAvsSubscriberer struct {
// contains filtered or unexported fields
}
MockAvsSubscriberer is a mock of AvsSubscriberer interface.
func NewMockAvsSubscriberer ¶
func NewMockAvsSubscriberer(ctrl *gomock.Controller) *MockAvsSubscriberer
NewMockAvsSubscriberer creates a new mock instance.
func (*MockAvsSubscriberer) EXPECT ¶
func (m *MockAvsSubscriberer) EXPECT() *MockAvsSubscribererMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAvsSubscriberer) ParseCheckpointTaskResponded ¶
func (m *MockAvsSubscriberer) ParseCheckpointTaskResponded(arg0 types.Log) (*contractSFFLTaskManager.ContractSFFLTaskManagerCheckpointTaskResponded, error)
ParseCheckpointTaskResponded mocks base method.
func (*MockAvsSubscriberer) SubscribeToNewPubkeyRegistrations ¶
func (m *MockAvsSubscriberer) SubscribeToNewPubkeyRegistrations() (chan *contractBLSApkRegistry.ContractBLSApkRegistryNewPubkeyRegistration, event.Subscription, error)
SubscribeToNewPubkeyRegistrations mocks base method.
func (*MockAvsSubscriberer) SubscribeToNewTasks ¶
func (m *MockAvsSubscriberer) SubscribeToNewTasks(arg0 chan *contractSFFLTaskManager.ContractSFFLTaskManagerCheckpointTaskCreated) (event.Subscription, error)
SubscribeToNewTasks mocks base method.
func (*MockAvsSubscriberer) SubscribeToOperatorSetUpdates ¶
func (m *MockAvsSubscriberer) SubscribeToOperatorSetUpdates(arg0 chan *contractSFFLOperatorSetUpdateRegistry.ContractSFFLOperatorSetUpdateRegistryOperatorSetUpdatedAtBlock) (event.Subscription, error)
SubscribeToOperatorSetUpdates mocks base method.
func (*MockAvsSubscriberer) SubscribeToOperatorSocketUpdates ¶
func (m *MockAvsSubscriberer) SubscribeToOperatorSocketUpdates() (chan *contractRegistryCoordinator.ContractRegistryCoordinatorOperatorSocketUpdate, event.Subscription, error)
SubscribeToOperatorSocketUpdates mocks base method.
func (*MockAvsSubscriberer) SubscribeToTaskResponses ¶
func (m *MockAvsSubscriberer) SubscribeToTaskResponses(arg0 chan *contractSFFLTaskManager.ContractSFFLTaskManagerCheckpointTaskResponded) (event.Subscription, error)
SubscribeToTaskResponses mocks base method.
type MockAvsSubscribererMockRecorder ¶
type MockAvsSubscribererMockRecorder struct {
// contains filtered or unexported fields
}
MockAvsSubscribererMockRecorder is the mock recorder for MockAvsSubscriberer.
func (*MockAvsSubscribererMockRecorder) ParseCheckpointTaskResponded ¶
func (mr *MockAvsSubscribererMockRecorder) ParseCheckpointTaskResponded(arg0 any) *gomock.Call
ParseCheckpointTaskResponded indicates an expected call of ParseCheckpointTaskResponded.
func (*MockAvsSubscribererMockRecorder) SubscribeToNewPubkeyRegistrations ¶
func (mr *MockAvsSubscribererMockRecorder) SubscribeToNewPubkeyRegistrations() *gomock.Call
SubscribeToNewPubkeyRegistrations indicates an expected call of SubscribeToNewPubkeyRegistrations.
func (*MockAvsSubscribererMockRecorder) SubscribeToNewTasks ¶
func (mr *MockAvsSubscribererMockRecorder) SubscribeToNewTasks(arg0 any) *gomock.Call
SubscribeToNewTasks indicates an expected call of SubscribeToNewTasks.
func (*MockAvsSubscribererMockRecorder) SubscribeToOperatorSetUpdates ¶
func (mr *MockAvsSubscribererMockRecorder) SubscribeToOperatorSetUpdates(arg0 any) *gomock.Call
SubscribeToOperatorSetUpdates indicates an expected call of SubscribeToOperatorSetUpdates.
func (*MockAvsSubscribererMockRecorder) SubscribeToOperatorSocketUpdates ¶
func (mr *MockAvsSubscribererMockRecorder) SubscribeToOperatorSocketUpdates() *gomock.Call
SubscribeToOperatorSocketUpdates indicates an expected call of SubscribeToOperatorSocketUpdates.
func (*MockAvsSubscribererMockRecorder) SubscribeToTaskResponses ¶
func (mr *MockAvsSubscribererMockRecorder) SubscribeToTaskResponses(arg0 any) *gomock.Call
SubscribeToTaskResponses indicates an expected call of SubscribeToTaskResponses.
type MockAvsWriterer ¶
type MockAvsWriterer struct {
// contains filtered or unexported fields
}
MockAvsWriterer is a mock of AvsWriterer interface.
func NewMockAvsWriterer ¶
func NewMockAvsWriterer(ctrl *gomock.Controller) *MockAvsWriterer
NewMockAvsWriterer creates a new mock instance.
func (*MockAvsWriterer) DeregisterOperator ¶
func (m *MockAvsWriterer) DeregisterOperator(arg0 context.Context, arg1 types.QuorumNums, arg2 contractRegistryCoordinator.BN254G1Point) (*types0.Receipt, error)
DeregisterOperator mocks base method.
func (*MockAvsWriterer) EXPECT ¶
func (m *MockAvsWriterer) EXPECT() *MockAvsWritererMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAvsWriterer) RaiseChallenge ¶
func (m *MockAvsWriterer) RaiseChallenge(arg0 context.Context, arg1 contractSFFLTaskManager.CheckpointTask, arg2 messages.CheckpointTaskResponse, arg3 contractSFFLTaskManager.CheckpointTaskResponseMetadata, arg4 []contractSFFLTaskManager.BN254G1Point) (*types0.Receipt, error)
RaiseChallenge mocks base method.
func (*MockAvsWriterer) RegisterOperatorInQuorumWithAVSRegistryCoordinator ¶
func (m *MockAvsWriterer) RegisterOperatorInQuorumWithAVSRegistryCoordinator(arg0 context.Context, arg1 *ecdsa.PrivateKey, arg2 [32]byte, arg3 *big.Int, arg4 *bls.KeyPair, arg5 types.QuorumNums, arg6 string) (*types0.Receipt, error)
RegisterOperatorInQuorumWithAVSRegistryCoordinator mocks base method.
func (*MockAvsWriterer) SendAggregatedResponse ¶
func (m *MockAvsWriterer) SendAggregatedResponse(arg0 context.Context, arg1 contractSFFLTaskManager.CheckpointTask, arg2 messages.CheckpointTaskResponse, arg3 messages.MessageBlsAggregation) (*types0.Receipt, error)
SendAggregatedResponse mocks base method.
func (*MockAvsWriterer) SendNewCheckpointTask ¶
func (m *MockAvsWriterer) SendNewCheckpointTask(arg0 context.Context, arg1, arg2 uint64, arg3 types.QuorumThresholdPercentage, arg4 types.QuorumNums) (contractSFFLTaskManager.CheckpointTask, uint32, error)
SendNewCheckpointTask mocks base method.
func (*MockAvsWriterer) UpdateStakesOfEntireOperatorSetForQuorums ¶
func (m *MockAvsWriterer) UpdateStakesOfEntireOperatorSetForQuorums(arg0 context.Context, arg1 [][]common.Address, arg2 types.QuorumNums) (*types0.Receipt, error)
UpdateStakesOfEntireOperatorSetForQuorums mocks base method.
func (*MockAvsWriterer) UpdateStakesOfOperatorSubsetForAllQuorums ¶
func (m *MockAvsWriterer) UpdateStakesOfOperatorSubsetForAllQuorums(arg0 context.Context, arg1 []common.Address) (*types0.Receipt, error)
UpdateStakesOfOperatorSubsetForAllQuorums mocks base method.
type MockAvsWritererMockRecorder ¶
type MockAvsWritererMockRecorder struct {
// contains filtered or unexported fields
}
MockAvsWritererMockRecorder is the mock recorder for MockAvsWriterer.
func (*MockAvsWritererMockRecorder) DeregisterOperator ¶
func (mr *MockAvsWritererMockRecorder) DeregisterOperator(arg0, arg1, arg2 any) *gomock.Call
DeregisterOperator indicates an expected call of DeregisterOperator.
func (*MockAvsWritererMockRecorder) RaiseChallenge ¶
func (mr *MockAvsWritererMockRecorder) RaiseChallenge(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call
RaiseChallenge indicates an expected call of RaiseChallenge.
func (*MockAvsWritererMockRecorder) RegisterOperatorInQuorumWithAVSRegistryCoordinator ¶
func (mr *MockAvsWritererMockRecorder) RegisterOperatorInQuorumWithAVSRegistryCoordinator(arg0, arg1, arg2, arg3, arg4, arg5, arg6 any) *gomock.Call
RegisterOperatorInQuorumWithAVSRegistryCoordinator indicates an expected call of RegisterOperatorInQuorumWithAVSRegistryCoordinator.
func (*MockAvsWritererMockRecorder) SendAggregatedResponse ¶
func (mr *MockAvsWritererMockRecorder) SendAggregatedResponse(arg0, arg1, arg2, arg3 any) *gomock.Call
SendAggregatedResponse indicates an expected call of SendAggregatedResponse.
func (*MockAvsWritererMockRecorder) SendNewCheckpointTask ¶
func (mr *MockAvsWritererMockRecorder) SendNewCheckpointTask(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call
SendNewCheckpointTask indicates an expected call of SendNewCheckpointTask.
func (*MockAvsWritererMockRecorder) UpdateStakesOfEntireOperatorSetForQuorums ¶
func (mr *MockAvsWritererMockRecorder) UpdateStakesOfEntireOperatorSetForQuorums(arg0, arg1, arg2 any) *gomock.Call
UpdateStakesOfEntireOperatorSetForQuorums indicates an expected call of UpdateStakesOfEntireOperatorSetForQuorums.
func (*MockAvsWritererMockRecorder) UpdateStakesOfOperatorSubsetForAllQuorums ¶
func (mr *MockAvsWritererMockRecorder) UpdateStakesOfOperatorSubsetForAllQuorums(arg0, arg1 any) *gomock.Call
UpdateStakesOfOperatorSubsetForAllQuorums indicates an expected call of UpdateStakesOfOperatorSubsetForAllQuorums.