Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CurrencyFetcher ¶
CurrencyFetcher is an autogenerated mock type for the CurrencyFetcher type
func NewCurrencyFetcher ¶
func NewCurrencyFetcher(t interface { mock.TestingT Cleanup(func()) }) *CurrencyFetcher
NewCurrencyFetcher creates a new instance of CurrencyFetcher. 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 (*CurrencyFetcher) FetchCurrency ¶
func (_m *CurrencyFetcher) FetchCurrency(ctx context.Context, blockNum uint64, contractAddress string) (*types.Currency, error)
FetchCurrency provides a mock function with given fields: ctx, blockNum, contractAddress
type GraphQL ¶
GraphQL is an autogenerated mock type for the GraphQL type
func NewGraphQL ¶
NewGraphQL creates a new instance of GraphQL. 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.
type JSONRPC ¶
JSONRPC is an autogenerated mock type for the JSONRPC type
func NewJSONRPC ¶
NewJSONRPC creates a new instance of JSONRPC. 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 (*JSONRPC) BatchCallContext ¶
BatchCallContext provides a mock function with given fields: ctx, b