base

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 18, 2023 License: Apache-2.0 Imports: 42 Imported by: 2

Documentation

Index

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 CodecPrototype() helpers.Codec

func NewAuxiliaries

func NewAuxiliaries(auxiliaryList ...helpers.Auxiliary) helpers.Auxiliaries

func NewAuxiliary

func NewAuxiliary(name string, keeperPrototype func() helpers.AuxiliaryKeeper) helpers.Auxiliary

func NewCLICommand

func NewCLICommand(use string, short string, long string, cliFlagList []helpers.CLIFlag) helpers.CLICommand

func NewCLIFlag

func NewCLIFlag(name string, value interface{}, usage string) helpers.CLIFlag

func NewInvariants

func NewInvariants(moduleName, route string, invariantList ...sdkTypes.Invariant) helpers.Invariants

func NewMapper

func NewMapper(recordPrototype func() helpers.Record) helpers.Mapper

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 NewQueries

func NewQueries(queriesList ...helpers.Query) helpers.Queries

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL