Versions in this module Expand all Collapse all v3 v3.0.0 Feb 3, 2022 Changes in this version + const DefaultIndex + const MemStoreKey + const ModuleName + const QuerierRoute + const RouterKey + const StoreKey + const TypeMsgIssueLicenseCredential + const TypeMsgIssueRegistrationCredential + const TypeMsgIssueRegulatorCredential + var ErrAlreadyActive = sdkerrors.Register(ModuleName, 1101, ...) + var ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrNotARegulator = sdkerrors.Register(ModuleName, 1100, "address is not registered as regulator") + var ErrNotRegistered = sdkerrors.Register(ModuleName, 1102, ...) + var ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") + var ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) + var ParamStoreKeyRegulators = []byte("regulators_keys") + func KeyPrefix(p string) []byte + func ParamKeyTable() paramtypes.KeyTable + func RegisterCodec(cdc *codec.LegacyAmino) + func RegisterInterfaces(registry cdctypes.InterfaceRegistry) + func RegisterMsgServer(s grpc1.Server, srv MsgServer) + func RegisterQueryServer(s grpc1.Server, srv QueryServer) + type DidKeeper interface + GetDidDocument func(ctx sdk.Context, key []byte) (didtypes.DidDocument, bool) + SetDidDocument func(ctx sdk.Context, key []byte, didDoc didtypes.DidDocument) + SetDidMetadata func(ctx sdk.Context, key []byte, didMeta didtypes.DidMetadata) + type GenesisState struct + Regulators *Regulators + func DefaultGenesis(addresses ...string) *GenesisState + func (*GenesisState) Descriptor() ([]byte, []int) + func (*GenesisState) ProtoMessage() + func (gs GenesisState) Validate() error + func (m *GenesisState) GetRegulators() *Regulators + 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 (m *GenesisState) Reset() + func (m *GenesisState) Size() (n int) + func (m *GenesisState) String() string + func (m *GenesisState) Unmarshal(dAtA []byte) 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 MsgClient interface + IssueLicenseCredential func(ctx context.Context, in *MsgIssueLicenseCredential, opts ...grpc.CallOption) (*MsgIssueLicenseCredentialResponse, error) + IssueRegistrationCredential func(ctx context.Context, in *MsgIssueRegistrationCredential, ...) (*MsgIssueRegistrationCredentialResponse, error) + IssueRegulatorCredential func(ctx context.Context, in *MsgIssueRegulatorCredential, opts ...grpc.CallOption) (*MsgIssueRegulatorCredentialResponse, error) + func NewMsgClient(cc grpc1.ClientConn) MsgClient + type MsgIssueLicenseCredential struct + Credential *types.VerifiableCredential + Owner string + func NewMsgIssueLicenseCredential(credential vctypes.VerifiableCredential, signerAccount string) *MsgIssueLicenseCredential + func (*MsgIssueLicenseCredential) Descriptor() ([]byte, []int) + func (*MsgIssueLicenseCredential) ProtoMessage() + func (m *MsgIssueLicenseCredential) GetSignBytes() []byte + func (m *MsgIssueLicenseCredential) GetSigners() []sdk.AccAddress + func (m *MsgIssueLicenseCredential) Marshal() (dAtA []byte, err error) + func (m *MsgIssueLicenseCredential) MarshalTo(dAtA []byte) (int, error) + func (m *MsgIssueLicenseCredential) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgIssueLicenseCredential) Reset() + func (m *MsgIssueLicenseCredential) Route() string + func (m *MsgIssueLicenseCredential) Size() (n int) + func (m *MsgIssueLicenseCredential) String() string + func (m *MsgIssueLicenseCredential) Type() string + func (m *MsgIssueLicenseCredential) Unmarshal(dAtA []byte) error + func (m *MsgIssueLicenseCredential) ValidateBasic() error + func (m *MsgIssueLicenseCredential) XXX_DiscardUnknown() + func (m *MsgIssueLicenseCredential) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgIssueLicenseCredential) XXX_Merge(src proto.Message) + func (m *MsgIssueLicenseCredential) XXX_Size() int + func (m *MsgIssueLicenseCredential) XXX_Unmarshal(b []byte) error + type MsgIssueLicenseCredentialResponse struct + func (*MsgIssueLicenseCredentialResponse) Descriptor() ([]byte, []int) + func (*MsgIssueLicenseCredentialResponse) ProtoMessage() + func (m *MsgIssueLicenseCredentialResponse) Marshal() (dAtA []byte, err error) + func (m *MsgIssueLicenseCredentialResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgIssueLicenseCredentialResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgIssueLicenseCredentialResponse) Reset() + func (m *MsgIssueLicenseCredentialResponse) Size() (n int) + func (m *MsgIssueLicenseCredentialResponse) String() string + func (m *MsgIssueLicenseCredentialResponse) Unmarshal(dAtA []byte) error + func (m *MsgIssueLicenseCredentialResponse) XXX_DiscardUnknown() + func (m *MsgIssueLicenseCredentialResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgIssueLicenseCredentialResponse) XXX_Merge(src proto.Message) + func (m *MsgIssueLicenseCredentialResponse) XXX_Size() int + func (m *MsgIssueLicenseCredentialResponse) XXX_Unmarshal(b []byte) error + type MsgIssueRegistrationCredential struct + Credential *types.VerifiableCredential + Owner string + func NewMsgIssueRegistrationCredential(credential vctypes.VerifiableCredential, signerAccount string) *MsgIssueRegistrationCredential + func (*MsgIssueRegistrationCredential) Descriptor() ([]byte, []int) + func (*MsgIssueRegistrationCredential) ProtoMessage() + func (m *MsgIssueRegistrationCredential) GetSignBytes() []byte + func (m *MsgIssueRegistrationCredential) GetSigners() []sdk.AccAddress + func (m *MsgIssueRegistrationCredential) Marshal() (dAtA []byte, err error) + func (m *MsgIssueRegistrationCredential) MarshalTo(dAtA []byte) (int, error) + func (m *MsgIssueRegistrationCredential) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgIssueRegistrationCredential) Reset() + func (m *MsgIssueRegistrationCredential) Route() string + func (m *MsgIssueRegistrationCredential) Size() (n int) + func (m *MsgIssueRegistrationCredential) String() string + func (m *MsgIssueRegistrationCredential) Type() string + func (m *MsgIssueRegistrationCredential) Unmarshal(dAtA []byte) error + func (m *MsgIssueRegistrationCredential) ValidateBasic() error + func (m *MsgIssueRegistrationCredential) XXX_DiscardUnknown() + func (m *MsgIssueRegistrationCredential) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgIssueRegistrationCredential) XXX_Merge(src proto.Message) + func (m *MsgIssueRegistrationCredential) XXX_Size() int + func (m *MsgIssueRegistrationCredential) XXX_Unmarshal(b []byte) error + type MsgIssueRegistrationCredentialResponse struct + func (*MsgIssueRegistrationCredentialResponse) Descriptor() ([]byte, []int) + func (*MsgIssueRegistrationCredentialResponse) ProtoMessage() + func (m *MsgIssueRegistrationCredentialResponse) Marshal() (dAtA []byte, err error) + func (m *MsgIssueRegistrationCredentialResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgIssueRegistrationCredentialResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgIssueRegistrationCredentialResponse) Reset() + func (m *MsgIssueRegistrationCredentialResponse) Size() (n int) + func (m *MsgIssueRegistrationCredentialResponse) String() string + func (m *MsgIssueRegistrationCredentialResponse) Unmarshal(dAtA []byte) error + func (m *MsgIssueRegistrationCredentialResponse) XXX_DiscardUnknown() + func (m *MsgIssueRegistrationCredentialResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgIssueRegistrationCredentialResponse) XXX_Merge(src proto.Message) + func (m *MsgIssueRegistrationCredentialResponse) XXX_Size() int + func (m *MsgIssueRegistrationCredentialResponse) XXX_Unmarshal(b []byte) error + type MsgIssueRegulatorCredential struct + Credential *types.VerifiableCredential + Owner string + func NewMsgIssueRegulatorCredential(credential vctypes.VerifiableCredential, signerAccount string) *MsgIssueRegulatorCredential + func (*MsgIssueRegulatorCredential) Descriptor() ([]byte, []int) + func (*MsgIssueRegulatorCredential) ProtoMessage() + func (m *MsgIssueRegulatorCredential) GetSignBytes() []byte + func (m *MsgIssueRegulatorCredential) GetSigners() []sdk.AccAddress + func (m *MsgIssueRegulatorCredential) Marshal() (dAtA []byte, err error) + func (m *MsgIssueRegulatorCredential) MarshalTo(dAtA []byte) (int, error) + func (m *MsgIssueRegulatorCredential) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgIssueRegulatorCredential) Reset() + func (m *MsgIssueRegulatorCredential) Route() string + func (m *MsgIssueRegulatorCredential) Size() (n int) + func (m *MsgIssueRegulatorCredential) String() string + func (m *MsgIssueRegulatorCredential) Type() string + func (m *MsgIssueRegulatorCredential) Unmarshal(dAtA []byte) error + func (m *MsgIssueRegulatorCredential) ValidateBasic() error + func (m *MsgIssueRegulatorCredential) XXX_DiscardUnknown() + func (m *MsgIssueRegulatorCredential) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgIssueRegulatorCredential) XXX_Merge(src proto.Message) + func (m *MsgIssueRegulatorCredential) XXX_Size() int + func (m *MsgIssueRegulatorCredential) XXX_Unmarshal(b []byte) error + type MsgIssueRegulatorCredentialResponse struct + func (*MsgIssueRegulatorCredentialResponse) Descriptor() ([]byte, []int) + func (*MsgIssueRegulatorCredentialResponse) ProtoMessage() + func (m *MsgIssueRegulatorCredentialResponse) Marshal() (dAtA []byte, err error) + func (m *MsgIssueRegulatorCredentialResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgIssueRegulatorCredentialResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgIssueRegulatorCredentialResponse) Reset() + func (m *MsgIssueRegulatorCredentialResponse) Size() (n int) + func (m *MsgIssueRegulatorCredentialResponse) String() string + func (m *MsgIssueRegulatorCredentialResponse) Unmarshal(dAtA []byte) error + func (m *MsgIssueRegulatorCredentialResponse) XXX_DiscardUnknown() + func (m *MsgIssueRegulatorCredentialResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgIssueRegulatorCredentialResponse) XXX_Merge(src proto.Message) + func (m *MsgIssueRegulatorCredentialResponse) XXX_Size() int + func (m *MsgIssueRegulatorCredentialResponse) XXX_Unmarshal(b []byte) error + type MsgServer interface + IssueLicenseCredential func(context.Context, *MsgIssueLicenseCredential) (*MsgIssueLicenseCredentialResponse, error) + IssueRegistrationCredential func(context.Context, *MsgIssueRegistrationCredential) (*MsgIssueRegistrationCredentialResponse, error) + IssueRegulatorCredential func(context.Context, *MsgIssueRegulatorCredential) (*MsgIssueRegulatorCredentialResponse, error) + type Params struct + Regulators Regulators + func DefaultParams() Params + func NewParams(m Regulators) Params + type QueryClient interface + func NewQueryClient(cc grpc1.ClientConn) QueryClient + type QueryServer interface + type Regulators struct + Addresses []string + Dids map[string]string + func DefaultRegulators() Regulators + func NewRegulators(addresses ...string) Regulators + func (*Regulators) Descriptor() ([]byte, []int) + func (*Regulators) ProtoMessage() + func (m *Regulators) GetAddresses() []string + func (m *Regulators) GetDids() map[string]string + func (m *Regulators) Marshal() (dAtA []byte, err error) + func (m *Regulators) MarshalTo(dAtA []byte) (int, error) + func (m *Regulators) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Regulators) Reset() + func (m *Regulators) Size() (n int) + func (m *Regulators) String() string + func (m *Regulators) Unmarshal(dAtA []byte) error + func (m *Regulators) XXX_DiscardUnknown() + func (m *Regulators) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Regulators) XXX_Merge(src proto.Message) + func (m *Regulators) XXX_Size() int + func (m *Regulators) XXX_Unmarshal(b []byte) error + func (m Regulators) Equal(dp2 Regulators) bool + type UnimplementedMsgServer struct + func (*UnimplementedMsgServer) IssueLicenseCredential(ctx context.Context, req *MsgIssueLicenseCredential) (*MsgIssueLicenseCredentialResponse, error) + func (*UnimplementedMsgServer) IssueRegistrationCredential(ctx context.Context, req *MsgIssueRegistrationCredential) (*MsgIssueRegistrationCredentialResponse, error) + func (*UnimplementedMsgServer) IssueRegulatorCredential(ctx context.Context, req *MsgIssueRegulatorCredential) (*MsgIssueRegulatorCredentialResponse, error) + type UnimplementedQueryServer struct + type VcKeeper interface + GetVerifiableCredentialWithType func(ctx sdk.Context, subjectDID, vcType string) []vctypes.VerifiableCredential + SetVerifiableCredential func(ctx sdk.Context, key []byte, vc vctypes.VerifiableCredential) error Other modules containing this package github.com/allinbits/cosmos-cash/v2