modulev1

package
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 9 Imported by: 95

Documentation

Overview

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var File_cosmos_staking_module_v1_module_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Module

type Module struct {

	// hooks_order specifies the order of staking hooks and should be a list
	// of module names which provide a staking hooks instance. If no order is
	// provided, then hooks will be applied in alphabetical order of module names.
	HooksOrder []string `protobuf:"bytes,1,rep,name=hooks_order,json=hooksOrder,proto3" json:"hooks_order,omitempty"`
	// authority defines the custom module authority. If not set, defaults to the governance module.
	Authority string `protobuf:"bytes,2,opt,name=authority,proto3" json:"authority,omitempty"`
	// bech32_prefix_validator is the bech32 validator prefix for the app.
	Bech32PrefixValidator string `` /* 126-byte string literal not displayed */
	// bech32_prefix_consensus is the bech32 consensus node prefix for the app.
	Bech32PrefixConsensus string `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

Module is the config object of the staking module.

func (*Module) Descriptor deprecated

func (*Module) Descriptor() ([]byte, []int)

Deprecated: Use Module.ProtoReflect.Descriptor instead.

func (*Module) GetAuthority added in v0.2.4

func (x *Module) GetAuthority() string

func (*Module) GetBech32PrefixConsensus added in v0.6.0

func (x *Module) GetBech32PrefixConsensus() string

func (*Module) GetBech32PrefixValidator added in v0.6.0

func (x *Module) GetBech32PrefixValidator() string

func (*Module) GetHooksOrder

func (x *Module) GetHooksOrder() []string

func (*Module) ProtoMessage

func (*Module) ProtoMessage()

func (*Module) ProtoReflect

func (x *Module) ProtoReflect() protoreflect.Message

func (*Module) Reset

func (x *Module) Reset()

func (*Module) String

func (x *Module) String() string

Jump to

Keyboard shortcuts

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