package
2.3.0
Repository: https://github.com/cosmosquad-labs/squad.git
Documentation: pkg.go.dev

# Packages

Package params defines the simulation parameters in the simapp.
No description provided by the author

# Functions

AddTestAddrs constructs and returns accNum amount of accounts with an initial balance of accAmt in random order.
AddTestAddrsFromPubKeys adds the addresses into the App providing only the public keys.
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.
CheckBalance checks the balance of an account.
ConvertAddrsToValAddrs converts the provided addresses to ValAddress.
CreateTestPubKeys returns a total of numPubKeys public keys in ascending order.
FundAccount is a utility function that funds an account by minting and sending the coins to the address.
FundModuleAccount is a utility function that funds a module account by minting and sending the coins to the address.
GenSequenceOfTxs generates a set of signed transactions of messages, such that they differ only by having the sequence numbers incremented between every transaction.
No description provided by the author
MakeEncodingConfig creates an EncodingConfig for testing.
No description provided by the author
No description provided by the author
NewApp returns a reference to an initialized App.
NewAppConstructor returns a new network AppConstructor.
NewConfig returns config that defines the necessary testing requirements used to bootstrap and start an in-process local testing network.
NewDefaultGenesisState generates the default state for the application.
NewPubKeyFromHex returns a PubKey from a hex string.
RegisterSwaggerAPI registers swagger route with API Server.
Setup initializes a new App.
SetupWithGenesisAccounts initializes a new App with the provided genesis accounts and possible balances.
SetupWithGenesisValSet initializes a new App with a validator set and genesis accounts that also act as delegators.
SignCheckDeliver checks a generated signed transaction and simulates a block commitment with the given transaction.
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
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.
No description provided by the author
BIP-44 path "44'/118'/0'/0/0".

# Variables

DefaultConsensusParams defines the default Tendermint consensus params used in App testing.
DefaultNodeHome default home directories for the application daemon.
No description provided by the author
ModuleBasics defines the module BasicManager is in charge of setting up basic, non-dependant module elements, such as codec registration and genesis verification.

# Structs

App extends an ABCI application, but with most of its parameters exported.
EmptyAppOptions is a stub implementing AppOptions.
HandlerOptions extend the SDK's AnteHandler options by requiring the IBC channel keeper.

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