Documentation
¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func AclAdminKey(address string) []byte
- func AclAuthorityKey(address string) []byte
- func GetAuthorityModules(accessDefinitionList []*AccessDefinition) []string
- func KeyPrefix(p string) []byte
- func ParamKeyTable() paramtypes.KeyTable
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- func ValidateAddAccessDefinition(currentModules, newModules []string) error
- func ValidateAddAdmin(currentAdmins []AclAdmin, newAdmins []string) error
- func ValidateConflictBetweenAccessDefinition(updateAccessDefinition string, addAccessDefinition string, removeList []string) error
- func ValidateDeleteAdmin(currentAdmins []AclAdmin, deletedAdmins []string) error
- func ValidateDeletedModules(modules []string) error
- func ValidateUpdateAccessDefinition(aclAuthority AclAuthority, updatedModule string) error
- type AccessDefinition
- func GetUpdatedAccessDefinitionList(currentList []*AccessDefinition, update *AccessDefinition) []*AccessDefinition
- func ValidateAccessDefinitionList(accessDefinitionListStr string) ([]*AccessDefinition, error)
- func ValidateDeleteAccessDefinition(moduleNames []string, accessDefinitions []*AccessDefinition) ([]*AccessDefinition, error)
- func ValidateSingleAccessDefinition(accessDefinitionStr string) (*AccessDefinition, error)
- func (*AccessDefinition) Descriptor() ([]byte, []int)
- func (m *AccessDefinition) GetIsChecker() bool
- func (m *AccessDefinition) GetIsMaker() bool
- func (m *AccessDefinition) GetModule() string
- func (m *AccessDefinition) Marshal() (dAtA []byte, err error)
- func (m *AccessDefinition) MarshalTo(dAtA []byte) (int, error)
- func (m *AccessDefinition) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AccessDefinition) ProtoMessage()
- func (m *AccessDefinition) Reset()
- func (m *AccessDefinition) Size() (n int)
- func (m *AccessDefinition) String() string
- func (m *AccessDefinition) Unmarshal(dAtA []byte) error
- func (m *AccessDefinition) XXX_DiscardUnknown()
- func (m *AccessDefinition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccessDefinition) XXX_Merge(src proto.Message)
- func (m *AccessDefinition) XXX_Size() int
- func (m *AccessDefinition) XXX_Unmarshal(b []byte) error
- type AccountKeeper
- type AclAdmin
- func (*AclAdmin) Descriptor() ([]byte, []int)
- func (m *AclAdmin) GetAddress() string
- func (m *AclAdmin) Marshal() (dAtA []byte, err error)
- func (m *AclAdmin) MarshalTo(dAtA []byte) (int, error)
- func (m *AclAdmin) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AclAdmin) ProtoMessage()
- func (m *AclAdmin) Reset()
- func (m *AclAdmin) Size() (n int)
- func (m *AclAdmin) String() string
- func (m *AclAdmin) Unmarshal(dAtA []byte) error
- func (m *AclAdmin) XXX_DiscardUnknown()
- func (m *AclAdmin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AclAdmin) XXX_Merge(src proto.Message)
- func (m *AclAdmin) XXX_Size() int
- func (m *AclAdmin) XXX_Unmarshal(b []byte) error
- type AclAuthority
- func (acl *AclAuthority) AccessDefinitionsJson() string
- func (*AclAuthority) Descriptor() ([]byte, []int)
- func (m *AclAuthority) GetAccessDefinitions() []*AccessDefinition
- func (m *AclAuthority) GetAddress() string
- func (m *AclAuthority) GetName() string
- func (m *AclAuthority) Marshal() (dAtA []byte, err error)
- func (m *AclAuthority) MarshalTo(dAtA []byte) (int, error)
- func (m *AclAuthority) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AclAuthority) ProtoMessage()
- func (m *AclAuthority) Reset()
- func (m *AclAuthority) Size() (n int)
- func (m *AclAuthority) String() string
- func (m *AclAuthority) Unmarshal(dAtA []byte) error
- func (m *AclAuthority) XXX_DiscardUnknown()
- func (m *AclAuthority) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AclAuthority) XXX_Merge(src proto.Message)
- func (m *AclAuthority) XXX_Size() int
- func (m *AclAuthority) XXX_Unmarshal(b []byte) error
- type BankKeeper
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetAclAdmins() []AclAdmin
- func (m *GenesisState) GetAclAuthorities() []AclAuthority
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) GetSuperAdmin() *SuperAdmin
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (gs GenesisState) Validate() error
- func (gs GenesisState) ValidateAclAdmin() error
- func (gs GenesisState) ValidateAclAuthority() error
- func (gs GenesisState) ValidateSuperAdmin() error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type MsgAddAdmin
- func (*MsgAddAdmin) Descriptor() ([]byte, []int)
- func (m *MsgAddAdmin) GetAdmins() []string
- func (m *MsgAddAdmin) GetCreator() string
- func (m *MsgAddAdmin) Marshal() (dAtA []byte, err error)
- func (m *MsgAddAdmin) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddAdmin) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddAdmin) ProtoMessage()
- func (m *MsgAddAdmin) Reset()
- func (m *MsgAddAdmin) Size() (n int)
- func (m *MsgAddAdmin) String() string
- func (m *MsgAddAdmin) Unmarshal(dAtA []byte) error
- func (msg *MsgAddAdmin) ValidateBasic() error
- func (m *MsgAddAdmin) XXX_DiscardUnknown()
- func (m *MsgAddAdmin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddAdmin) XXX_Merge(src proto.Message)
- func (m *MsgAddAdmin) XXX_Size() int
- func (m *MsgAddAdmin) XXX_Unmarshal(b []byte) error
- type MsgAddAdminResponse
- func (*MsgAddAdminResponse) Descriptor() ([]byte, []int)
- func (m *MsgAddAdminResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgAddAdminResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddAdminResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddAdminResponse) ProtoMessage()
- func (m *MsgAddAdminResponse) Reset()
- func (m *MsgAddAdminResponse) Size() (n int)
- func (m *MsgAddAdminResponse) String() string
- func (m *MsgAddAdminResponse) Unmarshal(dAtA []byte) error
- func (m *MsgAddAdminResponse) XXX_DiscardUnknown()
- func (m *MsgAddAdminResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddAdminResponse) XXX_Merge(src proto.Message)
- func (m *MsgAddAdminResponse) XXX_Size() int
- func (m *MsgAddAdminResponse) XXX_Unmarshal(b []byte) error
- type MsgAddAuthority
- func (*MsgAddAuthority) Descriptor() ([]byte, []int)
- func (m *MsgAddAuthority) GetAccessDefinitions() string
- func (m *MsgAddAuthority) GetAuthAddress() string
- func (m *MsgAddAuthority) GetCreator() string
- func (m *MsgAddAuthority) GetName() string
- func (m *MsgAddAuthority) Marshal() (dAtA []byte, err error)
- func (m *MsgAddAuthority) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddAuthority) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddAuthority) ProtoMessage()
- func (m *MsgAddAuthority) Reset()
- func (m *MsgAddAuthority) Size() (n int)
- func (m *MsgAddAuthority) String() string
- func (m *MsgAddAuthority) Unmarshal(dAtA []byte) error
- func (msg *MsgAddAuthority) ValidateBasic() error
- func (m *MsgAddAuthority) XXX_DiscardUnknown()
- func (m *MsgAddAuthority) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddAuthority) XXX_Merge(src proto.Message)
- func (m *MsgAddAuthority) XXX_Size() int
- func (m *MsgAddAuthority) XXX_Unmarshal(b []byte) error
- type MsgAddAuthorityResponse
- func (*MsgAddAuthorityResponse) Descriptor() ([]byte, []int)
- func (m *MsgAddAuthorityResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgAddAuthorityResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddAuthorityResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddAuthorityResponse) ProtoMessage()
- func (m *MsgAddAuthorityResponse) Reset()
- func (m *MsgAddAuthorityResponse) Size() (n int)
- func (m *MsgAddAuthorityResponse) String() string
- func (m *MsgAddAuthorityResponse) Unmarshal(dAtA []byte) error
- func (m *MsgAddAuthorityResponse) XXX_DiscardUnknown()
- func (m *MsgAddAuthorityResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddAuthorityResponse) XXX_Merge(src proto.Message)
- func (m *MsgAddAuthorityResponse) XXX_Size() int
- func (m *MsgAddAuthorityResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgDeleteAdmin
- func (*MsgDeleteAdmin) Descriptor() ([]byte, []int)
- func (m *MsgDeleteAdmin) GetAdmins() []string
- func (m *MsgDeleteAdmin) GetCreator() string
- func (m *MsgDeleteAdmin) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteAdmin) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteAdmin) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteAdmin) ProtoMessage()
- func (m *MsgDeleteAdmin) Reset()
- func (m *MsgDeleteAdmin) Size() (n int)
- func (m *MsgDeleteAdmin) String() string
- func (m *MsgDeleteAdmin) Unmarshal(dAtA []byte) error
- func (msg *MsgDeleteAdmin) ValidateBasic() error
- func (m *MsgDeleteAdmin) XXX_DiscardUnknown()
- func (m *MsgDeleteAdmin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteAdmin) XXX_Merge(src proto.Message)
- func (m *MsgDeleteAdmin) XXX_Size() int
- func (m *MsgDeleteAdmin) XXX_Unmarshal(b []byte) error
- type MsgDeleteAdminResponse
- func (*MsgDeleteAdminResponse) Descriptor() ([]byte, []int)
- func (m *MsgDeleteAdminResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteAdminResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteAdminResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteAdminResponse) ProtoMessage()
- func (m *MsgDeleteAdminResponse) Reset()
- func (m *MsgDeleteAdminResponse) Size() (n int)
- func (m *MsgDeleteAdminResponse) String() string
- func (m *MsgDeleteAdminResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDeleteAdminResponse) XXX_DiscardUnknown()
- func (m *MsgDeleteAdminResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteAdminResponse) XXX_Merge(src proto.Message)
- func (m *MsgDeleteAdminResponse) XXX_Size() int
- func (m *MsgDeleteAdminResponse) XXX_Unmarshal(b []byte) error
- type MsgDeleteAuthority
- func (*MsgDeleteAuthority) Descriptor() ([]byte, []int)
- func (m *MsgDeleteAuthority) GetAuthAddress() string
- func (m *MsgDeleteAuthority) GetCreator() string
- func (m *MsgDeleteAuthority) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteAuthority) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteAuthority) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteAuthority) ProtoMessage()
- func (m *MsgDeleteAuthority) Reset()
- func (m *MsgDeleteAuthority) Size() (n int)
- func (m *MsgDeleteAuthority) String() string
- func (m *MsgDeleteAuthority) Unmarshal(dAtA []byte) error
- func (msg *MsgDeleteAuthority) ValidateBasic() error
- func (m *MsgDeleteAuthority) XXX_DiscardUnknown()
- func (m *MsgDeleteAuthority) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteAuthority) XXX_Merge(src proto.Message)
- func (m *MsgDeleteAuthority) XXX_Size() int
- func (m *MsgDeleteAuthority) XXX_Unmarshal(b []byte) error
- type MsgDeleteAuthorityResponse
- func (*MsgDeleteAuthorityResponse) Descriptor() ([]byte, []int)
- func (m *MsgDeleteAuthorityResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteAuthorityResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteAuthorityResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteAuthorityResponse) ProtoMessage()
- func (m *MsgDeleteAuthorityResponse) Reset()
- func (m *MsgDeleteAuthorityResponse) Size() (n int)
- func (m *MsgDeleteAuthorityResponse) String() string
- func (m *MsgDeleteAuthorityResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDeleteAuthorityResponse) XXX_DiscardUnknown()
- func (m *MsgDeleteAuthorityResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteAuthorityResponse) XXX_Merge(src proto.Message)
- func (m *MsgDeleteAuthorityResponse) XXX_Size() int
- func (m *MsgDeleteAuthorityResponse) XXX_Unmarshal(b []byte) error
- type MsgInit
- func (*MsgInit) Descriptor() ([]byte, []int)
- func (m *MsgInit) GetCreator() string
- func (m *MsgInit) GetSuperAdmin() string
- func (m *MsgInit) Marshal() (dAtA []byte, err error)
- func (m *MsgInit) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgInit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgInit) ProtoMessage()
- func (m *MsgInit) Reset()
- func (m *MsgInit) Size() (n int)
- func (m *MsgInit) String() string
- func (m *MsgInit) Unmarshal(dAtA []byte) error
- func (msg *MsgInit) ValidateBasic() error
- func (m *MsgInit) XXX_DiscardUnknown()
- func (m *MsgInit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgInit) XXX_Merge(src proto.Message)
- func (m *MsgInit) XXX_Size() int
- func (m *MsgInit) XXX_Unmarshal(b []byte) error
- type MsgInitResponse
- func (*MsgInitResponse) Descriptor() ([]byte, []int)
- func (m *MsgInitResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgInitResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgInitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgInitResponse) ProtoMessage()
- func (m *MsgInitResponse) Reset()
- func (m *MsgInitResponse) Size() (n int)
- func (m *MsgInitResponse) String() string
- func (m *MsgInitResponse) Unmarshal(dAtA []byte) error
- func (m *MsgInitResponse) XXX_DiscardUnknown()
- func (m *MsgInitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgInitResponse) XXX_Merge(src proto.Message)
- func (m *MsgInitResponse) XXX_Size() int
- func (m *MsgInitResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgUpdateAuthority
- func (*MsgUpdateAuthority) Descriptor() ([]byte, []int)
- func (m *MsgUpdateAuthority) GetAddAccessDefinitions() string
- func (m *MsgUpdateAuthority) GetAuthAddress() string
- func (m *MsgUpdateAuthority) GetClearAllAccessDefinitions() bool
- func (m *MsgUpdateAuthority) GetCreator() string
- func (m *MsgUpdateAuthority) GetDeleteAccessDefinitions() []string
- func (m *MsgUpdateAuthority) GetNewName() string
- func (m *MsgUpdateAuthority) GetOverwriteAccessDefinitions() string
- func (m *MsgUpdateAuthority) GetUpdateAccessDefinition() string
- func (m *MsgUpdateAuthority) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateAuthority) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateAuthority) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateAuthority) ProtoMessage()
- func (m *MsgUpdateAuthority) Reset()
- func (m *MsgUpdateAuthority) Size() (n int)
- func (m *MsgUpdateAuthority) String() string
- func (m *MsgUpdateAuthority) Unmarshal(dAtA []byte) error
- func (msg *MsgUpdateAuthority) ValidateBasic() error
- func (m *MsgUpdateAuthority) XXX_DiscardUnknown()
- func (m *MsgUpdateAuthority) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateAuthority) XXX_Merge(src proto.Message)
- func (m *MsgUpdateAuthority) XXX_Size() int
- func (m *MsgUpdateAuthority) XXX_Unmarshal(b []byte) error
- type MsgUpdateAuthorityResponse
- func (*MsgUpdateAuthorityResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateAuthorityResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateAuthorityResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateAuthorityResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateAuthorityResponse) ProtoMessage()
- func (m *MsgUpdateAuthorityResponse) Reset()
- func (m *MsgUpdateAuthorityResponse) Size() (n int)
- func (m *MsgUpdateAuthorityResponse) String() string
- func (m *MsgUpdateAuthorityResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateAuthorityResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateAuthorityResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateAuthorityResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateAuthorityResponse) XXX_Size() int
- func (m *MsgUpdateAuthorityResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateParams
- func (*MsgUpdateParams) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParams) GetAuthority() string
- func (m *MsgUpdateParams) GetParams() Params
- func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParams) ProtoMessage()
- func (m *MsgUpdateParams) Reset()
- func (m *MsgUpdateParams) Size() (n int)
- func (m *MsgUpdateParams) String() string
- func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateParams) ValidateBasic() error
- func (m *MsgUpdateParams) XXX_DiscardUnknown()
- func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParams) XXX_Size() int
- func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
- type MsgUpdateParamsResponse
- func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParamsResponse) ProtoMessage()
- func (m *MsgUpdateParamsResponse) Reset()
- func (m *MsgUpdateParamsResponse) Size() (n int)
- func (m *MsgUpdateParamsResponse) String() string
- func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParamsResponse) XXX_Size() int
- func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateSuperAdmin
- func (*MsgUpdateSuperAdmin) Descriptor() ([]byte, []int)
- func (m *MsgUpdateSuperAdmin) GetCreator() string
- func (m *MsgUpdateSuperAdmin) GetNewSuperAdmin() string
- func (m *MsgUpdateSuperAdmin) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateSuperAdmin) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateSuperAdmin) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateSuperAdmin) ProtoMessage()
- func (m *MsgUpdateSuperAdmin) Reset()
- func (m *MsgUpdateSuperAdmin) Size() (n int)
- func (m *MsgUpdateSuperAdmin) String() string
- func (m *MsgUpdateSuperAdmin) Unmarshal(dAtA []byte) error
- func (msg *MsgUpdateSuperAdmin) ValidateBasic() error
- func (m *MsgUpdateSuperAdmin) XXX_DiscardUnknown()
- func (m *MsgUpdateSuperAdmin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateSuperAdmin) XXX_Merge(src proto.Message)
- func (m *MsgUpdateSuperAdmin) XXX_Size() int
- func (m *MsgUpdateSuperAdmin) XXX_Unmarshal(b []byte) error
- type MsgUpdateSuperAdminResponse
- func (*MsgUpdateSuperAdminResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateSuperAdminResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateSuperAdminResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateSuperAdminResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateSuperAdminResponse) ProtoMessage()
- func (m *MsgUpdateSuperAdminResponse) Reset()
- func (m *MsgUpdateSuperAdminResponse) Size() (n int)
- func (m *MsgUpdateSuperAdminResponse) String() string
- func (m *MsgUpdateSuperAdminResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateSuperAdminResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateSuperAdminResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateSuperAdminResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateSuperAdminResponse) XXX_Size() int
- func (m *MsgUpdateSuperAdminResponse) XXX_Unmarshal(b []byte) error
- type ParamSubspace
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (this *Params) Equal(that interface{}) bool
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (m *Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p Params) Validate() error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type QueryAllAclAdminRequest
- func (*QueryAllAclAdminRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllAclAdminRequest) GetPagination() *query.PageRequest
- func (m *QueryAllAclAdminRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllAclAdminRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllAclAdminRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllAclAdminRequest) ProtoMessage()
- func (m *QueryAllAclAdminRequest) Reset()
- func (m *QueryAllAclAdminRequest) Size() (n int)
- func (m *QueryAllAclAdminRequest) String() string
- func (m *QueryAllAclAdminRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllAclAdminRequest) XXX_DiscardUnknown()
- func (m *QueryAllAclAdminRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllAclAdminRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllAclAdminRequest) XXX_Size() int
- func (m *QueryAllAclAdminRequest) XXX_Unmarshal(b []byte) error
- type QueryAllAclAdminResponse
- func (*QueryAllAclAdminResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllAclAdminResponse) GetAclAdmin() []AclAdmin
- func (m *QueryAllAclAdminResponse) GetPagination() *query.PageResponse
- func (m *QueryAllAclAdminResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllAclAdminResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllAclAdminResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllAclAdminResponse) ProtoMessage()
- func (m *QueryAllAclAdminResponse) Reset()
- func (m *QueryAllAclAdminResponse) Size() (n int)
- func (m *QueryAllAclAdminResponse) String() string
- func (m *QueryAllAclAdminResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllAclAdminResponse) XXX_DiscardUnknown()
- func (m *QueryAllAclAdminResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllAclAdminResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllAclAdminResponse) XXX_Size() int
- func (m *QueryAllAclAdminResponse) XXX_Unmarshal(b []byte) error
- type QueryAllAclAuthorityRequest
- func (*QueryAllAclAuthorityRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllAclAuthorityRequest) GetPagination() *query.PageRequest
- func (m *QueryAllAclAuthorityRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllAclAuthorityRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllAclAuthorityRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllAclAuthorityRequest) ProtoMessage()
- func (m *QueryAllAclAuthorityRequest) Reset()
- func (m *QueryAllAclAuthorityRequest) Size() (n int)
- func (m *QueryAllAclAuthorityRequest) String() string
- func (m *QueryAllAclAuthorityRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllAclAuthorityRequest) XXX_DiscardUnknown()
- func (m *QueryAllAclAuthorityRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllAclAuthorityRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllAclAuthorityRequest) XXX_Size() int
- func (m *QueryAllAclAuthorityRequest) XXX_Unmarshal(b []byte) error
- type QueryAllAclAuthorityResponse
- func (*QueryAllAclAuthorityResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllAclAuthorityResponse) GetAclAuthority() []AclAuthority
- func (m *QueryAllAclAuthorityResponse) GetPagination() *query.PageResponse
- func (m *QueryAllAclAuthorityResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllAclAuthorityResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllAclAuthorityResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllAclAuthorityResponse) ProtoMessage()
- func (m *QueryAllAclAuthorityResponse) Reset()
- func (m *QueryAllAclAuthorityResponse) Size() (n int)
- func (m *QueryAllAclAuthorityResponse) String() string
- func (m *QueryAllAclAuthorityResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllAclAuthorityResponse) XXX_DiscardUnknown()
- func (m *QueryAllAclAuthorityResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllAclAuthorityResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllAclAuthorityResponse) XXX_Size() int
- func (m *QueryAllAclAuthorityResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryGetAclAdminRequest
- func (*QueryGetAclAdminRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetAclAdminRequest) GetAddress() string
- func (m *QueryGetAclAdminRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetAclAdminRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetAclAdminRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetAclAdminRequest) ProtoMessage()
- func (m *QueryGetAclAdminRequest) Reset()
- func (m *QueryGetAclAdminRequest) Size() (n int)
- func (m *QueryGetAclAdminRequest) String() string
- func (m *QueryGetAclAdminRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetAclAdminRequest) XXX_DiscardUnknown()
- func (m *QueryGetAclAdminRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetAclAdminRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetAclAdminRequest) XXX_Size() int
- func (m *QueryGetAclAdminRequest) XXX_Unmarshal(b []byte) error
- type QueryGetAclAdminResponse
- func (*QueryGetAclAdminResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetAclAdminResponse) GetAclAdmin() AclAdmin
- func (m *QueryGetAclAdminResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetAclAdminResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetAclAdminResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetAclAdminResponse) ProtoMessage()
- func (m *QueryGetAclAdminResponse) Reset()
- func (m *QueryGetAclAdminResponse) Size() (n int)
- func (m *QueryGetAclAdminResponse) String() string
- func (m *QueryGetAclAdminResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetAclAdminResponse) XXX_DiscardUnknown()
- func (m *QueryGetAclAdminResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetAclAdminResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetAclAdminResponse) XXX_Size() int
- func (m *QueryGetAclAdminResponse) XXX_Unmarshal(b []byte) error
- type QueryGetAclAuthorityRequest
- func (*QueryGetAclAuthorityRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetAclAuthorityRequest) GetAddress() string
- func (m *QueryGetAclAuthorityRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetAclAuthorityRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetAclAuthorityRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetAclAuthorityRequest) ProtoMessage()
- func (m *QueryGetAclAuthorityRequest) Reset()
- func (m *QueryGetAclAuthorityRequest) Size() (n int)
- func (m *QueryGetAclAuthorityRequest) String() string
- func (m *QueryGetAclAuthorityRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetAclAuthorityRequest) XXX_DiscardUnknown()
- func (m *QueryGetAclAuthorityRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetAclAuthorityRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetAclAuthorityRequest) XXX_Size() int
- func (m *QueryGetAclAuthorityRequest) XXX_Unmarshal(b []byte) error
- type QueryGetAclAuthorityResponse
- func (*QueryGetAclAuthorityResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetAclAuthorityResponse) GetAclAuthority() AclAuthority
- func (m *QueryGetAclAuthorityResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetAclAuthorityResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetAclAuthorityResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetAclAuthorityResponse) ProtoMessage()
- func (m *QueryGetAclAuthorityResponse) Reset()
- func (m *QueryGetAclAuthorityResponse) Size() (n int)
- func (m *QueryGetAclAuthorityResponse) String() string
- func (m *QueryGetAclAuthorityResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetAclAuthorityResponse) XXX_DiscardUnknown()
- func (m *QueryGetAclAuthorityResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetAclAuthorityResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetAclAuthorityResponse) XXX_Size() int
- func (m *QueryGetAclAuthorityResponse) XXX_Unmarshal(b []byte) error
- type QueryGetSuperAdminRequest
- func (*QueryGetSuperAdminRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetSuperAdminRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetSuperAdminRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetSuperAdminRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetSuperAdminRequest) ProtoMessage()
- func (m *QueryGetSuperAdminRequest) Reset()
- func (m *QueryGetSuperAdminRequest) Size() (n int)
- func (m *QueryGetSuperAdminRequest) String() string
- func (m *QueryGetSuperAdminRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetSuperAdminRequest) XXX_DiscardUnknown()
- func (m *QueryGetSuperAdminRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetSuperAdminRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetSuperAdminRequest) XXX_Size() int
- func (m *QueryGetSuperAdminRequest) XXX_Unmarshal(b []byte) error
- type QueryGetSuperAdminResponse
- func (*QueryGetSuperAdminResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetSuperAdminResponse) GetSuperAdmin() SuperAdmin
- func (m *QueryGetSuperAdminResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetSuperAdminResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetSuperAdminResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetSuperAdminResponse) ProtoMessage()
- func (m *QueryGetSuperAdminResponse) Reset()
- func (m *QueryGetSuperAdminResponse) Size() (n int)
- func (m *QueryGetSuperAdminResponse) String() string
- func (m *QueryGetSuperAdminResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetSuperAdminResponse) XXX_DiscardUnknown()
- func (m *QueryGetSuperAdminResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetSuperAdminResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetSuperAdminResponse) XXX_Size() int
- func (m *QueryGetSuperAdminResponse) XXX_Unmarshal(b []byte) error
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type SuperAdmin
- func (*SuperAdmin) Descriptor() ([]byte, []int)
- func (m *SuperAdmin) GetAdmin() string
- func (m *SuperAdmin) Marshal() (dAtA []byte, err error)
- func (m *SuperAdmin) MarshalTo(dAtA []byte) (int, error)
- func (m *SuperAdmin) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SuperAdmin) ProtoMessage()
- func (m *SuperAdmin) Reset()
- func (m *SuperAdmin) Size() (n int)
- func (m *SuperAdmin) String() string
- func (m *SuperAdmin) Unmarshal(dAtA []byte) error
- func (m *SuperAdmin) XXX_DiscardUnknown()
- func (m *SuperAdmin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SuperAdmin) XXX_Merge(src proto.Message)
- func (m *SuperAdmin) XXX_Size() int
- func (m *SuperAdmin) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) AddAdmin(ctx context.Context, req *MsgAddAdmin) (*MsgAddAdminResponse, error)
- func (*UnimplementedMsgServer) AddAuthority(ctx context.Context, req *MsgAddAuthority) (*MsgAddAuthorityResponse, error)
- func (*UnimplementedMsgServer) DeleteAdmin(ctx context.Context, req *MsgDeleteAdmin) (*MsgDeleteAdminResponse, error)
- func (*UnimplementedMsgServer) DeleteAuthority(ctx context.Context, req *MsgDeleteAuthority) (*MsgDeleteAuthorityResponse, error)
- func (*UnimplementedMsgServer) Init(ctx context.Context, req *MsgInit) (*MsgInitResponse, error)
- func (*UnimplementedMsgServer) UpdateAuthority(ctx context.Context, req *MsgUpdateAuthority) (*MsgUpdateAuthorityResponse, error)
- func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
- func (*UnimplementedMsgServer) UpdateSuperAdmin(ctx context.Context, req *MsgUpdateSuperAdmin) (*MsgUpdateSuperAdminResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) AclAdmin(ctx context.Context, req *QueryGetAclAdminRequest) (*QueryGetAclAdminResponse, error)
- func (*UnimplementedQueryServer) AclAdminAll(ctx context.Context, req *QueryAllAclAdminRequest) (*QueryAllAclAdminResponse, error)
- func (*UnimplementedQueryServer) AclAuthority(ctx context.Context, req *QueryGetAclAuthorityRequest) (*QueryGetAclAuthorityResponse, error)
- func (*UnimplementedQueryServer) AclAuthorityAll(ctx context.Context, req *QueryAllAclAuthorityRequest) (*QueryAllAclAuthorityResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) SuperAdmin(ctx context.Context, req *QueryGetSuperAdminRequest) (*QueryGetSuperAdminResponse, error)
Constants ¶
const ( EventTypeAddAuthority = "add_authority" EventTypeDeleteAuthority = "delete_authority" EventTypeUpdateAuthority = "update_authority" EventTypeInit = "init" EventTypeUpdateSuperAdmin = "update_super_admin" EventTypeAddAdmin = "add_admin" EventTypeDeleteAdmin = "delete_admin" AttributeKeySuperAdmin = "super_admin" AttributeKeyAuthorityAddress = "authority_address" AttributeKeyName = "name" AttributeKeyAccessDefinitions = "access_definitions" AttributeKeyAdmins = "admins" )
acl module event types
const ( // ModuleName defines the module name ModuleName = "acl" // StoreKey defines the primary module store key StoreKey = ModuleName // MemStoreKey defines the in-memory store key MemStoreKey = "mem_acl" )
const (
// AclAdminKeyPrefix is the prefix to retrieve all AclAdmin
AclAdminKeyPrefix = "AclAdmin/value/"
)
const (
// AclAuthorityKeyPrefix is the prefix to retrieve all AclAuthority
AclAuthorityKeyPrefix = "AclAuthority/value/"
)
const DefaultIndex uint64 = 1
DefaultIndex is the default global index
const (
SuperAdminKey = "SuperAdmin/value/"
)
Variables ¶
var ( ErrInvalidLengthAccessDefinition = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowAccessDefinition = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupAccessDefinition = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthAclAdmin = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowAclAdmin = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupAclAdmin = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthAclAuthority = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowAclAuthority = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupAclAuthority = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidSigner = sdkerrors.Register(ModuleName, 1100, "expected gov account as only signer for proposal message") ErrEmptyName = sdkerrors.Register(ModuleName, 1101, "address name is required and cannot be empty") ErrInvalidAccessDefinitionList = sdkerrors.Register(ModuleName, 1102, "invalid access definition list format") ErrInvalidAccessDefinitionObject = sdkerrors.Register(ModuleName, 1103, "invalid access definition object format") ErrInvalidModuleName = sdkerrors.Register(ModuleName, 1104, "invalid module name") ErrAuthorityAddressExists = sdkerrors.Register(ModuleName, 1106, "authority address already exists") ErrAuthorityAddressDoesNotExist = sdkerrors.Register(ModuleName, 1107, "authority address does not exist") ErrModuleDoesNotExist = sdkerrors.Register(ModuleName, 1108, "module name does not exist") ErrModuleExists = sdkerrors.Register(ModuleName, 1109, "module name already exists") ErrEmptyAccessDefinitionList = sdkerrors.Register(ModuleName, 1110, "access definition list is required and cannot be empty") ErrNoUpdateFlags = sdkerrors.Register(ModuleName, 1111, "at least one update flag must be provided") ErrUpdateAndRemoveModule = sdkerrors.Register(ModuleName, 1113, "same module(s) cannot be both added/updated and removed in the same request") ErrSuperAdminInitialized = sdkerrors.Register(ModuleName, 1114, "super admin already initialized") ErrAdminExist = sdkerrors.Register(ModuleName, 1115, "admin(s) already exists") ErrAdminNotExist = sdkerrors.Register(ModuleName, 1116, "admin(s) does not exist") )
x/acl module sentinel errors
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthSuperAdmin = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowSuperAdmin = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupSuperAdmin = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var Msg_serviceDesc = _Msg_serviceDesc
var ParamsKey = []byte("p_acl")
var Query_serviceDesc = _Query_serviceDesc
Functions ¶
func AclAdminKey ¶
AclAdminKey returns the store key to retrieve a AclAdmin from the index fields
func AclAuthorityKey ¶
AclAuthorityKey returns the store key to retrieve a AclAuthority from the index fields
func GetAuthorityModules ¶
func GetAuthorityModules(accessDefinitionList []*AccessDefinition) []string
GetAuthorityModules retrieves the module names from a list of AccessDefinition.
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable the param key table for launch module
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
func RegisterMsgServer ¶
func RegisterQueryHandler ¶
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶
func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.
func RegisterQueryHandlerFromEndpoint ¶
func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryHandlerServer ¶
func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
func ValidateAddAccessDefinition ¶
ValidateAddAccessDefinition validates adding new modules, checking for existing duplicates.
func ValidateAddAdmin ¶
ValidateAddAdmin validates whether any of the new admin addresses already exist in the current admin list
func ValidateConflictBetweenAccessDefinition ¶
func ValidateConflictBetweenAccessDefinition(updateAccessDefinition string, addAccessDefinition string, removeList []string) error
ValidateConflictBetweenAccessDefinition validate update add and remove flags
func ValidateDeleteAdmin ¶
ValidateDeleteAdmin ensures that deletion admins exist and that the admin list is not emptied.
func ValidateDeletedModules ¶
ValidateDeletedModules checking for duplicates and empty modules
func ValidateUpdateAccessDefinition ¶
func ValidateUpdateAccessDefinition(aclAuthority AclAuthority, updatedModule string) error
ValidateUpdateAccessDefinition validate updated module
Types ¶
type AccessDefinition ¶
type AccessDefinition struct {
Module string `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"`
IsMaker bool `protobuf:"varint,2,opt,name=is_maker,json=isMaker,proto3" json:"is_maker,omitempty"`
IsChecker bool `protobuf:"varint,3,opt,name=is_checker,json=isChecker,proto3" json:"is_checker,omitempty"`
}
func GetUpdatedAccessDefinitionList ¶
func GetUpdatedAccessDefinitionList(currentList []*AccessDefinition, update *AccessDefinition) []*AccessDefinition
GetUpdatedAccessDefinitionList finds a module by name (case-insensitive) and updates its roles in-place within the current list.
func ValidateAccessDefinitionList ¶
func ValidateAccessDefinitionList(accessDefinitionListStr string) ([]*AccessDefinition, error)
ValidateAccessDefinitionList takes a JSON string of access definitions, validates it, and returns a structured slice of AccessDefinition or an error if invalid.
func ValidateDeleteAccessDefinition ¶
func ValidateDeleteAccessDefinition(moduleNames []string, accessDefinitions []*AccessDefinition) ([]*AccessDefinition, error)
ValidateDeleteAccessDefinition validates module names for removal and returns the updated access list if valid.
func ValidateSingleAccessDefinition ¶
func ValidateSingleAccessDefinition(accessDefinitionStr string) (*AccessDefinition, error)
ValidateSingleAccessDefinition takes a JSON string for one AccessDefinition object, validates it, and returns the structured object or an error.
func (*AccessDefinition) Descriptor ¶
func (*AccessDefinition) Descriptor() ([]byte, []int)
func (*AccessDefinition) GetIsChecker ¶
func (m *AccessDefinition) GetIsChecker() bool
func (*AccessDefinition) GetIsMaker ¶
func (m *AccessDefinition) GetIsMaker() bool
func (*AccessDefinition) GetModule ¶
func (m *AccessDefinition) GetModule() string
func (*AccessDefinition) Marshal ¶
func (m *AccessDefinition) Marshal() (dAtA []byte, err error)
func (*AccessDefinition) MarshalToSizedBuffer ¶
func (m *AccessDefinition) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AccessDefinition) ProtoMessage ¶
func (*AccessDefinition) ProtoMessage()
func (*AccessDefinition) Reset ¶
func (m *AccessDefinition) Reset()
func (*AccessDefinition) Size ¶
func (m *AccessDefinition) Size() (n int)
func (*AccessDefinition) String ¶
func (m *AccessDefinition) String() string
func (*AccessDefinition) Unmarshal ¶
func (m *AccessDefinition) Unmarshal(dAtA []byte) error
func (*AccessDefinition) XXX_DiscardUnknown ¶
func (m *AccessDefinition) XXX_DiscardUnknown()
func (*AccessDefinition) XXX_Marshal ¶
func (m *AccessDefinition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccessDefinition) XXX_Merge ¶
func (m *AccessDefinition) XXX_Merge(src proto.Message)
func (*AccessDefinition) XXX_Size ¶
func (m *AccessDefinition) XXX_Size() int
func (*AccessDefinition) XXX_Unmarshal ¶
func (m *AccessDefinition) XXX_Unmarshal(b []byte) error
type AccountKeeper ¶
type AccountKeeper interface {
GetAccount(context.Context, sdk.AccAddress) sdk.AccountI // only used for simulation
}
AccountKeeper defines the expected interface for the Account module.
type AclAdmin ¶
type AclAdmin struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}
func ConvertStringsToAclAdmins ¶
ConvertStringsToAclAdmins converts a slice of strings (addresses) into a slice of AclAdmin structs
func (*AclAdmin) Descriptor ¶
func (*AclAdmin) GetAddress ¶
func (*AclAdmin) MarshalToSizedBuffer ¶
func (*AclAdmin) ProtoMessage ¶
func (*AclAdmin) ProtoMessage()
func (*AclAdmin) XXX_DiscardUnknown ¶
func (m *AclAdmin) XXX_DiscardUnknown()
func (*AclAdmin) XXX_Marshal ¶
func (*AclAdmin) XXX_Unmarshal ¶
type AclAuthority ¶
type AclAuthority struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
AccessDefinitions []*AccessDefinition `protobuf:"bytes,3,rep,name=access_definitions,json=accessDefinitions,proto3" json:"access_definitions,omitempty"`
}
func (*AclAuthority) AccessDefinitionsJson ¶
func (acl *AclAuthority) AccessDefinitionsJson() string
AccessDefinitionsJson returns the JSON-encoded string of the AccessDefinitions field. If the field is nil or marshalling fails, it returns an empty JSON array "[]"
func (*AclAuthority) Descriptor ¶
func (*AclAuthority) Descriptor() ([]byte, []int)
func (*AclAuthority) GetAccessDefinitions ¶
func (m *AclAuthority) GetAccessDefinitions() []*AccessDefinition
func (*AclAuthority) GetAddress ¶
func (m *AclAuthority) GetAddress() string
func (*AclAuthority) GetName ¶
func (m *AclAuthority) GetName() string
func (*AclAuthority) Marshal ¶
func (m *AclAuthority) Marshal() (dAtA []byte, err error)
func (*AclAuthority) MarshalToSizedBuffer ¶
func (m *AclAuthority) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AclAuthority) ProtoMessage ¶
func (*AclAuthority) ProtoMessage()
func (*AclAuthority) Reset ¶
func (m *AclAuthority) Reset()
func (*AclAuthority) Size ¶
func (m *AclAuthority) Size() (n int)
func (*AclAuthority) String ¶
func (m *AclAuthority) String() string
func (*AclAuthority) Unmarshal ¶
func (m *AclAuthority) Unmarshal(dAtA []byte) error
func (*AclAuthority) XXX_DiscardUnknown ¶
func (m *AclAuthority) XXX_DiscardUnknown()
func (*AclAuthority) XXX_Marshal ¶
func (m *AclAuthority) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AclAuthority) XXX_Merge ¶
func (m *AclAuthority) XXX_Merge(src proto.Message)
func (*AclAuthority) XXX_Size ¶
func (m *AclAuthority) XXX_Size() int
func (*AclAuthority) XXX_Unmarshal ¶
func (m *AclAuthority) XXX_Unmarshal(b []byte) error
type BankKeeper ¶
BankKeeper defines the expected interface for the Bank module.
type GenesisState ¶
type GenesisState struct {
// params defines all the parameters of the module.
Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
AclAuthorities []AclAuthority `protobuf:"bytes,2,rep,name=acl_authorities,json=aclAuthorities,proto3" json:"acl_authorities"`
AclAdmins []AclAdmin `protobuf:"bytes,3,rep,name=acl_admins,json=aclAdmins,proto3" json:"acl_admins"`
SuperAdmin *SuperAdmin `protobuf:"bytes,4,opt,name=super_admin,json=superAdmin,proto3" json:"super_admin,omitempty"`
}
GenesisState defines the acl module's genesis state.
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
DefaultGenesis returns the default genesis state
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetAclAdmins ¶
func (m *GenesisState) GetAclAdmins() []AclAdmin
func (*GenesisState) GetAclAuthorities ¶
func (m *GenesisState) GetAclAuthorities() []AclAuthority
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) GetSuperAdmin ¶
func (m *GenesisState) GetSuperAdmin() *SuperAdmin
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (GenesisState) Validate ¶
func (gs GenesisState) Validate() error
Validate performs basic genesis state validation returning an error upon any failure.
func (GenesisState) ValidateAclAdmin ¶
func (gs GenesisState) ValidateAclAdmin() error
func (GenesisState) ValidateAclAuthority ¶
func (gs GenesisState) ValidateAclAuthority() error
func (GenesisState) ValidateSuperAdmin ¶
func (gs GenesisState) ValidateSuperAdmin() error
func (*GenesisState) XXX_DiscardUnknown ¶
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type MsgAddAdmin ¶
type MsgAddAdmin struct {
Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
Admins []string `protobuf:"bytes,2,rep,name=admins,proto3" json:"admins,omitempty"`
}
func NewMsgAddAdmin ¶
func NewMsgAddAdmin(creator string, admins []string) *MsgAddAdmin
func (*MsgAddAdmin) Descriptor ¶
func (*MsgAddAdmin) Descriptor() ([]byte, []int)
func (*MsgAddAdmin) GetAdmins ¶
func (m *MsgAddAdmin) GetAdmins() []string
func (*MsgAddAdmin) GetCreator ¶
func (m *MsgAddAdmin) GetCreator() string
func (*MsgAddAdmin) Marshal ¶
func (m *MsgAddAdmin) Marshal() (dAtA []byte, err error)
func (*MsgAddAdmin) MarshalToSizedBuffer ¶
func (m *MsgAddAdmin) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddAdmin) ProtoMessage ¶
func (*MsgAddAdmin) ProtoMessage()
func (*MsgAddAdmin) Reset ¶
func (m *MsgAddAdmin) Reset()
func (*MsgAddAdmin) Size ¶
func (m *MsgAddAdmin) Size() (n int)
func (*MsgAddAdmin) String ¶
func (m *MsgAddAdmin) String() string
func (*MsgAddAdmin) Unmarshal ¶
func (m *MsgAddAdmin) Unmarshal(dAtA []byte) error
func (*MsgAddAdmin) ValidateBasic ¶
func (msg *MsgAddAdmin) ValidateBasic() error
func (*MsgAddAdmin) XXX_DiscardUnknown ¶
func (m *MsgAddAdmin) XXX_DiscardUnknown()
func (*MsgAddAdmin) XXX_Marshal ¶
func (m *MsgAddAdmin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddAdmin) XXX_Merge ¶
func (m *MsgAddAdmin) XXX_Merge(src proto.Message)
func (*MsgAddAdmin) XXX_Size ¶
func (m *MsgAddAdmin) XXX_Size() int
func (*MsgAddAdmin) XXX_Unmarshal ¶
func (m *MsgAddAdmin) XXX_Unmarshal(b []byte) error
type MsgAddAdminResponse ¶
type MsgAddAdminResponse struct {
}
func (*MsgAddAdminResponse) Descriptor ¶
func (*MsgAddAdminResponse) Descriptor() ([]byte, []int)
func (*MsgAddAdminResponse) Marshal ¶
func (m *MsgAddAdminResponse) Marshal() (dAtA []byte, err error)
func (*MsgAddAdminResponse) MarshalTo ¶
func (m *MsgAddAdminResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddAdminResponse) MarshalToSizedBuffer ¶
func (m *MsgAddAdminResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddAdminResponse) ProtoMessage ¶
func (*MsgAddAdminResponse) ProtoMessage()
func (*MsgAddAdminResponse) Reset ¶
func (m *MsgAddAdminResponse) Reset()
func (*MsgAddAdminResponse) Size ¶
func (m *MsgAddAdminResponse) Size() (n int)
func (*MsgAddAdminResponse) String ¶
func (m *MsgAddAdminResponse) String() string
func (*MsgAddAdminResponse) Unmarshal ¶
func (m *MsgAddAdminResponse) Unmarshal(dAtA []byte) error
func (*MsgAddAdminResponse) XXX_DiscardUnknown ¶
func (m *MsgAddAdminResponse) XXX_DiscardUnknown()
func (*MsgAddAdminResponse) XXX_Marshal ¶
func (m *MsgAddAdminResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddAdminResponse) XXX_Merge ¶
func (m *MsgAddAdminResponse) XXX_Merge(src proto.Message)
func (*MsgAddAdminResponse) XXX_Size ¶
func (m *MsgAddAdminResponse) XXX_Size() int
func (*MsgAddAdminResponse) XXX_Unmarshal ¶
func (m *MsgAddAdminResponse) XXX_Unmarshal(b []byte) error
type MsgAddAuthority ¶
type MsgAddAuthority struct {
Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
AuthAddress string `protobuf:"bytes,2,opt,name=auth_address,json=authAddress,proto3" json:"auth_address,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
AccessDefinitions string `protobuf:"bytes,4,opt,name=access_definitions,json=accessDefinitions,proto3" json:"access_definitions,omitempty"`
}
func NewMsgAddAuthority ¶
func NewMsgAddAuthority(creator string, authAddress string, name string, accessDefinitions string) *MsgAddAuthority
func (*MsgAddAuthority) Descriptor ¶
func (*MsgAddAuthority) Descriptor() ([]byte, []int)
func (*MsgAddAuthority) GetAccessDefinitions ¶
func (m *MsgAddAuthority) GetAccessDefinitions() string
func (*MsgAddAuthority) GetAuthAddress ¶
func (m *MsgAddAuthority) GetAuthAddress() string
func (*MsgAddAuthority) GetCreator ¶
func (m *MsgAddAuthority) GetCreator() string
func (*MsgAddAuthority) GetName ¶
func (m *MsgAddAuthority) GetName() string
func (*MsgAddAuthority) Marshal ¶
func (m *MsgAddAuthority) Marshal() (dAtA []byte, err error)
func (*MsgAddAuthority) MarshalToSizedBuffer ¶
func (m *MsgAddAuthority) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddAuthority) ProtoMessage ¶
func (*MsgAddAuthority) ProtoMessage()
func (*MsgAddAuthority) Reset ¶
func (m *MsgAddAuthority) Reset()
func (*MsgAddAuthority) Size ¶
func (m *MsgAddAuthority) Size() (n int)
func (*MsgAddAuthority) String ¶
func (m *MsgAddAuthority) String() string
func (*MsgAddAuthority) Unmarshal ¶
func (m *MsgAddAuthority) Unmarshal(dAtA []byte) error
func (*MsgAddAuthority) ValidateBasic ¶
func (msg *MsgAddAuthority) ValidateBasic() error
func (*MsgAddAuthority) XXX_DiscardUnknown ¶
func (m *MsgAddAuthority) XXX_DiscardUnknown()
func (*MsgAddAuthority) XXX_Marshal ¶
func (m *MsgAddAuthority) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddAuthority) XXX_Merge ¶
func (m *MsgAddAuthority) XXX_Merge(src proto.Message)
func (*MsgAddAuthority) XXX_Size ¶
func (m *MsgAddAuthority) XXX_Size() int
func (*MsgAddAuthority) XXX_Unmarshal ¶
func (m *MsgAddAuthority) XXX_Unmarshal(b []byte) error
type MsgAddAuthorityResponse ¶
type MsgAddAuthorityResponse struct {
}
func (*MsgAddAuthorityResponse) Descriptor ¶
func (*MsgAddAuthorityResponse) Descriptor() ([]byte, []int)
func (*MsgAddAuthorityResponse) Marshal ¶
func (m *MsgAddAuthorityResponse) Marshal() (dAtA []byte, err error)
func (*MsgAddAuthorityResponse) MarshalTo ¶
func (m *MsgAddAuthorityResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddAuthorityResponse) MarshalToSizedBuffer ¶
func (m *MsgAddAuthorityResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddAuthorityResponse) ProtoMessage ¶
func (*MsgAddAuthorityResponse) ProtoMessage()
func (*MsgAddAuthorityResponse) Reset ¶
func (m *MsgAddAuthorityResponse) Reset()
func (*MsgAddAuthorityResponse) Size ¶
func (m *MsgAddAuthorityResponse) Size() (n int)
func (*MsgAddAuthorityResponse) String ¶
func (m *MsgAddAuthorityResponse) String() string
func (*MsgAddAuthorityResponse) Unmarshal ¶
func (m *MsgAddAuthorityResponse) Unmarshal(dAtA []byte) error
func (*MsgAddAuthorityResponse) XXX_DiscardUnknown ¶
func (m *MsgAddAuthorityResponse) XXX_DiscardUnknown()
func (*MsgAddAuthorityResponse) XXX_Marshal ¶
func (m *MsgAddAuthorityResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddAuthorityResponse) XXX_Merge ¶
func (m *MsgAddAuthorityResponse) XXX_Merge(src proto.Message)
func (*MsgAddAuthorityResponse) XXX_Size ¶
func (m *MsgAddAuthorityResponse) XXX_Size() int
func (*MsgAddAuthorityResponse) XXX_Unmarshal ¶
func (m *MsgAddAuthorityResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface {
// UpdateParams defines a (governance) operation for updating the module
// parameters. The authority defaults to the x/gov module account.
UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error)
Init(ctx context.Context, in *MsgInit, opts ...grpc.CallOption) (*MsgInitResponse, error)
UpdateSuperAdmin(ctx context.Context, in *MsgUpdateSuperAdmin, opts ...grpc.CallOption) (*MsgUpdateSuperAdminResponse, error)
AddAdmin(ctx context.Context, in *MsgAddAdmin, opts ...grpc.CallOption) (*MsgAddAdminResponse, error)
DeleteAdmin(ctx context.Context, in *MsgDeleteAdmin, opts ...grpc.CallOption) (*MsgDeleteAdminResponse, error)
AddAuthority(ctx context.Context, in *MsgAddAuthority, opts ...grpc.CallOption) (*MsgAddAuthorityResponse, error)
UpdateAuthority(ctx context.Context, in *MsgUpdateAuthority, opts ...grpc.CallOption) (*MsgUpdateAuthorityResponse, error)
DeleteAuthority(ctx context.Context, in *MsgDeleteAuthority, opts ...grpc.CallOption) (*MsgDeleteAuthorityResponse, error)
}
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc1.ClientConn) MsgClient
type MsgDeleteAdmin ¶
type MsgDeleteAdmin struct {
Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
Admins []string `protobuf:"bytes,2,rep,name=admins,proto3" json:"admins,omitempty"`
}
func NewMsgDeleteAdmin ¶
func NewMsgDeleteAdmin(creator string, admins []string) *MsgDeleteAdmin
func (*MsgDeleteAdmin) Descriptor ¶
func (*MsgDeleteAdmin) Descriptor() ([]byte, []int)
func (*MsgDeleteAdmin) GetAdmins ¶
func (m *MsgDeleteAdmin) GetAdmins() []string
func (*MsgDeleteAdmin) GetCreator ¶
func (m *MsgDeleteAdmin) GetCreator() string
func (*MsgDeleteAdmin) Marshal ¶
func (m *MsgDeleteAdmin) Marshal() (dAtA []byte, err error)
func (*MsgDeleteAdmin) MarshalToSizedBuffer ¶
func (m *MsgDeleteAdmin) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeleteAdmin) ProtoMessage ¶
func (*MsgDeleteAdmin) ProtoMessage()
func (*MsgDeleteAdmin) Reset ¶
func (m *MsgDeleteAdmin) Reset()
func (*MsgDeleteAdmin) Size ¶
func (m *MsgDeleteAdmin) Size() (n int)
func (*MsgDeleteAdmin) String ¶
func (m *MsgDeleteAdmin) String() string
func (*MsgDeleteAdmin) Unmarshal ¶
func (m *MsgDeleteAdmin) Unmarshal(dAtA []byte) error
func (*MsgDeleteAdmin) ValidateBasic ¶
func (msg *MsgDeleteAdmin) ValidateBasic() error
func (*MsgDeleteAdmin) XXX_DiscardUnknown ¶
func (m *MsgDeleteAdmin) XXX_DiscardUnknown()
func (*MsgDeleteAdmin) XXX_Marshal ¶
func (m *MsgDeleteAdmin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeleteAdmin) XXX_Merge ¶
func (m *MsgDeleteAdmin) XXX_Merge(src proto.Message)
func (*MsgDeleteAdmin) XXX_Size ¶
func (m *MsgDeleteAdmin) XXX_Size() int
func (*MsgDeleteAdmin) XXX_Unmarshal ¶
func (m *MsgDeleteAdmin) XXX_Unmarshal(b []byte) error
type MsgDeleteAdminResponse ¶
type MsgDeleteAdminResponse struct {
}
func (*MsgDeleteAdminResponse) Descriptor ¶
func (*MsgDeleteAdminResponse) Descriptor() ([]byte, []int)
func (*MsgDeleteAdminResponse) Marshal ¶
func (m *MsgDeleteAdminResponse) Marshal() (dAtA []byte, err error)
func (*MsgDeleteAdminResponse) MarshalTo ¶
func (m *MsgDeleteAdminResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgDeleteAdminResponse) MarshalToSizedBuffer ¶
func (m *MsgDeleteAdminResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeleteAdminResponse) ProtoMessage ¶
func (*MsgDeleteAdminResponse) ProtoMessage()
func (*MsgDeleteAdminResponse) Reset ¶
func (m *MsgDeleteAdminResponse) Reset()
func (*MsgDeleteAdminResponse) Size ¶
func (m *MsgDeleteAdminResponse) Size() (n int)
func (*MsgDeleteAdminResponse) String ¶
func (m *MsgDeleteAdminResponse) String() string
func (*MsgDeleteAdminResponse) Unmarshal ¶
func (m *MsgDeleteAdminResponse) Unmarshal(dAtA []byte) error
func (*MsgDeleteAdminResponse) XXX_DiscardUnknown ¶
func (m *MsgDeleteAdminResponse) XXX_DiscardUnknown()
func (*MsgDeleteAdminResponse) XXX_Marshal ¶
func (m *MsgDeleteAdminResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeleteAdminResponse) XXX_Merge ¶
func (m *MsgDeleteAdminResponse) XXX_Merge(src proto.Message)
func (*MsgDeleteAdminResponse) XXX_Size ¶
func (m *MsgDeleteAdminResponse) XXX_Size() int
func (*MsgDeleteAdminResponse) XXX_Unmarshal ¶
func (m *MsgDeleteAdminResponse) XXX_Unmarshal(b []byte) error
type MsgDeleteAuthority ¶
type MsgDeleteAuthority struct {
Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
AuthAddress string `protobuf:"bytes,2,opt,name=auth_address,json=authAddress,proto3" json:"auth_address,omitempty"`
}
func NewMsgDeleteAuthority ¶
func NewMsgDeleteAuthority(creator string, authAddress string) *MsgDeleteAuthority
func (*MsgDeleteAuthority) Descriptor ¶
func (*MsgDeleteAuthority) Descriptor() ([]byte, []int)
func (*MsgDeleteAuthority) GetAuthAddress ¶
func (m *MsgDeleteAuthority) GetAuthAddress() string
func (*MsgDeleteAuthority) GetCreator ¶
func (m *MsgDeleteAuthority) GetCreator() string
func (*MsgDeleteAuthority) Marshal ¶
func (m *MsgDeleteAuthority) Marshal() (dAtA []byte, err error)
func (*MsgDeleteAuthority) MarshalTo ¶
func (m *MsgDeleteAuthority) MarshalTo(dAtA []byte) (int, error)
func (*MsgDeleteAuthority) MarshalToSizedBuffer ¶
func (m *MsgDeleteAuthority) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeleteAuthority) ProtoMessage ¶
func (*MsgDeleteAuthority) ProtoMessage()
func (*MsgDeleteAuthority) Reset ¶
func (m *MsgDeleteAuthority) Reset()
func (*MsgDeleteAuthority) Size ¶
func (m *MsgDeleteAuthority) Size() (n int)
func (*MsgDeleteAuthority) String ¶
func (m *MsgDeleteAuthority) String() string
func (*MsgDeleteAuthority) Unmarshal ¶
func (m *MsgDeleteAuthority) Unmarshal(dAtA []byte) error
func (*MsgDeleteAuthority) ValidateBasic ¶
func (msg *MsgDeleteAuthority) ValidateBasic() error
func (*MsgDeleteAuthority) XXX_DiscardUnknown ¶
func (m *MsgDeleteAuthority) XXX_DiscardUnknown()
func (*MsgDeleteAuthority) XXX_Marshal ¶
func (m *MsgDeleteAuthority) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeleteAuthority) XXX_Merge ¶
func (m *MsgDeleteAuthority) XXX_Merge(src proto.Message)
func (*MsgDeleteAuthority) XXX_Size ¶
func (m *MsgDeleteAuthority) XXX_Size() int
func (*MsgDeleteAuthority) XXX_Unmarshal ¶
func (m *MsgDeleteAuthority) XXX_Unmarshal(b []byte) error
type MsgDeleteAuthorityResponse ¶
type MsgDeleteAuthorityResponse struct {
}
func (*MsgDeleteAuthorityResponse) Descriptor ¶
func (*MsgDeleteAuthorityResponse) Descriptor() ([]byte, []int)
func (*MsgDeleteAuthorityResponse) Marshal ¶
func (m *MsgDeleteAuthorityResponse) Marshal() (dAtA []byte, err error)
func (*MsgDeleteAuthorityResponse) MarshalTo ¶
func (m *MsgDeleteAuthorityResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgDeleteAuthorityResponse) MarshalToSizedBuffer ¶
func (m *MsgDeleteAuthorityResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeleteAuthorityResponse) ProtoMessage ¶
func (*MsgDeleteAuthorityResponse) ProtoMessage()
func (*MsgDeleteAuthorityResponse) Reset ¶
func (m *MsgDeleteAuthorityResponse) Reset()
func (*MsgDeleteAuthorityResponse) Size ¶
func (m *MsgDeleteAuthorityResponse) Size() (n int)
func (*MsgDeleteAuthorityResponse) String ¶
func (m *MsgDeleteAuthorityResponse) String() string
func (*MsgDeleteAuthorityResponse) Unmarshal ¶
func (m *MsgDeleteAuthorityResponse) Unmarshal(dAtA []byte) error
func (*MsgDeleteAuthorityResponse) XXX_DiscardUnknown ¶
func (m *MsgDeleteAuthorityResponse) XXX_DiscardUnknown()
func (*MsgDeleteAuthorityResponse) XXX_Marshal ¶
func (m *MsgDeleteAuthorityResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeleteAuthorityResponse) XXX_Merge ¶
func (m *MsgDeleteAuthorityResponse) XXX_Merge(src proto.Message)
func (*MsgDeleteAuthorityResponse) XXX_Size ¶
func (m *MsgDeleteAuthorityResponse) XXX_Size() int
func (*MsgDeleteAuthorityResponse) XXX_Unmarshal ¶
func (m *MsgDeleteAuthorityResponse) XXX_Unmarshal(b []byte) error
type MsgInit ¶
type MsgInit struct {
Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
SuperAdmin string `protobuf:"bytes,2,opt,name=super_admin,json=superAdmin,proto3" json:"super_admin,omitempty"`
}
func NewMsgInit ¶
func (*MsgInit) Descriptor ¶
func (*MsgInit) GetCreator ¶
func (*MsgInit) GetSuperAdmin ¶
func (*MsgInit) MarshalToSizedBuffer ¶
func (*MsgInit) ProtoMessage ¶
func (*MsgInit) ProtoMessage()
func (*MsgInit) ValidateBasic ¶
func (*MsgInit) XXX_DiscardUnknown ¶
func (m *MsgInit) XXX_DiscardUnknown()
func (*MsgInit) XXX_Marshal ¶
func (*MsgInit) XXX_Unmarshal ¶
type MsgInitResponse ¶
type MsgInitResponse struct {
}
func (*MsgInitResponse) Descriptor ¶
func (*MsgInitResponse) Descriptor() ([]byte, []int)
func (*MsgInitResponse) Marshal ¶
func (m *MsgInitResponse) Marshal() (dAtA []byte, err error)
func (*MsgInitResponse) MarshalToSizedBuffer ¶
func (m *MsgInitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgInitResponse) ProtoMessage ¶
func (*MsgInitResponse) ProtoMessage()
func (*MsgInitResponse) Reset ¶
func (m *MsgInitResponse) Reset()
func (*MsgInitResponse) Size ¶
func (m *MsgInitResponse) Size() (n int)
func (*MsgInitResponse) String ¶
func (m *MsgInitResponse) String() string
func (*MsgInitResponse) Unmarshal ¶
func (m *MsgInitResponse) Unmarshal(dAtA []byte) error
func (*MsgInitResponse) XXX_DiscardUnknown ¶
func (m *MsgInitResponse) XXX_DiscardUnknown()
func (*MsgInitResponse) XXX_Marshal ¶
func (m *MsgInitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgInitResponse) XXX_Merge ¶
func (m *MsgInitResponse) XXX_Merge(src proto.Message)
func (*MsgInitResponse) XXX_Size ¶
func (m *MsgInitResponse) XXX_Size() int
func (*MsgInitResponse) XXX_Unmarshal ¶
func (m *MsgInitResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface {
// UpdateParams defines a (governance) operation for updating the module
// parameters. The authority defaults to the x/gov module account.
UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
Init(context.Context, *MsgInit) (*MsgInitResponse, error)
UpdateSuperAdmin(context.Context, *MsgUpdateSuperAdmin) (*MsgUpdateSuperAdminResponse, error)
AddAdmin(context.Context, *MsgAddAdmin) (*MsgAddAdminResponse, error)
DeleteAdmin(context.Context, *MsgDeleteAdmin) (*MsgDeleteAdminResponse, error)
AddAuthority(context.Context, *MsgAddAuthority) (*MsgAddAuthorityResponse, error)
UpdateAuthority(context.Context, *MsgUpdateAuthority) (*MsgUpdateAuthorityResponse, error)
DeleteAuthority(context.Context, *MsgDeleteAuthority) (*MsgDeleteAuthorityResponse, error)
}
MsgServer is the server API for Msg service.
type MsgUpdateAuthority ¶
type MsgUpdateAuthority struct {
Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
AuthAddress string `protobuf:"bytes,2,opt,name=auth_address,json=authAddress,proto3" json:"auth_address,omitempty"`
NewName string `protobuf:"bytes,3,opt,name=new_name,json=newName,proto3" json:"new_name,omitempty"`
OverwriteAccessDefinitions string `` /* 141-byte string literal not displayed */
AddAccessDefinitions string `protobuf:"bytes,5,opt,name=add_access_definitions,json=addAccessDefinitions,proto3" json:"add_access_definitions,omitempty"`
UpdateAccessDefinition string `` /* 129-byte string literal not displayed */
DeleteAccessDefinitions []string `` /* 132-byte string literal not displayed */
ClearAllAccessDefinitions bool `` /* 141-byte string literal not displayed */
}
func NewMsgUpdateAuthority ¶
func (*MsgUpdateAuthority) Descriptor ¶
func (*MsgUpdateAuthority) Descriptor() ([]byte, []int)
func (*MsgUpdateAuthority) GetAddAccessDefinitions ¶
func (m *MsgUpdateAuthority) GetAddAccessDefinitions() string
func (*MsgUpdateAuthority) GetAuthAddress ¶
func (m *MsgUpdateAuthority) GetAuthAddress() string
func (*MsgUpdateAuthority) GetClearAllAccessDefinitions ¶
func (m *MsgUpdateAuthority) GetClearAllAccessDefinitions() bool
func (*MsgUpdateAuthority) GetCreator ¶
func (m *MsgUpdateAuthority) GetCreator() string
func (*MsgUpdateAuthority) GetDeleteAccessDefinitions ¶
func (m *MsgUpdateAuthority) GetDeleteAccessDefinitions() []string
func (*MsgUpdateAuthority) GetNewName ¶
func (m *MsgUpdateAuthority) GetNewName() string
func (*MsgUpdateAuthority) GetOverwriteAccessDefinitions ¶
func (m *MsgUpdateAuthority) GetOverwriteAccessDefinitions() string
func (*MsgUpdateAuthority) GetUpdateAccessDefinition ¶
func (m *MsgUpdateAuthority) GetUpdateAccessDefinition() string
func (*MsgUpdateAuthority) Marshal ¶
func (m *MsgUpdateAuthority) Marshal() (dAtA []byte, err error)
func (*MsgUpdateAuthority) MarshalTo ¶
func (m *MsgUpdateAuthority) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateAuthority) MarshalToSizedBuffer ¶
func (m *MsgUpdateAuthority) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateAuthority) ProtoMessage ¶
func (*MsgUpdateAuthority) ProtoMessage()
func (*MsgUpdateAuthority) Reset ¶
func (m *MsgUpdateAuthority) Reset()
func (*MsgUpdateAuthority) Size ¶
func (m *MsgUpdateAuthority) Size() (n int)
func (*MsgUpdateAuthority) String ¶
func (m *MsgUpdateAuthority) String() string
func (*MsgUpdateAuthority) Unmarshal ¶
func (m *MsgUpdateAuthority) Unmarshal(dAtA []byte) error
func (*MsgUpdateAuthority) ValidateBasic ¶
func (msg *MsgUpdateAuthority) ValidateBasic() error
func (*MsgUpdateAuthority) XXX_DiscardUnknown ¶
func (m *MsgUpdateAuthority) XXX_DiscardUnknown()
func (*MsgUpdateAuthority) XXX_Marshal ¶
func (m *MsgUpdateAuthority) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateAuthority) XXX_Merge ¶
func (m *MsgUpdateAuthority) XXX_Merge(src proto.Message)
func (*MsgUpdateAuthority) XXX_Size ¶
func (m *MsgUpdateAuthority) XXX_Size() int
func (*MsgUpdateAuthority) XXX_Unmarshal ¶
func (m *MsgUpdateAuthority) XXX_Unmarshal(b []byte) error
type MsgUpdateAuthorityResponse ¶
type MsgUpdateAuthorityResponse struct {
}
func (*MsgUpdateAuthorityResponse) Descriptor ¶
func (*MsgUpdateAuthorityResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateAuthorityResponse) Marshal ¶
func (m *MsgUpdateAuthorityResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateAuthorityResponse) MarshalTo ¶
func (m *MsgUpdateAuthorityResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateAuthorityResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateAuthorityResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateAuthorityResponse) ProtoMessage ¶
func (*MsgUpdateAuthorityResponse) ProtoMessage()
func (*MsgUpdateAuthorityResponse) Reset ¶
func (m *MsgUpdateAuthorityResponse) Reset()
func (*MsgUpdateAuthorityResponse) Size ¶
func (m *MsgUpdateAuthorityResponse) Size() (n int)
func (*MsgUpdateAuthorityResponse) String ¶
func (m *MsgUpdateAuthorityResponse) String() string
func (*MsgUpdateAuthorityResponse) Unmarshal ¶
func (m *MsgUpdateAuthorityResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateAuthorityResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateAuthorityResponse) XXX_DiscardUnknown()
func (*MsgUpdateAuthorityResponse) XXX_Marshal ¶
func (m *MsgUpdateAuthorityResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateAuthorityResponse) XXX_Merge ¶
func (m *MsgUpdateAuthorityResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateAuthorityResponse) XXX_Size ¶
func (m *MsgUpdateAuthorityResponse) XXX_Size() int
func (*MsgUpdateAuthorityResponse) XXX_Unmarshal ¶
func (m *MsgUpdateAuthorityResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateParams ¶
type MsgUpdateParams struct {
// authority is the address that controls the module (defaults to x/gov unless overwritten).
Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
// NOTE: All parameters must be supplied.
Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"`
}
MsgUpdateParams is the Msg/UpdateParams request type.
func (*MsgUpdateParams) Descriptor ¶
func (*MsgUpdateParams) Descriptor() ([]byte, []int)
func (*MsgUpdateParams) GetAuthority ¶
func (m *MsgUpdateParams) GetAuthority() string
func (*MsgUpdateParams) GetParams ¶
func (m *MsgUpdateParams) GetParams() Params
func (*MsgUpdateParams) Marshal ¶
func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParams) MarshalToSizedBuffer ¶
func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParams) ProtoMessage ¶
func (*MsgUpdateParams) ProtoMessage()
func (*MsgUpdateParams) Reset ¶
func (m *MsgUpdateParams) Reset()
func (*MsgUpdateParams) Size ¶
func (m *MsgUpdateParams) Size() (n int)
func (*MsgUpdateParams) String ¶
func (m *MsgUpdateParams) String() string
func (*MsgUpdateParams) Unmarshal ¶
func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
func (*MsgUpdateParams) ValidateBasic ¶
func (m *MsgUpdateParams) ValidateBasic() error
ValidateBasic does a sanity check on the provided data.
func (*MsgUpdateParams) XXX_DiscardUnknown ¶
func (m *MsgUpdateParams) XXX_DiscardUnknown()
func (*MsgUpdateParams) XXX_Marshal ¶
func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParams) XXX_Merge ¶
func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
func (*MsgUpdateParams) XXX_Size ¶
func (m *MsgUpdateParams) XXX_Size() int
func (*MsgUpdateParams) XXX_Unmarshal ¶
func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
type MsgUpdateParamsResponse ¶
type MsgUpdateParamsResponse struct {
}
MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.
func (*MsgUpdateParamsResponse) Descriptor ¶
func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateParamsResponse) Marshal ¶
func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParamsResponse) MarshalTo ¶
func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) ProtoMessage ¶
func (*MsgUpdateParamsResponse) ProtoMessage()
func (*MsgUpdateParamsResponse) Reset ¶
func (m *MsgUpdateParamsResponse) Reset()
func (*MsgUpdateParamsResponse) Size ¶
func (m *MsgUpdateParamsResponse) Size() (n int)
func (*MsgUpdateParamsResponse) String ¶
func (m *MsgUpdateParamsResponse) String() string
func (*MsgUpdateParamsResponse) Unmarshal ¶
func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateParamsResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
func (*MsgUpdateParamsResponse) XXX_Marshal ¶
func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParamsResponse) XXX_Merge ¶
func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateParamsResponse) XXX_Size ¶
func (m *MsgUpdateParamsResponse) XXX_Size() int
func (*MsgUpdateParamsResponse) XXX_Unmarshal ¶
func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateSuperAdmin ¶
type MsgUpdateSuperAdmin struct {
Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
NewSuperAdmin string `protobuf:"bytes,2,opt,name=new_super_admin,json=newSuperAdmin,proto3" json:"new_super_admin,omitempty"`
}
func NewMsgUpdateSuperAdmin ¶
func NewMsgUpdateSuperAdmin(creator string, newSuperAdmin string) *MsgUpdateSuperAdmin
func (*MsgUpdateSuperAdmin) Descriptor ¶
func (*MsgUpdateSuperAdmin) Descriptor() ([]byte, []int)
func (*MsgUpdateSuperAdmin) GetCreator ¶
func (m *MsgUpdateSuperAdmin) GetCreator() string
func (*MsgUpdateSuperAdmin) GetNewSuperAdmin ¶
func (m *MsgUpdateSuperAdmin) GetNewSuperAdmin() string
func (*MsgUpdateSuperAdmin) Marshal ¶
func (m *MsgUpdateSuperAdmin) Marshal() (dAtA []byte, err error)
func (*MsgUpdateSuperAdmin) MarshalTo ¶
func (m *MsgUpdateSuperAdmin) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateSuperAdmin) MarshalToSizedBuffer ¶
func (m *MsgUpdateSuperAdmin) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateSuperAdmin) ProtoMessage ¶
func (*MsgUpdateSuperAdmin) ProtoMessage()
func (*MsgUpdateSuperAdmin) Reset ¶
func (m *MsgUpdateSuperAdmin) Reset()
func (*MsgUpdateSuperAdmin) Size ¶
func (m *MsgUpdateSuperAdmin) Size() (n int)
func (*MsgUpdateSuperAdmin) String ¶
func (m *MsgUpdateSuperAdmin) String() string
func (*MsgUpdateSuperAdmin) Unmarshal ¶
func (m *MsgUpdateSuperAdmin) Unmarshal(dAtA []byte) error
func (*MsgUpdateSuperAdmin) ValidateBasic ¶
func (msg *MsgUpdateSuperAdmin) ValidateBasic() error
func (*MsgUpdateSuperAdmin) XXX_DiscardUnknown ¶
func (m *MsgUpdateSuperAdmin) XXX_DiscardUnknown()
func (*MsgUpdateSuperAdmin) XXX_Marshal ¶
func (m *MsgUpdateSuperAdmin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateSuperAdmin) XXX_Merge ¶
func (m *MsgUpdateSuperAdmin) XXX_Merge(src proto.Message)
func (*MsgUpdateSuperAdmin) XXX_Size ¶
func (m *MsgUpdateSuperAdmin) XXX_Size() int
func (*MsgUpdateSuperAdmin) XXX_Unmarshal ¶
func (m *MsgUpdateSuperAdmin) XXX_Unmarshal(b []byte) error
type MsgUpdateSuperAdminResponse ¶
type MsgUpdateSuperAdminResponse struct {
}
func (*MsgUpdateSuperAdminResponse) Descriptor ¶
func (*MsgUpdateSuperAdminResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateSuperAdminResponse) Marshal ¶
func (m *MsgUpdateSuperAdminResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateSuperAdminResponse) MarshalTo ¶
func (m *MsgUpdateSuperAdminResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateSuperAdminResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateSuperAdminResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateSuperAdminResponse) ProtoMessage ¶
func (*MsgUpdateSuperAdminResponse) ProtoMessage()
func (*MsgUpdateSuperAdminResponse) Reset ¶
func (m *MsgUpdateSuperAdminResponse) Reset()
func (*MsgUpdateSuperAdminResponse) Size ¶
func (m *MsgUpdateSuperAdminResponse) Size() (n int)
func (*MsgUpdateSuperAdminResponse) String ¶
func (m *MsgUpdateSuperAdminResponse) String() string
func (*MsgUpdateSuperAdminResponse) Unmarshal ¶
func (m *MsgUpdateSuperAdminResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateSuperAdminResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateSuperAdminResponse) XXX_DiscardUnknown()
func (*MsgUpdateSuperAdminResponse) XXX_Marshal ¶
func (m *MsgUpdateSuperAdminResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateSuperAdminResponse) XXX_Merge ¶
func (m *MsgUpdateSuperAdminResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateSuperAdminResponse) XXX_Size ¶
func (m *MsgUpdateSuperAdminResponse) XXX_Size() int
func (*MsgUpdateSuperAdminResponse) XXX_Unmarshal ¶
func (m *MsgUpdateSuperAdminResponse) XXX_Unmarshal(b []byte) error
type ParamSubspace ¶
type ParamSubspace interface {
Get(context.Context, []byte, interface{})
Set(context.Context, []byte, interface{})
}
ParamSubspace defines the expected Subspace interface for parameters.
type Params ¶
type Params struct {
}
Params defines the parameters for the module.
func (*Params) Descriptor ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs get the params.ParamSet
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type QueryAllAclAdminRequest ¶
type QueryAllAclAdminRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryAllAclAdminRequest) Descriptor ¶
func (*QueryAllAclAdminRequest) Descriptor() ([]byte, []int)
func (*QueryAllAclAdminRequest) GetPagination ¶
func (m *QueryAllAclAdminRequest) GetPagination() *query.PageRequest
func (*QueryAllAclAdminRequest) Marshal ¶
func (m *QueryAllAclAdminRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllAclAdminRequest) MarshalTo ¶
func (m *QueryAllAclAdminRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllAclAdminRequest) MarshalToSizedBuffer ¶
func (m *QueryAllAclAdminRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllAclAdminRequest) ProtoMessage ¶
func (*QueryAllAclAdminRequest) ProtoMessage()
func (*QueryAllAclAdminRequest) Reset ¶
func (m *QueryAllAclAdminRequest) Reset()
func (*QueryAllAclAdminRequest) Size ¶
func (m *QueryAllAclAdminRequest) Size() (n int)
func (*QueryAllAclAdminRequest) String ¶
func (m *QueryAllAclAdminRequest) String() string
func (*QueryAllAclAdminRequest) Unmarshal ¶
func (m *QueryAllAclAdminRequest) Unmarshal(dAtA []byte) error
func (*QueryAllAclAdminRequest) XXX_DiscardUnknown ¶
func (m *QueryAllAclAdminRequest) XXX_DiscardUnknown()
func (*QueryAllAclAdminRequest) XXX_Marshal ¶
func (m *QueryAllAclAdminRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllAclAdminRequest) XXX_Merge ¶
func (m *QueryAllAclAdminRequest) XXX_Merge(src proto.Message)
func (*QueryAllAclAdminRequest) XXX_Size ¶
func (m *QueryAllAclAdminRequest) XXX_Size() int
func (*QueryAllAclAdminRequest) XXX_Unmarshal ¶
func (m *QueryAllAclAdminRequest) XXX_Unmarshal(b []byte) error
type QueryAllAclAdminResponse ¶
type QueryAllAclAdminResponse struct {
AclAdmin []AclAdmin `protobuf:"bytes,1,rep,name=acl_admin,json=aclAdmin,proto3" json:"acl_admin"`
Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryAllAclAdminResponse) Descriptor ¶
func (*QueryAllAclAdminResponse) Descriptor() ([]byte, []int)
func (*QueryAllAclAdminResponse) GetAclAdmin ¶
func (m *QueryAllAclAdminResponse) GetAclAdmin() []AclAdmin
func (*QueryAllAclAdminResponse) GetPagination ¶
func (m *QueryAllAclAdminResponse) GetPagination() *query.PageResponse
func (*QueryAllAclAdminResponse) Marshal ¶
func (m *QueryAllAclAdminResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllAclAdminResponse) MarshalTo ¶
func (m *QueryAllAclAdminResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllAclAdminResponse) MarshalToSizedBuffer ¶
func (m *QueryAllAclAdminResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllAclAdminResponse) ProtoMessage ¶
func (*QueryAllAclAdminResponse) ProtoMessage()
func (*QueryAllAclAdminResponse) Reset ¶
func (m *QueryAllAclAdminResponse) Reset()
func (*QueryAllAclAdminResponse) Size ¶
func (m *QueryAllAclAdminResponse) Size() (n int)
func (*QueryAllAclAdminResponse) String ¶
func (m *QueryAllAclAdminResponse) String() string
func (*QueryAllAclAdminResponse) Unmarshal ¶
func (m *QueryAllAclAdminResponse) Unmarshal(dAtA []byte) error
func (*QueryAllAclAdminResponse) XXX_DiscardUnknown ¶
func (m *QueryAllAclAdminResponse) XXX_DiscardUnknown()
func (*QueryAllAclAdminResponse) XXX_Marshal ¶
func (m *QueryAllAclAdminResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllAclAdminResponse) XXX_Merge ¶
func (m *QueryAllAclAdminResponse) XXX_Merge(src proto.Message)
func (*QueryAllAclAdminResponse) XXX_Size ¶
func (m *QueryAllAclAdminResponse) XXX_Size() int
func (*QueryAllAclAdminResponse) XXX_Unmarshal ¶
func (m *QueryAllAclAdminResponse) XXX_Unmarshal(b []byte) error
type QueryAllAclAuthorityRequest ¶
type QueryAllAclAuthorityRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryAllAclAuthorityRequest) Descriptor ¶
func (*QueryAllAclAuthorityRequest) Descriptor() ([]byte, []int)
func (*QueryAllAclAuthorityRequest) GetPagination ¶
func (m *QueryAllAclAuthorityRequest) GetPagination() *query.PageRequest
func (*QueryAllAclAuthorityRequest) Marshal ¶
func (m *QueryAllAclAuthorityRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllAclAuthorityRequest) MarshalTo ¶
func (m *QueryAllAclAuthorityRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllAclAuthorityRequest) MarshalToSizedBuffer ¶
func (m *QueryAllAclAuthorityRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllAclAuthorityRequest) ProtoMessage ¶
func (*QueryAllAclAuthorityRequest) ProtoMessage()
func (*QueryAllAclAuthorityRequest) Reset ¶
func (m *QueryAllAclAuthorityRequest) Reset()
func (*QueryAllAclAuthorityRequest) Size ¶
func (m *QueryAllAclAuthorityRequest) Size() (n int)
func (*QueryAllAclAuthorityRequest) String ¶
func (m *QueryAllAclAuthorityRequest) String() string
func (*QueryAllAclAuthorityRequest) Unmarshal ¶
func (m *QueryAllAclAuthorityRequest) Unmarshal(dAtA []byte) error
func (*QueryAllAclAuthorityRequest) XXX_DiscardUnknown ¶
func (m *QueryAllAclAuthorityRequest) XXX_DiscardUnknown()
func (*QueryAllAclAuthorityRequest) XXX_Marshal ¶
func (m *QueryAllAclAuthorityRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllAclAuthorityRequest) XXX_Merge ¶
func (m *QueryAllAclAuthorityRequest) XXX_Merge(src proto.Message)
func (*QueryAllAclAuthorityRequest) XXX_Size ¶
func (m *QueryAllAclAuthorityRequest) XXX_Size() int
func (*QueryAllAclAuthorityRequest) XXX_Unmarshal ¶
func (m *QueryAllAclAuthorityRequest) XXX_Unmarshal(b []byte) error
type QueryAllAclAuthorityResponse ¶
type QueryAllAclAuthorityResponse struct {
AclAuthority []AclAuthority `protobuf:"bytes,1,rep,name=acl_authority,json=aclAuthority,proto3" json:"acl_authority"`
Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryAllAclAuthorityResponse) Descriptor ¶
func (*QueryAllAclAuthorityResponse) Descriptor() ([]byte, []int)
func (*QueryAllAclAuthorityResponse) GetAclAuthority ¶
func (m *QueryAllAclAuthorityResponse) GetAclAuthority() []AclAuthority
func (*QueryAllAclAuthorityResponse) GetPagination ¶
func (m *QueryAllAclAuthorityResponse) GetPagination() *query.PageResponse
func (*QueryAllAclAuthorityResponse) Marshal ¶
func (m *QueryAllAclAuthorityResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllAclAuthorityResponse) MarshalTo ¶
func (m *QueryAllAclAuthorityResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllAclAuthorityResponse) MarshalToSizedBuffer ¶
func (m *QueryAllAclAuthorityResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllAclAuthorityResponse) ProtoMessage ¶
func (*QueryAllAclAuthorityResponse) ProtoMessage()
func (*QueryAllAclAuthorityResponse) Reset ¶
func (m *QueryAllAclAuthorityResponse) Reset()
func (*QueryAllAclAuthorityResponse) Size ¶
func (m *QueryAllAclAuthorityResponse) Size() (n int)
func (*QueryAllAclAuthorityResponse) String ¶
func (m *QueryAllAclAuthorityResponse) String() string
func (*QueryAllAclAuthorityResponse) Unmarshal ¶
func (m *QueryAllAclAuthorityResponse) Unmarshal(dAtA []byte) error
func (*QueryAllAclAuthorityResponse) XXX_DiscardUnknown ¶
func (m *QueryAllAclAuthorityResponse) XXX_DiscardUnknown()
func (*QueryAllAclAuthorityResponse) XXX_Marshal ¶
func (m *QueryAllAclAuthorityResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllAclAuthorityResponse) XXX_Merge ¶
func (m *QueryAllAclAuthorityResponse) XXX_Merge(src proto.Message)
func (*QueryAllAclAuthorityResponse) XXX_Size ¶
func (m *QueryAllAclAuthorityResponse) XXX_Size() int
func (*QueryAllAclAuthorityResponse) XXX_Unmarshal ¶
func (m *QueryAllAclAuthorityResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface {
// Parameters queries the parameters of the module.
Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
// Queries a list of AclAuthority items.
AclAuthority(ctx context.Context, in *QueryGetAclAuthorityRequest, opts ...grpc.CallOption) (*QueryGetAclAuthorityResponse, error)
AclAuthorityAll(ctx context.Context, in *QueryAllAclAuthorityRequest, opts ...grpc.CallOption) (*QueryAllAclAuthorityResponse, error)
// Queries a list of AclAdmin items.
AclAdmin(ctx context.Context, in *QueryGetAclAdminRequest, opts ...grpc.CallOption) (*QueryGetAclAdminResponse, error)
AclAdminAll(ctx context.Context, in *QueryAllAclAdminRequest, opts ...grpc.CallOption) (*QueryAllAclAdminResponse, error)
// Queries a SuperAdmin by index.
SuperAdmin(ctx context.Context, in *QueryGetSuperAdminRequest, opts ...grpc.CallOption) (*QueryGetSuperAdminResponse, error)
}
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewQueryClient ¶
func NewQueryClient(cc grpc1.ClientConn) QueryClient
type QueryGetAclAdminRequest ¶
type QueryGetAclAdminRequest struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}
func (*QueryGetAclAdminRequest) Descriptor ¶
func (*QueryGetAclAdminRequest) Descriptor() ([]byte, []int)
func (*QueryGetAclAdminRequest) GetAddress ¶
func (m *QueryGetAclAdminRequest) GetAddress() string
func (*QueryGetAclAdminRequest) Marshal ¶
func (m *QueryGetAclAdminRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetAclAdminRequest) MarshalTo ¶
func (m *QueryGetAclAdminRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetAclAdminRequest) MarshalToSizedBuffer ¶
func (m *QueryGetAclAdminRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetAclAdminRequest) ProtoMessage ¶
func (*QueryGetAclAdminRequest) ProtoMessage()
func (*QueryGetAclAdminRequest) Reset ¶
func (m *QueryGetAclAdminRequest) Reset()
func (*QueryGetAclAdminRequest) Size ¶
func (m *QueryGetAclAdminRequest) Size() (n int)
func (*QueryGetAclAdminRequest) String ¶
func (m *QueryGetAclAdminRequest) String() string
func (*QueryGetAclAdminRequest) Unmarshal ¶
func (m *QueryGetAclAdminRequest) Unmarshal(dAtA []byte) error
func (*QueryGetAclAdminRequest) XXX_DiscardUnknown ¶
func (m *QueryGetAclAdminRequest) XXX_DiscardUnknown()
func (*QueryGetAclAdminRequest) XXX_Marshal ¶
func (m *QueryGetAclAdminRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetAclAdminRequest) XXX_Merge ¶
func (m *QueryGetAclAdminRequest) XXX_Merge(src proto.Message)
func (*QueryGetAclAdminRequest) XXX_Size ¶
func (m *QueryGetAclAdminRequest) XXX_Size() int
func (*QueryGetAclAdminRequest) XXX_Unmarshal ¶
func (m *QueryGetAclAdminRequest) XXX_Unmarshal(b []byte) error
type QueryGetAclAdminResponse ¶
type QueryGetAclAdminResponse struct {
AclAdmin AclAdmin `protobuf:"bytes,1,opt,name=acl_admin,json=aclAdmin,proto3" json:"acl_admin"`
}
func (*QueryGetAclAdminResponse) Descriptor ¶
func (*QueryGetAclAdminResponse) Descriptor() ([]byte, []int)
func (*QueryGetAclAdminResponse) GetAclAdmin ¶
func (m *QueryGetAclAdminResponse) GetAclAdmin() AclAdmin
func (*QueryGetAclAdminResponse) Marshal ¶
func (m *QueryGetAclAdminResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetAclAdminResponse) MarshalTo ¶
func (m *QueryGetAclAdminResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetAclAdminResponse) MarshalToSizedBuffer ¶
func (m *QueryGetAclAdminResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetAclAdminResponse) ProtoMessage ¶
func (*QueryGetAclAdminResponse) ProtoMessage()
func (*QueryGetAclAdminResponse) Reset ¶
func (m *QueryGetAclAdminResponse) Reset()
func (*QueryGetAclAdminResponse) Size ¶
func (m *QueryGetAclAdminResponse) Size() (n int)
func (*QueryGetAclAdminResponse) String ¶
func (m *QueryGetAclAdminResponse) String() string
func (*QueryGetAclAdminResponse) Unmarshal ¶
func (m *QueryGetAclAdminResponse) Unmarshal(dAtA []byte) error
func (*QueryGetAclAdminResponse) XXX_DiscardUnknown ¶
func (m *QueryGetAclAdminResponse) XXX_DiscardUnknown()
func (*QueryGetAclAdminResponse) XXX_Marshal ¶
func (m *QueryGetAclAdminResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetAclAdminResponse) XXX_Merge ¶
func (m *QueryGetAclAdminResponse) XXX_Merge(src proto.Message)
func (*QueryGetAclAdminResponse) XXX_Size ¶
func (m *QueryGetAclAdminResponse) XXX_Size() int
func (*QueryGetAclAdminResponse) XXX_Unmarshal ¶
func (m *QueryGetAclAdminResponse) XXX_Unmarshal(b []byte) error
type QueryGetAclAuthorityRequest ¶
type QueryGetAclAuthorityRequest struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}
func (*QueryGetAclAuthorityRequest) Descriptor ¶
func (*QueryGetAclAuthorityRequest) Descriptor() ([]byte, []int)
func (*QueryGetAclAuthorityRequest) GetAddress ¶
func (m *QueryGetAclAuthorityRequest) GetAddress() string
func (*QueryGetAclAuthorityRequest) Marshal ¶
func (m *QueryGetAclAuthorityRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetAclAuthorityRequest) MarshalTo ¶
func (m *QueryGetAclAuthorityRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetAclAuthorityRequest) MarshalToSizedBuffer ¶
func (m *QueryGetAclAuthorityRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetAclAuthorityRequest) ProtoMessage ¶
func (*QueryGetAclAuthorityRequest) ProtoMessage()
func (*QueryGetAclAuthorityRequest) Reset ¶
func (m *QueryGetAclAuthorityRequest) Reset()
func (*QueryGetAclAuthorityRequest) Size ¶
func (m *QueryGetAclAuthorityRequest) Size() (n int)
func (*QueryGetAclAuthorityRequest) String ¶
func (m *QueryGetAclAuthorityRequest) String() string
func (*QueryGetAclAuthorityRequest) Unmarshal ¶
func (m *QueryGetAclAuthorityRequest) Unmarshal(dAtA []byte) error
func (*QueryGetAclAuthorityRequest) XXX_DiscardUnknown ¶
func (m *QueryGetAclAuthorityRequest) XXX_DiscardUnknown()
func (*QueryGetAclAuthorityRequest) XXX_Marshal ¶
func (m *QueryGetAclAuthorityRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetAclAuthorityRequest) XXX_Merge ¶
func (m *QueryGetAclAuthorityRequest) XXX_Merge(src proto.Message)
func (*QueryGetAclAuthorityRequest) XXX_Size ¶
func (m *QueryGetAclAuthorityRequest) XXX_Size() int
func (*QueryGetAclAuthorityRequest) XXX_Unmarshal ¶
func (m *QueryGetAclAuthorityRequest) XXX_Unmarshal(b []byte) error
type QueryGetAclAuthorityResponse ¶
type QueryGetAclAuthorityResponse struct {
AclAuthority AclAuthority `protobuf:"bytes,1,opt,name=acl_authority,json=aclAuthority,proto3" json:"acl_authority"`
}
func (*QueryGetAclAuthorityResponse) Descriptor ¶
func (*QueryGetAclAuthorityResponse) Descriptor() ([]byte, []int)
func (*QueryGetAclAuthorityResponse) GetAclAuthority ¶
func (m *QueryGetAclAuthorityResponse) GetAclAuthority() AclAuthority
func (*QueryGetAclAuthorityResponse) Marshal ¶
func (m *QueryGetAclAuthorityResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetAclAuthorityResponse) MarshalTo ¶
func (m *QueryGetAclAuthorityResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetAclAuthorityResponse) MarshalToSizedBuffer ¶
func (m *QueryGetAclAuthorityResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetAclAuthorityResponse) ProtoMessage ¶
func (*QueryGetAclAuthorityResponse) ProtoMessage()
func (*QueryGetAclAuthorityResponse) Reset ¶
func (m *QueryGetAclAuthorityResponse) Reset()
func (*QueryGetAclAuthorityResponse) Size ¶
func (m *QueryGetAclAuthorityResponse) Size() (n int)
func (*QueryGetAclAuthorityResponse) String ¶
func (m *QueryGetAclAuthorityResponse) String() string
func (*QueryGetAclAuthorityResponse) Unmarshal ¶
func (m *QueryGetAclAuthorityResponse) Unmarshal(dAtA []byte) error
func (*QueryGetAclAuthorityResponse) XXX_DiscardUnknown ¶
func (m *QueryGetAclAuthorityResponse) XXX_DiscardUnknown()
func (*QueryGetAclAuthorityResponse) XXX_Marshal ¶
func (m *QueryGetAclAuthorityResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetAclAuthorityResponse) XXX_Merge ¶
func (m *QueryGetAclAuthorityResponse) XXX_Merge(src proto.Message)
func (*QueryGetAclAuthorityResponse) XXX_Size ¶
func (m *QueryGetAclAuthorityResponse) XXX_Size() int
func (*QueryGetAclAuthorityResponse) XXX_Unmarshal ¶
func (m *QueryGetAclAuthorityResponse) XXX_Unmarshal(b []byte) error
type QueryGetSuperAdminRequest ¶
type QueryGetSuperAdminRequest struct {
}
func (*QueryGetSuperAdminRequest) Descriptor ¶
func (*QueryGetSuperAdminRequest) Descriptor() ([]byte, []int)
func (*QueryGetSuperAdminRequest) Marshal ¶
func (m *QueryGetSuperAdminRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetSuperAdminRequest) MarshalTo ¶
func (m *QueryGetSuperAdminRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetSuperAdminRequest) MarshalToSizedBuffer ¶
func (m *QueryGetSuperAdminRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetSuperAdminRequest) ProtoMessage ¶
func (*QueryGetSuperAdminRequest) ProtoMessage()
func (*QueryGetSuperAdminRequest) Reset ¶
func (m *QueryGetSuperAdminRequest) Reset()
func (*QueryGetSuperAdminRequest) Size ¶
func (m *QueryGetSuperAdminRequest) Size() (n int)
func (*QueryGetSuperAdminRequest) String ¶
func (m *QueryGetSuperAdminRequest) String() string
func (*QueryGetSuperAdminRequest) Unmarshal ¶
func (m *QueryGetSuperAdminRequest) Unmarshal(dAtA []byte) error
func (*QueryGetSuperAdminRequest) XXX_DiscardUnknown ¶
func (m *QueryGetSuperAdminRequest) XXX_DiscardUnknown()
func (*QueryGetSuperAdminRequest) XXX_Marshal ¶
func (m *QueryGetSuperAdminRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetSuperAdminRequest) XXX_Merge ¶
func (m *QueryGetSuperAdminRequest) XXX_Merge(src proto.Message)
func (*QueryGetSuperAdminRequest) XXX_Size ¶
func (m *QueryGetSuperAdminRequest) XXX_Size() int
func (*QueryGetSuperAdminRequest) XXX_Unmarshal ¶
func (m *QueryGetSuperAdminRequest) XXX_Unmarshal(b []byte) error
type QueryGetSuperAdminResponse ¶
type QueryGetSuperAdminResponse struct {
SuperAdmin SuperAdmin `protobuf:"bytes,1,opt,name=super_admin,json=superAdmin,proto3" json:"super_admin"`
}
func (*QueryGetSuperAdminResponse) Descriptor ¶
func (*QueryGetSuperAdminResponse) Descriptor() ([]byte, []int)
func (*QueryGetSuperAdminResponse) GetSuperAdmin ¶
func (m *QueryGetSuperAdminResponse) GetSuperAdmin() SuperAdmin
func (*QueryGetSuperAdminResponse) Marshal ¶
func (m *QueryGetSuperAdminResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetSuperAdminResponse) MarshalTo ¶
func (m *QueryGetSuperAdminResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetSuperAdminResponse) MarshalToSizedBuffer ¶
func (m *QueryGetSuperAdminResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetSuperAdminResponse) ProtoMessage ¶
func (*QueryGetSuperAdminResponse) ProtoMessage()
func (*QueryGetSuperAdminResponse) Reset ¶
func (m *QueryGetSuperAdminResponse) Reset()
func (*QueryGetSuperAdminResponse) Size ¶
func (m *QueryGetSuperAdminResponse) Size() (n int)
func (*QueryGetSuperAdminResponse) String ¶
func (m *QueryGetSuperAdminResponse) String() string
func (*QueryGetSuperAdminResponse) Unmarshal ¶
func (m *QueryGetSuperAdminResponse) Unmarshal(dAtA []byte) error
func (*QueryGetSuperAdminResponse) XXX_DiscardUnknown ¶
func (m *QueryGetSuperAdminResponse) XXX_DiscardUnknown()
func (*QueryGetSuperAdminResponse) XXX_Marshal ¶
func (m *QueryGetSuperAdminResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetSuperAdminResponse) XXX_Merge ¶
func (m *QueryGetSuperAdminResponse) XXX_Merge(src proto.Message)
func (*QueryGetSuperAdminResponse) XXX_Size ¶
func (m *QueryGetSuperAdminResponse) XXX_Size() int
func (*QueryGetSuperAdminResponse) XXX_Unmarshal ¶
func (m *QueryGetSuperAdminResponse) XXX_Unmarshal(b []byte) error
type QueryParamsRequest ¶
type QueryParamsRequest struct {
}
QueryParamsRequest is request type for the Query/Params RPC method.
func (*QueryParamsRequest) Descriptor ¶
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
func (*QueryParamsRequest) Marshal ¶
func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryParamsRequest) MarshalTo ¶
func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsRequest) MarshalToSizedBuffer ¶
func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) Reset ¶
func (m *QueryParamsRequest) Reset()
func (*QueryParamsRequest) Size ¶
func (m *QueryParamsRequest) Size() (n int)
func (*QueryParamsRequest) String ¶
func (m *QueryParamsRequest) String() string
func (*QueryParamsRequest) Unmarshal ¶
func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryParamsRequest) XXX_DiscardUnknown ¶
func (m *QueryParamsRequest) XXX_DiscardUnknown()
func (*QueryParamsRequest) XXX_Marshal ¶
func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsRequest) XXX_Merge ¶
func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
func (*QueryParamsRequest) XXX_Size ¶
func (m *QueryParamsRequest) XXX_Size() int
func (*QueryParamsRequest) XXX_Unmarshal ¶
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
type QueryParamsResponse ¶
type QueryParamsResponse struct {
// params holds all the parameters of this module.
Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}
QueryParamsResponse is response type for the Query/Params RPC method.
func (*QueryParamsResponse) Descriptor ¶
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) GetParams ¶
func (m *QueryParamsResponse) GetParams() Params
func (*QueryParamsResponse) Marshal ¶
func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryParamsResponse) MarshalTo ¶
func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) Reset ¶
func (m *QueryParamsResponse) Reset()
func (*QueryParamsResponse) Size ¶
func (m *QueryParamsResponse) Size() (n int)
func (*QueryParamsResponse) String ¶
func (m *QueryParamsResponse) String() string
func (*QueryParamsResponse) Unmarshal ¶
func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryParamsResponse) XXX_DiscardUnknown()
func (*QueryParamsResponse) XXX_Marshal ¶
func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsResponse) XXX_Merge ¶
func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
func (*QueryParamsResponse) XXX_Size ¶
func (m *QueryParamsResponse) XXX_Size() int
func (*QueryParamsResponse) XXX_Unmarshal ¶
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface {
// Parameters queries the parameters of the module.
Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
// Queries a list of AclAuthority items.
AclAuthority(context.Context, *QueryGetAclAuthorityRequest) (*QueryGetAclAuthorityResponse, error)
AclAuthorityAll(context.Context, *QueryAllAclAuthorityRequest) (*QueryAllAclAuthorityResponse, error)
// Queries a list of AclAdmin items.
AclAdmin(context.Context, *QueryGetAclAdminRequest) (*QueryGetAclAdminResponse, error)
AclAdminAll(context.Context, *QueryAllAclAdminRequest) (*QueryAllAclAdminResponse, error)
// Queries a SuperAdmin by index.
SuperAdmin(context.Context, *QueryGetSuperAdminRequest) (*QueryGetSuperAdminResponse, error)
}
QueryServer is the server API for Query service.
type SuperAdmin ¶
type SuperAdmin struct {
Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
}
func (*SuperAdmin) Descriptor ¶
func (*SuperAdmin) Descriptor() ([]byte, []int)
func (*SuperAdmin) GetAdmin ¶
func (m *SuperAdmin) GetAdmin() string
func (*SuperAdmin) Marshal ¶
func (m *SuperAdmin) Marshal() (dAtA []byte, err error)
func (*SuperAdmin) MarshalToSizedBuffer ¶
func (m *SuperAdmin) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SuperAdmin) ProtoMessage ¶
func (*SuperAdmin) ProtoMessage()
func (*SuperAdmin) Reset ¶
func (m *SuperAdmin) Reset()
func (*SuperAdmin) Size ¶
func (m *SuperAdmin) Size() (n int)
func (*SuperAdmin) String ¶
func (m *SuperAdmin) String() string
func (*SuperAdmin) Unmarshal ¶
func (m *SuperAdmin) Unmarshal(dAtA []byte) error
func (*SuperAdmin) XXX_DiscardUnknown ¶
func (m *SuperAdmin) XXX_DiscardUnknown()
func (*SuperAdmin) XXX_Marshal ¶
func (m *SuperAdmin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SuperAdmin) XXX_Merge ¶
func (m *SuperAdmin) XXX_Merge(src proto.Message)
func (*SuperAdmin) XXX_Size ¶
func (m *SuperAdmin) XXX_Size() int
func (*SuperAdmin) XXX_Unmarshal ¶
func (m *SuperAdmin) XXX_Unmarshal(b []byte) error
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct {
}
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) AddAdmin ¶
func (*UnimplementedMsgServer) AddAdmin(ctx context.Context, req *MsgAddAdmin) (*MsgAddAdminResponse, error)
func (*UnimplementedMsgServer) AddAuthority ¶
func (*UnimplementedMsgServer) AddAuthority(ctx context.Context, req *MsgAddAuthority) (*MsgAddAuthorityResponse, error)
func (*UnimplementedMsgServer) DeleteAdmin ¶
func (*UnimplementedMsgServer) DeleteAdmin(ctx context.Context, req *MsgDeleteAdmin) (*MsgDeleteAdminResponse, error)
func (*UnimplementedMsgServer) DeleteAuthority ¶
func (*UnimplementedMsgServer) DeleteAuthority(ctx context.Context, req *MsgDeleteAuthority) (*MsgDeleteAuthorityResponse, error)
func (*UnimplementedMsgServer) Init ¶
func (*UnimplementedMsgServer) Init(ctx context.Context, req *MsgInit) (*MsgInitResponse, error)
func (*UnimplementedMsgServer) UpdateAuthority ¶
func (*UnimplementedMsgServer) UpdateAuthority(ctx context.Context, req *MsgUpdateAuthority) (*MsgUpdateAuthorityResponse, error)
func (*UnimplementedMsgServer) UpdateParams ¶
func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
func (*UnimplementedMsgServer) UpdateSuperAdmin ¶
func (*UnimplementedMsgServer) UpdateSuperAdmin(ctx context.Context, req *MsgUpdateSuperAdmin) (*MsgUpdateSuperAdminResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct {
}
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) AclAdmin ¶
func (*UnimplementedQueryServer) AclAdmin(ctx context.Context, req *QueryGetAclAdminRequest) (*QueryGetAclAdminResponse, error)
func (*UnimplementedQueryServer) AclAdminAll ¶
func (*UnimplementedQueryServer) AclAdminAll(ctx context.Context, req *QueryAllAclAdminRequest) (*QueryAllAclAdminResponse, error)
func (*UnimplementedQueryServer) AclAuthority ¶
func (*UnimplementedQueryServer) AclAuthority(ctx context.Context, req *QueryGetAclAuthorityRequest) (*QueryGetAclAuthorityResponse, error)
func (*UnimplementedQueryServer) AclAuthorityAll ¶
func (*UnimplementedQueryServer) AclAuthorityAll(ctx context.Context, req *QueryAllAclAuthorityRequest) (*QueryAllAclAuthorityResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) SuperAdmin ¶
func (*UnimplementedQueryServer) SuperAdmin(ctx context.Context, req *QueryGetSuperAdminRequest) (*QueryGetSuperAdminResponse, error)
Source Files
¶
- access_definition.pb.go
- acl_admin.go
- acl_admin.pb.go
- acl_authority.go
- acl_authority.pb.go
- codec.go
- errors.go
- events.go
- expected_keepers.go
- genesis.go
- genesis.pb.go
- helpers.go
- key_acl_admin.go
- key_acl_authority.go
- keys.go
- message_add_admin.go
- message_add_authority.go
- message_delete_admin.go
- message_delete_authority.go
- message_init.go
- message_update_authority.go
- message_update_super_admin.go
- msg_update_params.go
- params.go
- params.pb.go
- query.pb.go
- query.pb.gw.go
- super_admin.pb.go
- tx.pb.go
- types.go