package
0.0.0-20230301150822-47dc2d5ae369
Repository: https://github.com/cosmwasm/token-factory.git
Documentation: pkg.go.dev

# Packages

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

# Functions

AddTestAddrs constructs and returns accNum amount of accounts with an initial balance of accAmt in random order.
AddTestAddrsFromPubKeys adds the addresses into the WasmApp providing only the public keys.
AddTestAddrs constructs and returns accNum amount of accounts with an initial balance of accAmt in random order.
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.
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.
MakeEncodingConfig creates a new EncodingConfig with all modules registered.
No description provided by the author
NewDefaultGenesisState generates the default state for the application.
NewPubKeyFromHex returns a PubKey from a hex string.
No description provided by the author
NewWasmApp returns a reference to an initialized WasmApp.
RegisterSwaggerAPI registers swagger route with API Server.
Setup initializes a new WasmApp with DefaultNodeHome for integration tests.
SetupWithEmptyStore setup a wasmd app instance with empty DB.
SetupWithGenesisValSet initializes a new WasmApp with a validator set and genesis accounts that also act as delegators.
SignAndDeliver signs and delivers a transaction.
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

# 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.
DefaultConsensusParams defines the default Tendermint consensus params used in WasmApp testing.
DefaultNodeHome default home directories for wasmd.
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.

# Structs

EmptyBaseAppOptions is a stub implementing AppOptions.
HandlerOptions extend the SDK's AnteHandler options by requiring the IBC channel keeper.
Deprecated: use public app attributes directly.
TokenApp extended ABCI application.

# Type aliases

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