keeper

package
v0.0.0-...-e3796e8 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInsufficientFunds = errors.Register("mockbankkeeper", 1, "insufficient funds")

Functions

func FiatTokenfactoryKeeper

func FiatTokenfactoryKeeper() (*keeper.Keeper, sdk.Context)

Types

type MockBankKeeper

type MockBankKeeper struct {
	Balances map[string]sdk.Coins
}

func (MockBankKeeper) BurnCoins

func (k MockBankKeeper) BurnCoins(ctx context.Context, moduleName string, amt sdk.Coins) error

func (MockBankKeeper) GetDenomMetaData

func (MockBankKeeper) GetDenomMetaData(ctx context.Context, denom string) (banktypes.Metadata, bool)

func (MockBankKeeper) MintCoins

func (k MockBankKeeper) MintCoins(ctx context.Context, moduleName string, amt sdk.Coins) error

func (MockBankKeeper) SendCoins

func (k MockBankKeeper) SendCoins(ctx context.Context, fromAddr sdk.AccAddress, toAddr sdk.AccAddress, amt sdk.Coins) error

func (MockBankKeeper) SendCoinsFromAccountToModule

func (k MockBankKeeper) SendCoinsFromAccountToModule(ctx context.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error

func (MockBankKeeper) SendCoinsFromModuleToAccount

func (k MockBankKeeper) SendCoinsFromModuleToAccount(ctx context.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error

func (MockBankKeeper) SpendableCoins

func (MockBankKeeper) SpendableCoins(ctx context.Context, addr sdk.AccAddress) sdk.Coins

Jump to

Keyboard shortcuts

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