Documentation ¶
Index ¶
- func FundAccount(bankKeeper bankkeeper.Keeper, ctx sdk.Context, addr sdk.AccAddress, ...) error
- func FundModuleAccount(bankKeeper bankkeeper.Keeper, ctx sdk.Context, recipientMod string, ...) error
- func NewNibiruTestApp(gen app.GenesisState) *app.NibiruApp
- func NewNibiruTestAppAndContext(shouldUseDefaultGenesis bool) (*app.NibiruApp, sdk.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FundAccount ¶ added in v0.21.0
func FundAccount(bankKeeper bankkeeper.Keeper, ctx sdk.Context, addr sdk.AccAddress, amounts sdk.Coins) error
FundAccount is a utility function that funds an account by minting and sending the coins to the address. This should be used for testing purposes only!
func FundModuleAccount ¶ added in v0.21.0
func FundModuleAccount(bankKeeper bankkeeper.Keeper, ctx sdk.Context, recipientMod string, amounts sdk.Coins) error
FundModuleAccount is a utility function that funds a module account by minting and sending the coins to the address. This should be used for testing purposes only!
func NewNibiruTestApp ¶ added in v0.19.1
func NewNibiruTestApp(gen app.GenesisState) *app.NibiruApp
NewNibiruTestApp initializes a chain with the given genesis state to creates an application instance ('app.NibiruApp'). This app uses an in-memory database ('tmdb.MemDB') and has logging disabled.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.