Documentation
¶
Overview ¶
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Index ¶
- Variables
- type Module
- func (*Module) Descriptor() ([]byte, []int)deprecated
- func (x *Module) GetAuthority() string
- func (x *Module) GetBech32Prefix() string
- func (x *Module) GetEnableUnorderedTransactions() bool
- func (x *Module) GetModuleAccountPermissions() []*ModuleAccountPermission
- func (*Module) ProtoMessage()
- func (x *Module) ProtoReflect() protoreflect.Message
- func (x *Module) Reset()
- func (x *Module) String() string
- type ModuleAccountPermission
- func (*ModuleAccountPermission) Descriptor() ([]byte, []int)deprecated
- func (x *ModuleAccountPermission) GetAccount() string
- func (x *ModuleAccountPermission) GetPermissions() []string
- func (*ModuleAccountPermission) ProtoMessage()
- func (x *ModuleAccountPermission) ProtoReflect() protoreflect.Message
- func (x *ModuleAccountPermission) Reset()
- func (x *ModuleAccountPermission) String() string
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"`
// enable_unordered_transactions determines whether unordered transactions should be processed or not.
// When true, unordered transactions will be validated and processed.
// When false, unordered transactions will be rejected.
EnableUnorderedTransactions bool `` /* 145-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) GetAuthority ¶ added in v0.2.4
func (*Module) GetBech32Prefix ¶
func (*Module) GetEnableUnorderedTransactions ¶ added in v0.9.1
func (*Module) GetModuleAccountPermissions ¶
func (x *Module) GetModuleAccountPermissions() []*ModuleAccountPermission
func (*Module) ProtoMessage ¶
func (*Module) ProtoMessage()
func (*Module) ProtoReflect ¶
func (x *Module) ProtoReflect() protoreflect.Message
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
Click to show internal directories.
Click to hide internal directories.