package
12.0.0-20230103010001-8b579b0e76c4
Repository: https://github.com/bosees/practice.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

CreateRandomAccounts is a function return a list of randomly generated AccAddresses.
No description provided by the author
GetEnabledProposals parses the ProposalsEnabled / EnableSpecificProposals values to produce a list of enabled proposals to pass into wasmd app.
GetMaccPerms returns a copy of the module account permissions.
No description provided by the author
MakeEncodingConfig creates an EncodingConfig for testing.
New returns a reference to an initialized practice.
NewAnteHandler returns an AnteHandler that checks and increments sequence numbers, checks signatures & account numbers, and deducts fees from the first signer.
NewDefaultGenesisState generates the default state for the application.
No description provided by the author
SetAddressPrefixes builds the Config with Bech32 addressPrefix and publKeyPrefix for accounts, validators, and consensus nodes and verifies that addreeses have correct format.
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
DefaultpracticeCompileCost set to a large number for testing.
DefaultpracticeInstanceCost is initially set the same as in wasmd.
No description provided by the author

# Variables

We pull these out so we can set them with LDFLAGS in the Makefile.
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.
DefaultNodeHome default home directories for practice.
If set to non-empty string it must be comma-separated list of values that are all a subset of "EnableAllProposals" (takes precedence over ProposalsEnabled) https://github.com/CosmWasm/wasmd/blob/02a54d33ff2c064f3539ae12d75d027d9c665f05/x/wasm/internal/types/proposal.go#L28-L34.
ModuleBasics defines the module BasicManager is in charge of setting up basic, non-dependant module elements, such as codec registration and genesis verification.
We pull these out so we can set them with LDFLAGS in the Makefile.
If EnabledSpecificProposals is "", and this is "true", then enable all x/wasm proposals.
We pull these out so we can set them with LDFLAGS in the Makefile.

# Structs

App extends an ABCI application, but with most of its parameters exported.
HandlerOptions extends the SDK's AnteHandler options by requiring the IBC channel keeper and a BankKeeper with an added method for fee sharing.

# Type aliases

The genesis state of the blockchain is represented here as a map of raw json messages key'd by a identifier string.