params

package
v0.4.6 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

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

Constants

View Source
const (
	StoreKey         = params.StoreKey
	TStoreKey        = params.TStoreKey
	ModuleNam        = params.ModuleName
	RouterKey        = params.RouterKey
	ProposalTeChange = params.ProposalTypeChange
)

Variables

View Source
var (
	// functions aliases
	RegisterCodec = types.RegisterCodec

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

	// variables aliases
	CosmosModuleCdc    = params.ModuleCdc
	NewCosmosAppModule = params.NewAppModule
)

Functions

This section is empty.

Types

type AppModule added in v0.4.0

type AppModule struct {
	AppModuleBasic
	// contains filtered or unexported fields
}

AppModule implements an application module for the distribution module.

func NewAppModule added in v0.4.0

func NewAppModule() AppModule

NewAppModule creates a new AppModule object

func (AppModule) GenerateGenesisState added in v0.4.0

func (am AppModule) GenerateGenesisState(simState *module.SimulationState)

GenerateGenesisState creates a randomized GenState of the auth module

func (AppModule) ProposalContents added in v0.4.0

func (am AppModule) ProposalContents(simState module.SimulationState) []sim.WeightedProposalContent

ProposalContents doesn't return any content functions for governance proposals.

func (AppModule) RandomizedParams added in v0.4.0

func (am AppModule) RandomizedParams(r *rand.Rand) []sim.ParamChange

RandomizedParams creates randomized auth param changes for the simulator.

func (AppModule) RegisterStoreDecoder added in v0.4.0

func (am AppModule) RegisterStoreDecoder(sdr sdk.StoreDecoderRegistry)

RegisterStoreDecoder registers a decoder for auth module's types

func (AppModule) WeightedOperations added in v0.4.0

func (am AppModule) WeightedOperations(simState module.SimulationState) []sim.WeightedOperation

WeightedOperations doesn't return any auth module operation.

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 CosmosAppModule added in v0.4.0

type CosmosAppModule = params.AppModule

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

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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