Documentation ¶
Index ¶
- func FundAccount(ctx sdk.Context, addr sdk.AccAddress, amounts sdk.Coins, ...) error
- func FundModuleAccount(ctx sdk.Context, moduleName string, amounts sdk.Coins, ...) error
- func GetModuleAccUsdcBalance(clientCtx client.Context, codec codec.Codec, moduleName string) (balance int64, err error)
- func MatchUsdcOfAmount(amount int64) func(coins sdk.Coins) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FundAccount ¶
func FundAccount( ctx sdk.Context, addr sdk.AccAddress, amounts sdk.Coins, bankKeeper bankkeeper.BaseKeeper, ) error
FundAccount is a test utility function that funds an account by minting the coins in the mint module, and sending them to the address account.
func FundModuleAccount ¶
func FundModuleAccount( ctx sdk.Context, moduleName string, amounts sdk.Coins, bankKeeper bankkeeper.BaseKeeper, ) error
FundModuleAccount is a test utility function that funds a module account by minting the coins in the mint module, and sending them to the module account.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.