Documentation ¶
Index ¶
- func GetSimAccount(address sdk.Address, accs []simtypes.Account) (simtypes.Account, bool)
- func RandomCoin(r *rand.Rand, denom string, maxAmount int) sdk.Coin
- func RandomDuration(r *rand.Rand, min time.Duration, max time.Duration) time.Duration
- func RandomFutureTime(r *rand.Rand, currentTime time.Time) time.Time
- func SendMsg(r *rand.Rand, moduleName string, app *baseapp.BaseApp, ...) (simtypes.OperationMsg, []simtypes.FutureOperation, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSimAccount ¶
GetSimAccount gets the Account with the given address
func RandomCoin ¶
RandomCoin returns a random coin having the specified denomination and the max given amount
func RandomDuration ¶
RandomDuration returns a random duration between the min and max
func RandomFutureTime ¶
RandomFutureTime returns a random future time
func SendMsg ¶
func SendMsg( r *rand.Rand, moduleName string, app *baseapp.BaseApp, ak authkeeper.AccountKeeper, bk bankkeeper.Keeper, msg sdk.Msg, ctx sdk.Context, simAccount simtypes.Account, ) (simtypes.OperationMsg, []simtypes.FutureOperation, error)
SendMsg sends a transaction with the specified message.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.