mocks

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: MIT Imports: 6 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) GetAccount

func (_m *AccountKeeper) GetAccount(ctx context.Context, addr types.AccAddress) types.AccountI

GetAccount provides a mock function with given fields: ctx, addr

func (*AccountKeeper) GetModuleAccount

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

GetModuleAccount provides a mock function with given fields: ctx, 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) BurnCoins

func (_m *BankKeeper) BurnCoins(ctx context.Context, moduleName string, amounts types.Coins) error

BurnCoins provides a mock function with given fields: ctx, moduleName, amounts

func (*BankKeeper) GetBalance

func (_m *BankKeeper) GetBalance(ctx context.Context, addr types.AccAddress, denom string) types.Coin

GetBalance provides a mock function with given fields: ctx, addr, denom

func (*BankKeeper) SendCoinsFromAccountToModule

func (_m *BankKeeper) SendCoinsFromAccountToModule(ctx context.Context, senderAddr types.AccAddress, recipientModule string, amt types.Coins) error

SendCoinsFromAccountToModule provides a mock function with given fields: ctx, senderAddr, recipientModule, amt

func (*BankKeeper) SendCoinsFromModuleToModule

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

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

type RegistryKeeper

type RegistryKeeper struct {
	mock.Mock
}

RegistryKeeper is an autogenerated mock type for the RegistryKeeper type

func NewRegistryKeeper

func NewRegistryKeeper(t mockConstructorTestingTNewRegistryKeeper) *RegistryKeeper

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

func (*RegistryKeeper) GetSpec

func (_m *RegistryKeeper) GetSpec(ctx context.Context, queryType string) (types.DataSpec, error)

GetSpec provides a mock function with given fields: ctx, queryType

type ReporterKeeper

type ReporterKeeper struct {
	mock.Mock
}

ReporterKeeper is an autogenerated mock type for the ReporterKeeper type

func NewReporterKeeper

func NewReporterKeeper(t mockConstructorTestingTNewReporterKeeper) *ReporterKeeper

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

func (*ReporterKeeper) DivvyingTips

func (_m *ReporterKeeper) DivvyingTips(ctx context.Context, reporterAddr types.AccAddress, reward reportertypes.BigUint, height uint64) error

DivvyingTips provides a mock function with given fields: ctx, reporterAddr, reward, height

func (*ReporterKeeper) ReporterStake

func (_m *ReporterKeeper) ReporterStake(ctx context.Context, repAddress types.AccAddress) (math.Int, error)

ReporterStake provides a mock function with given fields: ctx, repAddress

Jump to

Keyboard shortcuts

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