Documentation ¶
Index ¶
- Variables
- func CodecPrototype() helpers.Codec
- func NewAuxiliaries(auxiliaryList ...helpers.Auxiliary) helpers.Auxiliaries
- func NewAuxiliary(name string, keeperPrototype func() helpers.AuxiliaryKeeper) helpers.Auxiliary
- func NewCLICommand(use string, short string, long string, cliFlagList []helpers.CLIFlag) helpers.CLICommand
- func NewCLIFlag(name string, value interface{}, usage string) helpers.CLIFlag
- func NewInvariants(moduleName, route string, invariantList ...sdkTypes.Invariant) helpers.Invariants
- func NewMapper(recordPrototype func() helpers.Record) helpers.Mapper
- func NewModule(name string, consensusVersion uint64, ...) helpers.Module
- func NewParameterManager(moduleName string, validatableParameters ...helpers.ValidatableParameter) helpers.ParameterManager
- func NewQueries(queriesList ...helpers.Query) helpers.Queries
- func NewQuery(name string, short string, long string, moduleName string, ...) helpers.Query
- func NewTransaction(name string, short string, long string, ...) helpers.Transaction
- func NewTransactions(transactionList ...helpers.Transaction) helpers.Transactions
- func NewValidatableParameter(parameter parameters.Parameter, validator func(i interface{}) error) helpers.ValidatableParameter
Constants ¶
This section is empty.
Variables ¶
View Source
var TestClientContext = client.Context{}.WithCodec(CodecPrototype())
View Source
var WasmMessagePrototype helpers.WasmMessagePrototype = func() helpers.WasmMessage {
return wasmMessage{}
}
Functions ¶
func CodecPrototype ¶
func NewAuxiliaries ¶
func NewAuxiliaries(auxiliaryList ...helpers.Auxiliary) helpers.Auxiliaries
func NewAuxiliary ¶
func NewAuxiliary(name string, keeperPrototype func() helpers.AuxiliaryKeeper) helpers.Auxiliary
func NewCLICommand ¶
func NewInvariants ¶
func NewInvariants(moduleName, route string, invariantList ...sdkTypes.Invariant) helpers.Invariants
func NewModule ¶
func NewModule(name string, consensusVersion uint64, auxiliariesPrototype func() helpers.Auxiliaries, blockPrototype func() helpers.Block, genesisPrototype func() helpers.Genesis, invariantsPrototype func() helpers.Invariants, mapperPrototype func() helpers.Mapper, parameterManagerPrototype func() helpers.ParameterManager, queriesPrototype func() helpers.Queries, simulatorPrototype func() helpers.Simulator, transactionsPrototype func() helpers.Transactions) helpers.Module
func NewParameterManager ¶
func NewParameterManager(moduleName string, validatableParameters ...helpers.ValidatableParameter) helpers.ParameterManager
func NewQuery ¶
func NewQuery(name string, short string, long string, moduleName string, requestPrototype func() helpers.QueryRequest, responsePrototype func() helpers.QueryResponse, keeperPrototype func() helpers.QueryKeeper, serviceRegistrar func(grpc.Server, helpers.QueryKeeper), grpcGatewayRegistrar func(client.Context, *runtime.ServeMux) error, flagList ...helpers.CLIFlag) helpers.Query
func NewTransaction ¶
func NewTransaction(name string, short string, long string, requestPrototype func() helpers.TransactionRequest, messagePrototype func() helpers.Message, keeperPrototype func() helpers.TransactionKeeper, serviceRegistrar func(grpc.Server, helpers.TransactionKeeper), grpcGatewayRegistrar func(client.Context, *runtime.ServeMux) error, flagList ...helpers.CLIFlag) helpers.Transaction
func NewTransactions ¶
func NewTransactions(transactionList ...helpers.Transaction) helpers.Transactions
func NewValidatableParameter ¶
func NewValidatableParameter(parameter parameters.Parameter, validator func(i interface{}) error) helpers.ValidatableParameter
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.