mocks

package
v0.0.0-...-ad1ab37 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockApi

type MockApi struct {
	// contains filtered or unexported fields
}

MockApi is a mock of Api interface.

func NewMockApi

func NewMockApi(ctrl *gomock.Controller) *MockApi

NewMockApi creates a new mock instance.

func (*MockApi) CheckBalance

func (m *MockApi) CheckBalance(address, token common.Address) (*client.BalanceResponse, error)

CheckBalance mocks base method.

func (*MockApi) CheckBalances

func (m *MockApi) CheckBalances(addresses []common.Address, token common.Address) (*client.BalancesResponse, error)

CheckBalances mocks base method.

func (*MockApi) EXPECT

func (m *MockApi) EXPECT() *MockApiMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockApi) SendTransaction

func (m *MockApi) SendTransaction(quantity *big.Int, fromPk *ecdsa.PrivateKey, to, token common.Address) (*types.Transaction, error)

SendTransaction mocks base method.

type MockApiMockRecorder

type MockApiMockRecorder struct {
	// contains filtered or unexported fields
}

MockApiMockRecorder is the mock recorder for MockApi.

func (*MockApiMockRecorder) CheckBalance

func (mr *MockApiMockRecorder) CheckBalance(address, token interface{}) *gomock.Call

CheckBalance indicates an expected call of CheckBalance.

func (*MockApiMockRecorder) CheckBalances

func (mr *MockApiMockRecorder) CheckBalances(addresses, token interface{}) *gomock.Call

CheckBalances indicates an expected call of CheckBalances.

func (*MockApiMockRecorder) SendTransaction

func (mr *MockApiMockRecorder) SendTransaction(quantity, fromPk, to, token interface{}) *gomock.Call

SendTransaction indicates an expected call of SendTransaction.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL