Documentation ¶
Index ¶
- Variables
- type Module
- func (*Module) Descriptor() ([]byte, []int)
- func (m *Module) GetAuthority() string
- func (m *Module) GetRestrictionsOrder() []string
- func (m *Module) Marshal() (dAtA []byte, err error)
- func (m *Module) MarshalTo(dAtA []byte) (int, error)
- func (m *Module) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Module) ProtoMessage()
- func (m *Module) Reset()
- func (m *Module) Size() (n int)
- func (m *Module) String() string
- func (m *Module) Unmarshal(dAtA []byte) error
- func (m *Module) XXX_DiscardUnknown()
- func (m *Module) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Module) XXX_Merge(src proto.Message)
- func (m *Module) XXX_Size() int
- func (m *Module) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
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"` // restrictions_order specifies the order of send restrictions and should be // a list of module names which provide a send restriction instance. If no // order is provided, then restrictions will be applied in alphabetical order // of module names. RestrictionsOrder []string `protobuf:"bytes,2,rep,name=restrictions_order,json=restrictionsOrder,proto3" json:"restrictions_order,omitempty"` }
Module is the config object of the bank module.
func (*Module) Descriptor ¶
func (*Module) GetAuthority ¶
func (*Module) GetRestrictionsOrder ¶
func (*Module) MarshalToSizedBuffer ¶
func (*Module) ProtoMessage ¶
func (*Module) ProtoMessage()
func (*Module) XXX_DiscardUnknown ¶
func (m *Module) XXX_DiscardUnknown()
func (*Module) XXX_Marshal ¶
func (*Module) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.