mocks

package
v0.6.6 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2026 License: Apache-2.0 Imports: 4 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BankKeeper

type BankKeeper struct {
	mock.Mock
}

BankKeeper is an autogenerated mock type for the BankKeeper type

func NewBankKeeper

func NewBankKeeper(t interface {
	mock.TestingT
	Cleanup(func())
}) *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. The first argument is typically a *testing.T value.

func (*BankKeeper) BlockedAddr added in v0.5.0

func (_m *BankKeeper) BlockedAddr(addr types.AccAddress) bool

BlockedAddr provides a mock function with given fields: addr

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) GetDenomMetaData

func (_m *BankKeeper) GetDenomMetaData(ctx context.Context, denom string) (banktypes.Metadata, bool)

GetDenomMetaData provides a mock function with given fields: ctx, denom

func (*BankKeeper) GetSupply

func (_m *BankKeeper) GetSupply(ctx context.Context, denom string) types.Coin

GetSupply provides a mock function with given fields: ctx, denom

func (*BankKeeper) IterateAccountBalances

func (_m *BankKeeper) IterateAccountBalances(ctx context.Context, account types.AccAddress, cb func(types.Coin) bool)

IterateAccountBalances provides a mock function with given fields: ctx, account, cb

func (*BankKeeper) IterateTotalSupply

func (_m *BankKeeper) IterateTotalSupply(ctx context.Context, cb func(types.Coin) bool)

IterateTotalSupply provides a mock function with given fields: ctx, cb

func (*BankKeeper) SendCoins

func (_m *BankKeeper) SendCoins(ctx context.Context, fromAddr types.AccAddress, toAddr types.AccAddress, amt types.Coins) error

SendCoins provides a mock function with given fields: ctx, fromAddr, toAddr, amt

func (*BankKeeper) SetDenomMetaData

func (_m *BankKeeper) SetDenomMetaData(ctx context.Context, denomMetaData banktypes.Metadata)

SetDenomMetaData provides a mock function with given fields: ctx, denomMetaData

func (*BankKeeper) SpendableCoin

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

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

Jump to

Keyboard shortcuts

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