Documentation ¶
Index ¶
- func GetRandomElemIndex(r *rand.Rand, length int) int
- func RandTimestamp(r *rand.Rand) time.Time
- func RandomAccCoins(r *rand.Rand, account auth.Account) (string, int64)
- func RandomBool(r *rand.Rand) bool
- func RandomCET(r *rand.Rand, ctx sdk.Context, ak auth.AccountKeeper, ...) (donation int64)
- func RandomSymbol(r *rand.Rand, prefix string, randomPartLen int) string
- func ReplaceDenom(gacc genaccounts.GenesisAccount, fromDenom, toDenom string)
- func SimulateHandleMsg(msg sdk.Msg, handler sdk.Handler, ctx sdk.Context) (ok bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RandTimestamp ¶
RandTimestamp generates a random timestamp
func RandomBool ¶
func RandomCET ¶
func RandomCET(r *rand.Rand, ctx sdk.Context, ak auth.AccountKeeper, fromAcc simulation.Account) (donation int64)
func ReplaceDenom ¶
func ReplaceDenom(gacc genaccounts.GenesisAccount, fromDenom, toDenom string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.