Documentation ¶
Index ¶
- func AddTestAddrs(app *app.App, ctx sdk.Context, accNum int, accAmt math.Int) []sdk.AccAddress
- func AddTestAddrsIncremental(app *app.App, ctx sdk.Context, accNum int, accAmt math.Int) []sdk.AccAddress
- func AddTestAddrsWithDenom(app *app.App, ctx sdk.Context, accNum int, accAmt math.Int, denom string) []sdk.AccAddress
- func AddTestModuleAccount(app *app.App, ctx sdk.Context, addr sdk.AccAddress)
- func InitAccountWithCoins(app *app.App, ctx sdk.Context, addr sdk.AccAddress, coins sdk.Coins)
- func TestAddr(addr string, bech string) (sdk.AccAddress, error)
- type EmptyAppOptions
- type GenerateAccountStrategy
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddTestAddrs ¶
AddTestAddrs constructs and returns accNum amount of accounts with an initial balance of accAmt in random order
func AddTestAddrsIncremental ¶
func AddTestAddrsIncremental(app *app.App, ctx sdk.Context, accNum int, accAmt math.Int) []sdk.AccAddress
AddTestAddrs constructs and returns accNum amount of accounts with an initial balance of accAmt in random order
func AddTestAddrsWithDenom ¶ added in v1.2.1
func AddTestModuleAccount ¶ added in v1.4.0
func InitAccountWithCoins ¶ added in v1.3.0
Types ¶
type EmptyAppOptions ¶
type EmptyAppOptions struct{}
EmptyAppOptions is a stub implementing AppOptions
func (EmptyAppOptions) Get ¶
func (ao EmptyAppOptions) Get(o string) interface{}
Get implements AppOptions
type GenerateAccountStrategy ¶
type GenerateAccountStrategy func(int) []sdk.AccAddress
Click to show internal directories.
Click to hide internal directories.