# Functions
DeriveRand derives a new Rand deterministically from another random source.
FindAccount iterates over all the simulation accounts to find the one that matches the given address.
NewOperationMsg - create a new operation message from sdk.Msg.
NewOperationMsgBasic creates a new operation message from raw input.
NewStoreDecoderFuncFromCollectionsSchema returns a function that decodes two kv pairs when the module fully uses collections.
NoOpMsg - create a no-operation message.
RandIntBetween returns a random int in the range [min, max) using a given source of randomness.
RandomAcc picks and returns a random account and its index from an array.
RandomAccounts deterministic generates n random accounts without duplicates.
RandomAmount generates a random amount Note: The range of RandomAmount includes max, and is, in fact, biased to return max as well as 0.
RandomDecAmount generates a random decimal amount Note: The range of RandomDecAmount includes max, and is, in fact, biased to return max as well as 0.
RandomFees returns a random fee by selecting a random coin denomination and amount from the account's available balance.
RandPositiveInt get a rand positive math.Int.
RandStringOfLength generates a random string of a particular length.
RandSubsetCoins returns random subset of the provided coins will return at least one coin unless coins argument is empty or malformed i.e.
RandTimestamp generates a random timestamp.
# Structs
Account contains a privkey, pubkey, address tuple eventually more useful data can be placed in here.
Config contains the necessary configuration flags for the simulator.
FutureOperation is an operation which will be ran at the beginning of the provided BlockHeight.
OperationMsg - structure for operation output.
# Interfaces
AppEntrypoint defines the method for delivering simulation TX to the app.
Deprecated: Use MsgSimulatorFn instead.
No description provided by the author
No description provided by the author
TransitionMatrix is _almost_ a left stochastic matrix.
No description provided by the author
Deprecated: Use WeightedProposalMsg instead.
No description provided by the author
# Type aliases
No description provided by the author
AppParams defines a flat JSON of key/values for all possible configurable simulation parameters.
AppStateFn returns the app state json bytes and the genesis accounts.
Deprecated: Use MsgSimulatorFn instead.
No description provided by the author
No description provided by the author
Operation runs a state machine transition, and ensures the transition happened as expected.
No description provided by the author
RandomAccountFn returns a slice of n random simulation accounts.
No description provided by the author
No description provided by the author
No description provided by the author
StoreDecoderRegistry defines each of the modules store decoders.