modulev1

package
v1.0.0 Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

View Source
var File_axiome_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 */
	// ref_hooks_order specifies the order of staking hooks for marketing modules
	// and should be a list of module names which provide a staking RefHooks
	// instance. If no order is provided, then hooks will be applied in
	// alphabetical order of module names.
	RefHooksOrder []string `protobuf:"bytes,5,rep,name=ref_hooks_order,json=refHooksOrder,proto3" json:"ref_hooks_order,omitempty"`
	// 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

func (x *Module) GetAuthority() string

func (*Module) GetBech32PrefixConsensus

func (x *Module) GetBech32PrefixConsensus() string

func (*Module) GetBech32PrefixValidator

func (x *Module) GetBech32PrefixValidator() string

func (*Module) GetHooksOrder

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

func (*Module) GetRefHooksOrder

func (x *Module) GetRefHooksOrder() []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