mock_types

package
v2.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package mock_types is a generated GoMock package.

Package mock_types is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAccountKeeper

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

MockAccountKeeper is a mock of AccountKeeper interface.

func NewMockAccountKeeper

func NewMockAccountKeeper(ctrl *gomock.Controller) *MockAccountKeeper

NewMockAccountKeeper creates a new mock instance.

func (*MockAccountKeeper) EXPECT

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

func (*MockAccountKeeper) GetAccount

func (m *MockAccountKeeper) GetAccount(ctx types.Context, addr types.AccAddress) types0.AccountI

GetAccount mocks base method.

type MockAccountKeeperMockRecorder

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

MockAccountKeeperMockRecorder is the mock recorder for MockAccountKeeper.

func (*MockAccountKeeperMockRecorder) GetAccount

func (mr *MockAccountKeeperMockRecorder) GetAccount(ctx, addr interface{}) *gomock.Call

GetAccount indicates an expected call of GetAccount.

type MockBankKeeper

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

MockBankKeeper is a mock of BankKeeper interface.

func NewMockBankKeeper

func NewMockBankKeeper(ctrl *gomock.Controller) *MockBankKeeper

NewMockBankKeeper creates a new mock instance.

func (*MockBankKeeper) EXPECT

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

func (*MockBankKeeper) SendCoinsFromAccountToModule

func (m *MockBankKeeper) SendCoinsFromAccountToModule(ctx types.Context, senderAddr types.AccAddress, recipientModule string, amt types.Coins) error

SendCoinsFromAccountToModule mocks base method.

func (*MockBankKeeper) SendCoinsFromModuleToAccount

func (m *MockBankKeeper) SendCoinsFromModuleToAccount(ctx types.Context, senderModule string, recipientAddr types.AccAddress, amt types.Coins) error

SendCoinsFromModuleToAccount mocks base method.

func (*MockBankKeeper) SpendableCoins

func (m *MockBankKeeper) SpendableCoins(ctx types.Context, addr types.AccAddress) types.Coins

SpendableCoins mocks base method.

type MockBankKeeperMockRecorder

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

MockBankKeeperMockRecorder is the mock recorder for MockBankKeeper.

func (*MockBankKeeperMockRecorder) SendCoinsFromAccountToModule

func (mr *MockBankKeeperMockRecorder) SendCoinsFromAccountToModule(ctx, senderAddr, recipientModule, amt interface{}) *gomock.Call

SendCoinsFromAccountToModule indicates an expected call of SendCoinsFromAccountToModule.

func (*MockBankKeeperMockRecorder) SendCoinsFromModuleToAccount

func (mr *MockBankKeeperMockRecorder) SendCoinsFromModuleToAccount(ctx, senderModule, recipientAddr, amt interface{}) *gomock.Call

SendCoinsFromModuleToAccount indicates an expected call of SendCoinsFromModuleToAccount.

func (*MockBankKeeperMockRecorder) SpendableCoins

func (mr *MockBankKeeperMockRecorder) SpendableCoins(ctx, addr interface{}) *gomock.Call

SpendableCoins indicates an expected call of SpendableCoins.

type MockContractManagerKeeper

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

MockContractManagerKeeper is a mock of ContractManagerKeeper interface.

func NewMockContractManagerKeeper

func NewMockContractManagerKeeper(ctrl *gomock.Controller) *MockContractManagerKeeper

NewMockContractManagerKeeper creates a new mock instance.

func (*MockContractManagerKeeper) EXPECT

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

func (*MockContractManagerKeeper) HasContractInfo

func (m *MockContractManagerKeeper) HasContractInfo(ctx types.Context, contractAddress types.AccAddress) bool

HasContractInfo mocks base method.

func (*MockContractManagerKeeper) SudoKVQueryResult

func (m *MockContractManagerKeeper) SudoKVQueryResult(ctx types.Context, contractAddress types.AccAddress, queryID uint64) ([]byte, error)

