mock_figmentclient

package
v0.5.7 Latest Latest
Warning

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

Go to latest
Published: May 27, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_figmentclient is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClient

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

MockClient is a mock of Client interface

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance

func (*MockClient) Close

func (m *MockClient) Close()

Close mocks base method

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

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

func (*MockClient) GetAccountByAddressAndHeight

func (m *MockClient) GetAccountByAddressAndHeight(arg0 context.Context, arg1 *figmentclient.ContractRegistry, arg2 string, arg3 int64) (*figmentclient.AccountInfo, error)

GetAccountByAddressAndHeight mocks base method

func (*MockClient) GetBlockByHeight

func (m *MockClient) GetBlockByHeight(arg0 context.Context, arg1 int64) (*figmentclient.Block, error)

GetBlockByHeight mocks base method

func (*MockClient) GetChainParams

func (m *MockClient) GetChainParams(arg0 context.Context) (*figmentclient.ChainParams, error)

GetChainParams mocks base method

func (*MockClient) GetChainStatus

func (m *MockClient) GetChainStatus(arg0 context.Context) (*figmentclient.ChainStatus, error)

GetChainStatus mocks base method

func (*MockClient) GetIdentityByHeight

func (m *MockClient) GetIdentityByHeight(arg0 context.Context, arg1 *figmentclient.ContractRegistry, arg2 string, arg3 int64) (*figmentclient.Identity, error)

GetIdentityByHeight mocks base method

func (*MockClient) GetMetaByHeight

func (m *MockClient) GetMetaByHeight(arg0 context.Context, arg1 *figmentclient.ContractRegistry, arg2 int64) (*figmentclient.HeightMeta, error)

GetMetaByHeight mocks base method

func (*MockClient) GetTransactionByHash added in v0.3.2

func (m *MockClient) GetTransactionByHash(arg0 context.Context, arg1 string) (*figmentclient.Transaction, error)

GetTransactionByHash mocks base method

func (*MockClient) GetTransactionHashesByHeight added in v0.3.2

func (m *MockClient) GetTransactionHashesByHeight(arg0 context.Context, arg1 int64) ([]common.Hash, error)

GetTransactionHashesByHeight mocks base method

func (*MockClient) GetTransactionsByHeight

func (m *MockClient) GetTransactionsByHeight(arg0 context.Context, arg1 *figmentclient.ContractRegistry, arg2 int64) ([]*figmentclient.Transaction, error)

GetTransactionsByHeight mocks base method

func (*MockClient) GetValidatorGroupsByHeight

func (m *MockClient) GetValidatorGroupsByHeight(arg0 context.Context, arg1 *figmentclient.ContractRegistry, arg2 int64) ([]*figmentclient.ValidatorGroup, error)

GetValidatorGroupsByHeight mocks base method

func (*MockClient) GetValidatorsByHeight

func (m *MockClient) GetValidatorsByHeight(arg0 context.Context, arg1 *figmentclient.ContractRegistry, arg2 int64) ([]*figmentclient.Validator, error)

GetValidatorsByHeight mocks base method

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient

func (*MockClientMockRecorder) Close

func (mr *MockClientMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockClientMockRecorder) GetAccountByAddressAndHeight

func (mr *MockClientMockRecorder) GetAccountByAddressAndHeight(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetAccountByAddressAndHeight indicates an expected call of GetAccountByAddressAndHeight

func (*MockClientMockRecorder) GetBlockByHeight

func (mr *MockClientMockRecorder) GetBlockByHeight(arg0, arg1 interface{}) *gomock.Call

GetBlockByHeight indicates an expected call of GetBlockByHeight

func (*MockClientMockRecorder) GetChainParams

func (mr *MockClientMockRecorder) GetChainParams(arg0 interface{}) *gomock.Call

GetChainParams indicates an expected call of GetChainParams

func (*MockClientMockRecorder) GetChainStatus

func (mr *MockClientMockRecorder) GetChainStatus(arg0 interface{}) *gomock.Call

GetChainStatus indicates an expected call of GetChainStatus

func (*MockClientMockRecorder) GetIdentityByHeight

func (mr *MockClientMockRecorder) GetIdentityByHeight(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetIdentityByHeight indicates an expected call of GetIdentityByHeight

func (*MockClientMockRecorder) GetMetaByHeight

func (mr *MockClientMockRecorder) GetMetaByHeight(arg0, arg1, arg2 interface{}) *gomock.Call

GetMetaByHeight indicates an expected call of GetMetaByHeight

func (*MockClientMockRecorder) GetTransactionByHash added in v0.3.2

func (mr *MockClientMockRecorder) GetTransactionByHash(arg0, arg1 interface{}) *gomock.Call

GetTransactionByHash indicates an expected call of GetTransactionByHash

func (*MockClientMockRecorder) GetTransactionHashesByHeight added in v0.3.2

func (mr *MockClientMockRecorder) GetTransactionHashesByHeight(arg0, arg1 interface{}) *gomock.Call

GetTransactionHashesByHeight indicates an expected call of GetTransactionHashesByHeight

func (*MockClientMockRecorder) GetTransactionsByHeight

func (mr *MockClientMockRecorder) GetTransactionsByHeight(arg0, arg1, arg2 interface{}) *gomock.Call

GetTransactionsByHeight indicates an expected call of GetTransactionsByHeight

func (*MockClientMockRecorder) GetValidatorGroupsByHeight

func (mr *MockClientMockRecorder) GetValidatorGroupsByHeight(arg0, arg1, arg2 interface{}) *gomock.Call

GetValidatorGroupsByHeight indicates an expected call of GetValidatorGroupsByHeight

func (*MockClientMockRecorder) GetValidatorsByHeight

func (mr *MockClientMockRecorder) GetValidatorsByHeight(arg0, arg1, arg2 interface{}) *gomock.Call

GetValidatorsByHeight indicates an expected call of GetValidatorsByHeight

Jump to

Keyboard shortcuts

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