Documentation ¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: github.com/Layr-Labs/eigensdk-go/chainio/clients/eth (interfaces: Client)
Generated by this command:
mockgen -destination=./mocks/eth_client.go -package=mocks github.com/Layr-Labs/eigensdk-go/chainio/clients/eth Client
Package mocks is a generated GoMock package.
Code generated by MockGen. DO NOT EDIT. Source: github.com/Nuffle-Labs/nffl/aggregator/blsagg (interfaces: MessageBlsAggregationService)
Generated by this command:
mockgen -destination=./mocks/message_blsagg.go -package=mocks github.com/Nuffle-Labs/nffl/aggregator/blsagg MessageBlsAggregationService
Package mocks is a generated GoMock package.
Code generated by MockGen. DO NOT EDIT. Source: github.com/Nuffle-Labs/nffl/aggregator (interfaces: OperatorRegistrationsService)
Generated by this command:
mockgen -destination=./mocks/operator_registrations_inmemory.go -package=mocks github.com/Nuffle-Labs/nffl/aggregator OperatorRegistrationsService
Package mocks is a generated GoMock package.
Code generated by MockGen. DO NOT EDIT. Source: github.com/Nuffle-Labs/nffl/aggregator (interfaces: RestAggregatorer)
Generated by this command:
mockgen -destination=./mocks/rest_aggregator.go -package=mocks github.com/Nuffle-Labs/nffl/aggregator RestAggregatorer
Package mocks is a generated GoMock package.
Code generated by MockGen. DO NOT EDIT. Source: github.com/Nuffle-Labs/nffl/aggregator (interfaces: RollupBroadcasterer)
Generated by this command:
mockgen -destination=./mocks/rollup_broadcaster.go -package=mocks github.com/Nuffle-Labs/nffl/aggregator RollupBroadcasterer
Package mocks is a generated GoMock package.
Code generated by MockGen. DO NOT EDIT. Source: github.com/Nuffle-Labs/nffl/aggregator (interfaces: RpcAggregatorer)
Generated by this command:
mockgen -destination=./mocks/rpc_aggregator.go -package=mocks github.com/Nuffle-Labs/nffl/aggregator RpcAggregatorer
Package mocks is a generated GoMock package.
Index ¶
- func MockSendNewCheckpointTask(blockNum, taskNum uint32, fromTimestamp, toTimestamp uint64) (taskmanager.CheckpointTask, uint32, error)
- type MockClient
- func (m *MockClient) BalanceAt(arg0 context.Context, arg1 common.Address, arg2 *big.Int) (*big.Int, error)
- func (m *MockClient) BlockByHash(arg0 context.Context, arg1 common.Hash) (*types.Block, error)
- func (m *MockClient) BlockByNumber(arg0 context.Context, arg1 *big.Int) (*types.Block, error)
- func (m *MockClient) BlockNumber(arg0 context.Context) (uint64, error)
- func (m *MockClient) CallContract(arg0 context.Context, arg1 ethereum.CallMsg, arg2 *big.Int) ([]byte, error)
- func (m *MockClient) CallContractAtHash(arg0 context.Context, arg1 ethereum.CallMsg, arg2 common.Hash) ([]byte, error)
- func (m *MockClient) ChainID(arg0 context.Context) (*big.Int, error)
- func (m *MockClient) CodeAt(arg0 context.Context, arg1 common.Address, arg2 *big.Int) ([]byte, error)
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) EstimateGas(arg0 context.Context, arg1 ethereum.CallMsg) (uint64, error)
- func (m *MockClient) FeeHistory(arg0 context.Context, arg1 uint64, arg2 *big.Int, arg3 []float64) (*ethereum.FeeHistory, error)
- func (m *MockClient) FilterLogs(arg0 context.Context, arg1 ethereum.FilterQuery) ([]types.Log, error)
- func (m *MockClient) HeaderByHash(arg0 context.Context, arg1 common.Hash) (*types.Header, error)
- func (m *MockClient) HeaderByNumber(arg0 context.Context, arg1 *big.Int) (*types.Header, error)
- func (m *MockClient) NetworkID(arg0 context.Context) (*big.Int, error)
- func (m *MockClient) NonceAt(arg0 context.Context, arg1 common.Address, arg2 *big.Int) (uint64, error)
- func (m *MockClient) PeerCount(arg0 context.Context) (uint64, error)
- func (m *MockClient) PendingBalanceAt(arg0 context.Context, arg1 common.Address) (*big.Int, error)
- func (m *MockClient) PendingCallContract(arg0 context.Context, arg1 ethereum.CallMsg) ([]byte, error)
- func (m *MockClient) PendingCodeAt(arg0 context.Context, arg1 common.Address) ([]byte, error)
- func (m *MockClient) PendingNonceAt(arg0 context.Context, arg1 common.Address) (uint64, error)
- func (m *MockClient) PendingStorageAt(arg0 context.Context, arg1 common.Address, arg2 common.Hash) ([]byte, error)
- func (m *MockClient) PendingTransactionCount(arg0 context.Context) (uint, error)
- func (m *MockClient) SendTransaction(arg0 context.Context, arg1 *types.Transaction) error
- func (m *MockClient) StorageAt(arg0 context.Context, arg1 common.Address, arg2 common.Hash, arg3 *big.Int) ([]byte, error)
- func (m *MockClient) SubscribeFilterLogs(arg0 context.Context, arg1 ethereum.FilterQuery, arg2 chan<- types.Log) (ethereum.Subscription, error)
- func (m *MockClient) SubscribeNewHead(arg0 context.Context, arg1 chan<- *types.Header) (ethereum.Subscription, error)
- func (m *MockClient) SuggestGasPrice(arg0 context.Context) (*big.Int, error)
- func (m *MockClient) SuggestGasTipCap(arg0 context.Context) (*big.Int, error)
- func (m *MockClient) SyncProgress(arg0 context.Context) (*ethereum.SyncProgress, error)
- func (m *MockClient) TransactionByHash(arg0 context.Context, arg1 common.Hash) (*types.Transaction, bool, error)
- func (m *MockClient) TransactionCount(arg0 context.Context, arg1 common.Hash) (uint, error)
- func (m *MockClient) TransactionInBlock(arg0 context.Context, arg1 common.Hash, arg2 uint) (*types.Transaction, error)
- func (m *MockClient) TransactionReceipt(arg0 context.Context, arg1 common.Hash) (*types.Receipt, error)
- func (m *MockClient) TransactionSender(arg0 context.Context, arg1 *types.Transaction, arg2 common.Hash, arg3 uint) (common.Address, error)
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) BalanceAt(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockClientMockRecorder) BlockByHash(arg0, arg1 any) *gomock.Call
- func (mr *MockClientMockRecorder) BlockByNumber(arg0, arg1 any) *gomock.Call
- func (mr *MockClientMockRecorder) BlockNumber(arg0 any) *gomock.Call
- func (mr *MockClientMockRecorder) CallContract(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockClientMockRecorder) CallContractAtHash(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockClientMockRecorder) ChainID(arg0 any) *gomock.Call
- func (mr *MockClientMockRecorder) CodeAt(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockClientMockRecorder) EstimateGas(arg0, arg1 any) *gomock.Call
- func (mr *MockClientMockRecorder) FeeHistory(arg0, arg1, arg2, arg3 any) *gomock.Call
- func (mr *MockClientMockRecorder) FilterLogs(arg0, arg1 any) *gomock.Call
- func (mr *MockClientMockRecorder) HeaderByHash(arg0, arg1 any) *gomock.Call
- func (mr *MockClientMockRecorder) HeaderByNumber(arg0, arg1 any) *gomock.Call
- func (mr *MockClientMockRecorder) NetworkID(arg0 any) *gomock.Call
- func (mr *MockClientMockRecorder) NonceAt(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockClientMockRecorder) PeerCount(arg0 any) *gomock.Call
- func (mr *MockClientMockRecorder) PendingBalanceAt(arg0, arg1 any) *gomock.Call
- func (mr *MockClientMockRecorder) PendingCallContract(arg0, arg1 any) *gomock.Call
- func (mr *MockClientMockRecorder) PendingCodeAt(arg0, arg1 any) *gomock.Call
- func (mr *MockClientMockRecorder) PendingNonceAt(arg0, arg1 any) *gomock.Call
- func (mr *MockClientMockRecorder) PendingStorageAt(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockClientMockRecorder) PendingTransactionCount(arg0 any) *gomock.Call
- func (mr *MockClientMockRecorder) SendTransaction(arg0, arg1 any) *gomock.Call
- func (mr *MockClientMockRecorder) StorageAt(arg0, arg1, arg2, arg3 any) *gomock.Call
- func (mr *MockClientMockRecorder) SubscribeFilterLogs(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockClientMockRecorder) SubscribeNewHead(arg0, arg1 any) *gomock.Call
- func (mr *MockClientMockRecorder) SuggestGasPrice(arg0 any) *gomock.Call
- func (mr *MockClientMockRecorder) SuggestGasTipCap(arg0 any) *gomock.Call
- func (mr *MockClientMockRecorder) SyncProgress(arg0 any) *gomock.Call
- func (mr *MockClientMockRecorder) TransactionByHash(arg0, arg1 any) *gomock.Call
- func (mr *MockClientMockRecorder) TransactionCount(arg0, arg1 any) *gomock.Call
- func (mr *MockClientMockRecorder) TransactionInBlock(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockClientMockRecorder) TransactionReceipt(arg0, arg1 any) *gomock.Call
- func (mr *MockClientMockRecorder) TransactionSender(arg0, arg1, arg2, arg3 any) *gomock.Call
- type MockMessageBlsAggregationService
- func (m *MockMessageBlsAggregationService) EXPECT() *MockMessageBlsAggregationServiceMockRecorder
- func (m *MockMessageBlsAggregationService) GetResponseChannel() <-chan blsagg.MessageBlsAggregationServiceResponse
- func (m *MockMessageBlsAggregationService) InitializeMessageIfNotExists(arg0 [32]byte, arg1 []types.QuorumNum, arg2 []types.QuorumThresholdPercentage, ...) error
- func (m *MockMessageBlsAggregationService) ProcessNewSignature(arg0 context.Context, arg1 blsagg.MessageBlsAggregationServiceMessage, ...) error
- type MockMessageBlsAggregationServiceMockRecorder
- func (mr *MockMessageBlsAggregationServiceMockRecorder) GetResponseChannel() *gomock.Call
- func (mr *MockMessageBlsAggregationServiceMockRecorder) InitializeMessageIfNotExists(arg0, arg1, arg2, arg3, arg4, arg5 any) *gomock.Call
- func (mr *MockMessageBlsAggregationServiceMockRecorder) ProcessNewSignature(arg0, arg1, arg2, arg3 any) *gomock.Call
- type MockOperatorRegistrationsService
- func (m *MockOperatorRegistrationsService) EXPECT() *MockOperatorRegistrationsServiceMockRecorder
- func (m *MockOperatorRegistrationsService) GetOperatorInfo(arg0 context.Context, arg1 common.Address) (types.OperatorInfo, bool)
- func (m *MockOperatorRegistrationsService) GetOperatorInfoById(arg0 context.Context, arg1 types.Bytes32) (types.OperatorInfo, bool)
- type MockOperatorRegistrationsServiceMockRecorder
- type MockOperatorState
- type MockRegistry
- type MockRestAggregatorer
- func (m *MockRestAggregatorer) EXPECT() *MockRestAggregatorerMockRecorder
- func (m *MockRestAggregatorer) GetCheckpointMessages(arg0, arg1 uint64) (*types.GetCheckpointMessagesResponse, error)
- func (m *MockRestAggregatorer) GetOperatorSetUpdateAggregation(arg0 uint64) (*types.GetOperatorSetUpdateAggregationResponse, error)
- func (m *MockRestAggregatorer) GetStateRootUpdateAggregation(arg0 uint32, arg1 uint64) (*types.GetStateRootUpdateAggregationResponse, error)
- type MockRestAggregatorerMockRecorder
- type MockRollupBroadcasterer
- func (m *MockRollupBroadcasterer) BroadcastOperatorSetUpdate(arg0 context.Context, arg1 messages.OperatorSetUpdateMessage, ...)
- func (m *MockRollupBroadcasterer) Close()
- func (m *MockRollupBroadcasterer) EXPECT() *MockRollupBroadcastererMockRecorder
- func (m *MockRollupBroadcasterer) GetErrorChan() <-chan error
- type MockRollupBroadcastererMockRecorder
- type MockRpcAggregatorer
- func (m *MockRpcAggregatorer) EXPECT() *MockRpcAggregatorerMockRecorder
- func (m *MockRpcAggregatorer) GetAggregatedCheckpointMessages(arg0, arg1 uint64) (*messages.CheckpointMessages, error)
- func (m *MockRpcAggregatorer) GetOperatorInfoById(arg0 context.Context, arg1 types.Bytes32) (types.OperatorInfo, bool)
- func (m *MockRpcAggregatorer) GetRegistryCoordinatorAddress(arg0 *string) error
- func (m *MockRpcAggregatorer) ProcessSignedCheckpointTaskResponse(arg0 *messages.SignedCheckpointTaskResponse) error
- func (m *MockRpcAggregatorer) ProcessSignedOperatorSetUpdateMessage(arg0 *messages.SignedOperatorSetUpdateMessage) error
- func (m *MockRpcAggregatorer) ProcessSignedStateRootUpdateMessage(arg0 *messages.SignedStateRootUpdateMessage) error
- type MockRpcAggregatorerMockRecorder
- func (mr *MockRpcAggregatorerMockRecorder) GetAggregatedCheckpointMessages(arg0, arg1 any) *gomock.Call
- func (mr *MockRpcAggregatorerMockRecorder) GetOperatorInfoById(arg0, arg1 any) *gomock.Call
- func (mr *MockRpcAggregatorerMockRecorder) GetRegistryCoordinatorAddress(arg0 any) *gomock.Call
- func (mr *MockRpcAggregatorerMockRecorder) ProcessSignedCheckpointTaskResponse(arg0 any) *gomock.Call
- func (mr *MockRpcAggregatorerMockRecorder) ProcessSignedOperatorSetUpdateMessage(arg0 any) *gomock.Call
- func (mr *MockRpcAggregatorerMockRecorder) ProcessSignedStateRootUpdateMessage(arg0 any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MockSendNewCheckpointTask ¶
func MockSendNewCheckpointTask(blockNum, taskNum uint32, fromTimestamp, toTimestamp uint64) (taskmanager.CheckpointTask, uint32, error)
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface.
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance.
func (*MockClient) BalanceAt ¶
func (m *MockClient) BalanceAt(arg0 context.Context, arg1 common.Address, arg2 *big.Int) (*big.Int, error)
BalanceAt mocks base method.
func (*MockClient) BlockByHash ¶
BlockByHash mocks base method.
func (*MockClient) BlockByNumber ¶
BlockByNumber mocks base method.
func (*MockClient) BlockNumber ¶
func (m *MockClient) BlockNumber(arg0 context.Context) (uint64, error)
BlockNumber mocks base method.
func (*MockClient) CallContract ¶
func (m *MockClient) CallContract(arg0 context.Context, arg1 ethereum.CallMsg, arg2 *big.Int) ([]byte, error)
CallContract mocks base method.
func (*MockClient) CallContractAtHash ¶
func (m *MockClient) CallContractAtHash(arg0 context.Context, arg1 ethereum.CallMsg, arg2 common.Hash) ([]byte, error)
CallContractAtHash mocks base method.
func (*MockClient) CodeAt ¶
func (m *MockClient) CodeAt(arg0 context.Context, arg1 common.Address, arg2 *big.Int) ([]byte, error)
CodeAt mocks base method.
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClient) EstimateGas ¶
EstimateGas mocks base method.
func (*MockClient) FeeHistory ¶
func (m *MockClient) FeeHistory(arg0 context.Context, arg1 uint64, arg2 *big.Int, arg3 []float64) (*ethereum.FeeHistory, error)
FeeHistory mocks base method.
func (*MockClient) FilterLogs ¶
func (m *MockClient) FilterLogs(arg0 context.Context, arg1 ethereum.FilterQuery) ([]types.Log, error)
FilterLogs mocks base method.
func (*MockClient) HeaderByHash ¶
HeaderByHash mocks base method.
func (*MockClient) HeaderByNumber ¶
HeaderByNumber mocks base method.
func (*MockClient) NonceAt ¶
func (m *MockClient) NonceAt(arg0 context.Context, arg1 common.Address, arg2 *big.Int) (uint64, error)
NonceAt mocks base method.
func (*MockClient) PeerCount ¶
func (m *MockClient) PeerCount(arg0 context.Context) (uint64, error)
PeerCount mocks base method.
func (*MockClient) PendingBalanceAt ¶
PendingBalanceAt mocks base method.
func (*MockClient) PendingCallContract ¶
func (m *MockClient) PendingCallContract(arg0 context.Context, arg1 ethereum.CallMsg) ([]byte, error)
PendingCallContract mocks base method.
func (*MockClient) PendingCodeAt ¶
PendingCodeAt mocks base method.
func (*MockClient) PendingNonceAt ¶
PendingNonceAt mocks base method.
func (*MockClient) PendingStorageAt ¶
func (m *MockClient) PendingStorageAt(arg0 context.Context, arg1 common.Address, arg2 common.Hash) ([]byte, error)
PendingStorageAt mocks base method.
func (*MockClient) PendingTransactionCount ¶
func (m *MockClient) PendingTransactionCount(arg0 context.Context) (uint, error)
PendingTransactionCount mocks base method.
func (*MockClient) SendTransaction ¶
func (m *MockClient) SendTransaction(arg0 context.Context, arg1 *types.Transaction) error
SendTransaction mocks base method.
func (*MockClient) StorageAt ¶
func (m *MockClient) StorageAt(arg0 context.Context, arg1 common.Address, arg2 common.Hash, arg3 *big.Int) ([]byte, error)
StorageAt mocks base method.
func (*MockClient) SubscribeFilterLogs ¶
func (m *MockClient) SubscribeFilterLogs(arg0 context.Context, arg1 ethereum.FilterQuery, arg2 chan<- types.Log) (ethereum.Subscription, error)
SubscribeFilterLogs mocks base method.
func (*MockClient) SubscribeNewHead ¶
func (m *MockClient) SubscribeNewHead(arg0 context.Context, arg1 chan<- *types.Header) (ethereum.Subscription, error)
SubscribeNewHead mocks base method.
func (*MockClient) SuggestGasPrice ¶
SuggestGasPrice mocks base method.
func (*MockClient) SuggestGasTipCap ¶
SuggestGasTipCap mocks base method.
func (*MockClient) SyncProgress ¶
func (m *MockClient) SyncProgress(arg0 context.Context) (*ethereum.SyncProgress, error)
SyncProgress mocks base method.
func (*MockClient) TransactionByHash ¶
func (m *MockClient) TransactionByHash(arg0 context.Context, arg1 common.Hash) (*types.Transaction, bool, error)
TransactionByHash mocks base method.
func (*MockClient) TransactionCount ¶
TransactionCount mocks base method.
func (*MockClient) TransactionInBlock ¶
func (m *MockClient) TransactionInBlock(arg0 context.Context, arg1 common.Hash, arg2 uint) (*types.Transaction, error)
TransactionInBlock mocks base method.
func (*MockClient) TransactionReceipt ¶
func (m *MockClient) TransactionReceipt(arg0 context.Context, arg1 common.Hash) (*types.Receipt, error)
TransactionReceipt mocks base method.
func (*MockClient) TransactionSender ¶
func (m *MockClient) TransactionSender(arg0 context.Context, arg1 *types.Transaction, arg2 common.Hash, arg3 uint) (common.Address, error)
TransactionSender mocks base method.
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient.
func (*MockClientMockRecorder) BalanceAt ¶
func (mr *MockClientMockRecorder) BalanceAt(arg0, arg1, arg2 any) *gomock.Call
BalanceAt indicates an expected call of BalanceAt.
func (*MockClientMockRecorder) BlockByHash ¶
func (mr *MockClientMockRecorder) BlockByHash(arg0, arg1 any) *gomock.Call
BlockByHash indicates an expected call of BlockByHash.
func (*MockClientMockRecorder) BlockByNumber ¶
func (mr *MockClientMockRecorder) BlockByNumber(arg0, arg1 any) *gomock.Call
BlockByNumber indicates an expected call of BlockByNumber.
func (*MockClientMockRecorder) BlockNumber ¶
func (mr *MockClientMockRecorder) BlockNumber(arg0 any) *gomock.Call
BlockNumber indicates an expected call of BlockNumber.
func (*MockClientMockRecorder) CallContract ¶
func (mr *MockClientMockRecorder) CallContract(arg0, arg1, arg2 any) *gomock.Call
CallContract indicates an expected call of CallContract.
func (*MockClientMockRecorder) CallContractAtHash ¶
func (mr *MockClientMockRecorder) CallContractAtHash(arg0, arg1, arg2 any) *gomock.Call
CallContractAtHash indicates an expected call of CallContractAtHash.
func (*MockClientMockRecorder) ChainID ¶
func (mr *MockClientMockRecorder) ChainID(arg0 any) *gomock.Call
ChainID indicates an expected call of ChainID.
func (*MockClientMockRecorder) CodeAt ¶
func (mr *MockClientMockRecorder) CodeAt(arg0, arg1, arg2 any) *gomock.Call
CodeAt indicates an expected call of CodeAt.
func (*MockClientMockRecorder) EstimateGas ¶
func (mr *MockClientMockRecorder) EstimateGas(arg0, arg1 any) *gomock.Call
EstimateGas indicates an expected call of EstimateGas.
func (*MockClientMockRecorder) FeeHistory ¶
func (mr *MockClientMockRecorder) FeeHistory(arg0, arg1, arg2, arg3 any) *gomock.Call
FeeHistory indicates an expected call of FeeHistory.
func (*MockClientMockRecorder) FilterLogs ¶
func (mr *MockClientMockRecorder) FilterLogs(arg0, arg1 any) *gomock.Call
FilterLogs indicates an expected call of FilterLogs.
func (*MockClientMockRecorder) HeaderByHash ¶
func (mr *MockClientMockRecorder) HeaderByHash(arg0, arg1 any) *gomock.Call
HeaderByHash indicates an expected call of HeaderByHash.
func (*MockClientMockRecorder) HeaderByNumber ¶
func (mr *MockClientMockRecorder) HeaderByNumber(arg0, arg1 any) *gomock.Call
HeaderByNumber indicates an expected call of HeaderByNumber.
func (*MockClientMockRecorder) NetworkID ¶
func (mr *MockClientMockRecorder) NetworkID(arg0 any) *gomock.Call
NetworkID indicates an expected call of NetworkID.
func (*MockClientMockRecorder) NonceAt ¶
func (mr *MockClientMockRecorder) NonceAt(arg0, arg1, arg2 any) *gomock.Call
NonceAt indicates an expected call of NonceAt.
func (*MockClientMockRecorder) PeerCount ¶
func (mr *MockClientMockRecorder) PeerCount(arg0 any) *gomock.Call
PeerCount indicates an expected call of PeerCount.
func (*MockClientMockRecorder) PendingBalanceAt ¶
func (mr *MockClientMockRecorder) PendingBalanceAt(arg0, arg1 any) *gomock.Call
PendingBalanceAt indicates an expected call of PendingBalanceAt.
func (*MockClientMockRecorder) PendingCallContract ¶
func (mr *MockClientMockRecorder) PendingCallContract(arg0, arg1 any) *gomock.Call
PendingCallContract indicates an expected call of PendingCallContract.
func (*MockClientMockRecorder) PendingCodeAt ¶
func (mr *MockClientMockRecorder) PendingCodeAt(arg0, arg1 any) *gomock.Call
PendingCodeAt indicates an expected call of PendingCodeAt.
func (*MockClientMockRecorder) PendingNonceAt ¶
func (mr *MockClientMockRecorder) PendingNonceAt(arg0, arg1 any) *gomock.Call
PendingNonceAt indicates an expected call of PendingNonceAt.
func (*MockClientMockRecorder) PendingStorageAt ¶
func (mr *MockClientMockRecorder) PendingStorageAt(arg0, arg1, arg2 any) *gomock.Call
PendingStorageAt indicates an expected call of PendingStorageAt.
func (*MockClientMockRecorder) PendingTransactionCount ¶
func (mr *MockClientMockRecorder) PendingTransactionCount(arg0 any) *gomock.Call
PendingTransactionCount indicates an expected call of PendingTransactionCount.
func (*MockClientMockRecorder) SendTransaction ¶
func (mr *MockClientMockRecorder) SendTransaction(arg0, arg1 any) *gomock.Call
SendTransaction indicates an expected call of SendTransaction.
func (*MockClientMockRecorder) StorageAt ¶
func (mr *MockClientMockRecorder) StorageAt(arg0, arg1, arg2, arg3 any) *gomock.Call
StorageAt indicates an expected call of StorageAt.
func (*MockClientMockRecorder) SubscribeFilterLogs ¶
func (mr *MockClientMockRecorder) SubscribeFilterLogs(arg0, arg1, arg2 any) *gomock.Call
SubscribeFilterLogs indicates an expected call of SubscribeFilterLogs.
func (*MockClientMockRecorder) SubscribeNewHead ¶
func (mr *MockClientMockRecorder) SubscribeNewHead(arg0, arg1 any) *gomock.Call
SubscribeNewHead indicates an expected call of SubscribeNewHead.
func (*MockClientMockRecorder) SuggestGasPrice ¶
func (mr *MockClientMockRecorder) SuggestGasPrice(arg0 any) *gomock.Call
SuggestGasPrice indicates an expected call of SuggestGasPrice.
func (*MockClientMockRecorder) SuggestGasTipCap ¶
func (mr *MockClientMockRecorder) SuggestGasTipCap(arg0 any) *gomock.Call
SuggestGasTipCap indicates an expected call of SuggestGasTipCap.
func (*MockClientMockRecorder) SyncProgress ¶
func (mr *MockClientMockRecorder) SyncProgress(arg0 any) *gomock.Call
SyncProgress indicates an expected call of SyncProgress.
func (*MockClientMockRecorder) TransactionByHash ¶
func (mr *MockClientMockRecorder) TransactionByHash(arg0, arg1 any) *gomock.Call
TransactionByHash indicates an expected call of TransactionByHash.
func (*MockClientMockRecorder) TransactionCount ¶
func (mr *MockClientMockRecorder) TransactionCount(arg0, arg1 any) *gomock.Call
TransactionCount indicates an expected call of TransactionCount.
func (*MockClientMockRecorder) TransactionInBlock ¶
func (mr *MockClientMockRecorder) TransactionInBlock(arg0, arg1, arg2 any) *gomock.Call
TransactionInBlock indicates an expected call of TransactionInBlock.
func (*MockClientMockRecorder) TransactionReceipt ¶
func (mr *MockClientMockRecorder) TransactionReceipt(arg0, arg1 any) *gomock.Call
TransactionReceipt indicates an expected call of TransactionReceipt.
func (*MockClientMockRecorder) TransactionSender ¶
func (mr *MockClientMockRecorder) TransactionSender(arg0, arg1, arg2, arg3 any) *gomock.Call
TransactionSender indicates an expected call of TransactionSender.
type MockMessageBlsAggregationService ¶
type MockMessageBlsAggregationService struct {
// contains filtered or unexported fields
}
MockMessageBlsAggregationService is a mock of MessageBlsAggregationService interface.
func NewMockMessageBlsAggregationService ¶
func NewMockMessageBlsAggregationService(ctrl *gomock.Controller) *MockMessageBlsAggregationService
NewMockMessageBlsAggregationService creates a new mock instance.
func (*MockMessageBlsAggregationService) EXPECT ¶
func (m *MockMessageBlsAggregationService) EXPECT() *MockMessageBlsAggregationServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMessageBlsAggregationService) GetResponseChannel ¶
func (m *MockMessageBlsAggregationService) GetResponseChannel() <-chan blsagg.MessageBlsAggregationServiceResponse
GetResponseChannel mocks base method.
func (*MockMessageBlsAggregationService) InitializeMessageIfNotExists ¶
func (m *MockMessageBlsAggregationService) InitializeMessageIfNotExists(arg0 [32]byte, arg1 []types.QuorumNum, arg2 []types.QuorumThresholdPercentage, arg3, arg4 time.Duration, arg5 uint64) error
InitializeMessageIfNotExists mocks base method.
func (*MockMessageBlsAggregationService) ProcessNewSignature ¶
func (m *MockMessageBlsAggregationService) ProcessNewSignature(arg0 context.Context, arg1 blsagg.MessageBlsAggregationServiceMessage, arg2 *bls.Signature, arg3 types.Bytes32) error
ProcessNewSignature mocks base method.
type MockMessageBlsAggregationServiceMockRecorder ¶
type MockMessageBlsAggregationServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockMessageBlsAggregationServiceMockRecorder is the mock recorder for MockMessageBlsAggregationService.
func (*MockMessageBlsAggregationServiceMockRecorder) GetResponseChannel ¶
func (mr *MockMessageBlsAggregationServiceMockRecorder) GetResponseChannel() *gomock.Call
GetResponseChannel indicates an expected call of GetResponseChannel.
func (*MockMessageBlsAggregationServiceMockRecorder) InitializeMessageIfNotExists ¶
func (mr *MockMessageBlsAggregationServiceMockRecorder) InitializeMessageIfNotExists(arg0, arg1, arg2, arg3, arg4, arg5 any) *gomock.Call
InitializeMessageIfNotExists indicates an expected call of InitializeMessageIfNotExists.
func (*MockMessageBlsAggregationServiceMockRecorder) ProcessNewSignature ¶
func (mr *MockMessageBlsAggregationServiceMockRecorder) ProcessNewSignature(arg0, arg1, arg2, arg3 any) *gomock.Call
ProcessNewSignature indicates an expected call of ProcessNewSignature.
type MockOperatorRegistrationsService ¶
type MockOperatorRegistrationsService struct {
// contains filtered or unexported fields
}
MockOperatorRegistrationsService is a mock of OperatorRegistrationsService interface.
func NewMockOperatorRegistrationsService ¶
func NewMockOperatorRegistrationsService(ctrl *gomock.Controller) *MockOperatorRegistrationsService
NewMockOperatorRegistrationsService creates a new mock instance.
func (*MockOperatorRegistrationsService) EXPECT ¶
func (m *MockOperatorRegistrationsService) EXPECT() *MockOperatorRegistrationsServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockOperatorRegistrationsService) GetOperatorInfo ¶
func (m *MockOperatorRegistrationsService) GetOperatorInfo(arg0 context.Context, arg1 common.Address) (types.OperatorInfo, bool)
GetOperatorInfo mocks base method.
func (*MockOperatorRegistrationsService) GetOperatorInfoById ¶
func (m *MockOperatorRegistrationsService) GetOperatorInfoById(arg0 context.Context, arg1 types.Bytes32) (types.OperatorInfo, bool)
GetOperatorInfoById mocks base method.
type MockOperatorRegistrationsServiceMockRecorder ¶
type MockOperatorRegistrationsServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockOperatorRegistrationsServiceMockRecorder is the mock recorder for MockOperatorRegistrationsService.
func (*MockOperatorRegistrationsServiceMockRecorder) GetOperatorInfo ¶
func (mr *MockOperatorRegistrationsServiceMockRecorder) GetOperatorInfo(arg0, arg1 any) *gomock.Call
GetOperatorInfo indicates an expected call of GetOperatorInfo.
func (*MockOperatorRegistrationsServiceMockRecorder) GetOperatorInfoById ¶
func (mr *MockOperatorRegistrationsServiceMockRecorder) GetOperatorInfoById(arg0, arg1 any) *gomock.Call
GetOperatorInfoById indicates an expected call of GetOperatorInfoById.
type MockOperatorState ¶
type MockOperatorState struct { OperatorId [32]byte Stake *big.Int G1Pubkey *bls.G1Point G2Pubkey *bls.G2Point }
======= BLSOperatorStateRetriever Mocks =======
type MockRegistry ¶
type MockRegistry struct {
OperatorsState []MockOperatorState
}
func (*MockRegistry) AggregateG1Pubkey ¶
func (r *MockRegistry) AggregateG1Pubkey() *bls.G1Point
Aggregates the g1 pubkey of all operators in the mockregistry, assuming they are all registered for quorum0
func (*MockRegistry) GetOperatorsId ¶
func (r *MockRegistry) GetOperatorsId() [][32]byte
func (*MockRegistry) GetOperatorsTotalStake ¶
func (r *MockRegistry) GetOperatorsTotalStake() *big.Int
func (*MockRegistry) MockGetOperatorStateCall ¶
func (r *MockRegistry) MockGetOperatorStateCall() [][]opstateretriever.OperatorStateRetrieverOperator
returns an array of operator states for each quorum number (only [0][] is used since we use a single quorum only) currently hardcoded for a single operator
type MockRestAggregatorer ¶
type MockRestAggregatorer struct {
// contains filtered or unexported fields
}
MockRestAggregatorer is a mock of RestAggregatorer interface.
func NewMockRestAggregatorer ¶
func NewMockRestAggregatorer(ctrl *gomock.Controller) *MockRestAggregatorer
NewMockRestAggregatorer creates a new mock instance.
func (*MockRestAggregatorer) EXPECT ¶
func (m *MockRestAggregatorer) EXPECT() *MockRestAggregatorerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRestAggregatorer) GetCheckpointMessages ¶
func (m *MockRestAggregatorer) GetCheckpointMessages(arg0, arg1 uint64) (*types.GetCheckpointMessagesResponse, error)
GetCheckpointMessages mocks base method.
func (*MockRestAggregatorer) GetOperatorSetUpdateAggregation ¶
func (m *MockRestAggregatorer) GetOperatorSetUpdateAggregation(arg0 uint64) (*types.GetOperatorSetUpdateAggregationResponse, error)
GetOperatorSetUpdateAggregation mocks base method.
func (*MockRestAggregatorer) GetStateRootUpdateAggregation ¶
func (m *MockRestAggregatorer) GetStateRootUpdateAggregation(arg0 uint32, arg1 uint64) (*types.GetStateRootUpdateAggregationResponse, error)
GetStateRootUpdateAggregation mocks base method.
type MockRestAggregatorerMockRecorder ¶
type MockRestAggregatorerMockRecorder struct {
// contains filtered or unexported fields
}
MockRestAggregatorerMockRecorder is the mock recorder for MockRestAggregatorer.
func (*MockRestAggregatorerMockRecorder) GetCheckpointMessages ¶
func (mr *MockRestAggregatorerMockRecorder) GetCheckpointMessages(arg0, arg1 any) *gomock.Call
GetCheckpointMessages indicates an expected call of GetCheckpointMessages.
func (*MockRestAggregatorerMockRecorder) GetOperatorSetUpdateAggregation ¶
func (mr *MockRestAggregatorerMockRecorder) GetOperatorSetUpdateAggregation(arg0 any) *gomock.Call
GetOperatorSetUpdateAggregation indicates an expected call of GetOperatorSetUpdateAggregation.
func (*MockRestAggregatorerMockRecorder) GetStateRootUpdateAggregation ¶
func (mr *MockRestAggregatorerMockRecorder) GetStateRootUpdateAggregation(arg0, arg1 any) *gomock.Call
GetStateRootUpdateAggregation indicates an expected call of GetStateRootUpdateAggregation.
type MockRollupBroadcasterer ¶
type MockRollupBroadcasterer struct {
// contains filtered or unexported fields
}
MockRollupBroadcasterer is a mock of RollupBroadcasterer interface.
func NewMockRollupBroadcasterer ¶
func NewMockRollupBroadcasterer(ctrl *gomock.Controller) *MockRollupBroadcasterer
NewMockRollupBroadcasterer creates a new mock instance.
func (*MockRollupBroadcasterer) BroadcastOperatorSetUpdate ¶
func (m *MockRollupBroadcasterer) BroadcastOperatorSetUpdate(arg0 context.Context, arg1 messages.OperatorSetUpdateMessage, arg2 contractSFFLRegistryRollup.RollupOperatorsSignatureInfo)
BroadcastOperatorSetUpdate mocks base method.
func (*MockRollupBroadcasterer) Close ¶
func (m *MockRollupBroadcasterer) Close()
Close mocks base method.
func (*MockRollupBroadcasterer) EXPECT ¶
func (m *MockRollupBroadcasterer) EXPECT() *MockRollupBroadcastererMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRollupBroadcasterer) GetErrorChan ¶
func (m *MockRollupBroadcasterer) GetErrorChan() <-chan error
GetErrorChan mocks base method.
type MockRollupBroadcastererMockRecorder ¶
type MockRollupBroadcastererMockRecorder struct {
// contains filtered or unexported fields
}
MockRollupBroadcastererMockRecorder is the mock recorder for MockRollupBroadcasterer.
func (*MockRollupBroadcastererMockRecorder) BroadcastOperatorSetUpdate ¶
func (mr *MockRollupBroadcastererMockRecorder) BroadcastOperatorSetUpdate(arg0, arg1, arg2 any) *gomock.Call
BroadcastOperatorSetUpdate indicates an expected call of BroadcastOperatorSetUpdate.
func (*MockRollupBroadcastererMockRecorder) Close ¶
func (mr *MockRollupBroadcastererMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockRollupBroadcastererMockRecorder) GetErrorChan ¶
func (mr *MockRollupBroadcastererMockRecorder) GetErrorChan() *gomock.Call
GetErrorChan indicates an expected call of GetErrorChan.
type MockRpcAggregatorer ¶
type MockRpcAggregatorer struct {
// contains filtered or unexported fields
}
MockRpcAggregatorer is a mock of RpcAggregatorer interface.
func NewMockRpcAggregatorer ¶
func NewMockRpcAggregatorer(ctrl *gomock.Controller) *MockRpcAggregatorer
NewMockRpcAggregatorer creates a new mock instance.
func (*MockRpcAggregatorer) EXPECT ¶
func (m *MockRpcAggregatorer) EXPECT() *MockRpcAggregatorerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRpcAggregatorer) GetAggregatedCheckpointMessages ¶
func (m *MockRpcAggregatorer) GetAggregatedCheckpointMessages(arg0, arg1 uint64) (*messages.CheckpointMessages, error)
GetAggregatedCheckpointMessages mocks base method.
func (*MockRpcAggregatorer) GetOperatorInfoById ¶
func (m *MockRpcAggregatorer) GetOperatorInfoById(arg0 context.Context, arg1 types.Bytes32) (types.OperatorInfo, bool)
GetOperatorInfoById mocks base method.
func (*MockRpcAggregatorer) GetRegistryCoordinatorAddress ¶
func (m *MockRpcAggregatorer) GetRegistryCoordinatorAddress(arg0 *string) error
GetRegistryCoordinatorAddress mocks base method.
func (*MockRpcAggregatorer) ProcessSignedCheckpointTaskResponse ¶
func (m *MockRpcAggregatorer) ProcessSignedCheckpointTaskResponse(arg0 *messages.SignedCheckpointTaskResponse) error
ProcessSignedCheckpointTaskResponse mocks base method.
func (*MockRpcAggregatorer) ProcessSignedOperatorSetUpdateMessage ¶
func (m *MockRpcAggregatorer) ProcessSignedOperatorSetUpdateMessage(arg0 *messages.SignedOperatorSetUpdateMessage) error
ProcessSignedOperatorSetUpdateMessage mocks base method.
func (*MockRpcAggregatorer) ProcessSignedStateRootUpdateMessage ¶
func (m *MockRpcAggregatorer) ProcessSignedStateRootUpdateMessage(arg0 *messages.SignedStateRootUpdateMessage) error
ProcessSignedStateRootUpdateMessage mocks base method.
type MockRpcAggregatorerMockRecorder ¶
type MockRpcAggregatorerMockRecorder struct {
// contains filtered or unexported fields
}
MockRpcAggregatorerMockRecorder is the mock recorder for MockRpcAggregatorer.
func (*MockRpcAggregatorerMockRecorder) GetAggregatedCheckpointMessages ¶
func (mr *MockRpcAggregatorerMockRecorder) GetAggregatedCheckpointMessages(arg0, arg1 any) *gomock.Call
GetAggregatedCheckpointMessages indicates an expected call of GetAggregatedCheckpointMessages.
func (*MockRpcAggregatorerMockRecorder) GetOperatorInfoById ¶
func (mr *MockRpcAggregatorerMockRecorder) GetOperatorInfoById(arg0, arg1 any) *gomock.Call
GetOperatorInfoById indicates an expected call of GetOperatorInfoById.
func (*MockRpcAggregatorerMockRecorder) GetRegistryCoordinatorAddress ¶
func (mr *MockRpcAggregatorerMockRecorder) GetRegistryCoordinatorAddress(arg0 any) *gomock.Call
GetRegistryCoordinatorAddress indicates an expected call of GetRegistryCoordinatorAddress.
func (*MockRpcAggregatorerMockRecorder) ProcessSignedCheckpointTaskResponse ¶
func (mr *MockRpcAggregatorerMockRecorder) ProcessSignedCheckpointTaskResponse(arg0 any) *gomock.Call
ProcessSignedCheckpointTaskResponse indicates an expected call of ProcessSignedCheckpointTaskResponse.
func (*MockRpcAggregatorerMockRecorder) ProcessSignedOperatorSetUpdateMessage ¶
func (mr *MockRpcAggregatorerMockRecorder) ProcessSignedOperatorSetUpdateMessage(arg0 any) *gomock.Call
ProcessSignedOperatorSetUpdateMessage indicates an expected call of ProcessSignedOperatorSetUpdateMessage.
func (*MockRpcAggregatorerMockRecorder) ProcessSignedStateRootUpdateMessage ¶
func (mr *MockRpcAggregatorerMockRecorder) ProcessSignedStateRootUpdateMessage(arg0 any) *gomock.Call
ProcessSignedStateRootUpdateMessage indicates an expected call of ProcessSignedStateRootUpdateMessage.