Documentation
¶
Index ¶
- type ContractReader
- func (_m *ContractReader) BatchGetLatestValues(ctx context.Context, request types.BatchGetLatestValuesRequest) (types.BatchGetLatestValuesResult, error)
- func (_m *ContractReader) Bind(ctx context.Context, bindings []types.BoundContract) error
- func (_m *ContractReader) Close() error
- func (_m *ContractReader) EXPECT() *ContractReader_Expecter
- func (_m *ContractReader) GetLatestValue(ctx context.Context, readIdentifier string, ...) error
- func (_m *ContractReader) GetLatestValueWithHeadData(ctx context.Context, readIdentifier string, ...) (*types.Head, error)
- func (_m *ContractReader) HealthReport() map[string]error
- func (_m *ContractReader) Name() string
- func (_m *ContractReader) QueryKey(ctx context.Context, contract types.BoundContract, filter query.KeyFilter, ...) ([]types.Sequence, error)
- func (_m *ContractReader) QueryKeys(ctx context.Context, filters []types.ContractKeyFilter, ...) (iter.Seq2[string, types.Sequence], error)
- func (_m *ContractReader) Ready() error
- func (_m *ContractReader) Start(_a0 context.Context) error
- func (_m *ContractReader) Unbind(ctx context.Context, bindings []types.BoundContract) error
- type ContractReader_BatchGetLatestValues_Call
- func (_c *ContractReader_BatchGetLatestValues_Call) Return(_a0 types.BatchGetLatestValuesResult, _a1 error) *ContractReader_BatchGetLatestValues_Call
- func (_c *ContractReader_BatchGetLatestValues_Call) Run(run func(ctx context.Context, request types.BatchGetLatestValuesRequest)) *ContractReader_BatchGetLatestValues_Call
- func (_c *ContractReader_BatchGetLatestValues_Call) RunAndReturn(...) *ContractReader_BatchGetLatestValues_Call
- type ContractReader_Bind_Call
- func (_c *ContractReader_Bind_Call) Return(_a0 error) *ContractReader_Bind_Call
- func (_c *ContractReader_Bind_Call) Run(run func(ctx context.Context, bindings []types.BoundContract)) *ContractReader_Bind_Call
- func (_c *ContractReader_Bind_Call) RunAndReturn(run func(context.Context, []types.BoundContract) error) *ContractReader_Bind_Call
- type ContractReader_Close_Call
- type ContractReader_Expecter
- func (_e *ContractReader_Expecter) BatchGetLatestValues(ctx interface{}, request interface{}) *ContractReader_BatchGetLatestValues_Call
- func (_e *ContractReader_Expecter) Bind(ctx interface{}, bindings interface{}) *ContractReader_Bind_Call
- func (_e *ContractReader_Expecter) Close() *ContractReader_Close_Call
- func (_e *ContractReader_Expecter) GetLatestValue(ctx interface{}, readIdentifier interface{}, confidenceLevel interface{}, ...) *ContractReader_GetLatestValue_Call
- func (_e *ContractReader_Expecter) GetLatestValueWithHeadData(ctx interface{}, readIdentifier interface{}, confidenceLevel interface{}, ...) *ContractReader_GetLatestValueWithHeadData_Call
- func (_e *ContractReader_Expecter) HealthReport() *ContractReader_HealthReport_Call
- func (_e *ContractReader_Expecter) Name() *ContractReader_Name_Call
- func (_e *ContractReader_Expecter) QueryKey(ctx interface{}, contract interface{}, filter interface{}, ...) *ContractReader_QueryKey_Call
- func (_e *ContractReader_Expecter) QueryKeys(ctx interface{}, filters interface{}, limitAndSort interface{}) *ContractReader_QueryKeys_Call
- func (_e *ContractReader_Expecter) Ready() *ContractReader_Ready_Call
- func (_e *ContractReader_Expecter) Start(_a0 interface{}) *ContractReader_Start_Call
- func (_e *ContractReader_Expecter) Unbind(ctx interface{}, bindings interface{}) *ContractReader_Unbind_Call
- type ContractReader_GetLatestValueWithHeadData_Call
- func (_c *ContractReader_GetLatestValueWithHeadData_Call) Return(_a0 *types.Head, _a1 error) *ContractReader_GetLatestValueWithHeadData_Call
- func (_c *ContractReader_GetLatestValueWithHeadData_Call) Run(run func(ctx context.Context, readIdentifier string, ...)) *ContractReader_GetLatestValueWithHeadData_Call
- func (_c *ContractReader_GetLatestValueWithHeadData_Call) RunAndReturn(...) *ContractReader_GetLatestValueWithHeadData_Call
- type ContractReader_GetLatestValue_Call
- func (_c *ContractReader_GetLatestValue_Call) Return(_a0 error) *ContractReader_GetLatestValue_Call
- func (_c *ContractReader_GetLatestValue_Call) Run(run func(ctx context.Context, readIdentifier string, ...)) *ContractReader_GetLatestValue_Call
- func (_c *ContractReader_GetLatestValue_Call) RunAndReturn(...) *ContractReader_GetLatestValue_Call
- type ContractReader_HealthReport_Call
- func (_c *ContractReader_HealthReport_Call) Return(_a0 map[string]error) *ContractReader_HealthReport_Call
- func (_c *ContractReader_HealthReport_Call) Run(run func()) *ContractReader_HealthReport_Call
- func (_c *ContractReader_HealthReport_Call) RunAndReturn(run func() map[string]error) *ContractReader_HealthReport_Call
- type ContractReader_Name_Call
- type ContractReader_QueryKey_Call
- type ContractReader_QueryKeys_Call
- func (_c *ContractReader_QueryKeys_Call) Return(_a0 iter.Seq2[string, types.Sequence], _a1 error) *ContractReader_QueryKeys_Call
- func (_c *ContractReader_QueryKeys_Call) Run(run func(ctx context.Context, filters []types.ContractKeyFilter, ...)) *ContractReader_QueryKeys_Call
- func (_c *ContractReader_QueryKeys_Call) RunAndReturn(...) *ContractReader_QueryKeys_Call
- type ContractReader_Ready_Call
- type ContractReader_Start_Call
- type ContractReader_Unbind_Call
- func (_c *ContractReader_Unbind_Call) Return(_a0 error) *ContractReader_Unbind_Call
- func (_c *ContractReader_Unbind_Call) Run(run func(ctx context.Context, bindings []types.BoundContract)) *ContractReader_Unbind_Call
- func (_c *ContractReader_Unbind_Call) RunAndReturn(run func(context.Context, []types.BoundContract) error) *ContractReader_Unbind_Call
- type ContractReader_mustEmbedUnimplementedContractReader_Call
- func (_c *ContractReader_mustEmbedUnimplementedContractReader_Call) Return() *ContractReader_mustEmbedUnimplementedContractReader_Call
- func (_c *ContractReader_mustEmbedUnimplementedContractReader_Call) Run(run func()) *ContractReader_mustEmbedUnimplementedContractReader_Call
- func (_c *ContractReader_mustEmbedUnimplementedContractReader_Call) RunAndReturn(run func()) *ContractReader_mustEmbedUnimplementedContractReader_Call
- type EVMService
- func (_m *EVMService) BalanceAt(ctx context.Context, account [20]byte, blockNumber *big.Int) (*big.Int, error)
- func (_m *EVMService) CalculateTransactionFee(ctx context.Context, receiptGasInfo evm.ReceiptGasInfo) (*evm.TransactionFee, error)
- func (_m *EVMService) CallContract(ctx context.Context, msg *evm.CallMsg, blockNumber *big.Int) ([]byte, error)
- func (_m *EVMService) EXPECT() *EVMService_Expecter
- func (_m *EVMService) EstimateGas(ctx context.Context, call *evm.CallMsg) (uint64, error)
- func (_m *EVMService) FilterLogs(ctx context.Context, filterQuery evm.FilterQuery) ([]*evm.Log, error)
- func (_m *EVMService) GetForwarderForEOA(ctx context.Context, eoa [20]byte, ocr2AggregatorID [20]byte, ...) ([20]byte, error)
- func (_m *EVMService) GetTransactionByHash(ctx context.Context, hash [32]byte) (*evm.Transaction, error)
- func (_m *EVMService) GetTransactionFee(ctx context.Context, transactionID string) (*evm.TransactionFee, error)
- func (_m *EVMService) GetTransactionReceipt(ctx context.Context, txHash [32]byte) (*evm.Receipt, error)
- func (_m *EVMService) GetTransactionStatus(ctx context.Context, transactionID string) (types.TransactionStatus, error)
- func (_m *EVMService) LatestAndFinalizedHead(ctx context.Context) (evm.Head, evm.Head, error)
- func (_m *EVMService) QueryTrackedLogs(ctx context.Context, filterQuery []query.Expression, ...) ([]*evm.Log, error)
- func (_m *EVMService) RegisterLogTracking(ctx context.Context, filter evm.LPFilterQuery) error
- func (_m *EVMService) SubmitTransaction(ctx context.Context, txRequest evm.SubmitTransactionRequest) (*evm.TransactionResult, error)
- func (_m *EVMService) UnregisterLogTracking(ctx context.Context, filterName string) error
- type EVMService_BalanceAt_Call
- func (_c *EVMService_BalanceAt_Call) Return(_a0 *big.Int, _a1 error) *EVMService_BalanceAt_Call
- func (_c *EVMService_BalanceAt_Call) Run(run func(ctx context.Context, account [20]byte, blockNumber *big.Int)) *EVMService_BalanceAt_Call
- func (_c *EVMService_BalanceAt_Call) RunAndReturn(run func(context.Context, [20]byte, *big.Int) (*big.Int, error)) *EVMService_BalanceAt_Call
- type EVMService_CalculateTransactionFee_Call
- func (_c *EVMService_CalculateTransactionFee_Call) Return(_a0 *evm.TransactionFee, _a1 error) *EVMService_CalculateTransactionFee_Call
- func (_c *EVMService_CalculateTransactionFee_Call) Run(run func(ctx context.Context, receiptGasInfo evm.ReceiptGasInfo)) *EVMService_CalculateTransactionFee_Call
- func (_c *EVMService_CalculateTransactionFee_Call) RunAndReturn(run func(context.Context, evm.ReceiptGasInfo) (*evm.TransactionFee, error)) *EVMService_CalculateTransactionFee_Call
- type EVMService_CallContract_Call
- func (_c *EVMService_CallContract_Call) Return(_a0 []byte, _a1 error) *EVMService_CallContract_Call
- func (_c *EVMService_CallContract_Call) Run(run func(ctx context.Context, msg *evm.CallMsg, blockNumber *big.Int)) *EVMService_CallContract_Call
- func (_c *EVMService_CallContract_Call) RunAndReturn(run func(context.Context, *evm.CallMsg, *big.Int) ([]byte, error)) *EVMService_CallContract_Call
- type EVMService_EstimateGas_Call
- func (_c *EVMService_EstimateGas_Call) Return(_a0 uint64, _a1 error) *EVMService_EstimateGas_Call
- func (_c *EVMService_EstimateGas_Call) Run(run func(ctx context.Context, call *evm.CallMsg)) *EVMService_EstimateGas_Call
- func (_c *EVMService_EstimateGas_Call) RunAndReturn(run func(context.Context, *evm.CallMsg) (uint64, error)) *EVMService_EstimateGas_Call
- type EVMService_Expecter
- func (_e *EVMService_Expecter) BalanceAt(ctx interface{}, account interface{}, blockNumber interface{}) *EVMService_BalanceAt_Call
- func (_e *EVMService_Expecter) CalculateTransactionFee(ctx interface{}, receiptGasInfo interface{}) *EVMService_CalculateTransactionFee_Call
- func (_e *EVMService_Expecter) CallContract(ctx interface{}, msg interface{}, blockNumber interface{}) *EVMService_CallContract_Call
- func (_e *EVMService_Expecter) EstimateGas(ctx interface{}, call interface{}) *EVMService_EstimateGas_Call
- func (_e *EVMService_Expecter) FilterLogs(ctx interface{}, filterQuery interface{}) *EVMService_FilterLogs_Call
- func (_e *EVMService_Expecter) GetForwarderForEOA(ctx interface{}, eoa interface{}, ocr2AggregatorID interface{}, ...) *EVMService_GetForwarderForEOA_Call
- func (_e *EVMService_Expecter) GetTransactionByHash(ctx interface{}, hash interface{}) *EVMService_GetTransactionByHash_Call
- func (_e *EVMService_Expecter) GetTransactionFee(ctx interface{}, transactionID interface{}) *EVMService_GetTransactionFee_Call
- func (_e *EVMService_Expecter) GetTransactionReceipt(ctx interface{}, txHash interface{}) *EVMService_GetTransactionReceipt_Call
- func (_e *EVMService_Expecter) GetTransactionStatus(ctx interface{}, transactionID interface{}) *EVMService_GetTransactionStatus_Call
- func (_e *EVMService_Expecter) LatestAndFinalizedHead(ctx interface{}) *EVMService_LatestAndFinalizedHead_Call
- func (_e *EVMService_Expecter) QueryTrackedLogs(ctx interface{}, filterQuery interface{}, limitAndSort interface{}, ...) *EVMService_QueryTrackedLogs_Call
- func (_e *EVMService_Expecter) RegisterLogTracking(ctx interface{}, filter interface{}) *EVMService_RegisterLogTracking_Call
- func (_e *EVMService_Expecter) SubmitTransaction(ctx interface{}, txRequest interface{}) *EVMService_SubmitTransaction_Call
- func (_e *EVMService_Expecter) UnregisterLogTracking(ctx interface{}, filterName interface{}) *EVMService_UnregisterLogTracking_Call
- type EVMService_FilterLogs_Call
- func (_c *EVMService_FilterLogs_Call) Return(_a0 []*evm.Log, _a1 error) *EVMService_FilterLogs_Call
- func (_c *EVMService_FilterLogs_Call) Run(run func(ctx context.Context, filterQuery evm.FilterQuery)) *EVMService_FilterLogs_Call
- func (_c *EVMService_FilterLogs_Call) RunAndReturn(run func(context.Context, evm.FilterQuery) ([]*evm.Log, error)) *EVMService_FilterLogs_Call
- type EVMService_GetForwarderForEOA_Call
- func (_c *EVMService_GetForwarderForEOA_Call) Return(forwarder [20]byte, err error) *EVMService_GetForwarderForEOA_Call
- func (_c *EVMService_GetForwarderForEOA_Call) Run(run func(ctx context.Context, eoa [20]byte, ocr2AggregatorID [20]byte, ...)) *EVMService_GetForwarderForEOA_Call
- func (_c *EVMService_GetForwarderForEOA_Call) RunAndReturn(run func(context.Context, [20]byte, [20]byte, string) ([20]byte, error)) *EVMService_GetForwarderForEOA_Call
- type EVMService_GetTransactionByHash_Call
- func (_c *EVMService_GetTransactionByHash_Call) Return(_a0 *evm.Transaction, _a1 error) *EVMService_GetTransactionByHash_Call
- func (_c *EVMService_GetTransactionByHash_Call) Run(run func(ctx context.Context, hash [32]byte)) *EVMService_GetTransactionByHash_Call
- func (_c *EVMService_GetTransactionByHash_Call) RunAndReturn(run func(context.Context, [32]byte) (*evm.Transaction, error)) *EVMService_GetTransactionByHash_Call
- type EVMService_GetTransactionFee_Call
- func (_c *EVMService_GetTransactionFee_Call) Return(_a0 *evm.TransactionFee, _a1 error) *EVMService_GetTransactionFee_Call
- func (_c *EVMService_GetTransactionFee_Call) Run(run func(ctx context.Context, transactionID string)) *EVMService_GetTransactionFee_Call
- func (_c *EVMService_GetTransactionFee_Call) RunAndReturn(run func(context.Context, string) (*evm.TransactionFee, error)) *EVMService_GetTransactionFee_Call
- type EVMService_GetTransactionReceipt_Call
- func (_c *EVMService_GetTransactionReceipt_Call) Return(_a0 *evm.Receipt, _a1 error) *EVMService_GetTransactionReceipt_Call
- func (_c *EVMService_GetTransactionReceipt_Call) Run(run func(ctx context.Context, txHash [32]byte)) *EVMService_GetTransactionReceipt_Call
- func (_c *EVMService_GetTransactionReceipt_Call) RunAndReturn(run func(context.Context, [32]byte) (*evm.Receipt, error)) *EVMService_GetTransactionReceipt_Call
- type EVMService_GetTransactionStatus_Call
- func (_c *EVMService_GetTransactionStatus_Call) Return(_a0 types.TransactionStatus, _a1 error) *EVMService_GetTransactionStatus_Call
- func (_c *EVMService_GetTransactionStatus_Call) Run(run func(ctx context.Context, transactionID string)) *EVMService_GetTransactionStatus_Call
- func (_c *EVMService_GetTransactionStatus_Call) RunAndReturn(run func(context.Context, string) (types.TransactionStatus, error)) *EVMService_GetTransactionStatus_Call
- type EVMService_LatestAndFinalizedHead_Call
- func (_c *EVMService_LatestAndFinalizedHead_Call) Return(latest evm.Head, finalized evm.Head, err error) *EVMService_LatestAndFinalizedHead_Call
- func (_c *EVMService_LatestAndFinalizedHead_Call) Run(run func(ctx context.Context)) *EVMService_LatestAndFinalizedHead_Call
- func (_c *EVMService_LatestAndFinalizedHead_Call) RunAndReturn(run func(context.Context) (evm.Head, evm.Head, error)) *EVMService_LatestAndFinalizedHead_Call
- type EVMService_QueryTrackedLogs_Call
- func (_c *EVMService_QueryTrackedLogs_Call) Return(_a0 []*evm.Log, _a1 error) *EVMService_QueryTrackedLogs_Call
- func (_c *EVMService_QueryTrackedLogs_Call) Run(run func(ctx context.Context, filterQuery []query.Expression, ...)) *EVMService_QueryTrackedLogs_Call
- func (_c *EVMService_QueryTrackedLogs_Call) RunAndReturn(...) *EVMService_QueryTrackedLogs_Call
- type EVMService_RegisterLogTracking_Call
- func (_c *EVMService_RegisterLogTracking_Call) Return(_a0 error) *EVMService_RegisterLogTracking_Call
- func (_c *EVMService_RegisterLogTracking_Call) Run(run func(ctx context.Context, filter evm.LPFilterQuery)) *EVMService_RegisterLogTracking_Call
- func (_c *EVMService_RegisterLogTracking_Call) RunAndReturn(run func(context.Context, evm.LPFilterQuery) error) *EVMService_RegisterLogTracking_Call
- type EVMService_SubmitTransaction_Call
- func (_c *EVMService_SubmitTransaction_Call) Return(_a0 *evm.TransactionResult, _a1 error) *EVMService_SubmitTransaction_Call
- func (_c *EVMService_SubmitTransaction_Call) Run(run func(ctx context.Context, txRequest evm.SubmitTransactionRequest)) *EVMService_SubmitTransaction_Call
- func (_c *EVMService_SubmitTransaction_Call) RunAndReturn(...) *EVMService_SubmitTransaction_Call
- type EVMService_UnregisterLogTracking_Call
- func (_c *EVMService_UnregisterLogTracking_Call) Return(_a0 error) *EVMService_UnregisterLogTracking_Call
- func (_c *EVMService_UnregisterLogTracking_Call) Run(run func(ctx context.Context, filterName string)) *EVMService_UnregisterLogTracking_Call
- func (_c *EVMService_UnregisterLogTracking_Call) RunAndReturn(run func(context.Context, string) error) *EVMService_UnregisterLogTracking_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContractReader ¶
ContractReader is an autogenerated mock type for the ContractReader type
func NewContractReader ¶
func NewContractReader(t interface {
mock.TestingT
Cleanup(func())
}) *ContractReader
NewContractReader creates a new instance of ContractReader. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ContractReader) BatchGetLatestValues ¶
func (_m *ContractReader) BatchGetLatestValues(ctx context.Context, request types.BatchGetLatestValuesRequest) (types.BatchGetLatestValuesResult, error)
BatchGetLatestValues provides a mock function with given fields: ctx, request
func (*ContractReader) Bind ¶
func (_m *ContractReader) Bind(ctx context.Context, bindings []types.BoundContract) error
Bind provides a mock function with given fields: ctx, bindings
func (*ContractReader) Close ¶
func (_m *ContractReader) Close() error
Close provides a mock function with no fields
func (*ContractReader) EXPECT ¶
func (_m *ContractReader) EXPECT() *ContractReader_Expecter
func (*ContractReader) GetLatestValue ¶
func (_m *ContractReader) GetLatestValue(ctx context.Context, readIdentifier string, confidenceLevel primitives.ConfidenceLevel, params interface{}, returnVal interface{}) error
GetLatestValue provides a mock function with given fields: ctx, readIdentifier, confidenceLevel, params, returnVal
func (*ContractReader) GetLatestValueWithHeadData ¶
func (_m *ContractReader) GetLatestValueWithHeadData(ctx context.Context, readIdentifier string, confidenceLevel primitives.ConfidenceLevel, params interface{}, returnVal interface{}) (*types.Head, error)
GetLatestValueWithHeadData provides a mock function with given fields: ctx, readIdentifier, confidenceLevel, params, returnVal
func (*ContractReader) HealthReport ¶
func (_m *ContractReader) HealthReport() map[string]error
HealthReport provides a mock function with no fields
func (*ContractReader) Name ¶
func (_m *ContractReader) Name() string
Name provides a mock function with no fields
func (*ContractReader) QueryKey ¶
func (_m *ContractReader) QueryKey(ctx context.Context, contract types.BoundContract, filter query.KeyFilter, limitAndSort query.LimitAndSort, sequenceDataType interface{}) ([]types.Sequence, error)
QueryKey provides a mock function with given fields: ctx, contract, filter, limitAndSort, sequenceDataType
func (*ContractReader) QueryKeys ¶
func (_m *ContractReader) QueryKeys(ctx context.Context, filters []types.ContractKeyFilter, limitAndSort query.LimitAndSort) (iter.Seq2[string, types.Sequence], error)
QueryKeys provides a mock function with given fields: ctx, filters, limitAndSort
func (*ContractReader) Ready ¶
func (_m *ContractReader) Ready() error
Ready provides a mock function with no fields
func (*ContractReader) Start ¶
func (_m *ContractReader) Start(_a0 context.Context) error
Start provides a mock function with given fields: _a0
func (*ContractReader) Unbind ¶
func (_m *ContractReader) Unbind(ctx context.Context, bindings []types.BoundContract) error
Unbind provides a mock function with given fields: ctx, bindings
type ContractReader_BatchGetLatestValues_Call ¶
ContractReader_BatchGetLatestValues_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BatchGetLatestValues'
func (*ContractReader_BatchGetLatestValues_Call) Return ¶
func (_c *ContractReader_BatchGetLatestValues_Call) Return(_a0 types.BatchGetLatestValuesResult, _a1 error) *ContractReader_BatchGetLatestValues_Call
func (*ContractReader_BatchGetLatestValues_Call) Run ¶
func (_c *ContractReader_BatchGetLatestValues_Call) Run(run func(ctx context.Context, request types.BatchGetLatestValuesRequest)) *ContractReader_BatchGetLatestValues_Call
func (*ContractReader_BatchGetLatestValues_Call) RunAndReturn ¶
func (_c *ContractReader_BatchGetLatestValues_Call) RunAndReturn(run func(context.Context, types.BatchGetLatestValuesRequest) (types.BatchGetLatestValuesResult, error)) *ContractReader_BatchGetLatestValues_Call
type ContractReader_Bind_Call ¶
ContractReader_Bind_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Bind'
func (*ContractReader_Bind_Call) Return ¶
func (_c *ContractReader_Bind_Call) Return(_a0 error) *ContractReader_Bind_Call
func (*ContractReader_Bind_Call) Run ¶
func (_c *ContractReader_Bind_Call) Run(run func(ctx context.Context, bindings []types.BoundContract)) *ContractReader_Bind_Call
func (*ContractReader_Bind_Call) RunAndReturn ¶
func (_c *ContractReader_Bind_Call) RunAndReturn(run func(context.Context, []types.BoundContract) error) *ContractReader_Bind_Call
type ContractReader_Close_Call ¶
ContractReader_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'
func (*ContractReader_Close_Call) Return ¶
func (_c *ContractReader_Close_Call) Return(_a0 error) *ContractReader_Close_Call
func (*ContractReader_Close_Call) Run ¶
func (_c *ContractReader_Close_Call) Run(run func()) *ContractReader_Close_Call
func (*ContractReader_Close_Call) RunAndReturn ¶
func (_c *ContractReader_Close_Call) RunAndReturn(run func() error) *ContractReader_Close_Call
type ContractReader_Expecter ¶
type ContractReader_Expecter struct {
// contains filtered or unexported fields
}
func (*ContractReader_Expecter) BatchGetLatestValues ¶
func (_e *ContractReader_Expecter) BatchGetLatestValues(ctx interface{}, request interface{}) *ContractReader_BatchGetLatestValues_Call
BatchGetLatestValues is a helper method to define mock.On call
- ctx context.Context
- request types.BatchGetLatestValuesRequest
func (*ContractReader_Expecter) Bind ¶
func (_e *ContractReader_Expecter) Bind(ctx interface{}, bindings interface{}) *ContractReader_Bind_Call
Bind is a helper method to define mock.On call
- ctx context.Context
- bindings []types.BoundContract
func (*ContractReader_Expecter) Close ¶
func (_e *ContractReader_Expecter) Close() *ContractReader_Close_Call
Close is a helper method to define mock.On call
func (*ContractReader_Expecter) GetLatestValue ¶
func (_e *ContractReader_Expecter) GetLatestValue(ctx interface{}, readIdentifier interface{}, confidenceLevel interface{}, params interface{}, returnVal interface{}) *ContractReader_GetLatestValue_Call
GetLatestValue is a helper method to define mock.On call
- ctx context.Context
- readIdentifier string
- confidenceLevel primitives.ConfidenceLevel
- params interface{}
- returnVal interface{}
func (*ContractReader_Expecter) GetLatestValueWithHeadData ¶
func (_e *ContractReader_Expecter) GetLatestValueWithHeadData(ctx interface{}, readIdentifier interface{}, confidenceLevel interface{}, params interface{}, returnVal interface{}) *ContractReader_GetLatestValueWithHeadData_Call
GetLatestValueWithHeadData is a helper method to define mock.On call
- ctx context.Context
- readIdentifier string
- confidenceLevel primitives.ConfidenceLevel
- params interface{}
- returnVal interface{}
func (*ContractReader_Expecter) HealthReport ¶
func (_e *ContractReader_Expecter) HealthReport() *ContractReader_HealthReport_Call
HealthReport is a helper method to define mock.On call
func (*ContractReader_Expecter) Name ¶
func (_e *ContractReader_Expecter) Name() *ContractReader_Name_Call
Name is a helper method to define mock.On call
func (*ContractReader_Expecter) QueryKey ¶
func (_e *ContractReader_Expecter) QueryKey(ctx interface{}, contract interface{}, filter interface{}, limitAndSort interface{}, sequenceDataType interface{}) *ContractReader_QueryKey_Call
QueryKey is a helper method to define mock.On call
- ctx context.Context
- contract types.BoundContract
- filter query.KeyFilter
- limitAndSort query.LimitAndSort
- sequenceDataType interface{}
func (*ContractReader_Expecter) QueryKeys ¶
func (_e *ContractReader_Expecter) QueryKeys(ctx interface{}, filters interface{}, limitAndSort interface{}) *ContractReader_QueryKeys_Call
QueryKeys is a helper method to define mock.On call
- ctx context.Context
- filters []types.ContractKeyFilter
- limitAndSort query.LimitAndSort
func (*ContractReader_Expecter) Ready ¶
func (_e *ContractReader_Expecter) Ready() *ContractReader_Ready_Call
Ready is a helper method to define mock.On call
func (*ContractReader_Expecter) Start ¶
func (_e *ContractReader_Expecter) Start(_a0 interface{}) *ContractReader_Start_Call
Start is a helper method to define mock.On call
- _a0 context.Context
func (*ContractReader_Expecter) Unbind ¶
func (_e *ContractReader_Expecter) Unbind(ctx interface{}, bindings interface{}) *ContractReader_Unbind_Call
Unbind is a helper method to define mock.On call
- ctx context.Context
- bindings []types.BoundContract
type ContractReader_GetLatestValueWithHeadData_Call ¶
ContractReader_GetLatestValueWithHeadData_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLatestValueWithHeadData'
func (*ContractReader_GetLatestValueWithHeadData_Call) Return ¶
func (_c *ContractReader_GetLatestValueWithHeadData_Call) Return(_a0 *types.Head, _a1 error) *ContractReader_GetLatestValueWithHeadData_Call
func (*ContractReader_GetLatestValueWithHeadData_Call) Run ¶
func (_c *ContractReader_GetLatestValueWithHeadData_Call) Run(run func(ctx context.Context, readIdentifier string, confidenceLevel primitives.ConfidenceLevel, params interface{}, returnVal interface{})) *ContractReader_GetLatestValueWithHeadData_Call
func (*ContractReader_GetLatestValueWithHeadData_Call) RunAndReturn ¶
func (_c *ContractReader_GetLatestValueWithHeadData_Call) RunAndReturn(run func(context.Context, string, primitives.ConfidenceLevel, interface{}, interface{}) (*types.Head, error)) *ContractReader_GetLatestValueWithHeadData_Call
type ContractReader_GetLatestValue_Call ¶
ContractReader_GetLatestValue_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLatestValue'
func (*ContractReader_GetLatestValue_Call) Return ¶
func (_c *ContractReader_GetLatestValue_Call) Return(_a0 error) *ContractReader_GetLatestValue_Call
func (*ContractReader_GetLatestValue_Call) Run ¶
func (_c *ContractReader_GetLatestValue_Call) Run(run func(ctx context.Context, readIdentifier string, confidenceLevel primitives.ConfidenceLevel, params interface{}, returnVal interface{})) *ContractReader_GetLatestValue_Call
func (*ContractReader_GetLatestValue_Call) RunAndReturn ¶
func (_c *ContractReader_GetLatestValue_Call) RunAndReturn(run func(context.Context, string, primitives.ConfidenceLevel, interface{}, interface{}) error) *ContractReader_GetLatestValue_Call
type ContractReader_HealthReport_Call ¶
ContractReader_HealthReport_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HealthReport'
func (*ContractReader_HealthReport_Call) Return ¶
func (_c *ContractReader_HealthReport_Call) Return(_a0 map[string]error) *ContractReader_HealthReport_Call
func (*ContractReader_HealthReport_Call) Run ¶
func (_c *ContractReader_HealthReport_Call) Run(run func()) *ContractReader_HealthReport_Call
func (*ContractReader_HealthReport_Call) RunAndReturn ¶
func (_c *ContractReader_HealthReport_Call) RunAndReturn(run func() map[string]error) *ContractReader_HealthReport_Call
type ContractReader_Name_Call ¶
ContractReader_Name_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Name'
func (*ContractReader_Name_Call) Return ¶
func (_c *ContractReader_Name_Call) Return(_a0 string) *ContractReader_Name_Call
func (*ContractReader_Name_Call) Run ¶
func (_c *ContractReader_Name_Call) Run(run func()) *ContractReader_Name_Call
func (*ContractReader_Name_Call) RunAndReturn ¶
func (_c *ContractReader_Name_Call) RunAndReturn(run func() string) *ContractReader_Name_Call
type ContractReader_QueryKey_Call ¶
ContractReader_QueryKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QueryKey'
func (*ContractReader_QueryKey_Call) Return ¶
func (_c *ContractReader_QueryKey_Call) Return(_a0 []types.Sequence, _a1 error) *ContractReader_QueryKey_Call
func (*ContractReader_QueryKey_Call) Run ¶
func (_c *ContractReader_QueryKey_Call) Run(run func(ctx context.Context, contract types.BoundContract, filter query.KeyFilter, limitAndSort query.LimitAndSort, sequenceDataType interface{})) *ContractReader_QueryKey_Call
func (*ContractReader_QueryKey_Call) RunAndReturn ¶
func (_c *ContractReader_QueryKey_Call) RunAndReturn(run func(context.Context, types.BoundContract, query.KeyFilter, query.LimitAndSort, interface{}) ([]types.Sequence, error)) *ContractReader_QueryKey_Call
type ContractReader_QueryKeys_Call ¶
ContractReader_QueryKeys_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QueryKeys'
func (*ContractReader_QueryKeys_Call) Return ¶
func (_c *ContractReader_QueryKeys_Call) Return(_a0 iter.Seq2[string, types.Sequence], _a1 error) *ContractReader_QueryKeys_Call
func (*ContractReader_QueryKeys_Call) Run ¶
func (_c *ContractReader_QueryKeys_Call) Run(run func(ctx context.Context, filters []types.ContractKeyFilter, limitAndSort query.LimitAndSort)) *ContractReader_QueryKeys_Call
func (*ContractReader_QueryKeys_Call) RunAndReturn ¶
func (_c *ContractReader_QueryKeys_Call) RunAndReturn(run func(context.Context, []types.ContractKeyFilter, query.LimitAndSort) (iter.Seq2[string, types.Sequence], error)) *ContractReader_QueryKeys_Call
type ContractReader_Ready_Call ¶
ContractReader_Ready_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Ready'
func (*ContractReader_Ready_Call) Return ¶
func (_c *ContractReader_Ready_Call) Return(_a0 error) *ContractReader_Ready_Call
func (*ContractReader_Ready_Call) Run ¶
func (_c *ContractReader_Ready_Call) Run(run func()) *ContractReader_Ready_Call
func (*ContractReader_Ready_Call) RunAndReturn ¶
func (_c *ContractReader_Ready_Call) RunAndReturn(run func() error) *ContractReader_Ready_Call
type ContractReader_Start_Call ¶
ContractReader_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'
func (*ContractReader_Start_Call) Return ¶
func (_c *ContractReader_Start_Call) Return(_a0 error) *ContractReader_Start_Call
func (*ContractReader_Start_Call) Run ¶
func (_c *ContractReader_Start_Call) Run(run func(_a0 context.Context)) *ContractReader_Start_Call
func (*ContractReader_Start_Call) RunAndReturn ¶
func (_c *ContractReader_Start_Call) RunAndReturn(run func(context.Context) error) *ContractReader_Start_Call
type ContractReader_Unbind_Call ¶
ContractReader_Unbind_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Unbind'
func (*ContractReader_Unbind_Call) Return ¶
func (_c *ContractReader_Unbind_Call) Return(_a0 error) *ContractReader_Unbind_Call
func (*ContractReader_Unbind_Call) Run ¶
func (_c *ContractReader_Unbind_Call) Run(run func(ctx context.Context, bindings []types.BoundContract)) *ContractReader_Unbind_Call
func (*ContractReader_Unbind_Call) RunAndReturn ¶
func (_c *ContractReader_Unbind_Call) RunAndReturn(run func(context.Context, []types.BoundContract) error) *ContractReader_Unbind_Call
type ContractReader_mustEmbedUnimplementedContractReader_Call ¶
ContractReader_mustEmbedUnimplementedContractReader_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'mustEmbedUnimplementedContractReader'
func (*ContractReader_mustEmbedUnimplementedContractReader_Call) Run ¶
func (_c *ContractReader_mustEmbedUnimplementedContractReader_Call) Run(run func()) *ContractReader_mustEmbedUnimplementedContractReader_Call
func (*ContractReader_mustEmbedUnimplementedContractReader_Call) RunAndReturn ¶
func (_c *ContractReader_mustEmbedUnimplementedContractReader_Call) RunAndReturn(run func()) *ContractReader_mustEmbedUnimplementedContractReader_Call
type EVMService ¶
EVMService is an autogenerated mock type for the EVMService type
func NewEVMService ¶
func NewEVMService(t interface {
mock.TestingT
Cleanup(func())
}) *EVMService
NewEVMService creates a new instance of EVMService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*EVMService) BalanceAt ¶
func (_m *EVMService) BalanceAt(ctx context.Context, account [20]byte, blockNumber *big.Int) (*big.Int, error)
BalanceAt provides a mock function with given fields: ctx, account, blockNumber
func (*EVMService) CalculateTransactionFee ¶
func (_m *EVMService) CalculateTransactionFee(ctx context.Context, receiptGasInfo evm.ReceiptGasInfo) (*evm.TransactionFee, error)
CalculateTransactionFee provides a mock function with given fields: ctx, receiptGasInfo
func (*EVMService) CallContract ¶
func (_m *EVMService) CallContract(ctx context.Context, msg *evm.CallMsg, blockNumber *big.Int) ([]byte, error)
CallContract provides a mock function with given fields: ctx, msg, blockNumber
func (*EVMService) EXPECT ¶
func (_m *EVMService) EXPECT() *EVMService_Expecter
func (*EVMService) EstimateGas ¶
EstimateGas provides a mock function with given fields: ctx, call
func (*EVMService) FilterLogs ¶
func (_m *EVMService) FilterLogs(ctx context.Context, filterQuery evm.FilterQuery) ([]*evm.Log, error)
FilterLogs provides a mock function with given fields: ctx, filterQuery
func (*EVMService) GetForwarderForEOA ¶
func (_m *EVMService) GetForwarderForEOA(ctx context.Context, eoa [20]byte, ocr2AggregatorID [20]byte, pluginType string) ([20]byte, error)
GetForwarderForEOA provides a mock function with given fields: ctx, eoa, ocr2AggregatorID, pluginType
func (*EVMService) GetTransactionByHash ¶
func (_m *EVMService) GetTransactionByHash(ctx context.Context, hash [32]byte) (*evm.Transaction, error)
GetTransactionByHash provides a mock function with given fields: ctx, hash
func (*EVMService) GetTransactionFee ¶
func (_m *EVMService) GetTransactionFee(ctx context.Context, transactionID string) (*evm.TransactionFee, error)
GetTransactionFee provides a mock function with given fields: ctx, transactionID
func (*EVMService) GetTransactionReceipt ¶
func (_m *EVMService) GetTransactionReceipt(ctx context.Context, txHash [32]byte) (*evm.Receipt, error)
GetTransactionReceipt provides a mock function with given fields: ctx, txHash
func (*EVMService) GetTransactionStatus ¶
func (_m *EVMService) GetTransactionStatus(ctx context.Context, transactionID string) (types.TransactionStatus, error)
GetTransactionStatus provides a mock function with given fields: ctx, transactionID
func (*EVMService) LatestAndFinalizedHead ¶
LatestAndFinalizedHead provides a mock function with given fields: ctx
func (*EVMService) QueryTrackedLogs ¶
func (_m *EVMService) QueryTrackedLogs(ctx context.Context, filterQuery []query.Expression, limitAndSort query.LimitAndSort, confidenceLevel primitives.ConfidenceLevel) ([]*evm.Log, error)
QueryTrackedLogs provides a mock function with given fields: ctx, filterQuery, limitAndSort, confidenceLevel
func (*EVMService) RegisterLogTracking ¶
func (_m *EVMService) RegisterLogTracking(ctx context.Context, filter evm.LPFilterQuery) error
RegisterLogTracking provides a mock function with given fields: ctx, filter
func (*EVMService) SubmitTransaction ¶
func (_m *EVMService) SubmitTransaction(ctx context.Context, txRequest evm.SubmitTransactionRequest) (*evm.TransactionResult, error)
SubmitTransaction provides a mock function with given fields: ctx, txRequest
func (*EVMService) UnregisterLogTracking ¶
func (_m *EVMService) UnregisterLogTracking(ctx context.Context, filterName string) error
UnregisterLogTracking provides a mock function with given fields: ctx, filterName
type EVMService_BalanceAt_Call ¶
EVMService_BalanceAt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BalanceAt'
func (*EVMService_BalanceAt_Call) Return ¶
func (_c *EVMService_BalanceAt_Call) Return(_a0 *big.Int, _a1 error) *EVMService_BalanceAt_Call
func (*EVMService_BalanceAt_Call) Run ¶
func (_c *EVMService_BalanceAt_Call) Run(run func(ctx context.Context, account [20]byte, blockNumber *big.Int)) *EVMService_BalanceAt_Call
func (*EVMService_BalanceAt_Call) RunAndReturn ¶
func (_c *EVMService_BalanceAt_Call) RunAndReturn(run func(context.Context, [20]byte, *big.Int) (*big.Int, error)) *EVMService_BalanceAt_Call
type EVMService_CalculateTransactionFee_Call ¶
EVMService_CalculateTransactionFee_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CalculateTransactionFee'
func (*EVMService_CalculateTransactionFee_Call) Return ¶
func (_c *EVMService_CalculateTransactionFee_Call) Return(_a0 *evm.TransactionFee, _a1 error) *EVMService_CalculateTransactionFee_Call
func (*EVMService_CalculateTransactionFee_Call) Run ¶
func (_c *EVMService_CalculateTransactionFee_Call) Run(run func(ctx context.Context, receiptGasInfo evm.ReceiptGasInfo)) *EVMService_CalculateTransactionFee_Call
func (*EVMService_CalculateTransactionFee_Call) RunAndReturn ¶
func (_c *EVMService_CalculateTransactionFee_Call) RunAndReturn(run func(context.Context, evm.ReceiptGasInfo) (*evm.TransactionFee, error)) *EVMService_CalculateTransactionFee_Call
type EVMService_CallContract_Call ¶
EVMService_CallContract_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CallContract'
func (*EVMService_CallContract_Call) Return ¶
func (_c *EVMService_CallContract_Call) Return(_a0 []byte, _a1 error) *EVMService_CallContract_Call
func (*EVMService_CallContract_Call) Run ¶
func (_c *EVMService_CallContract_Call) Run(run func(ctx context.Context, msg *evm.CallMsg, blockNumber *big.Int)) *EVMService_CallContract_Call
func (*EVMService_CallContract_Call) RunAndReturn ¶
func (_c *EVMService_CallContract_Call) RunAndReturn(run func(context.Context, *evm.CallMsg, *big.Int) ([]byte, error)) *EVMService_CallContract_Call
type EVMService_EstimateGas_Call ¶
EVMService_EstimateGas_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EstimateGas'
func (*EVMService_EstimateGas_Call) Return ¶
func (_c *EVMService_EstimateGas_Call) Return(_a0 uint64, _a1 error) *EVMService_EstimateGas_Call
func (*EVMService_EstimateGas_Call) Run ¶
func (_c *EVMService_EstimateGas_Call) Run(run func(ctx context.Context, call *evm.CallMsg)) *EVMService_EstimateGas_Call
func (*EVMService_EstimateGas_Call) RunAndReturn ¶
func (_c *EVMService_EstimateGas_Call) RunAndReturn(run func(context.Context, *evm.CallMsg) (uint64, error)) *EVMService_EstimateGas_Call
type EVMService_Expecter ¶
type EVMService_Expecter struct {
// contains filtered or unexported fields
}
func (*EVMService_Expecter) BalanceAt ¶
func (_e *EVMService_Expecter) BalanceAt(ctx interface{}, account interface{}, blockNumber interface{}) *EVMService_BalanceAt_Call
BalanceAt is a helper method to define mock.On call
- ctx context.Context
- account [20]byte
- blockNumber *big.Int
func (*EVMService_Expecter) CalculateTransactionFee ¶
func (_e *EVMService_Expecter) CalculateTransactionFee(ctx interface{}, receiptGasInfo interface{}) *EVMService_CalculateTransactionFee_Call
CalculateTransactionFee is a helper method to define mock.On call
- ctx context.Context
- receiptGasInfo evm.ReceiptGasInfo
func (*EVMService_Expecter) CallContract ¶
func (_e *EVMService_Expecter) CallContract(ctx interface{}, msg interface{}, blockNumber interface{}) *EVMService_CallContract_Call
CallContract is a helper method to define mock.On call
- ctx context.Context
- msg *evm.CallMsg
- blockNumber *big.Int
func (*EVMService_Expecter) EstimateGas ¶
func (_e *EVMService_Expecter) EstimateGas(ctx interface{}, call interface{}) *EVMService_EstimateGas_Call
EstimateGas is a helper method to define mock.On call
- ctx context.Context
- call *evm.CallMsg
func (*EVMService_Expecter) FilterLogs ¶
func (_e *EVMService_Expecter) FilterLogs(ctx interface{}, filterQuery interface{}) *EVMService_FilterLogs_Call
FilterLogs is a helper method to define mock.On call
- ctx context.Context
- filterQuery evm.FilterQuery
func (*EVMService_Expecter) GetForwarderForEOA ¶
func (_e *EVMService_Expecter) GetForwarderForEOA(ctx interface{}, eoa interface{}, ocr2AggregatorID interface{}, pluginType interface{}) *EVMService_GetForwarderForEOA_Call
GetForwarderForEOA is a helper method to define mock.On call
- ctx context.Context
- eoa [20]byte
- ocr2AggregatorID [20]byte
- pluginType string
func (*EVMService_Expecter) GetTransactionByHash ¶
func (_e *EVMService_Expecter) GetTransactionByHash(ctx interface{}, hash interface{}) *EVMService_GetTransactionByHash_Call
GetTransactionByHash is a helper method to define mock.On call
- ctx context.Context
- hash [32]byte
func (*EVMService_Expecter) GetTransactionFee ¶
func (_e *EVMService_Expecter) GetTransactionFee(ctx interface{}, transactionID interface{}) *EVMService_GetTransactionFee_Call
GetTransactionFee is a helper method to define mock.On call
- ctx context.Context
- transactionID string
func (*EVMService_Expecter) GetTransactionReceipt ¶
func (_e *EVMService_Expecter) GetTransactionReceipt(ctx interface{}, txHash interface{}) *EVMService_GetTransactionReceipt_Call
GetTransactionReceipt is a helper method to define mock.On call
- ctx context.Context
- txHash [32]byte
func (*EVMService_Expecter) GetTransactionStatus ¶
func (_e *EVMService_Expecter) GetTransactionStatus(ctx interface{}, transactionID interface{}) *EVMService_GetTransactionStatus_Call
GetTransactionStatus is a helper method to define mock.On call
- ctx context.Context
- transactionID string
func (*EVMService_Expecter) LatestAndFinalizedHead ¶
func (_e *EVMService_Expecter) LatestAndFinalizedHead(ctx interface{}) *EVMService_LatestAndFinalizedHead_Call
LatestAndFinalizedHead is a helper method to define mock.On call
- ctx context.Context
func (*EVMService_Expecter) QueryTrackedLogs ¶
func (_e *EVMService_Expecter) QueryTrackedLogs(ctx interface{}, filterQuery interface{}, limitAndSort interface{}, confidenceLevel interface{}) *EVMService_QueryTrackedLogs_Call
QueryTrackedLogs is a helper method to define mock.On call
- ctx context.Context
- filterQuery []query.Expression
- limitAndSort query.LimitAndSort
- confidenceLevel primitives.ConfidenceLevel
func (*EVMService_Expecter) RegisterLogTracking ¶
func (_e *EVMService_Expecter) RegisterLogTracking(ctx interface{}, filter interface{}) *EVMService_RegisterLogTracking_Call
RegisterLogTracking is a helper method to define mock.On call
- ctx context.Context
- filter evm.LPFilterQuery
func (*EVMService_Expecter) SubmitTransaction ¶
func (_e *EVMService_Expecter) SubmitTransaction(ctx interface{}, txRequest interface{}) *EVMService_SubmitTransaction_Call
SubmitTransaction is a helper method to define mock.On call
- ctx context.Context
- txRequest evm.SubmitTransactionRequest
func (*EVMService_Expecter) UnregisterLogTracking ¶
func (_e *EVMService_Expecter) UnregisterLogTracking(ctx interface{}, filterName interface{}) *EVMService_UnregisterLogTracking_Call
UnregisterLogTracking is a helper method to define mock.On call
- ctx context.Context
- filterName string
type EVMService_FilterLogs_Call ¶
EVMService_FilterLogs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FilterLogs'
func (*EVMService_FilterLogs_Call) Return ¶
func (_c *EVMService_FilterLogs_Call) Return(_a0 []*evm.Log, _a1 error) *EVMService_FilterLogs_Call
func (*EVMService_FilterLogs_Call) Run ¶
func (_c *EVMService_FilterLogs_Call) Run(run func(ctx context.Context, filterQuery evm.FilterQuery)) *EVMService_FilterLogs_Call
func (*EVMService_FilterLogs_Call) RunAndReturn ¶
func (_c *EVMService_FilterLogs_Call) RunAndReturn(run func(context.Context, evm.FilterQuery) ([]*evm.Log, error)) *EVMService_FilterLogs_Call
type EVMService_GetForwarderForEOA_Call ¶
EVMService_GetForwarderForEOA_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetForwarderForEOA'
func (*EVMService_GetForwarderForEOA_Call) Return ¶
func (_c *EVMService_GetForwarderForEOA_Call) Return(forwarder [20]byte, err error) *EVMService_GetForwarderForEOA_Call
func (*EVMService_GetForwarderForEOA_Call) Run ¶
func (_c *EVMService_GetForwarderForEOA_Call) Run(run func(ctx context.Context, eoa [20]byte, ocr2AggregatorID [20]byte, pluginType string)) *EVMService_GetForwarderForEOA_Call
func (*EVMService_GetForwarderForEOA_Call) RunAndReturn ¶
func (_c *EVMService_GetForwarderForEOA_Call) RunAndReturn(run func(context.Context, [20]byte, [20]byte, string) ([20]byte, error)) *EVMService_GetForwarderForEOA_Call
type EVMService_GetTransactionByHash_Call ¶
EVMService_GetTransactionByHash_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTransactionByHash'
func (*EVMService_GetTransactionByHash_Call) Return ¶
func (_c *EVMService_GetTransactionByHash_Call) Return(_a0 *evm.Transaction, _a1 error) *EVMService_GetTransactionByHash_Call
func (*EVMService_GetTransactionByHash_Call) Run ¶
func (_c *EVMService_GetTransactionByHash_Call) Run(run func(ctx context.Context, hash [32]byte)) *EVMService_GetTransactionByHash_Call
func (*EVMService_GetTransactionByHash_Call) RunAndReturn ¶
func (_c *EVMService_GetTransactionByHash_Call) RunAndReturn(run func(context.Context, [32]byte) (*evm.Transaction, error)) *EVMService_GetTransactionByHash_Call
type EVMService_GetTransactionFee_Call ¶
EVMService_GetTransactionFee_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTransactionFee'
func (*EVMService_GetTransactionFee_Call) Return ¶
func (_c *EVMService_GetTransactionFee_Call) Return(_a0 *evm.TransactionFee, _a1 error) *EVMService_GetTransactionFee_Call
func (*EVMService_GetTransactionFee_Call) Run ¶
func (_c *EVMService_GetTransactionFee_Call) Run(run func(ctx context.Context, transactionID string)) *EVMService_GetTransactionFee_Call
func (*EVMService_GetTransactionFee_Call) RunAndReturn ¶
func (_c *EVMService_GetTransactionFee_Call) RunAndReturn(run func(context.Context, string) (*evm.TransactionFee, error)) *EVMService_GetTransactionFee_Call
type EVMService_GetTransactionReceipt_Call ¶
EVMService_GetTransactionReceipt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTransactionReceipt'
func (*EVMService_GetTransactionReceipt_Call) Return ¶
func (_c *EVMService_GetTransactionReceipt_Call) Return(_a0 *evm.Receipt, _a1 error) *EVMService_GetTransactionReceipt_Call
func (*EVMService_GetTransactionReceipt_Call) Run ¶
func (_c *EVMService_GetTransactionReceipt_Call) Run(run func(ctx context.Context, txHash [32]byte)) *EVMService_GetTransactionReceipt_Call
func (*EVMService_GetTransactionReceipt_Call) RunAndReturn ¶
func (_c *EVMService_GetTransactionReceipt_Call) RunAndReturn(run func(context.Context, [32]byte) (*evm.Receipt, error)) *EVMService_GetTransactionReceipt_Call
type EVMService_GetTransactionStatus_Call ¶
EVMService_GetTransactionStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTransactionStatus'
func (*EVMService_GetTransactionStatus_Call) Return ¶
func (_c *EVMService_GetTransactionStatus_Call) Return(_a0 types.TransactionStatus, _a1 error) *EVMService_GetTransactionStatus_Call
func (*EVMService_GetTransactionStatus_Call) Run ¶
func (_c *EVMService_GetTransactionStatus_Call) Run(run func(ctx context.Context, transactionID string)) *EVMService_GetTransactionStatus_Call
func (*EVMService_GetTransactionStatus_Call) RunAndReturn ¶
func (_c *EVMService_GetTransactionStatus_Call) RunAndReturn(run func(context.Context, string) (types.TransactionStatus, error)) *EVMService_GetTransactionStatus_Call
type EVMService_LatestAndFinalizedHead_Call ¶
EVMService_LatestAndFinalizedHead_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LatestAndFinalizedHead'
func (*EVMService_LatestAndFinalizedHead_Call) Return ¶
func (_c *EVMService_LatestAndFinalizedHead_Call) Return(latest evm.Head, finalized evm.Head, err error) *EVMService_LatestAndFinalizedHead_Call
func (*EVMService_LatestAndFinalizedHead_Call) Run ¶
func (_c *EVMService_LatestAndFinalizedHead_Call) Run(run func(ctx context.Context)) *EVMService_LatestAndFinalizedHead_Call
func (*EVMService_LatestAndFinalizedHead_Call) RunAndReturn ¶
func (_c *EVMService_LatestAndFinalizedHead_Call) RunAndReturn(run func(context.Context) (evm.Head, evm.Head, error)) *EVMService_LatestAndFinalizedHead_Call
type EVMService_QueryTrackedLogs_Call ¶
EVMService_QueryTrackedLogs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QueryTrackedLogs'
func (*EVMService_QueryTrackedLogs_Call) Return ¶
func (_c *EVMService_QueryTrackedLogs_Call) Return(_a0 []*evm.Log, _a1 error) *EVMService_QueryTrackedLogs_Call
func (*EVMService_QueryTrackedLogs_Call) Run ¶
func (_c *EVMService_QueryTrackedLogs_Call) Run(run func(ctx context.Context, filterQuery []query.Expression, limitAndSort query.LimitAndSort, confidenceLevel primitives.ConfidenceLevel)) *EVMService_QueryTrackedLogs_Call
func (*EVMService_QueryTrackedLogs_Call) RunAndReturn ¶
func (_c *EVMService_QueryTrackedLogs_Call) RunAndReturn(run func(context.Context, []query.Expression, query.LimitAndSort, primitives.ConfidenceLevel) ([]*evm.Log, error)) *EVMService_QueryTrackedLogs_Call
type EVMService_RegisterLogTracking_Call ¶
EVMService_RegisterLogTracking_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RegisterLogTracking'
func (*EVMService_RegisterLogTracking_Call) Return ¶
func (_c *EVMService_RegisterLogTracking_Call) Return(_a0 error) *EVMService_RegisterLogTracking_Call
func (*EVMService_RegisterLogTracking_Call) Run ¶
func (_c *EVMService_RegisterLogTracking_Call) Run(run func(ctx context.Context, filter evm.LPFilterQuery)) *EVMService_RegisterLogTracking_Call
func (*EVMService_RegisterLogTracking_Call) RunAndReturn ¶
func (_c *EVMService_RegisterLogTracking_Call) RunAndReturn(run func(context.Context, evm.LPFilterQuery) error) *EVMService_RegisterLogTracking_Call
type EVMService_SubmitTransaction_Call ¶
EVMService_SubmitTransaction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SubmitTransaction'
func (*EVMService_SubmitTransaction_Call) Return ¶
func (_c *EVMService_SubmitTransaction_Call) Return(_a0 *evm.TransactionResult, _a1 error) *EVMService_SubmitTransaction_Call
func (*EVMService_SubmitTransaction_Call) Run ¶
func (_c *EVMService_SubmitTransaction_Call) Run(run func(ctx context.Context, txRequest evm.SubmitTransactionRequest)) *EVMService_SubmitTransaction_Call
func (*EVMService_SubmitTransaction_Call) RunAndReturn ¶
func (_c *EVMService_SubmitTransaction_Call) RunAndReturn(run func(context.Context, evm.SubmitTransactionRequest) (*evm.TransactionResult, error)) *EVMService_SubmitTransaction_Call
type EVMService_UnregisterLogTracking_Call ¶
EVMService_UnregisterLogTracking_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UnregisterLogTracking'
func (*EVMService_UnregisterLogTracking_Call) Return ¶
func (_c *EVMService_UnregisterLogTracking_Call) Return(_a0 error) *EVMService_UnregisterLogTracking_Call
func (*EVMService_UnregisterLogTracking_Call) Run ¶
func (_c *EVMService_UnregisterLogTracking_Call) Run(run func(ctx context.Context, filterName string)) *EVMService_UnregisterLogTracking_Call
func (*EVMService_UnregisterLogTracking_Call) RunAndReturn ¶
func (_c *EVMService_UnregisterLogTracking_Call) RunAndReturn(run func(context.Context, string) error) *EVMService_UnregisterLogTracking_Call