modulev1

package
v0.0.0-...-9db31c4 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2024 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

View Source
var File_lbm_foundation_module_v1_module_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Module

type Module struct {

	// authority defines the custom module authority. If not set, defaults to the governance module.
	Authority        string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	FeeCollectorName string `protobuf:"bytes,2,opt,name=fee_collector_name,json=feeCollectorName,proto3" json:"fee_collector_name,omitempty"`
	// MaxExecutionPeriod 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,3,opt,name=max_execution_period,json=maxExecutionPeriod,proto3" json:"max_execution_period,omitempty"`
	// MaxMetadataLen defines the max length of the metadata bytes field for various entities within the foundation
	// module. Defaults to 255 if not explicitly set.
	MaxMetadataLen uint64 `protobuf:"varint,4,opt,name=max_metadata_len,json=maxMetadataLen,proto3" json:"max_metadata_len,omitempty"`
	// contains filtered or unexported fields
}

Module is the config object of the foundation module.

func (*Module) Descriptor deprecated

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

Deprecated: Use Module.ProtoReflect.Descriptor instead.

func (*Module) GetAuthority

func (x *Module) GetAuthority() string

func (*Module) GetFeeCollectorName

func (x *Module) GetFeeCollectorName() string

func (*Module) GetMaxExecutionPeriod

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

func (*Module) GetMaxMetadataLen

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