package
0.0.0-20220620005849-a315113d9162
Repository: https://github.com/mycodeku/transtionhelper.git
Documentation: pkg.go.dev

# 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.
NoOpMsg - create a no-operation message.
RandIntBetween returns a random int between two numbers inclusively.
RandomAcc picks and returns a random account and its index from an array.
RandomAccounts generates n random accounts.
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 sdk.Int.
RandStringOfLength generates a random string of a particular length.
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

No description provided by the author
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
No description provided by the author

# Type aliases

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.
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