mocks

package
v0.0.0-...-ded9150 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2024 License: MIT Imports: 18 Imported by: 0

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

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

CheckSignatures mocks base method.

func (*MockAvsReaderer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockAvsReaderer) GetCheckSignaturesIndices

GetCheckSignaturesIndices mocks base method.

func (*MockAvsReaderer) GetErc20Mock

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

func (m *MockAvsReaderer) GetOperatorId(arg0 *bind.CallOpts, arg1 common.Address) ([32]byte, error)

GetOperatorId mocks base method.

func (*MockAvsReaderer) GetOperatorSetById

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

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.

func (*MockAvsReaderer) QueryExistingRegisteredOperatorSockets

func (m *MockAvsReaderer) QueryExistingRegisteredOperatorSockets(arg0 context.Context, arg1, arg2 *big.Int) (map[types.Bytes32]types.Socket, error)

QueryExistingRegisteredOperatorSockets 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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockAvsSubscriberer) ParseCheckpointTaskResponded

ParseCheckpointTaskResponded mocks base method.

func (*MockAvsSubscriberer) SubscribeToNewPubkeyRegistrations

SubscribeToNewPubkeyRegistrations mocks base method.

func (*MockAvsSubscriberer) SubscribeToNewTasks

SubscribeToNewTasks mocks base method.

func (*MockAvsSubscriberer) SubscribeToOperatorSetUpdates

SubscribeToOperatorSetUpdates mocks base method.

func (*MockAvsSubscriberer) SubscribeToOperatorSocketUpdates

SubscribeToOperatorSocketUpdates mocks base method.

func (*MockAvsSubscriberer) SubscribeToTaskResponses

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

DeregisterOperator mocks base method.

func (*MockAvsWriterer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

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

SendAggregatedResponse mocks base method.

func (*MockAvsWriterer) SendNewCheckpointTask

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL