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: 12 Imported by: 94

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

View Source
var File_cosmos_group_module_v1_module_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Module

type Module struct {

	// max_execution_period defines the max duration after a proposal's voting period ends that members can send a MsgExec
	// to execute the proposal.
	MaxExecutionPeriod *durationpb.Duration `protobuf:"bytes,1,opt,name=max_execution_period,json=maxExecutionPeriod,proto3" json:"max_execution_period,omitempty"`
	// MaxMetadataLen defines the max chars allowed in all
	// messages that allows creating or updating a group
	// with a metadata field
	// Defaults to 255 if not explicitly set.
	MaxMetadataLen uint64 `protobuf:"varint,2,opt,name=max_metadata_len,json=maxMetadataLen,proto3" json:"max_metadata_len,omitempty"`
	// MaxProposalTitleLen defines the max chars allowed
	// in string for the MsgSubmitProposal and Proposal
	// summary field
	// Defaults to 255 if not explicitly set.
	MaxProposalTitleLen uint64 `protobuf:"varint,3,opt,name=max_proposal_title_len,json=maxProposalTitleLen,proto3" json:"max_proposal_title_len,omitempty"`
	// MaxProposalSummaryLen defines the max chars allowed
	// in string for the MsgSubmitProposal and Proposal
	// summary field
	// Defaults to 10200 if not explicitly set.
	MaxProposalSummaryLen uint64 `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

Module is the config object of the group module.

func (*Module) Descriptor deprecated

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

Deprecated: Use Module.ProtoReflect.Descriptor instead.

func (*Module) GetMaxExecutionPeriod

func (x *Module) GetMaxExecutionPeriod() *durationpb.Duration

func (*Module) GetMaxMetadataLen

func (x *Module) GetMaxMetadataLen() uint64

func (*Module) GetMaxProposalSummaryLen added in v0.8.0

func (x *Module) GetMaxProposalSummaryLen() uint64

func (*Module) GetMaxProposalTitleLen added in v0.8.0

func (x *Module) GetMaxProposalTitleLen() 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