Documentation
¶
Index ¶
- type EVMClient
- type EVMClient_BatchCallContext_Call
- func (_c *EVMClient_BatchCallContext_Call) Return(_a0 error) *EVMClient_BatchCallContext_Call
- func (_c *EVMClient_BatchCallContext_Call) Run(run func(ctx context.Context, calls []rpc.BatchElem)) *EVMClient_BatchCallContext_Call
- func (_c *EVMClient_BatchCallContext_Call) RunAndReturn(run func(context.Context, []rpc.BatchElem) error) *EVMClient_BatchCallContext_Call
- type EVMClient_Expecter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EVMClient ¶
EVMClient is an autogenerated mock type for the EVMClient type
func NewEVMClient ¶
NewEVMClient creates a new instance of EVMClient. 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 (*EVMClient) BatchCallContext ¶
BatchCallContext provides a mock function with given fields: ctx, calls
func (*EVMClient) EXPECT ¶
func (_m *EVMClient) EXPECT() *EVMClient_Expecter
type EVMClient_BatchCallContext_Call ¶
EVMClient_BatchCallContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BatchCallContext'
func (*EVMClient_BatchCallContext_Call) Return ¶
func (_c *EVMClient_BatchCallContext_Call) Return(_a0 error) *EVMClient_BatchCallContext_Call
func (*EVMClient_BatchCallContext_Call) Run ¶
func (_c *EVMClient_BatchCallContext_Call) Run(run func(ctx context.Context, calls []rpc.BatchElem)) *EVMClient_BatchCallContext_Call
func (*EVMClient_BatchCallContext_Call) RunAndReturn ¶
func (_c *EVMClient_BatchCallContext_Call) RunAndReturn(run func(context.Context, []rpc.BatchElem) error) *EVMClient_BatchCallContext_Call
type EVMClient_Expecter ¶
type EVMClient_Expecter struct {
// contains filtered or unexported fields
}
func (*EVMClient_Expecter) BatchCallContext ¶
func (_e *EVMClient_Expecter) BatchCallContext(ctx interface{}, calls interface{}) *EVMClient_BatchCallContext_Call
BatchCallContext is a helper method to define mock.On call
- ctx context.Context
- calls []rpc.BatchElem
Click to show internal directories.
Click to hide internal directories.