Back to godoc.org

Package params

v0.3.6
Latest Go to latest
Published: Jun 11, 2020 | License: Apache-2.0 | Module: github.com/terra-project/core

Overview

nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/terra-project/core/x/params/internal/types/

nolint

Index

Package Files

Constants

const (
	StoreKey             = params.StoreKey
	TStoreKey            = params.TStoreKey
	TestParamStore       = params.TestParamStore
	DefaultCodespace     = params.DefaultCodespace
	CodeUnknownSubspace  = params.CodeUnknownSubspace
	CodeSettingParameter = params.CodeSettingParameter
	CodeEmptyData        = params.CodeEmptyData
	ModuleName           = params.ModuleName
	RouterKey            = params.RouterKey
	ProposalTypeChange   = params.ProposalTypeChange
)

Variables

var (
	// functions aliases
	RegisterCodec = types.RegisterCodec

	// variable aliases
	ModuleCdc = types.ModuleCdc
)
var (
	// functions aliases
	NewSubspace                   = params.NewSubspace
	NewKeyTable                   = params.NewKeyTable
	DefaultTestComponents         = params.DefaultTestComponents
	ErrUnknownSubspace            = params.ErrUnknownSubspace
	ErrSettingParameter           = params.ErrSettingParameter
	ErrEmptyChanges               = params.ErrEmptyChanges
	ErrEmptySubspace              = params.ErrEmptySubspace
	ErrEmptyKey                   = params.ErrEmptyKey
	ErrEmptyValue                 = params.ErrEmptyValue
	NewParameterChangeProposal    = params.NewParameterChangeProposal
	NewParamChange                = params.NewParamChange
	NewParamChangeWithSubkey      = params.NewParamChangeWithSubkey
	ValidateChanges               = params.ValidateChanges
	NewKeeper                     = params.NewKeeper
	NewParamChangeProposalHandler = params.NewParamChangeProposalHandler

	// variables aliases
	CosmosModuleCdc = types.ModuleCdc
)

type AppModuleBasic

type AppModuleBasic struct{}

AppModuleBasic defines the basic application module used by the slashing module.

func (AppModuleBasic) DefaultGenesis

func (AppModuleBasic) DefaultGenesis() json.RawMessage

DefaultGenesis returns default genesis state as raw bytes for the slashing module.

func (AppModuleBasic) GetQueryCmd

func (AppModuleBasic) GetQueryCmd(cdc *codec.Codec) *cobra.Command

GetQueryCmd returns the root query command for the slashing module.

func (AppModuleBasic) GetTxCmd

func (AppModuleBasic) GetTxCmd(cdc *codec.Codec) *cobra.Command

GetTxCmd returns the root tx command for the slashing module.

func (AppModuleBasic) Name

func (AppModuleBasic) Name() string

Name returns the slashing module's name

func (AppModuleBasic) RegisterCodec

func (AppModuleBasic) RegisterCodec(cdc *codec.Codec)

RegisterCodec registers the slashing module's types for the given codec.

func (AppModuleBasic) RegisterRESTRoutes

func (AppModuleBasic) RegisterRESTRoutes(cliCtx context.CLIContext, route *mux.Router)

RegisterRESTRoutes registers the REST routes for the slashing module.

func (AppModuleBasic) ValidateGenesis

func (AppModuleBasic) ValidateGenesis(bz json.RawMessage) error

ValidateGenesis performs genesis state validation for the slashing module.

type CosmosAppModuleBasic

type CosmosAppModuleBasic = params.AppModuleBasic

type Keeper

type Keeper = params.Keeper

type KeyTable

type KeyTable = params.KeyTable

type ParamChange

type ParamChange = params.ParamChange

type ParamSet

type ParamSet = params.ParamSet

type ParamSetPair

type ParamSetPair = params.ParamSetPair

type ParamSetPairs

type ParamSetPairs = params.ParamSetPairs

type ParameterChangeProposal

type ParameterChangeProposal = params.ParameterChangeProposal

type ReadOnlySubspace

type ReadOnlySubspace = params.ReadOnlySubspace

type Subspace

type Subspace = params.Subspace
Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier