# Functions
AddTestAddrs constructs and returns accNum amount of accounts with an initial balance of accAmt in random order.
AddTestAddrs constructs and returns accNum amount of accounts with an initial balance of accAmt in random order.
AppStateFn returns the initial application state using a genesis or the simulation parameters.
AppStateFromGenesisFileFn util function to generate the genesis AppState from a genesis.json file.
AppStateRandomizedFn creates calls each module's GenesisState generator function and creates the simulation params.
BlockedAddresses returns all the app's blocked account addresses.
CheckBalance checks the balance of an account.
CheckExportSimulation exports the app state and simulation parameters to JSON if the export paths are defined.
No description provided by the author
ConvertAddrsToValAddrs converts the provided addresses to ValAddress.
CreateTestPubKeys returns a total of numPubKeys public keys in ascending order.
GenSequenceOfTxs generates a set of signed transactions of messages, such that they differ only by having the sequence numbers incremented between every transaction.
GetMaccPerms returns a copy of the module account permissions.
GetSimulationLog unmarshals the KVPair's Value to the corresponding type based on the each's module store key and the prefix bytes of the KVPair's key.
GetSimulatorFlags gets the values of all the available simulation flags.
MakeCodecs constructs the *std.Codec and *codec.LegacyAmino instances used by simapp.
MakeTestEncodingConfig creates an EncodingConfig for testing.
NewConfigFromFlags creates a simulation from the retrieved values of the flags.
NewDefaultGenesisState generates the default state for the application.
NewPubKeyFromHex returns a PubKey from a hex string.
NewSimApp returns a reference to an initialized SimApp.
PrintStats prints the corresponding statistics from the app DB.
RegisterSwaggerAPI registers swagger route with API Server.
Setup initializes a new SimApp.
SetupSimulation creates the config, db (levelDB), temporary directory and logger for the simulation tests.
SetupWithGenesisValSet initializes a new SimApp with a validator set and genesis accounts that also act as delegators.
SignAndDeliver signs and delivers a transaction.
SimulationOperations retrieves the simulation params from the provided file path and returns all the modules weighted operations.
No description provided by the author
# Constants
Bech32ChainPrefix defines the prefix of this chain.
Bech32PrefixAccAddr defines the Bech32 prefix of an account's address.
Bech32PrefixAccPub defines the Bech32 prefix of an account's public key.
Bech32PrefixConsAddr defines the Bech32 prefix of a consensus node address.
Bech32PrefixConsPub defines the Bech32 prefix of a consensus node public key.
Bech32PrefixValAddr defines the Bech32 prefix of a validator's operator address.
Bech32PrefixValPub defines the Bech32 prefix of a validator's operator public key.
PrefixAcc is the prefix for account.
PrefixAddress is the prefix for address.
PrefixConsensus is the prefix for consensus keys.
PrefixPublic is the prefix for public.
PrefixValidator is the prefix for validator keys.
# Variables
DefaultConsensusParams defines the default Tendermint consensus params used in SimApp testing.
DefaultNodeHome default home directories for the application daemon.
List of available flags for the simulator.
List of available flags for the simulator.
List of available flags for the simulator.
List of available flags for the simulator.
List of available flags for the simulator.
List of available flags for the simulator.
List of available flags for the simulator.
List of available flags for the simulator.
List of available flags for the simulator.
List of available flags for the simulator.
List of available flags for the simulator.
List of available flags for the simulator.
List of available flags for the simulator.
TODO: Remove in favor of binary search for invariant violation.
List of available flags for the simulator.
List of available flags for the simulator.
List of available flags for the simulator.
List of available flags for the simulator.
ModuleBasics defines the module BasicManager is in charge of setting up basic, non-dependant module elements, such as codec registration and genesis verification.
# Structs
EmptyAppOptions is a stub implementing AppOptions.
SimApp extends an ABCI application, but with most of its parameters exported.
SimGenesisAccount defines a type that implements the GenesisAccount interface to be used for simulation accounts in the genesis state.
# Interfaces
App implements the common methods for a Cosmos SDK-based application specific blockchain.
# Type aliases
No description provided by the author
The genesis state of the blockchain is represented here as a map of raw json messages key'd by a identifier string.