Documentation ¶
Index ¶
- type BatchCaller
- type BatchCaller_BatchCall_Call
- func (_c *BatchCaller_BatchCall_Call) Return(_a0 evm.BatchResult, _a1 error) *BatchCaller_BatchCall_Call
- func (_c *BatchCaller_BatchCall_Call) Run(run func(ctx context.Context, blockNumber uint64, batchRequests evm.BatchCall)) *BatchCaller_BatchCall_Call
- func (_c *BatchCaller_BatchCall_Call) RunAndReturn(run func(context.Context, uint64, evm.BatchCall) (evm.BatchResult, error)) *BatchCaller_BatchCall_Call
- type BatchCaller_Expecter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatchCaller ¶
BatchCaller is an autogenerated mock type for the BatchCaller type
func NewBatchCaller ¶
func NewBatchCaller(t interface { mock.TestingT Cleanup(func()) }) *BatchCaller
NewBatchCaller creates a new instance of BatchCaller. 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 (*BatchCaller) BatchCall ¶
func (_m *BatchCaller) BatchCall(ctx context.Context, blockNumber uint64, batchRequests evm.BatchCall) (evm.BatchResult, error)
BatchCall provides a mock function with given fields: ctx, blockNumber, batchRequests
func (*BatchCaller) EXPECT ¶
func (_m *BatchCaller) EXPECT() *BatchCaller_Expecter
type BatchCaller_BatchCall_Call ¶
BatchCaller_BatchCall_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BatchCall'
func (*BatchCaller_BatchCall_Call) Return ¶
func (_c *BatchCaller_BatchCall_Call) Return(_a0 evm.BatchResult, _a1 error) *BatchCaller_BatchCall_Call
func (*BatchCaller_BatchCall_Call) Run ¶
func (_c *BatchCaller_BatchCall_Call) Run(run func(ctx context.Context, blockNumber uint64, batchRequests evm.BatchCall)) *BatchCaller_BatchCall_Call
func (*BatchCaller_BatchCall_Call) RunAndReturn ¶
func (_c *BatchCaller_BatchCall_Call) RunAndReturn(run func(context.Context, uint64, evm.BatchCall) (evm.BatchResult, error)) *BatchCaller_BatchCall_Call
type BatchCaller_Expecter ¶
type BatchCaller_Expecter struct {
// contains filtered or unexported fields
}
func (*BatchCaller_Expecter) BatchCall ¶
func (_e *BatchCaller_Expecter) BatchCall(ctx interface{}, blockNumber interface{}, batchRequests interface{}) *BatchCaller_BatchCall_Call
BatchCall is a helper method to define mock.On call
- ctx context.Context
- blockNumber uint64
- batchRequests evm.BatchCall
Click to show internal directories.
Click to hide internal directories.