SudoKVQueryResult mocks base method.

func (*MockContractManagerKeeper) SudoTxQueryResult

func (m *MockContractManagerKeeper) SudoTxQueryResult(ctx types.Context, contractAddress types.AccAddress, queryID uint64, height types1.Height, data []byte) ([]byte, error)

SudoTxQueryResult mocks base method.

type MockContractManagerKeeperMockRecorder

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

MockContractManagerKeeperMockRecorder is the mock recorder for MockContractManagerKeeper.

func (*MockContractManagerKeeperMockRecorder) HasContractInfo

func (mr *MockContractManagerKeeperMockRecorder) HasContractInfo(ctx, contractAddress interface{}) *gomock.Call

HasContractInfo indicates an expected call of HasContractInfo.

func (*MockContractManagerKeeperMockRecorder) SudoKVQueryResult

func (mr *MockContractManagerKeeperMockRecorder) SudoKVQueryResult(ctx, contractAddress, queryID interface{}) *gomock.Call

SudoKVQueryResult indicates an expected call of SudoKVQueryResult.

func (*MockContractManagerKeeperMockRecorder) SudoTxQueryResult

func (mr *MockContractManagerKeeperMockRecorder) SudoTxQueryResult(ctx, contractAddress, queryID, height, data interface{}) *gomock.Call

SudoTxQueryResult indicates an expected call of SudoTxQueryResult.

type MockHeaderVerifier

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

MockHeaderVerifier is a mock of HeaderVerifier interface.

func NewMockHeaderVerifier

func NewMockHeaderVerifier(ctrl *gomock.Controller) *MockHeaderVerifier

NewMockHeaderVerifier creates a new mock instance.

func (*MockHeaderVerifier) EXPECT

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

func (*MockHeaderVerifier) UnpackHeader

func (m *MockHeaderVerifier) UnpackHeader(any *types.Any) (exported.ClientMessage, error)

UnpackHeader mocks base method.

func (*MockHeaderVerifier) VerifyHeaders

func (m *MockHeaderVerifier) VerifyHeaders(ctx types0.Context, cleintkeeper keeper.Keeper, clientID string, header, nextHeader exported.ClientMessage) error

VerifyHeaders mocks base method.

type MockHeaderVerifierMockRecorder

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

MockHeaderVerifierMockRecorder is the mock recorder for MockHeaderVerifier.

func (*MockHeaderVerifierMockRecorder) UnpackHeader

func (mr *MockHeaderVerifierMockRecorder) UnpackHeader(any interface{}) *gomock.Call

UnpackHeader indicates an expected call of UnpackHeader.

func (*MockHeaderVerifierMockRecorder) VerifyHeaders

func (mr *MockHeaderVerifierMockRecorder) VerifyHeaders(ctx, cleintkeeper, clientID, header, nextHeader interface{}) *gomock.Call

VerifyHeaders indicates an expected call of VerifyHeaders.

type MockTransactionVerifier

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

MockTransactionVerifier is a mock of TransactionVerifier interface.

func NewMockTransactionVerifier

func NewMockTransactionVerifier(ctrl *gomock.Controller) *MockTransactionVerifier

NewMockTransactionVerifier creates a new mock instance.

func (*MockTransactionVerifier) EXPECT

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

func (*MockTransactionVerifier) VerifyTransaction

func (m *MockTransactionVerifier) VerifyTransaction(header, nextHeader *types1.Header, tx *types2.TxValue) error

VerifyTransaction mocks base method.

type MockTransactionVerifierMockRecorder

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

MockTransactionVerifierMockRecorder is the mock recorder for MockTransactionVerifier.

func (*MockTransactionVerifierMockRecorder) VerifyTransaction

func (mr *MockTransactionVerifierMockRecorder) VerifyTransaction(header, nextHeader, tx interface{}) *gomock.Call

VerifyTransaction indicates an expected call of VerifyTransaction.

Jump to

Keyboard shortcuts

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