Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockApi
- func (m *MockApi) CheckBalance(address, token common.Address) (*client.BalanceResponse, error)
- func (m *MockApi) CheckBalances(addresses []common.Address, token common.Address) (*client.BalancesResponse, error)
- func (m *MockApi) EXPECT() *MockApiMockRecorder
- func (m *MockApi) SendTransaction(quantity *big.Int, fromPk *ecdsa.PrivateKey, to, token common.Address) (*types.Transaction, error)
- type MockApiMockRecorder
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 ¶
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.
Click to show internal directories.
Click to hide internal directories.