modulev1

package
v0.6.6-rc3 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2022 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_cosmos_auth_module_v1_module_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Module

type Module struct {

	// bech32_prefix is the bech32 account prefix for the app.
	Bech32Prefix string `protobuf:"bytes,1,opt,name=bech32_prefix,json=bech32Prefix,proto3" json:"bech32_prefix,omitempty"`
	// module_account_permissions are module account permissions.
	ModuleAccountPermissions []*ModuleAccountPermission `` /* 135-byte string literal not displayed */
	// authority defines the custom module authority. If not set, defaults to the governance module.
	Authority string `protobuf:"bytes,3,opt,name=authority,proto3" json:"authority,omitempty"`
	// contains filtered or unexported fields
}

Module is the config object for the auth module.

func (*Module) Descriptor deprecated

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

Deprecated: Use Module.ProtoReflect.Descriptor instead.

func (*Module) GetAuthority added in v0.6.7

func (x *Module) GetAuthority() string

func (*Module) GetBech32Prefix

func (x *Module) GetBech32Prefix() string

func (*Module) GetModuleAccountPermissions

func (x *Module) GetModuleAccountPermissions() []*ModuleAccountPermission

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

type ModuleAccountPermission

type ModuleAccountPermission struct {

	// account is the name of the module.
	Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	// permissions are the permissions this module has. Currently recognized
	// values are minter, burner and staking.
	Permissions []string `protobuf:"bytes,2,rep,name=permissions,proto3" json:"permissions,omitempty"`
	// contains filtered or unexported fields
}

ModuleAccountPermission represents permissions for a module account.

func (*ModuleAccountPermission) Descriptor deprecated

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

Deprecated: Use ModuleAccountPermission.ProtoReflect.Descriptor instead.

func (*ModuleAccountPermission) GetAccount

func (x *ModuleAccountPermission) GetAccount() string

func (*ModuleAccountPermission) GetPermissions

func (x *ModuleAccountPermission) GetPermissions() []string

func (*ModuleAccountPermission) ProtoMessage

func (*ModuleAccountPermission) ProtoMessage()

func (*ModuleAccountPermission) ProtoReflect

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

func (*ModuleAccountPermission) Reset

func (x *ModuleAccountPermission) Reset()

func (*ModuleAccountPermission) String

func (x *ModuleAccountPermission) String() string

Jump to

Keyboard shortcuts

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