modulev1

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: Apache-2.0 Imports: 9 Imported by: 105

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

View Source
var File_cosmos_gov_module_v1_module_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Module

type Module struct {

	// max_metadata_len defines the maximum proposal metadata length.
	// Defaults to 255 if not explicitly set.
	MaxMetadataLen uint64 `protobuf:"varint,1,opt,name=max_metadata_len,json=maxMetadataLen,proto3" json:"max_metadata_len,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"`
	// max_title_len defines the maximum proposal title length.
	// Defaults to 255 if not explicitly set.
	MaxTitleLen uint64 `protobuf:"varint,3,opt,name=max_title_len,json=maxTitleLen,proto3" json:"max_title_len,omitempty"`
	// max_summary_len defines the maximum proposal summary length.
	// Defaults to 10200 if not explicitly set.
	MaxSummaryLen uint64 `protobuf:"varint,4,opt,name=max_summary_len,json=maxSummaryLen,proto3" json:"max_summary_len,omitempty"`
	// max_vote_options_len defines the maximum number of vote options a proposal can have.
	// Defaults to 0 if not explicitly set.
	MaxVoteOptionsLen uint64 `protobuf:"varint,5,opt,name=max_vote_options_len,json=maxVoteOptionsLen,proto3" json:"max_vote_options_len,omitempty"`
	// contains filtered or unexported fields
}

Module is the config object of the gov 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) GetMaxMetadataLen

func (x *Module) GetMaxMetadataLen() uint64

func (*Module) GetMaxSummaryLen added in v0.8.0

func (x *Module) GetMaxSummaryLen() uint64

func (*Module) GetMaxTitleLen added in v0.8.0

func (x *Module) GetMaxTitleLen() uint64

func (*Module) GetMaxVoteOptionsLen added in v0.8.0

func (x *Module) GetMaxVoteOptionsLen() uint64

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