base

package
v0.0.0-...-f0435bf Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2022 License: Apache-2.0 Imports: 39 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var WasmMessagePrototype helpers.WasmMessagePrototype = func() helpers.WasmMessage {
	return wasmMessage{}
}

Functions

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 NewGenesis

func NewGenesis(keyPrototype func() helpers.Key, mappablePrototype func() helpers.Mappable, defaultMappableList []helpers.Mappable, defaultParameterList []parameters2.Parameter) helpers.Genesis

func NewMapper

func NewMapper(keyPrototype func() helpers.Key, mappablePrototype func() helpers.Mappable) helpers.Mapper

func NewModule

func NewModule(name string, auxiliariesPrototype func() helpers.Auxiliaries, genesisPrototype func() helpers.Genesis, mapperPrototype func() helpers.Mapper, parametersPrototype func() helpers.Parameters, queriesPrototype func() helpers.Queries, simulatorPrototype func() helpers.Simulator, transactionsPrototype func() helpers.Transactions, blockPrototype func() helpers.Block) helpers.Module

func NewParameters

func NewParameters(parameterList ...parameters2.Parameter) helpers.Parameters

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, flagList ...helpers.CLIFlag) helpers.Query

func NewStoreKeyPrefix

func NewStoreKeyPrefix(value int8) helpers.StoreKeyPrefix

func NewTransaction

func NewTransaction(name string, short string, long string, requestPrototype func() helpers.TransactionRequest, messagePrototype func() helpers.Message, keeperPrototype func() helpers.TransactionKeeper, flagList ...helpers.CLIFlag) helpers.Transaction

func NewTransactions

func NewTransactions(transactionList ...helpers.Transaction) helpers.Transactions

Types

type InputValidator

type InputValidator struct {
	// contains filtered or unexported fields
}

func NewInputValidator

func NewInputValidator(expression string) InputValidator

func (InputValidator) IsValid

func (inputValidator InputValidator) IsValid(values ...string) bool

Jump to

Keyboard shortcuts

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