mocks

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountKeeper

type AccountKeeper struct {
	mock.Mock
}

AccountKeeper is an autogenerated mock type for the AccountKeeper type

func NewAccountKeeper

func NewAccountKeeper(t mockConstructorTestingTNewAccountKeeper) *AccountKeeper

NewAccountKeeper creates a new instance of AccountKeeper. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*AccountKeeper) GetModuleAccount

func (_m *AccountKeeper) GetModuleAccount(ctx context.Context, moduleName string) types.ModuleAccountI

GetModuleAccount provides a mock function with given fields: ctx, moduleName

func (*AccountKeeper) GetModuleAddress

func (_m *AccountKeeper) GetModuleAddress(name string) types.AccAddress

GetModuleAddress provides a mock function with given fields: name

type BankKeeper

type BankKeeper struct {
	mock.Mock
}

BankKeeper is an autogenerated mock type for the BankKeeper type

func NewBankKeeper

func NewBankKeeper(t mockConstructorTestingTNewBankKeeper) *BankKeeper

NewBankKeeper creates a new instance of BankKeeper. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*BankKeeper) InputOutputCoins

func (_m *BankKeeper) InputOutputCoins(ctx context.Context, inputs types.Input, outputs []types.Output) error

InputOutputCoins provides a mock function with given fields: ctx, inputs, outputs

func (*BankKeeper) MintCoins

func (_m *BankKeeper) MintCoins(ctx context.Context, name string, amt cosmos_sdktypes.Coins) error

MintCoins provides a mock function with given fields: ctx, name, amt

func (*BankKeeper) SendCoinsFromModuleToModule

func (_m *BankKeeper) SendCoinsFromModuleToModule(ctx context.Context, senderModule string, recipientModule string, amt cosmos_sdktypes.Coins) error

SendCoinsFromModuleToModule provides a mock function with given fields: ctx, senderModule, recipientModule, amt

Jump to

Keyboard shortcuts

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