modulev1

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2022 License: Apache-2.0 Imports: 9 Imported by: 165

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 */
	// 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) 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