Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func DidChainNamespaceValidation(didDoc *DidDocument, validChainNamespace string) error
- func GetElementsFromDidUrl(didUrl string) (string, string)
- func GetMethodSpecificIdAndType(didId string) (string, string, error)
- func GetUniqueElements(list []string) []string
- 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 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 SplitDidUrl(didUrl string) (string, string)
- type AccountKeeper
- type BankKeeper
- type BlockchainId
- type ClientSpecType
- type CredentialSchemaDocument
- func (*CredentialSchemaDocument) Descriptor() ([]byte, []int)
- func (m *CredentialSchemaDocument) GetAuthor() string
- func (m *CredentialSchemaDocument) GetAuthored() string
- func (m *CredentialSchemaDocument) GetContext() []string
- func (m *CredentialSchemaDocument) GetId() string
- func (m *CredentialSchemaDocument) GetModelVersion() string
- func (m *CredentialSchemaDocument) GetName() string
- func (m *CredentialSchemaDocument) GetSchema() *CredentialSchemaProperty
- func (msg *CredentialSchemaDocument) GetSignBytes() []byte
- func (m *CredentialSchemaDocument) GetType() string
- func (m *CredentialSchemaDocument) Marshal() (dAtA []byte, err error)
- func (m *CredentialSchemaDocument) MarshalTo(dAtA []byte) (int, error)
- func (m *CredentialSchemaDocument) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CredentialSchemaDocument) ProtoMessage()
- func (m *CredentialSchemaDocument) Reset()
- func (m *CredentialSchemaDocument) Size() (n int)
- func (m *CredentialSchemaDocument) String() string
- func (m *CredentialSchemaDocument) Unmarshal(dAtA []byte) error
- func (m *CredentialSchemaDocument) XXX_DiscardUnknown()
- func (m *CredentialSchemaDocument) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CredentialSchemaDocument) XXX_Merge(src proto.Message)
- func (m *CredentialSchemaDocument) XXX_Size() int
- func (m *CredentialSchemaDocument) XXX_Unmarshal(b []byte) error
- type CredentialSchemaProperty
- func (*CredentialSchemaProperty) Descriptor() ([]byte, []int)
- func (m *CredentialSchemaProperty) GetAdditionalProperties() bool
- func (m *CredentialSchemaProperty) GetDescription() string
- func (m *CredentialSchemaProperty) GetProperties() string
- func (m *CredentialSchemaProperty) GetRequired() []string
- func (m *CredentialSchemaProperty) GetSchema() string
- func (m *CredentialSchemaProperty) GetType() string
- func (m *CredentialSchemaProperty) Marshal() (dAtA []byte, err error)
- func (m *CredentialSchemaProperty) MarshalTo(dAtA []byte) (int, error)
- func (m *CredentialSchemaProperty) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CredentialSchemaProperty) ProtoMessage()
- func (m *CredentialSchemaProperty) Reset()
- func (m *CredentialSchemaProperty) Size() (n int)
- func (m *CredentialSchemaProperty) String() string
- func (m *CredentialSchemaProperty) Unmarshal(dAtA []byte) error
- func (m *CredentialSchemaProperty) XXX_DiscardUnknown()
- func (m *CredentialSchemaProperty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CredentialSchemaProperty) XXX_Merge(src proto.Message)
- func (m *CredentialSchemaProperty) XXX_Size() int
- func (m *CredentialSchemaProperty) XXX_Unmarshal(b []byte) error
- type CredentialSchemaState
- func (*CredentialSchemaState) Descriptor() ([]byte, []int)
- func (m *CredentialSchemaState) GetCredentialSchemaDocument() *CredentialSchemaDocument
- func (m *CredentialSchemaState) GetCredentialSchemaProof() *DocumentProof
- func (m *CredentialSchemaState) Marshal() (dAtA []byte, err error)
- func (m *CredentialSchemaState) MarshalTo(dAtA []byte) (int, error)
- func (m *CredentialSchemaState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CredentialSchemaState) ProtoMessage()
- func (m *CredentialSchemaState) Reset()
- func (m *CredentialSchemaState) Size() (n int)
- func (m *CredentialSchemaState) String() string
- func (m *CredentialSchemaState) Unmarshal(dAtA []byte) error
- func (m *CredentialSchemaState) XXX_DiscardUnknown()
- func (m *CredentialSchemaState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CredentialSchemaState) XXX_Merge(src proto.Message)
- func (m *CredentialSchemaState) XXX_Size() int
- func (m *CredentialSchemaState) XXX_Unmarshal(b []byte) error
- type CredentialStatusDocument
- func (*CredentialStatusDocument) Descriptor() ([]byte, []int)
- func (m *CredentialStatusDocument) GetContext() []string
- func (m *CredentialStatusDocument) GetCredentialMerkleRootHash() string
- func (m *CredentialStatusDocument) GetId() string
- func (m *CredentialStatusDocument) GetIssuanceDate() string
- func (m *CredentialStatusDocument) GetIssuer() string
- func (m *CredentialStatusDocument) GetRemarks() string
- func (m *CredentialStatusDocument) GetRevoked() bool
- func (msg *CredentialStatusDocument) GetSignBytes() []byte
- func (m *CredentialStatusDocument) GetSuspended() bool
- func (m *CredentialStatusDocument) Marshal() (dAtA []byte, err error)
- func (m *CredentialStatusDocument) MarshalTo(dAtA []byte) (int, error)
- func (m *CredentialStatusDocument) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CredentialStatusDocument) ProtoMessage()
- func (m *CredentialStatusDocument) Reset()
- func (m *CredentialStatusDocument) Size() (n int)
- func (m *CredentialStatusDocument) String() string
- func (m *CredentialStatusDocument) Unmarshal(dAtA []byte) error
- func (m *CredentialStatusDocument) XXX_DiscardUnknown()
- func (m *CredentialStatusDocument) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CredentialStatusDocument) XXX_Merge(src proto.Message)
- func (m *CredentialStatusDocument) XXX_Size() int
- func (m *CredentialStatusDocument) XXX_Unmarshal(b []byte) error
- type CredentialStatusState
- func (*CredentialStatusState) Descriptor() ([]byte, []int)
- func (m *CredentialStatusState) GetCredentialStatusDocument() *CredentialStatusDocument
- func (m *CredentialStatusState) GetCredentialStatusProof() *DocumentProof
- func (m *CredentialStatusState) Marshal() (dAtA []byte, err error)
- func (m *CredentialStatusState) MarshalTo(dAtA []byte) (int, error)
- func (m *CredentialStatusState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CredentialStatusState) ProtoMessage()
- func (m *CredentialStatusState) Reset()
- func (m *CredentialStatusState) Size() (n int)
- func (m *CredentialStatusState) String() string
- func (m *CredentialStatusState) Unmarshal(dAtA []byte) error
- func (m *CredentialStatusState) XXX_DiscardUnknown()
- func (m *CredentialStatusState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CredentialStatusState) XXX_Merge(src proto.Message)
- func (m *CredentialStatusState) XXX_Size() int
- func (m *CredentialStatusState) XXX_Unmarshal(b []byte) error
- type DidAliasConfig
- type DidDocument
- func (*DidDocument) Descriptor() ([]byte, []int)
- func (m *DidDocument) GetAlsoKnownAs() []string
- func (m *DidDocument) GetAssertionMethod() []string
- func (m *DidDocument) GetAuthentication() []string
- func (m *DidDocument) GetCapabilityDelegation() []string
- func (m *DidDocument) GetCapabilityInvocation() []string
- func (m *DidDocument) GetContext() []string
- func (m *DidDocument) GetController() []string
- func (m *DidDocument) GetId() string
- func (m *DidDocument) GetKeyAgreement() []string
- func (m *DidDocument) GetService() []*Service
- func (msg *DidDocument) GetSignBytes() []byte
- func (m *DidDocument) GetVerificationMethod() []*VerificationMethod
- func (m *DidDocument) Marshal() (dAtA []byte, err error)
- func (m *DidDocument) MarshalTo(dAtA []byte) (int, error)
- func (m *DidDocument) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DidDocument) ProtoMessage()
- func (m *DidDocument) Reset()
- func (m *DidDocument) Size() (n int)
- func (m *DidDocument) String() string
- func (m *DidDocument) Unmarshal(dAtA []byte) error
- func (didDoc *DidDocument) ValidateDidDocument() error
- func (m *DidDocument) XXX_DiscardUnknown()
- func (m *DidDocument) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DidDocument) XXX_Merge(src proto.Message)
- func (m *DidDocument) XXX_Size() int
- func (m *DidDocument) XXX_Unmarshal(b []byte) error
- type DidDocumentMetadata
- func (*DidDocumentMetadata) Descriptor() ([]byte, []int)
- func (m *DidDocumentMetadata) GetCreated() string
- func (m *DidDocumentMetadata) GetDeactivated() bool
- func (m *DidDocumentMetadata) GetUpdated() string
- func (m *DidDocumentMetadata) GetVersionId() string
- func (m *DidDocumentMetadata) Marshal() (dAtA []byte, err error)
- func (m *DidDocumentMetadata) MarshalTo(dAtA []byte) (int, error)
- func (m *DidDocumentMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DidDocumentMetadata) ProtoMessage()
- func (m *DidDocumentMetadata) Reset()
- func (m *DidDocumentMetadata) Size() (n int)
- func (m *DidDocumentMetadata) String() string
- func (m *DidDocumentMetadata) Unmarshal(dAtA []byte) error
- func (m *DidDocumentMetadata) XXX_DiscardUnknown()
- func (m *DidDocumentMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DidDocumentMetadata) XXX_Merge(src proto.Message)
- func (m *DidDocumentMetadata) XXX_Size() int
- func (m *DidDocumentMetadata) XXX_Unmarshal(b []byte) error
- type DidDocumentState
- func (*DidDocumentState) Descriptor() ([]byte, []int)
- func (m *DidDocumentState) GetDidDocument() *DidDocument
- func (m *DidDocumentState) GetDidDocumentMetadata() *DidDocumentMetadata
- func (m *DidDocumentState) Marshal() (dAtA []byte, err error)
- func (m *DidDocumentState) MarshalTo(dAtA []byte) (int, error)
- func (m *DidDocumentState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DidDocumentState) ProtoMessage()
- func (m *DidDocumentState) Reset()
- func (m *DidDocumentState) Size() (n int)
- func (m *DidDocumentState) String() string
- func (m *DidDocumentState) Unmarshal(dAtA []byte) error
- func (m *DidDocumentState) XXX_DiscardUnknown()
- func (m *DidDocumentState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DidDocumentState) XXX_Merge(src proto.Message)
- func (m *DidDocumentState) XXX_Size() int
- func (m *DidDocumentState) XXX_Unmarshal(b []byte) error
- type DocumentProof
- func (*DocumentProof) Descriptor() ([]byte, []int)
- func (m *DocumentProof) GetClientSpecType() ClientSpecType
- func (m *DocumentProof) GetCreated() string
- func (m *DocumentProof) GetProofPurpose() string
- func (m *DocumentProof) GetProofValue() string
- func (m *DocumentProof) GetType() string
- func (m *DocumentProof) GetVerificationMethod() string
- func (m *DocumentProof) Marshal() (dAtA []byte, err error)
- func (m *DocumentProof) MarshalTo(dAtA []byte) (int, error)
- func (m *DocumentProof) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DocumentProof) ProtoMessage()
- func (m *DocumentProof) Reset()
- func (m *DocumentProof) Size() (n int)
- func (m *DocumentProof) String() string
- func (m *DocumentProof) Unmarshal(dAtA []byte) error
- func (proof *DocumentProof) Validate() error
- func (m *DocumentProof) XXX_DiscardUnknown()
- func (m *DocumentProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DocumentProof) XXX_Merge(src proto.Message)
- func (m *DocumentProof) XXX_Size() int
- func (m *DocumentProof) XXX_Unmarshal(b []byte) error
- type ExtendedVerificationMethod
- type Fees
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetChainNamespace() string
- func (m *GenesisState) GetParams() *Params
- 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 (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 Msg
- type MsgClient
- type MsgDeactivateDID
- func (*MsgDeactivateDID) Descriptor() ([]byte, []int)
- func (m *MsgDeactivateDID) GetDidDocumentId() string
- func (m *MsgDeactivateDID) GetDidDocumentProofs() []*DocumentProof
- func (msg *MsgDeactivateDID) GetSignBytes() []byte
- func (msg *MsgDeactivateDID) GetSigners() []sdk.AccAddress
- func (m *MsgDeactivateDID) GetTxAuthor() string
- func (m *MsgDeactivateDID) GetVersionId() string
- func (m *MsgDeactivateDID) Marshal() (dAtA []byte, err error)
- func (m *MsgDeactivateDID) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeactivateDID) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeactivateDID) ProtoMessage()
- func (m *MsgDeactivateDID) Reset()
- func (msg *MsgDeactivateDID) Route() string
- func (m *MsgDeactivateDID) Size() (n int)
- func (m *MsgDeactivateDID) String() string
- func (msg *MsgDeactivateDID) Type() string
- func (m *MsgDeactivateDID) Unmarshal(dAtA []byte) error
- func (msg *MsgDeactivateDID) ValidateBasic() error
- func (m *MsgDeactivateDID) XXX_DiscardUnknown()
- func (m *MsgDeactivateDID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeactivateDID) XXX_Merge(src proto.Message)
- func (m *MsgDeactivateDID) XXX_Size() int
- func (m *MsgDeactivateDID) XXX_Unmarshal(b []byte) error
- type MsgDeactivateDIDResponse
- func (*MsgDeactivateDIDResponse) Descriptor() ([]byte, []int)
- func (m *MsgDeactivateDIDResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDeactivateDIDResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeactivateDIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeactivateDIDResponse) ProtoMessage()
- func (m *MsgDeactivateDIDResponse) Reset()
- func (m *MsgDeactivateDIDResponse) Size() (n int)
- func (m *MsgDeactivateDIDResponse) String() string
- func (m *MsgDeactivateDIDResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDeactivateDIDResponse) XXX_DiscardUnknown()
- func (m *MsgDeactivateDIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeactivateDIDResponse) XXX_Merge(src proto.Message)
- func (m *MsgDeactivateDIDResponse) XXX_Size() int
- func (m *MsgDeactivateDIDResponse) XXX_Unmarshal(b []byte) error
- type MsgRegisterCredentialSchema
- func (*MsgRegisterCredentialSchema) Descriptor() ([]byte, []int)
- func (m *MsgRegisterCredentialSchema) GetCredentialSchemaDocument() *CredentialSchemaDocument
- func (m *MsgRegisterCredentialSchema) GetCredentialSchemaProof() *DocumentProof
- func (msg *MsgRegisterCredentialSchema) GetSignBytes() []byte
- func (msg *MsgRegisterCredentialSchema) GetSigners() []sdk.AccAddress
- func (m *MsgRegisterCredentialSchema) GetTxAuthor() string
- func (m *MsgRegisterCredentialSchema) Marshal() (dAtA []byte, err error)
- func (m *MsgRegisterCredentialSchema) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRegisterCredentialSchema) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRegisterCredentialSchema) ProtoMessage()
- func (m *MsgRegisterCredentialSchema) Reset()
- func (msg *MsgRegisterCredentialSchema) Route() string
- func (m *MsgRegisterCredentialSchema) Size() (n int)
- func (m *MsgRegisterCredentialSchema) String() string
- func (msg *MsgRegisterCredentialSchema) Type() string
- func (m *MsgRegisterCredentialSchema) Unmarshal(dAtA []byte) error
- func (msg *MsgRegisterCredentialSchema) ValidateBasic() error
- func (m *MsgRegisterCredentialSchema) XXX_DiscardUnknown()
- func (m *MsgRegisterCredentialSchema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRegisterCredentialSchema) XXX_Merge(src proto.Message)
- func (m *MsgRegisterCredentialSchema) XXX_Size() int
- func (m *MsgRegisterCredentialSchema) XXX_Unmarshal(b []byte) error
- type MsgRegisterCredentialSchemaResponse
- func (*MsgRegisterCredentialSchemaResponse) Descriptor() ([]byte, []int)
- func (m *MsgRegisterCredentialSchemaResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRegisterCredentialSchemaResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRegisterCredentialSchemaResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRegisterCredentialSchemaResponse) ProtoMessage()
- func (m *MsgRegisterCredentialSchemaResponse) Reset()
- func (m *MsgRegisterCredentialSchemaResponse) Size() (n int)
- func (m *MsgRegisterCredentialSchemaResponse) String() string
- func (m *MsgRegisterCredentialSchemaResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRegisterCredentialSchemaResponse) XXX_DiscardUnknown()
- func (m *MsgRegisterCredentialSchemaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRegisterCredentialSchemaResponse) XXX_Merge(src proto.Message)
- func (m *MsgRegisterCredentialSchemaResponse) XXX_Size() int
- func (m *MsgRegisterCredentialSchemaResponse) XXX_Unmarshal(b []byte) error
- type MsgRegisterCredentialStatus
- func (*MsgRegisterCredentialStatus) Descriptor() ([]byte, []int)
- func (m *MsgRegisterCredentialStatus) GetCredentialStatusDocument() *CredentialStatusDocument
- func (m *MsgRegisterCredentialStatus) GetCredentialStatusProof() *DocumentProof
- func (msg *MsgRegisterCredentialStatus) GetSignBytes() []byte
- func (msg *MsgRegisterCredentialStatus) GetSigners() []sdk.AccAddress
- func (m *MsgRegisterCredentialStatus) GetTxAuthor() string
- func (m *MsgRegisterCredentialStatus) Marshal() (dAtA []byte, err error)
- func (m *MsgRegisterCredentialStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRegisterCredentialStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRegisterCredentialStatus) ProtoMessage()
- func (m *MsgRegisterCredentialStatus) Reset()
- func (msg *MsgRegisterCredentialStatus) Route() string
- func (m *MsgRegisterCredentialStatus) Size() (n int)
- func (m *MsgRegisterCredentialStatus) String() string
- func (msg *MsgRegisterCredentialStatus) Type() string
- func (m *MsgRegisterCredentialStatus) Unmarshal(dAtA []byte) error
- func (msg *MsgRegisterCredentialStatus) ValidateBasic() error
- func (m *MsgRegisterCredentialStatus) XXX_DiscardUnknown()
- func (m *MsgRegisterCredentialStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRegisterCredentialStatus) XXX_Merge(src proto.Message)
- func (m *MsgRegisterCredentialStatus) XXX_Size() int
- func (m *MsgRegisterCredentialStatus) XXX_Unmarshal(b []byte) error
- type MsgRegisterCredentialStatusResponse
- func (*MsgRegisterCredentialStatusResponse) Descriptor() ([]byte, []int)
- func (m *MsgRegisterCredentialStatusResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRegisterCredentialStatusResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRegisterCredentialStatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRegisterCredentialStatusResponse) ProtoMessage()
- func (m *MsgRegisterCredentialStatusResponse) Reset()
- func (m *MsgRegisterCredentialStatusResponse) Size() (n int)
- func (m *MsgRegisterCredentialStatusResponse) String() string
- func (m *MsgRegisterCredentialStatusResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRegisterCredentialStatusResponse) XXX_DiscardUnknown()
- func (m *MsgRegisterCredentialStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRegisterCredentialStatusResponse) XXX_Merge(src proto.Message)
- func (m *MsgRegisterCredentialStatusResponse) XXX_Size() int
- func (m *MsgRegisterCredentialStatusResponse) XXX_Unmarshal(b []byte) error
- type MsgRegisterDID
- func (*MsgRegisterDID) Descriptor() ([]byte, []int)
- func (m *MsgRegisterDID) GetDidDocument() *DidDocument
- func (m *MsgRegisterDID) GetDidDocumentProofs() []*DocumentProof
- func (msg *MsgRegisterDID) GetSignBytes() []byte
- func (msg *MsgRegisterDID) GetSigners() []sdk.AccAddress
- func (m *MsgRegisterDID) GetTxAuthor() string
- func (m *MsgRegisterDID) Marshal() (dAtA []byte, err error)
- func (m *MsgRegisterDID) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRegisterDID) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRegisterDID) ProtoMessage()
- func (m *MsgRegisterDID) Reset()
- func (msg *MsgRegisterDID) Route() string
- func (m *MsgRegisterDID) Size() (n int)
- func (m *MsgRegisterDID) String() string
- func (msg *MsgRegisterDID) Type() string
- func (m *MsgRegisterDID) Unmarshal(dAtA []byte) error
- func (msg *MsgRegisterDID) ValidateBasic() error
- func (m *MsgRegisterDID) XXX_DiscardUnknown()
- func (m *MsgRegisterDID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRegisterDID) XXX_Merge(src proto.Message)
- func (m *MsgRegisterDID) XXX_Size() int
- func (m *MsgRegisterDID) XXX_Unmarshal(b []byte) error
- type MsgRegisterDIDResponse
- func (*MsgRegisterDIDResponse) Descriptor() ([]byte, []int)
- func (m *MsgRegisterDIDResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRegisterDIDResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRegisterDIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRegisterDIDResponse) ProtoMessage()
- func (m *MsgRegisterDIDResponse) Reset()
- func (m *MsgRegisterDIDResponse) Size() (n int)
- func (m *MsgRegisterDIDResponse) String() string
- func (m *MsgRegisterDIDResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRegisterDIDResponse) XXX_DiscardUnknown()
- func (m *MsgRegisterDIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRegisterDIDResponse) XXX_Merge(src proto.Message)
- func (m *MsgRegisterDIDResponse) XXX_Size() int
- func (m *MsgRegisterDIDResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgUpdateCredentialSchema
- func (*MsgUpdateCredentialSchema) Descriptor() ([]byte, []int)
- func (m *MsgUpdateCredentialSchema) GetCredentialSchemaDocument() *CredentialSchemaDocument
- func (m *MsgUpdateCredentialSchema) GetCredentialSchemaProof() *DocumentProof
- func (msg *MsgUpdateCredentialSchema) GetSignBytes() []byte
- func (msg *MsgUpdateCredentialSchema) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateCredentialSchema) GetTxAuthor() string
- func (m *MsgUpdateCredentialSchema) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateCredentialSchema) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateCredentialSchema) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateCredentialSchema) ProtoMessage()
- func (m *MsgUpdateCredentialSchema) Reset()
- func (msg *MsgUpdateCredentialSchema) Route() string
- func (m *MsgUpdateCredentialSchema) Size() (n int)
- func (m *MsgUpdateCredentialSchema) String() string
- func (msg *MsgUpdateCredentialSchema) Type() string
- func (m *MsgUpdateCredentialSchema) Unmarshal(dAtA []byte) error
- func (msg *MsgUpdateCredentialSchema) ValidateBasic() error
- func (m *MsgUpdateCredentialSchema) XXX_DiscardUnknown()
- func (m *MsgUpdateCredentialSchema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateCredentialSchema) XXX_Merge(src proto.Message)
- func (m *MsgUpdateCredentialSchema) XXX_Size() int
- func (m *MsgUpdateCredentialSchema) XXX_Unmarshal(b []byte) error
- type MsgUpdateCredentialSchemaResponse
- func (*MsgUpdateCredentialSchemaResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateCredentialSchemaResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateCredentialSchemaResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateCredentialSchemaResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateCredentialSchemaResponse) ProtoMessage()
- func (m *MsgUpdateCredentialSchemaResponse) Reset()
- func (m *MsgUpdateCredentialSchemaResponse) Size() (n int)
- func (m *MsgUpdateCredentialSchemaResponse) String() string
- func (m *MsgUpdateCredentialSchemaResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateCredentialSchemaResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateCredentialSchemaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateCredentialSchemaResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateCredentialSchemaResponse) XXX_Size() int
- func (m *MsgUpdateCredentialSchemaResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateCredentialStatus
- func (*MsgUpdateCredentialStatus) Descriptor() ([]byte, []int)
- func (m *MsgUpdateCredentialStatus) GetCredentialStatusDocument() *CredentialStatusDocument
- func (m *MsgUpdateCredentialStatus) GetCredentialStatusProof() *DocumentProof
- func (msg *MsgUpdateCredentialStatus) GetSignBytes() []byte
- func (msg *MsgUpdateCredentialStatus) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateCredentialStatus) GetTxAuthor() string
- func (m *MsgUpdateCredentialStatus) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateCredentialStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateCredentialStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateCredentialStatus) ProtoMessage()
- func (m *MsgUpdateCredentialStatus) Reset()
- func (msg *MsgUpdateCredentialStatus) Route() string
- func (m *MsgUpdateCredentialStatus) Size() (n int)
- func (m *MsgUpdateCredentialStatus) String() string
- func (msg *MsgUpdateCredentialStatus) Type() string
- func (m *MsgUpdateCredentialStatus) Unmarshal(dAtA []byte) error
- func (msg *MsgUpdateCredentialStatus) ValidateBasic() error
- func (m *MsgUpdateCredentialStatus) XXX_DiscardUnknown()
- func (m *MsgUpdateCredentialStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateCredentialStatus) XXX_Merge(src proto.Message)
- func (m *MsgUpdateCredentialStatus) XXX_Size() int
- func (m *MsgUpdateCredentialStatus) XXX_Unmarshal(b []byte) error
- type MsgUpdateCredentialStatusResponse
- func (*MsgUpdateCredentialStatusResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateCredentialStatusResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateCredentialStatusResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateCredentialStatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateCredentialStatusResponse) ProtoMessage()
- func (m *MsgUpdateCredentialStatusResponse) Reset()
- func (m *MsgUpdateCredentialStatusResponse) Size() (n int)
- func (m *MsgUpdateCredentialStatusResponse) String() string
- func (m *MsgUpdateCredentialStatusResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateCredentialStatusResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateCredentialStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateCredentialStatusResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateCredentialStatusResponse) XXX_Size() int
- func (m *MsgUpdateCredentialStatusResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateDID
- func (*MsgUpdateDID) Descriptor() ([]byte, []int)
- func (m *MsgUpdateDID) GetDidDocument() *DidDocument
- func (m *MsgUpdateDID) GetDidDocumentProofs() []*DocumentProof
- func (msg *MsgUpdateDID) GetSignBytes() []byte
- func (msg *MsgUpdateDID) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateDID) GetTxAuthor() string
- func (m *MsgUpdateDID) GetVersionId() string
- func (m *MsgUpdateDID) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateDID) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateDID) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateDID) ProtoMessage()
- func (m *MsgUpdateDID) Reset()
- func (msg *MsgUpdateDID) Route() string
- func (m *MsgUpdateDID) Size() (n int)
- func (m *MsgUpdateDID) String() string
- func (msg *MsgUpdateDID) Type() string
- func (m *MsgUpdateDID) Unmarshal(dAtA []byte) error
- func (msg *MsgUpdateDID) ValidateBasic() error
- func (m *MsgUpdateDID) XXX_DiscardUnknown()
- func (m *MsgUpdateDID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateDID) XXX_Merge(src proto.Message)
- func (m *MsgUpdateDID) XXX_Size() int
- func (m *MsgUpdateDID) XXX_Unmarshal(b []byte) error
- type MsgUpdateDIDResponse
- func (*MsgUpdateDIDResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateDIDResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateDIDResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateDIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateDIDResponse) ProtoMessage()
- func (m *MsgUpdateDIDResponse) Reset()
- func (m *MsgUpdateDIDResponse) Size() (n int)
- func (m *MsgUpdateDIDResponse) String() string
- func (m *MsgUpdateDIDResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateDIDResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateDIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateDIDResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateDIDResponse) XXX_Size() int
- func (m *MsgUpdateDIDResponse) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetDeactivateDidFee() *types.Coin
- func (m *Params) GetRegisterCredentialSchemaFee() *types.Coin
- func (m *Params) GetRegisterCredentialStatusFee() *types.Coin
- func (m *Params) GetRegisterDidFee() *types.Coin
- func (m *Params) GetUpdateCredentialSchemaFee() *types.Coin
- func (m *Params) GetUpdateCredentialStatusFee() *types.Coin
- func (m *Params) GetUpdateDidFee() *types.Coin
- 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 (*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 (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 QueryClient
- type QueryCredentialSchemaRequest
- func (*QueryCredentialSchemaRequest) Descriptor() ([]byte, []int)
- func (m *QueryCredentialSchemaRequest) GetSchemaId() string
- func (m *QueryCredentialSchemaRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryCredentialSchemaRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCredentialSchemaRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCredentialSchemaRequest) ProtoMessage()
- func (m *QueryCredentialSchemaRequest) Reset()
- func (m *QueryCredentialSchemaRequest) Size() (n int)
- func (m *QueryCredentialSchemaRequest) String() string
- func (m *QueryCredentialSchemaRequest) Unmarshal(dAtA []byte) error
- func (m *QueryCredentialSchemaRequest) XXX_DiscardUnknown()
- func (m *QueryCredentialSchemaRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCredentialSchemaRequest) XXX_Merge(src proto.Message)
- func (m *QueryCredentialSchemaRequest) XXX_Size() int
- func (m *QueryCredentialSchemaRequest) XXX_Unmarshal(b []byte) error
- type QueryCredentialSchemaResponse
- func (*QueryCredentialSchemaResponse) Descriptor() ([]byte, []int)
- func (m *QueryCredentialSchemaResponse) GetCredentialSchemas() []*CredentialSchemaState
- func (m *QueryCredentialSchemaResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryCredentialSchemaResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCredentialSchemaResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCredentialSchemaResponse) ProtoMessage()
- func (m *QueryCredentialSchemaResponse) Reset()
- func (m *QueryCredentialSchemaResponse) Size() (n int)
- func (m *QueryCredentialSchemaResponse) String() string
- func (m *QueryCredentialSchemaResponse) Unmarshal(dAtA []byte) error
- func (m *QueryCredentialSchemaResponse) XXX_DiscardUnknown()
- func (m *QueryCredentialSchemaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCredentialSchemaResponse) XXX_Merge(src proto.Message)
- func (m *QueryCredentialSchemaResponse) XXX_Size() int
- func (m *QueryCredentialSchemaResponse) XXX_Unmarshal(b []byte) error
- type QueryCredentialSchemasRequest
- func (*QueryCredentialSchemasRequest) Descriptor() ([]byte, []int)
- func (m *QueryCredentialSchemasRequest) GetPagination() *query.PageRequest
- func (m *QueryCredentialSchemasRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryCredentialSchemasRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCredentialSchemasRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCredentialSchemasRequest) ProtoMessage()
- func (m *QueryCredentialSchemasRequest) Reset()
- func (m *QueryCredentialSchemasRequest) Size() (n int)
- func (m *QueryCredentialSchemasRequest) String() string
- func (m *QueryCredentialSchemasRequest) Unmarshal(dAtA []byte) error
- func (m *QueryCredentialSchemasRequest) XXX_DiscardUnknown()
- func (m *QueryCredentialSchemasRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCredentialSchemasRequest) XXX_Merge(src proto.Message)
- func (m *QueryCredentialSchemasRequest) XXX_Size() int
- func (m *QueryCredentialSchemasRequest) XXX_Unmarshal(b []byte) error
- type QueryCredentialSchemasResponse
- func (*QueryCredentialSchemasResponse) Descriptor() ([]byte, []int)
- func (m *QueryCredentialSchemasResponse) GetCount() uint64
- func (m *QueryCredentialSchemasResponse) GetCredentialSchemas() []*CredentialSchemaState
- func (m *QueryCredentialSchemasResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryCredentialSchemasResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCredentialSchemasResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCredentialSchemasResponse) ProtoMessage()
- func (m *QueryCredentialSchemasResponse) Reset()
- func (m *QueryCredentialSchemasResponse) Size() (n int)
- func (m *QueryCredentialSchemasResponse) String() string
- func (m *QueryCredentialSchemasResponse) Unmarshal(dAtA []byte) error
- func (m *QueryCredentialSchemasResponse) XXX_DiscardUnknown()
- func (m *QueryCredentialSchemasResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCredentialSchemasResponse) XXX_Merge(src proto.Message)
- func (m *QueryCredentialSchemasResponse) XXX_Size() int
- func (m *QueryCredentialSchemasResponse) XXX_Unmarshal(b []byte) error
- type QueryCredentialStatusRequest
- func (*QueryCredentialStatusRequest) Descriptor() ([]byte, []int)
- func (m *QueryCredentialStatusRequest) GetCredId() string
- func (m *QueryCredentialStatusRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryCredentialStatusRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCredentialStatusRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCredentialStatusRequest) ProtoMessage()
- func (m *QueryCredentialStatusRequest) Reset()
- func (m *QueryCredentialStatusRequest) Size() (n int)
- func (m *QueryCredentialStatusRequest) String() string
- func (m *QueryCredentialStatusRequest) Unmarshal(dAtA []byte) error
- func (m *QueryCredentialStatusRequest) XXX_DiscardUnknown()
- func (m *QueryCredentialStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCredentialStatusRequest) XXX_Merge(src proto.Message)
- func (m *QueryCredentialStatusRequest) XXX_Size() int
- func (m *QueryCredentialStatusRequest) XXX_Unmarshal(b []byte) error
- type QueryCredentialStatusResponse
- func (*QueryCredentialStatusResponse) Descriptor() ([]byte, []int)
- func (m *QueryCredentialStatusResponse) GetCredentialStatus() *CredentialStatusState
- func (m *QueryCredentialStatusResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryCredentialStatusResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCredentialStatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCredentialStatusResponse) ProtoMessage()
- func (m *QueryCredentialStatusResponse) Reset()
- func (m *QueryCredentialStatusResponse) Size() (n int)
- func (m *QueryCredentialStatusResponse) String() string
- func (m *QueryCredentialStatusResponse) Unmarshal(dAtA []byte) error
- func (m *QueryCredentialStatusResponse) XXX_DiscardUnknown()
- func (m *QueryCredentialStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCredentialStatusResponse) XXX_Merge(src proto.Message)
- func (m *QueryCredentialStatusResponse) XXX_Size() int
- func (m *QueryCredentialStatusResponse) XXX_Unmarshal(b []byte) error
- type QueryCredentialStatusesRequest
- func (*QueryCredentialStatusesRequest) Descriptor() ([]byte, []int)
- func (m *QueryCredentialStatusesRequest) GetPagination() *query.PageRequest
- func (m *QueryCredentialStatusesRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryCredentialStatusesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCredentialStatusesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCredentialStatusesRequest) ProtoMessage()
- func (m *QueryCredentialStatusesRequest) Reset()
- func (m *QueryCredentialStatusesRequest) Size() (n int)
- func (m *QueryCredentialStatusesRequest) String() string
- func (m *QueryCredentialStatusesRequest) Unmarshal(dAtA []byte) error
- func (m *QueryCredentialStatusesRequest) XXX_DiscardUnknown()
- func (m *QueryCredentialStatusesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCredentialStatusesRequest) XXX_Merge(src proto.Message)
- func (m *QueryCredentialStatusesRequest) XXX_Size() int
- func (m *QueryCredentialStatusesRequest) XXX_Unmarshal(b []byte) error
- type QueryCredentialStatusesResponse
- func (*QueryCredentialStatusesResponse) Descriptor() ([]byte, []int)
- func (m *QueryCredentialStatusesResponse) GetCount() uint64
- func (m *QueryCredentialStatusesResponse) GetCredentialStatuses() []*CredentialStatusState
- func (m *QueryCredentialStatusesResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryCredentialStatusesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCredentialStatusesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCredentialStatusesResponse) ProtoMessage()
- func (m *QueryCredentialStatusesResponse) Reset()
- func (m *QueryCredentialStatusesResponse) Size() (n int)
- func (m *QueryCredentialStatusesResponse) String() string
- func (m *QueryCredentialStatusesResponse) Unmarshal(dAtA []byte) error
- func (m *QueryCredentialStatusesResponse) XXX_DiscardUnknown()
- func (m *QueryCredentialStatusesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCredentialStatusesResponse) XXX_Merge(src proto.Message)
- func (m *QueryCredentialStatusesResponse) XXX_Size() int
- func (m *QueryCredentialStatusesResponse) XXX_Unmarshal(b []byte) error
- type QueryDidDocumentRequest
- func (*QueryDidDocumentRequest) Descriptor() ([]byte, []int)
- func (m *QueryDidDocumentRequest) GetDidId() string
- func (m *QueryDidDocumentRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDidDocumentRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDidDocumentRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDidDocumentRequest) ProtoMessage()
- func (m *QueryDidDocumentRequest) Reset()
- func (m *QueryDidDocumentRequest) Size() (n int)
- func (m *QueryDidDocumentRequest) String() string
- func (m *QueryDidDocumentRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDidDocumentRequest) XXX_DiscardUnknown()
- func (m *QueryDidDocumentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDidDocumentRequest) XXX_Merge(src proto.Message)
- func (m *QueryDidDocumentRequest) XXX_Size() int
- func (m *QueryDidDocumentRequest) XXX_Unmarshal(b []byte) error
- type QueryDidDocumentResponse
- func (*QueryDidDocumentResponse) Descriptor() ([]byte, []int)
- func (m *QueryDidDocumentResponse) GetDidDocument() *DidDocument
- func (m *QueryDidDocumentResponse) GetDidDocumentMetadata() *DidDocumentMetadata
- func (m *QueryDidDocumentResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDidDocumentResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDidDocumentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDidDocumentResponse) ProtoMessage()
- func (m *QueryDidDocumentResponse) Reset()
- func (m *QueryDidDocumentResponse) Size() (n int)
- func (m *QueryDidDocumentResponse) String() string
- func (m *QueryDidDocumentResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDidDocumentResponse) XXX_DiscardUnknown()
- func (m *QueryDidDocumentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDidDocumentResponse) XXX_Merge(src proto.Message)
- func (m *QueryDidDocumentResponse) XXX_Size() int
- func (m *QueryDidDocumentResponse) XXX_Unmarshal(b []byte) error
- type QueryDidDocumentsRequest
- func (*QueryDidDocumentsRequest) Descriptor() ([]byte, []int)
- func (m *QueryDidDocumentsRequest) GetPagination() *query.PageRequest
- func (m *QueryDidDocumentsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDidDocumentsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDidDocumentsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDidDocumentsRequest) ProtoMessage()
- func (m *QueryDidDocumentsRequest) Reset()
- func (m *QueryDidDocumentsRequest) Size() (n int)
- func (m *QueryDidDocumentsRequest) String() string
- func (m *QueryDidDocumentsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDidDocumentsRequest) XXX_DiscardUnknown()
- func (m *QueryDidDocumentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDidDocumentsRequest) XXX_Merge(src proto.Message)
- func (m *QueryDidDocumentsRequest) XXX_Size() int
- func (m *QueryDidDocumentsRequest) XXX_Unmarshal(b []byte) error
- type QueryDidDocumentsResponse
- func (*QueryDidDocumentsResponse) Descriptor() ([]byte, []int)
- func (m *QueryDidDocumentsResponse) GetCount() uint64
- func (m *QueryDidDocumentsResponse) GetDidDocuments() []*DidDocumentState
- func (m *QueryDidDocumentsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDidDocumentsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDidDocumentsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDidDocumentsResponse) ProtoMessage()
- func (m *QueryDidDocumentsResponse) Reset()
- func (m *QueryDidDocumentsResponse) Size() (n int)
- func (m *QueryDidDocumentsResponse) String() string
- func (m *QueryDidDocumentsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDidDocumentsResponse) XXX_DiscardUnknown()
- func (m *QueryDidDocumentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDidDocumentsResponse) XXX_Merge(src proto.Message)
- func (m *QueryDidDocumentsResponse) XXX_Size() int
- func (m *QueryDidDocumentsResponse) XXX_Unmarshal(b []byte) error
- type QuerySSIFeeRequest
- func (*QuerySSIFeeRequest) Descriptor() ([]byte, []int)
- func (m *QuerySSIFeeRequest) Marshal() (dAtA []byte, err error)
- func (m *QuerySSIFeeRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySSIFeeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySSIFeeRequest) ProtoMessage()
- func (m *QuerySSIFeeRequest) Reset()
- func (m *QuerySSIFeeRequest) Size() (n int)
- func (m *QuerySSIFeeRequest) String() string
- func (m *QuerySSIFeeRequest) Unmarshal(dAtA []byte) error
- func (m *QuerySSIFeeRequest) XXX_DiscardUnknown()
- func (m *QuerySSIFeeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySSIFeeRequest) XXX_Merge(src proto.Message)
- func (m *QuerySSIFeeRequest) XXX_Size() int
- func (m *QuerySSIFeeRequest) XXX_Unmarshal(b []byte) error
- type QuerySSIFeeResponse
- func (*QuerySSIFeeResponse) Descriptor() ([]byte, []int)
- func (m *QuerySSIFeeResponse) GetDeactivateDidFee() *types.Coin
- func (m *QuerySSIFeeResponse) GetRegisterCredentialSchemaFee() *types.Coin
- func (m *QuerySSIFeeResponse) GetRegisterCredentialStatusFee() *types.Coin
- func (m *QuerySSIFeeResponse) GetRegisterDidFee() *types.Coin
- func (m *QuerySSIFeeResponse) GetUpdateCredentialSchemaFee() *types.Coin
- func (m *QuerySSIFeeResponse) GetUpdateCredentialStatusFee() *types.Coin
- func (m *QuerySSIFeeResponse) GetUpdateDidFee() *types.Coin
- func (m *QuerySSIFeeResponse) Marshal() (dAtA []byte, err error)
- func (m *QuerySSIFeeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySSIFeeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySSIFeeResponse) ProtoMessage()
- func (m *QuerySSIFeeResponse) Reset()
- func (m *QuerySSIFeeResponse) Size() (n int)
- func (m *QuerySSIFeeResponse) String() string
- func (m *QuerySSIFeeResponse) Unmarshal(dAtA []byte) error
- func (m *QuerySSIFeeResponse) XXX_DiscardUnknown()
- func (m *QuerySSIFeeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySSIFeeResponse) XXX_Merge(src proto.Message)
- func (m *QuerySSIFeeResponse) XXX_Size() int
- func (m *QuerySSIFeeResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type Service
- func (*Service) Descriptor() ([]byte, []int)
- func (m *Service) GetId() string
- func (m *Service) GetServiceEndpoint() string
- func (m *Service) GetType() string
- func (m *Service) Marshal() (dAtA []byte, err error)
- func (m *Service) MarshalTo(dAtA []byte) (int, error)
- func (m *Service) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Service) ProtoMessage()
- func (m *Service) Reset()
- func (m *Service) Size() (n int)
- func (m *Service) String() string
- func (m *Service) Unmarshal(dAtA []byte) error
- func (m *Service) XXX_DiscardUnknown()
- func (m *Service) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Service) XXX_Merge(src proto.Message)
- func (m *Service) XXX_Size() int
- func (m *Service) XXX_Unmarshal(b []byte) error
- type SignDoc
- type Signer
- type SsiMsg
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) DeactivateDID(ctx context.Context, req *MsgDeactivateDID) (*MsgDeactivateDIDResponse, error)
- func (*UnimplementedMsgServer) RegisterCredentialSchema(ctx context.Context, req *MsgRegisterCredentialSchema) (*MsgRegisterCredentialSchemaResponse, error)
- func (*UnimplementedMsgServer) RegisterCredentialStatus(ctx context.Context, req *MsgRegisterCredentialStatus) (*MsgRegisterCredentialStatusResponse, error)
- func (*UnimplementedMsgServer) RegisterDID(ctx context.Context, req *MsgRegisterDID) (*MsgRegisterDIDResponse, error)
- func (*UnimplementedMsgServer) UpdateCredentialSchema(ctx context.Context, req *MsgUpdateCredentialSchema) (*MsgUpdateCredentialSchemaResponse, error)
- func (*UnimplementedMsgServer) UpdateCredentialStatus(ctx context.Context, req *MsgUpdateCredentialStatus) (*MsgUpdateCredentialStatusResponse, error)
- func (*UnimplementedMsgServer) UpdateDID(ctx context.Context, req *MsgUpdateDID) (*MsgUpdateDIDResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) CredentialSchemaByID(ctx context.Context, req *QueryCredentialSchemaRequest) (*QueryCredentialSchemaResponse, error)
- func (*UnimplementedQueryServer) CredentialSchemas(ctx context.Context, req *QueryCredentialSchemasRequest) (*QueryCredentialSchemasResponse, error)
- func (*UnimplementedQueryServer) CredentialStatusByID(ctx context.Context, req *QueryCredentialStatusRequest) (*QueryCredentialStatusResponse, error)
- func (*UnimplementedQueryServer) CredentialStatuses(ctx context.Context, req *QueryCredentialStatusesRequest) (*QueryCredentialStatusesResponse, error)
- func (*UnimplementedQueryServer) DidDocumentByID(ctx context.Context, req *QueryDidDocumentRequest) (*QueryDidDocumentResponse, error)
- func (*UnimplementedQueryServer) DidDocuments(ctx context.Context, req *QueryDidDocumentsRequest) (*QueryDidDocumentsResponse, error)
- func (*UnimplementedQueryServer) QuerySSIFee(ctx context.Context, req *QuerySSIFeeRequest) (*QuerySSIFeeResponse, error)
- type Val
- type ValidDid
- type VerificationMethod
- func (*VerificationMethod) Descriptor() ([]byte, []int)
- func (m *VerificationMethod) GetBlockchainAccountId() string
- func (m *VerificationMethod) GetController() string
- func (m *VerificationMethod) GetId() string
- func (m *VerificationMethod) GetPublicKeyMultibase() string
- func (m *VerificationMethod) GetType() string
- func (m *VerificationMethod) Marshal() (dAtA []byte, err error)
- func (m *VerificationMethod) MarshalTo(dAtA []byte) (int, error)
- func (m *VerificationMethod) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*VerificationMethod) ProtoMessage()
- func (m *VerificationMethod) Reset()
- func (m *VerificationMethod) Size() (n int)
- func (m *VerificationMethod) String() string
- func (m *VerificationMethod) Unmarshal(dAtA []byte) error
- func (m *VerificationMethod) XXX_DiscardUnknown()
- func (m *VerificationMethod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VerificationMethod) XXX_Merge(src proto.Message)
- func (m *VerificationMethod) XXX_Size() int
- func (m *VerificationMethod) XXX_Unmarshal(b []byte) error
Constants ¶
const ( // ModuleName defines the module name ModuleName = "ssi" // StoreKey defines the primary module store key StoreKey = ModuleName // RouterKey is the message route for slashing RouterKey = ModuleName // QuerierRoute defines the module's query routing key QuerierRoute = ModuleName // MemStoreKey defines the in-memory store key MemStoreKey = "mem_ssi" )
const ( DidKey = "Did-value-" DidCountKey = "Did-count-" ChainNamespaceKey = "Did-namespace-" SchemaKey = "Schema-value-" SchemaCountKey = "Schema-count-" CredKey = "Cred-value-" CredCountKey = "Cred-count-" BlockchainAccountIdStoreKey = "blockchainaddrstorekey" )
const ADR036ClientSpec string = "cosmos-ADR036"
const BJJSignature2021 = "BJJSignature2021"
const BabyJubJubKey2021 = "BabyJubJubKey2021"
const BbsBlsSignature2020 = "BbsBlsSignature2020"
const Bls12381G2Key2020 = "Bls12381G2Key2020"
const CosmosCAIP10Prefix string = "cosmos" // Cosmos Based Chains
const DidMethod = "hid"
const DocumentIdentifierDid = "did"
Did Document ID
const EcdsaSecp256k1RecoveryMethod2020 = "EcdsaSecp256k1RecoveryMethod2020"
const EcdsaSecp256k1RecoverySignature2020 = "EcdsaSecp256k1RecoverySignature2020"
const EcdsaSecp256k1Signature2019 = "EcdsaSecp256k1Signature2019"
const EcdsaSecp256k1VerificationKey2019 = "EcdsaSecp256k1VerificationKey2019"
const Ed25519Signature2020 = "Ed25519Signature2020"
Supported Proof Types
const Ed25519VerificationKey2020 = "Ed25519VerificationKey2020"
Supported Verification Method Types
const EthereumCAIP10Prefix string = "eip155" // Ethereum Based Chains
CAIP-10 prefixes
const MSIBlockchainAccountId = "MSIBlockchainAccountId"
Supported method-specific-id Formats
const MSINonBlockchainAccountId = "MSINonBlockchainAccountId"
const PersonalSignClientSpec string = "eth-personalSign"
const TypeMsgCreateDID = "register_did"
MsgCreateDID Type Methods
const TypeMsgDeactivateDID = "deactivate_did"
const TypeMsgRegisterCredentialSchema = "register_credential_schema"
const TypeMsgRegisterCredentialStatus = "register_credential_status"
const TypeMsgUpdateCredentialSchema = "update_credential_schema"
const TypeMsgUpdateCredentialStatus = "update_credential_status"
const TypeMsgUpdateDID = "update_did"
const X25519KeyAgreementKey2020 = "X25519KeyAgreementKey2020"
const X25519KeyAgreementKeyEIP5630 = "X25519KeyAgreementKeyEIP5630" // TODO: Temporary spec name for KeyAgreement type from Metamask
Variables ¶
var ( Amino = codec.NewLegacyAmino() ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) )
var ( ErrInvalidLengthCredentialSchema = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowCredentialSchema = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupCredentialSchema = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthCredentialStatus = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowCredentialStatus = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupCredentialStatus = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthDid = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowDid = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupDid = fmt.Errorf("proto: unexpected end of group") )
var ( ErrDidDocExists = errors.Register(ModuleName, 101, "didDoc already exists") ErrInvalidDidDoc = errors.Register(ModuleName, 102, "didDoc is invalid") ErrVerificationMethodNotFound = errors.Register(ModuleName, 103, "verification method not found") ErrInvalidSignature = errors.Register(ModuleName, 104, "invalid signature detected") ErrDidDocNotFound = errors.Register(ModuleName, 105, "didDoc not found") ErrSchemaExists = errors.Register(ModuleName, 106, "schema already exists") ErrInvalidSchemaID = errors.Register(ModuleName, 107, "invalid schema Id") ErrUnexpectedDidVersion = errors.Register(ModuleName, 108, "unexpected DID version") ErrDidDocDeactivated = errors.Register(ModuleName, 109, "didDoc is deactivated") ErrInvalidCredentialStatus = errors.Register(ModuleName, 110, "invalid Credential Status") ErrInvalidDate = errors.Register(ModuleName, 111, "invalid Date") ErrInvalidCredentialField = errors.Register(ModuleName, 112, "invalid Credential Field") ErrInvalidCredentialMerkleRootHash = errors.Register(ModuleName, 113, "invalid Credential merkle root hash") ErrInvalidClientSpecType = errors.Register(ModuleName, 114, "invalid Client Spec Type") ErrCredentialStatusNotFound = errors.Register(ModuleName, 115, "credential status document not found") ErrCredentialStatusExists = errors.Register(ModuleName, 116, "credential status document already exists") ErrInvalidCredentialStatusID = errors.Register(ModuleName, 117, "invalid credential status Id") ErrInvalidProof = errors.Register(ModuleName, 118, "invalid document proof") ErrInvalidCredentialSchema = errors.Register(ModuleName, 119, "invalid credential schema") )
x/ssi 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 ( ParamStoreKeyRegisterDidFee = []byte("RegisterDidFee") ParamStoreKeyUpdateDidFee = []byte("UpdateDidFee") ParamStoreKeyDeactivateDidFee = []byte("DeactivateDidFee") ParamStoreKeyRegisterCredentialSchemaFee = []byte("RegisterCredentialSchemaFee") ParamStoreKeyUpdateCredentialSchemaFee = []byte("UpdateCredentialSchemaFee") ParamStoreKeyRegisterCredentialStatusFee = []byte("RegisterCredentialStatusFee") ParamStoreKeyUpdateCredentialStatusFee = []byte("UpdateCredentialStatusFee") )
var ( DefaultRegisterDIDFee = sdk.NewInt64Coin("uhid", 4000) DefaultUpdateDIDFee = sdk.NewInt64Coin("uhid", 1000) DefaultDeactivateDIDFee = sdk.NewInt64Coin("uhid", 1000) DefaultRegisterCredentialSchemaFee = sdk.NewInt64Coin("uhid", 2000) DefaultUpdateCredentialSchemaFee = sdk.NewInt64Coin("uhid", 2000) DefaultRegisterCredentialStatusFee = sdk.NewInt64Coin("uhid", 2000) DefaultUpdateCredentialStatusFee = sdk.NewInt64Coin("uhid", 2000) )
var ( ErrInvalidLengthProof = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowProof = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupProof = 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 ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var CAIP10PrefixForEcdsaSecp256k1RecoveryMethod2020 []string = []string{ EthereumCAIP10Prefix, }
Supported CAIP-10 prefixes
var CAIP10PrefixForEcdsaSecp256k1VerificationKey2019 []string = []string{ CosmosCAIP10Prefix, }
var ClientSpecType_name = map[int32]string{
0: "CLIENT_SPEC_TYPE_NONE",
1: "CLIENT_SPEC_TYPE_COSMOS_ADR036",
2: "CLIENT_SPEC_TYPE_ETH_PERSONAL_SIGN",
}
var ClientSpecType_value = map[string]int32{
"CLIENT_SPEC_TYPE_NONE": 0,
"CLIENT_SPEC_TYPE_COSMOS_ADR036": 1,
"CLIENT_SPEC_TYPE_ETH_PERSONAL_SIGN": 2,
}
var CosmosCAIP10ChainIdBech32PrefixMap = map[string]string{
"cosmoshub-4": "cosmos",
"osmosis-1": "osmo",
"akashnet-2": "akash",
"stargaze-1": "stars",
"core-1": "persistence",
"crypto-org-chain-mainnet-1": "cro",
"theta-testnet-001": "cosmos",
"osmo-test-4": "osmo",
"elgafar-1": "stars",
"test-core-1": "persistence",
"prajna": "hid",
}
Map between supported cosmos chain-id and their respective blockhchain address prefix
var SupportedCAIP10CosmosChainIds = []string{
"cosmoshub-4",
"osmosis-1",
"akashnet-2",
"stargaze-1",
"core-1",
"crypto-org-chain-mainnet-1",
"theta-testnet-001",
"osmo-test-4",
"elgafar-1",
"test-core-1",
"prajna",
}
var SupportedCAIP10EthereumChainIds = []string{
"1",
"137",
"56",
"3",
"4",
"5",
"80001",
"97",
}
var SupportedCAIP10PrefixChainIdsMap = map[string][]string{ EthereumCAIP10Prefix: SupportedCAIP10EthereumChainIds, CosmosCAIP10Prefix: SupportedCAIP10CosmosChainIds, }
Map between support CAIP-10 prefix and list of chain-ids
var SupportedCAIP10Prefixes = []string{ EthereumCAIP10Prefix, CosmosCAIP10Prefix, }
Supported CAIP-10 Prefixes
var SupportedClientSpecs []string = []string{ ADR036ClientSpec, PersonalSignClientSpec, }
Supported Client Specs
var SupportedServiceTypes = []string{
"LinkedDomains",
}
Supported Service Types
var VerificationKeySignatureMap = map[string]string{ Ed25519VerificationKey2020: Ed25519Signature2020, EcdsaSecp256k1VerificationKey2019: EcdsaSecp256k1Signature2019, EcdsaSecp256k1RecoveryMethod2020: EcdsaSecp256k1RecoverySignature2020, X25519KeyAgreementKey2020: "", X25519KeyAgreementKeyEIP5630: "", BabyJubJubKey2021: BJJSignature2021, Bls12381G2Key2020: BbsBlsSignature2020, }
Mapping between Verification Key and its corresponding Signature
Functions ¶
func DidChainNamespaceValidation ¶ added in v0.1.8
func DidChainNamespaceValidation(didDoc *DidDocument, validChainNamespace string) error
DidDocNamespaceValidation validates the namespace in Did Document
func GetElementsFromDidUrl ¶ added in v0.1.7
GetDidFromDidUrl returns didId from didURL. TODO: need to handle query and path
func GetMethodSpecificIdAndType ¶ added in v0.1.8
GetMethodSpecificIdAndType extracts the method-specific-id from Document Id and which of following types it belongs to:
1. CAIP-10 Blockchain Account ID
2. String consisting of Alphanumeric, dot (.) and hyphen (-) characters only
func GetUniqueElements ¶ added in v0.1.7
GetUniqueElements returns a list with unique elements
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
func RegisterCodec ¶
func RegisterCodec(cdc *codec.LegacyAmino)
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 SplitDidUrl ¶ added in v0.1.7
splitDidUrl returns the elements of a DID URL. It returns the element in order: didId, fragment
Types ¶
type AccountKeeper ¶
AccountKeeper defines the expected account keeper used for simulations (noalias)
type BankKeeper ¶
BankKeeper defines the expected interface needed to retrieve account balances.
type BlockchainId ¶ added in v0.1.7
CAIP-10 Blockchain Account Id
func NewBlockchainId ¶ added in v0.1.7
func NewBlockchainId(blockchainAccountId string) (*BlockchainId, error)
func (*BlockchainId) ValidateSupportChainId ¶ added in v0.1.7
func (bid *BlockchainId) ValidateSupportChainId() error
func (*BlockchainId) ValidateSupportedBech32Prefix ¶ added in v0.1.7
func (bid *BlockchainId) ValidateSupportedBech32Prefix() error
func (*BlockchainId) ValidateSupportedCAIP10Prefix ¶ added in v0.1.7
func (bid *BlockchainId) ValidateSupportedCAIP10Prefix() error
type ClientSpecType ¶ added in v0.2.0
type ClientSpecType int32
const ( CLIENT_SPEC_TYPE_NONE ClientSpecType = 0 CLIENT_SPEC_TYPE_COSMOS_ADR036 ClientSpecType = 1 CLIENT_SPEC_TYPE_ETH_PERSONAL_SIGN ClientSpecType = 2 )
func (ClientSpecType) EnumDescriptor ¶ added in v0.2.0
func (ClientSpecType) EnumDescriptor() ([]byte, []int)
func (ClientSpecType) String ¶ added in v0.2.0
func (x ClientSpecType) String() string
type CredentialSchemaDocument ¶ added in v0.2.0
type CredentialSchemaDocument struct { Context []string `protobuf:"bytes,1,rep,name=context,json=@context,proto3" json:"@context"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` ModelVersion string `protobuf:"bytes,3,opt,name=modelVersion,proto3" json:"modelVersion,omitempty"` Id string `protobuf:"bytes,4,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` Author string `protobuf:"bytes,6,opt,name=author,proto3" json:"author,omitempty"` Authored string `protobuf:"bytes,7,opt,name=authored,proto3" json:"authored,omitempty"` Schema *CredentialSchemaProperty `protobuf:"bytes,8,opt,name=schema,proto3" json:"schema,omitempty"` }
func (*CredentialSchemaDocument) Descriptor ¶ added in v0.2.0
func (*CredentialSchemaDocument) Descriptor() ([]byte, []int)
func (*CredentialSchemaDocument) GetAuthor ¶ added in v0.2.0
func (m *CredentialSchemaDocument) GetAuthor() string
func (*CredentialSchemaDocument) GetAuthored ¶ added in v0.2.0
func (m *CredentialSchemaDocument) GetAuthored() string
func (*CredentialSchemaDocument) GetContext ¶ added in v0.2.0
func (m *CredentialSchemaDocument) GetContext() []string
func (*CredentialSchemaDocument) GetId ¶ added in v0.2.0
func (m *CredentialSchemaDocument) GetId() string
func (*CredentialSchemaDocument) GetModelVersion ¶ added in v0.2.0
func (m *CredentialSchemaDocument) GetModelVersion() string
func (*CredentialSchemaDocument) GetName ¶ added in v0.2.0
func (m *CredentialSchemaDocument) GetName() string
func (*CredentialSchemaDocument) GetSchema ¶ added in v0.2.0
func (m *CredentialSchemaDocument) GetSchema() *CredentialSchemaProperty
func (*CredentialSchemaDocument) GetSignBytes ¶ added in v0.2.0
func (msg *CredentialSchemaDocument) GetSignBytes() []byte
func (*CredentialSchemaDocument) GetType ¶ added in v0.2.0
func (m *CredentialSchemaDocument) GetType() string
func (*CredentialSchemaDocument) Marshal ¶ added in v0.2.0
func (m *CredentialSchemaDocument) Marshal() (dAtA []byte, err error)
func (*CredentialSchemaDocument) MarshalTo ¶ added in v0.2.0
func (m *CredentialSchemaDocument) MarshalTo(dAtA []byte) (int, error)
func (*CredentialSchemaDocument) MarshalToSizedBuffer ¶ added in v0.2.0
func (m *CredentialSchemaDocument) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CredentialSchemaDocument) ProtoMessage ¶ added in v0.2.0
func (*CredentialSchemaDocument) ProtoMessage()
func (*CredentialSchemaDocument) Reset ¶ added in v0.2.0
func (m *CredentialSchemaDocument) Reset()
func (*CredentialSchemaDocument) Size ¶ added in v0.2.0
func (m *CredentialSchemaDocument) Size() (n int)
func (*CredentialSchemaDocument) String ¶ added in v0.2.0
func (m *CredentialSchemaDocument) String() string
func (*CredentialSchemaDocument) Unmarshal ¶ added in v0.2.0
func (m *CredentialSchemaDocument) Unmarshal(dAtA []byte) error
func (*CredentialSchemaDocument) XXX_DiscardUnknown ¶ added in v0.2.0
func (m *CredentialSchemaDocument) XXX_DiscardUnknown()
func (*CredentialSchemaDocument) XXX_Marshal ¶ added in v0.2.0
func (m *CredentialSchemaDocument) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CredentialSchemaDocument) XXX_Merge ¶ added in v0.2.0
func (m *CredentialSchemaDocument) XXX_Merge(src proto.Message)
func (*CredentialSchemaDocument) XXX_Size ¶ added in v0.2.0
func (m *CredentialSchemaDocument) XXX_Size() int
func (*CredentialSchemaDocument) XXX_Unmarshal ¶ added in v0.2.0
func (m *CredentialSchemaDocument) XXX_Unmarshal(b []byte) error
type CredentialSchemaProperty ¶ added in v0.2.0
type CredentialSchemaProperty struct { Schema string `protobuf:"bytes,1,opt,name=schema,proto3" json:"schema,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` Properties string `protobuf:"bytes,4,opt,name=properties,proto3" json:"properties,omitempty"` Required []string `protobuf:"bytes,5,rep,name=required,proto3" json:"required,omitempty"` AdditionalProperties bool `protobuf:"varint,6,opt,name=additionalProperties,proto3" json:"additionalProperties,omitempty"` }
func (*CredentialSchemaProperty) Descriptor ¶ added in v0.2.0
func (*CredentialSchemaProperty) Descriptor() ([]byte, []int)
func (*CredentialSchemaProperty) GetAdditionalProperties ¶ added in v0.2.0
func (m *CredentialSchemaProperty) GetAdditionalProperties() bool
func (*CredentialSchemaProperty) GetDescription ¶ added in v0.2.0
func (m *CredentialSchemaProperty) GetDescription() string
func (*CredentialSchemaProperty) GetProperties ¶ added in v0.2.0
func (m *CredentialSchemaProperty) GetProperties() string
func (*CredentialSchemaProperty) GetRequired ¶ added in v0.2.0
func (m *CredentialSchemaProperty) GetRequired() []string
func (*CredentialSchemaProperty) GetSchema ¶ added in v0.2.0
func (m *CredentialSchemaProperty) GetSchema() string
func (*CredentialSchemaProperty) GetType ¶ added in v0.2.0
func (m *CredentialSchemaProperty) GetType() string
func (*CredentialSchemaProperty) Marshal ¶ added in v0.2.0
func (m *CredentialSchemaProperty) Marshal() (dAtA []byte, err error)
func (*CredentialSchemaProperty) MarshalTo ¶ added in v0.2.0
func (m *CredentialSchemaProperty) MarshalTo(dAtA []byte) (int, error)
func (*CredentialSchemaProperty) MarshalToSizedBuffer ¶ added in v0.2.0
func (m *CredentialSchemaProperty) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CredentialSchemaProperty) ProtoMessage ¶ added in v0.2.0
func (*CredentialSchemaProperty) ProtoMessage()
func (*CredentialSchemaProperty) Reset ¶ added in v0.2.0
func (m *CredentialSchemaProperty) Reset()
func (*CredentialSchemaProperty) Size ¶ added in v0.2.0
func (m *CredentialSchemaProperty) Size() (n int)
func (*CredentialSchemaProperty) String ¶ added in v0.2.0
func (m *CredentialSchemaProperty) String() string
func (*CredentialSchemaProperty) Unmarshal ¶ added in v0.2.0
func (m *CredentialSchemaProperty) Unmarshal(dAtA []byte) error
func (*CredentialSchemaProperty) XXX_DiscardUnknown ¶ added in v0.2.0
func (m *CredentialSchemaProperty) XXX_DiscardUnknown()
func (*CredentialSchemaProperty) XXX_Marshal ¶ added in v0.2.0
func (m *CredentialSchemaProperty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CredentialSchemaProperty) XXX_Merge ¶ added in v0.2.0
func (m *CredentialSchemaProperty) XXX_Merge(src proto.Message)
func (*CredentialSchemaProperty) XXX_Size ¶ added in v0.2.0
func (m *CredentialSchemaProperty) XXX_Size() int
func (*CredentialSchemaProperty) XXX_Unmarshal ¶ added in v0.2.0
func (m *CredentialSchemaProperty) XXX_Unmarshal(b []byte) error
type CredentialSchemaState ¶ added in v0.2.0
type CredentialSchemaState struct { CredentialSchemaDocument *CredentialSchemaDocument `protobuf:"bytes,1,opt,name=credentialSchemaDocument,proto3" json:"credentialSchemaDocument,omitempty"` CredentialSchemaProof *DocumentProof `protobuf:"bytes,2,opt,name=credentialSchemaProof,proto3" json:"credentialSchemaProof,omitempty"` }
func (*CredentialSchemaState) Descriptor ¶ added in v0.2.0
func (*CredentialSchemaState) Descriptor() ([]byte, []int)
func (*CredentialSchemaState) GetCredentialSchemaDocument ¶ added in v0.2.0
func (m *CredentialSchemaState) GetCredentialSchemaDocument() *CredentialSchemaDocument
func (*CredentialSchemaState) GetCredentialSchemaProof ¶ added in v0.2.0
func (m *CredentialSchemaState) GetCredentialSchemaProof() *DocumentProof
func (*CredentialSchemaState) Marshal ¶ added in v0.2.0
func (m *CredentialSchemaState) Marshal() (dAtA []byte, err error)
func (*CredentialSchemaState) MarshalTo ¶ added in v0.2.0
func (m *CredentialSchemaState) MarshalTo(dAtA []byte) (int, error)
func (*CredentialSchemaState) MarshalToSizedBuffer ¶ added in v0.2.0
func (m *CredentialSchemaState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CredentialSchemaState) ProtoMessage ¶ added in v0.2.0
func (*CredentialSchemaState) ProtoMessage()
func (*CredentialSchemaState) Reset ¶ added in v0.2.0
func (m *CredentialSchemaState) Reset()
func (*CredentialSchemaState) Size ¶ added in v0.2.0
func (m *CredentialSchemaState) Size() (n int)
func (*CredentialSchemaState) String ¶ added in v0.2.0
func (m *CredentialSchemaState) String() string
func (*CredentialSchemaState) Unmarshal ¶ added in v0.2.0
func (m *CredentialSchemaState) Unmarshal(dAtA []byte) error
func (*CredentialSchemaState) XXX_DiscardUnknown ¶ added in v0.2.0
func (m *CredentialSchemaState) XXX_DiscardUnknown()
func (*CredentialSchemaState) XXX_Marshal ¶ added in v0.2.0
func (m *CredentialSchemaState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CredentialSchemaState) XXX_Merge ¶ added in v0.2.0
func (m *CredentialSchemaState) XXX_Merge(src proto.Message)
func (*CredentialSchemaState) XXX_Size ¶ added in v0.2.0
func (m *CredentialSchemaState) XXX_Size() int
func (*CredentialSchemaState) XXX_Unmarshal ¶ added in v0.2.0
func (m *CredentialSchemaState) XXX_Unmarshal(b []byte) error
type CredentialStatusDocument ¶ added in v0.2.0
type CredentialStatusDocument struct { Context []string `protobuf:"bytes,1,rep,name=context,json=@context,proto3" json:"@context"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` Revoked bool `protobuf:"varint,3,opt,name=revoked,proto3" json:"revoked,omitempty"` Suspended bool `protobuf:"varint,4,opt,name=suspended,proto3" json:"suspended,omitempty"` Remarks string `protobuf:"bytes,5,opt,name=remarks,proto3" json:"remarks,omitempty"` Issuer string `protobuf:"bytes,6,opt,name=issuer,proto3" json:"issuer,omitempty"` IssuanceDate string `protobuf:"bytes,7,opt,name=issuanceDate,proto3" json:"issuanceDate,omitempty"` CredentialMerkleRootHash string `protobuf:"bytes,8,opt,name=credentialMerkleRootHash,proto3" json:"credentialMerkleRootHash,omitempty"` }
func (*CredentialStatusDocument) Descriptor ¶ added in v0.2.0
func (*CredentialStatusDocument) Descriptor() ([]byte, []int)
func (*CredentialStatusDocument) GetContext ¶ added in v0.2.0
func (m *CredentialStatusDocument) GetContext() []string
func (*CredentialStatusDocument) GetCredentialMerkleRootHash ¶ added in v0.2.0
func (m *CredentialStatusDocument) GetCredentialMerkleRootHash() string
func (*CredentialStatusDocument) GetId ¶ added in v0.2.0
func (m *CredentialStatusDocument) GetId() string
func (*CredentialStatusDocument) GetIssuanceDate ¶ added in v0.2.0
func (m *CredentialStatusDocument) GetIssuanceDate() string
func (*CredentialStatusDocument) GetIssuer ¶ added in v0.2.0
func (m *CredentialStatusDocument) GetIssuer() string
func (*CredentialStatusDocument) GetRemarks ¶ added in v0.2.0
func (m *CredentialStatusDocument) GetRemarks() string
func (*CredentialStatusDocument) GetRevoked ¶ added in v0.2.0
func (m *CredentialStatusDocument) GetRevoked() bool
func (*CredentialStatusDocument) GetSignBytes ¶ added in v0.2.0
func (msg *CredentialStatusDocument) GetSignBytes() []byte
func (*CredentialStatusDocument) GetSuspended ¶ added in v0.2.0
func (m *CredentialStatusDocument) GetSuspended() bool
func (*CredentialStatusDocument) Marshal ¶ added in v0.2.0
func (m *CredentialStatusDocument) Marshal() (dAtA []byte, err error)
func (*CredentialStatusDocument) MarshalTo ¶ added in v0.2.0
func (m *CredentialStatusDocument) MarshalTo(dAtA []byte) (int, error)
func (*CredentialStatusDocument) MarshalToSizedBuffer ¶ added in v0.2.0
func (m *CredentialStatusDocument) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CredentialStatusDocument) ProtoMessage ¶ added in v0.2.0
func (*CredentialStatusDocument) ProtoMessage()
func (*CredentialStatusDocument) Reset ¶ added in v0.2.0
func (m *CredentialStatusDocument) Reset()
func (*CredentialStatusDocument) Size ¶ added in v0.2.0
func (m *CredentialStatusDocument) Size() (n int)
func (*CredentialStatusDocument) String ¶ added in v0.2.0
func (m *CredentialStatusDocument) String() string
func (*CredentialStatusDocument) Unmarshal ¶ added in v0.2.0
func (m *CredentialStatusDocument) Unmarshal(dAtA []byte) error
func (*CredentialStatusDocument) XXX_DiscardUnknown ¶ added in v0.2.0
func (m *CredentialStatusDocument) XXX_DiscardUnknown()
func (*CredentialStatusDocument) XXX_Marshal ¶ added in v0.2.0
func (m *CredentialStatusDocument) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CredentialStatusDocument) XXX_Merge ¶ added in v0.2.0
func (m *CredentialStatusDocument) XXX_Merge(src proto.Message)
func (*CredentialStatusDocument) XXX_Size ¶ added in v0.2.0
func (m *CredentialStatusDocument) XXX_Size() int
func (*CredentialStatusDocument) XXX_Unmarshal ¶ added in v0.2.0
func (m *CredentialStatusDocument) XXX_Unmarshal(b []byte) error
type CredentialStatusState ¶ added in v0.2.0
type CredentialStatusState struct { CredentialStatusDocument *CredentialStatusDocument `protobuf:"bytes,1,opt,name=credentialStatusDocument,proto3" json:"credentialStatusDocument,omitempty"` CredentialStatusProof *DocumentProof `protobuf:"bytes,2,opt,name=credentialStatusProof,proto3" json:"credentialStatusProof,omitempty"` }
func (*CredentialStatusState) Descriptor ¶ added in v0.2.0
func (*CredentialStatusState) Descriptor() ([]byte, []int)
func (*CredentialStatusState) GetCredentialStatusDocument ¶ added in v0.2.0
func (m *CredentialStatusState) GetCredentialStatusDocument() *CredentialStatusDocument
func (*CredentialStatusState) GetCredentialStatusProof ¶ added in v0.2.0
func (m *CredentialStatusState) GetCredentialStatusProof() *DocumentProof
func (*CredentialStatusState) Marshal ¶ added in v0.2.0
func (m *CredentialStatusState) Marshal() (dAtA []byte, err error)
func (*CredentialStatusState) MarshalTo ¶ added in v0.2.0
func (m *CredentialStatusState) MarshalTo(dAtA []byte) (int, error)
func (*CredentialStatusState) MarshalToSizedBuffer ¶ added in v0.2.0
func (m *CredentialStatusState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CredentialStatusState) ProtoMessage ¶ added in v0.2.0
func (*CredentialStatusState) ProtoMessage()
func (*CredentialStatusState) Reset ¶ added in v0.2.0
func (m *CredentialStatusState) Reset()
func (*CredentialStatusState) Size ¶ added in v0.2.0
func (m *CredentialStatusState) Size() (n int)
func (*CredentialStatusState) String ¶ added in v0.2.0
func (m *CredentialStatusState) String() string
func (*CredentialStatusState) Unmarshal ¶ added in v0.2.0
func (m *CredentialStatusState) Unmarshal(dAtA []byte) error
func (*CredentialStatusState) XXX_DiscardUnknown ¶ added in v0.2.0
func (m *CredentialStatusState) XXX_DiscardUnknown()
func (*CredentialStatusState) XXX_Marshal ¶ added in v0.2.0
func (m *CredentialStatusState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CredentialStatusState) XXX_Merge ¶ added in v0.2.0
func (m *CredentialStatusState) XXX_Merge(src proto.Message)
func (*CredentialStatusState) XXX_Size ¶ added in v0.2.0
func (m *CredentialStatusState) XXX_Size() int
func (*CredentialStatusState) XXX_Unmarshal ¶ added in v0.2.0
func (m *CredentialStatusState) XXX_Unmarshal(b []byte) error
type DidAliasConfig ¶ added in v0.1.8
func GetDidAliasConfig ¶ added in v0.1.8
func GetDidAliasConfig(cmd *cobra.Command) (*DidAliasConfig, error)
type DidDocument ¶ added in v0.0.3
type DidDocument struct { Context []string `protobuf:"bytes,1,rep,name=context,json=@context,proto3" json:"@context"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` Controller []string `protobuf:"bytes,3,rep,name=controller,proto3" json:"controller,omitempty"` AlsoKnownAs []string `protobuf:"bytes,4,rep,name=alsoKnownAs,proto3" json:"alsoKnownAs,omitempty"` VerificationMethod []*VerificationMethod `protobuf:"bytes,5,rep,name=verificationMethod,proto3" json:"verificationMethod,omitempty"` Authentication []string `protobuf:"bytes,6,rep,name=authentication,proto3" json:"authentication,omitempty"` AssertionMethod []string `protobuf:"bytes,7,rep,name=assertionMethod,proto3" json:"assertionMethod,omitempty"` KeyAgreement []string `protobuf:"bytes,8,rep,name=keyAgreement,proto3" json:"keyAgreement,omitempty"` CapabilityInvocation []string `protobuf:"bytes,9,rep,name=capabilityInvocation,proto3" json:"capabilityInvocation,omitempty"` CapabilityDelegation []string `protobuf:"bytes,10,rep,name=capabilityDelegation,proto3" json:"capabilityDelegation,omitempty"` Service []*Service `protobuf:"bytes,11,rep,name=service,proto3" json:"service,omitempty"` }
func (*DidDocument) Descriptor ¶ added in v0.0.3
func (*DidDocument) Descriptor() ([]byte, []int)
func (*DidDocument) GetAlsoKnownAs ¶ added in v0.2.0
func (m *DidDocument) GetAlsoKnownAs() []string
func (*DidDocument) GetAssertionMethod ¶ added in v0.2.0
func (m *DidDocument) GetAssertionMethod() []string
func (*DidDocument) GetAuthentication ¶ added in v0.2.0
func (m *DidDocument) GetAuthentication() []string
func (*DidDocument) GetCapabilityDelegation ¶ added in v0.2.0
func (m *DidDocument) GetCapabilityDelegation() []string
func (*DidDocument) GetCapabilityInvocation ¶ added in v0.2.0
func (m *DidDocument) GetCapabilityInvocation() []string
func (*DidDocument) GetContext ¶ added in v0.2.0
func (m *DidDocument) GetContext() []string
func (*DidDocument) GetController ¶ added in v0.2.0
func (m *DidDocument) GetController() []string
func (*DidDocument) GetId ¶ added in v0.2.0
func (m *DidDocument) GetId() string
func (*DidDocument) GetKeyAgreement ¶ added in v0.2.0
func (m *DidDocument) GetKeyAgreement() []string
func (*DidDocument) GetService ¶ added in v0.2.0
func (m *DidDocument) GetService() []*Service
func (*DidDocument) GetSignBytes ¶ added in v0.2.0
func (msg *DidDocument) GetSignBytes() []byte
func (*DidDocument) GetVerificationMethod ¶ added in v0.2.0
func (m *DidDocument) GetVerificationMethod() []*VerificationMethod
func (*DidDocument) Marshal ¶ added in v0.0.3
func (m *DidDocument) Marshal() (dAtA []byte, err error)
func (*DidDocument) MarshalTo ¶ added in v0.0.3
func (m *DidDocument) MarshalTo(dAtA []byte) (int, error)
func (*DidDocument) MarshalToSizedBuffer ¶ added in v0.0.3
func (m *DidDocument) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DidDocument) ProtoMessage ¶ added in v0.0.3
func (*DidDocument) ProtoMessage()
func (*DidDocument) Reset ¶ added in v0.0.3
func (m *DidDocument) Reset()
func (*DidDocument) Size ¶ added in v0.0.3
func (m *DidDocument) Size() (n int)
func (*DidDocument) String ¶ added in v0.0.3
func (m *DidDocument) String() string
func (*DidDocument) Unmarshal ¶ added in v0.0.3
func (m *DidDocument) Unmarshal(dAtA []byte) error
func (*DidDocument) ValidateDidDocument ¶ added in v0.2.0
func (didDoc *DidDocument) ValidateDidDocument() error
ValidateDidDocument validates the DID Document
func (*DidDocument) XXX_DiscardUnknown ¶ added in v0.0.3
func (m *DidDocument) XXX_DiscardUnknown()
func (*DidDocument) XXX_Marshal ¶ added in v0.0.3
func (m *DidDocument) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DidDocument) XXX_Merge ¶ added in v0.0.3
func (m *DidDocument) XXX_Merge(src proto.Message)
func (*DidDocument) XXX_Size ¶ added in v0.0.3
func (m *DidDocument) XXX_Size() int
func (*DidDocument) XXX_Unmarshal ¶ added in v0.0.3
func (m *DidDocument) XXX_Unmarshal(b []byte) error
type DidDocumentMetadata ¶ added in v0.2.0
type DidDocumentMetadata struct { Created string `protobuf:"bytes,1,opt,name=created,proto3" json:"created,omitempty"` Updated string `protobuf:"bytes,2,opt,name=updated,proto3" json:"updated,omitempty"` Deactivated bool `protobuf:"varint,3,opt,name=deactivated,proto3" json:"deactivated,omitempty"` VersionId string `protobuf:"bytes,4,opt,name=versionId,proto3" json:"versionId,omitempty"` }
func CreateNewMetadata ¶ added in v0.0.3
func CreateNewMetadata(ctx sdk.Context) DidDocumentMetadata
func (*DidDocumentMetadata) Descriptor ¶ added in v0.2.0
func (*DidDocumentMetadata) Descriptor() ([]byte, []int)
func (*DidDocumentMetadata) GetCreated ¶ added in v0.2.0
func (m *DidDocumentMetadata) GetCreated() string
func (*DidDocumentMetadata) GetDeactivated ¶ added in v0.2.0
func (m *DidDocumentMetadata) GetDeactivated() bool
func (*DidDocumentMetadata) GetUpdated ¶ added in v0.2.0
func (m *DidDocumentMetadata) GetUpdated() string
func (*DidDocumentMetadata) GetVersionId ¶ added in v0.2.0
func (m *DidDocumentMetadata) GetVersionId() string
func (*DidDocumentMetadata) Marshal ¶ added in v0.2.0
func (m *DidDocumentMetadata) Marshal() (dAtA []byte, err error)
func (*DidDocumentMetadata) MarshalTo ¶ added in v0.2.0
func (m *DidDocumentMetadata) MarshalTo(dAtA []byte) (int, error)
func (*DidDocumentMetadata) MarshalToSizedBuffer ¶ added in v0.2.0
func (m *DidDocumentMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DidDocumentMetadata) ProtoMessage ¶ added in v0.2.0
func (*DidDocumentMetadata) ProtoMessage()
func (*DidDocumentMetadata) Reset ¶ added in v0.2.0
func (m *DidDocumentMetadata) Reset()
func (*DidDocumentMetadata) Size ¶ added in v0.2.0
func (m *DidDocumentMetadata) Size() (n int)
func (*DidDocumentMetadata) String ¶ added in v0.2.0
func (m *DidDocumentMetadata) String() string
func (*DidDocumentMetadata) Unmarshal ¶ added in v0.2.0
func (m *DidDocumentMetadata) Unmarshal(dAtA []byte) error
func (*DidDocumentMetadata) XXX_DiscardUnknown ¶ added in v0.2.0
func (m *DidDocumentMetadata) XXX_DiscardUnknown()
func (*DidDocumentMetadata) XXX_Marshal ¶ added in v0.2.0
func (m *DidDocumentMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DidDocumentMetadata) XXX_Merge ¶ added in v0.2.0
func (m *DidDocumentMetadata) XXX_Merge(src proto.Message)
func (*DidDocumentMetadata) XXX_Size ¶ added in v0.2.0
func (m *DidDocumentMetadata) XXX_Size() int
func (*DidDocumentMetadata) XXX_Unmarshal ¶ added in v0.2.0
func (m *DidDocumentMetadata) XXX_Unmarshal(b []byte) error
type DidDocumentState ¶ added in v0.1.0
type DidDocumentState struct { DidDocument *DidDocument `protobuf:"bytes,1,opt,name=didDocument,proto3" json:"didDocument,omitempty"` DidDocumentMetadata *DidDocumentMetadata `protobuf:"bytes,2,opt,name=didDocumentMetadata,proto3" json:"didDocumentMetadata,omitempty"` }
func (*DidDocumentState) Descriptor ¶ added in v0.1.0
func (*DidDocumentState) Descriptor() ([]byte, []int)
func (*DidDocumentState) GetDidDocument ¶ added in v0.1.0
func (m *DidDocumentState) GetDidDocument() *DidDocument
func (*DidDocumentState) GetDidDocumentMetadata ¶ added in v0.1.0
func (m *DidDocumentState) GetDidDocumentMetadata() *DidDocumentMetadata
func (*DidDocumentState) Marshal ¶ added in v0.1.0
func (m *DidDocumentState) Marshal() (dAtA []byte, err error)
func (*DidDocumentState) MarshalTo ¶ added in v0.1.0
func (m *DidDocumentState) MarshalTo(dAtA []byte) (int, error)
func (*DidDocumentState) MarshalToSizedBuffer ¶ added in v0.1.0
func (m *DidDocumentState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DidDocumentState) ProtoMessage ¶ added in v0.1.0
func (*DidDocumentState) ProtoMessage()
func (*DidDocumentState) Reset ¶ added in v0.1.0
func (m *DidDocumentState) Reset()
func (*DidDocumentState) Size ¶ added in v0.1.0
func (m *DidDocumentState) Size() (n int)
func (*DidDocumentState) String ¶ added in v0.1.0
func (m *DidDocumentState) String() string
func (*DidDocumentState) Unmarshal ¶ added in v0.1.0
func (m *DidDocumentState) Unmarshal(dAtA []byte) error
func (*DidDocumentState) XXX_DiscardUnknown ¶ added in v0.1.0
func (m *DidDocumentState) XXX_DiscardUnknown()
func (*DidDocumentState) XXX_Marshal ¶ added in v0.1.0
func (m *DidDocumentState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DidDocumentState) XXX_Merge ¶ added in v0.1.0
func (m *DidDocumentState) XXX_Merge(src proto.Message)
func (*DidDocumentState) XXX_Size ¶ added in v0.1.0
func (m *DidDocumentState) XXX_Size() int
func (*DidDocumentState) XXX_Unmarshal ¶ added in v0.1.0
func (m *DidDocumentState) XXX_Unmarshal(b []byte) error
type DocumentProof ¶ added in v0.2.0
type DocumentProof struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Created string `protobuf:"bytes,2,opt,name=created,proto3" json:"created,omitempty"` VerificationMethod string `protobuf:"bytes,3,opt,name=verificationMethod,proto3" json:"verificationMethod,omitempty"` ProofPurpose string `protobuf:"bytes,4,opt,name=proofPurpose,proto3" json:"proofPurpose,omitempty"` ProofValue string `protobuf:"bytes,5,opt,name=proofValue,proto3" json:"proofValue,omitempty"` ClientSpecType ClientSpecType `protobuf:"varint,6,opt,name=clientSpecType,proto3,enum=hypersign.ssi.v1.ClientSpecType" json:"clientSpecType,omitempty"` }
func (*DocumentProof) Descriptor ¶ added in v0.2.0
func (*DocumentProof) Descriptor() ([]byte, []int)
func (*DocumentProof) GetClientSpecType ¶ added in v0.2.0
func (m *DocumentProof) GetClientSpecType() ClientSpecType
func (*DocumentProof) GetCreated ¶ added in v0.2.0
func (m *DocumentProof) GetCreated() string
func (*DocumentProof) GetProofPurpose ¶ added in v0.2.0
func (m *DocumentProof) GetProofPurpose() string
func (*DocumentProof) GetProofValue ¶ added in v0.2.0
func (m *DocumentProof) GetProofValue() string
func (*DocumentProof) GetType ¶ added in v0.2.0
func (m *DocumentProof) GetType() string
func (*DocumentProof) GetVerificationMethod ¶ added in v0.2.0
func (m *DocumentProof) GetVerificationMethod() string
func (*DocumentProof) Marshal ¶ added in v0.2.0
func (m *DocumentProof) Marshal() (dAtA []byte, err error)
func (*DocumentProof) MarshalTo ¶ added in v0.2.0
func (m *DocumentProof) MarshalTo(dAtA []byte) (int, error)
func (*DocumentProof) MarshalToSizedBuffer ¶ added in v0.2.0
func (m *DocumentProof) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DocumentProof) ProtoMessage ¶ added in v0.2.0
func (*DocumentProof) ProtoMessage()
func (*DocumentProof) Reset ¶ added in v0.2.0
func (m *DocumentProof) Reset()
func (*DocumentProof) Size ¶ added in v0.2.0
func (m *DocumentProof) Size() (n int)
func (*DocumentProof) String ¶ added in v0.2.0
func (m *DocumentProof) String() string
func (*DocumentProof) Unmarshal ¶ added in v0.2.0
func (m *DocumentProof) Unmarshal(dAtA []byte) error
func (*DocumentProof) Validate ¶ added in v0.2.0
func (proof *DocumentProof) Validate() error
Validate Document Proof
func (*DocumentProof) XXX_DiscardUnknown ¶ added in v0.2.0
func (m *DocumentProof) XXX_DiscardUnknown()
func (*DocumentProof) XXX_Marshal ¶ added in v0.2.0
func (m *DocumentProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DocumentProof) XXX_Merge ¶ added in v0.2.0
func (m *DocumentProof) XXX_Merge(src proto.Message)
func (*DocumentProof) XXX_Size ¶ added in v0.2.0
func (m *DocumentProof) XXX_Size() int
func (*DocumentProof) XXX_Unmarshal ¶ added in v0.2.0
func (m *DocumentProof) XXX_Unmarshal(b []byte) error
type ExtendedVerificationMethod ¶ added in v0.1.7
type ExtendedVerificationMethod struct { Id string Type string Controller string PublicKeyMultibase string BlockchainAccountId string Proof *DocumentProof }
func CreateExtendedVerificationMethod ¶ added in v0.1.7
func CreateExtendedVerificationMethod(vm *VerificationMethod, documentProof *DocumentProof) *ExtendedVerificationMethod
type GenesisState ¶
type GenesisState struct { ChainNamespace string `protobuf:"bytes,1,opt,name=chainNamespace,proto3" json:"chainNamespace,omitempty"` Params *Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"` }
GenesisState defines the ssi module's genesis state.
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
DefaultGenesis returns the default ssi genesis state
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetChainNamespace ¶ added in v0.0.7
func (m *GenesisState) GetChainNamespace() string
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() *Params
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) 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 MsgClient ¶
type MsgClient interface { RegisterDID(ctx context.Context, in *MsgRegisterDID, opts ...grpc.CallOption) (*MsgRegisterDIDResponse, error) UpdateDID(ctx context.Context, in *MsgUpdateDID, opts ...grpc.CallOption) (*MsgUpdateDIDResponse, error) DeactivateDID(ctx context.Context, in *MsgDeactivateDID, opts ...grpc.CallOption) (*MsgDeactivateDIDResponse, error) RegisterCredentialSchema(ctx context.Context, in *MsgRegisterCredentialSchema, opts ...grpc.CallOption) (*MsgRegisterCredentialSchemaResponse, error) UpdateCredentialSchema(ctx context.Context, in *MsgUpdateCredentialSchema, opts ...grpc.CallOption) (*MsgUpdateCredentialSchemaResponse, error) RegisterCredentialStatus(ctx context.Context, in *MsgRegisterCredentialStatus, opts ...grpc.CallOption) (*MsgRegisterCredentialStatusResponse, error) UpdateCredentialStatus(ctx context.Context, in *MsgUpdateCredentialStatus, opts ...grpc.CallOption) (*MsgUpdateCredentialStatusResponse, 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 MsgDeactivateDID ¶ added in v0.0.3
type MsgDeactivateDID struct { DidDocumentId string `protobuf:"bytes,1,opt,name=didDocumentId,proto3" json:"didDocumentId,omitempty"` DidDocumentProofs []*DocumentProof `protobuf:"bytes,2,rep,name=didDocumentProofs,proto3" json:"didDocumentProofs,omitempty"` VersionId string `protobuf:"bytes,3,opt,name=versionId,proto3" json:"versionId,omitempty"` TxAuthor string `protobuf:"bytes,4,opt,name=txAuthor,proto3" json:"txAuthor,omitempty"` }
func NewMsgDeactivateDID ¶ added in v0.0.3
func NewMsgDeactivateDID(didId string, versionId string, documentProofs []*DocumentProof, txAuthor string) *MsgDeactivateDID
func (*MsgDeactivateDID) Descriptor ¶ added in v0.0.3
func (*MsgDeactivateDID) Descriptor() ([]byte, []int)
func (*MsgDeactivateDID) GetDidDocumentId ¶ added in v0.2.0
func (m *MsgDeactivateDID) GetDidDocumentId() string
func (*MsgDeactivateDID) GetDidDocumentProofs ¶ added in v0.2.0
func (m *MsgDeactivateDID) GetDidDocumentProofs() []*DocumentProof
func (*MsgDeactivateDID) GetSignBytes ¶ added in v0.0.3
func (msg *MsgDeactivateDID) GetSignBytes() []byte
func (*MsgDeactivateDID) GetSigners ¶ added in v0.0.3
func (msg *MsgDeactivateDID) GetSigners() []sdk.AccAddress
func (*MsgDeactivateDID) GetTxAuthor ¶ added in v0.2.0
func (m *MsgDeactivateDID) GetTxAuthor() string
func (*MsgDeactivateDID) GetVersionId ¶ added in v0.0.3
func (m *MsgDeactivateDID) GetVersionId() string
func (*MsgDeactivateDID) Marshal ¶ added in v0.0.3
func (m *MsgDeactivateDID) Marshal() (dAtA []byte, err error)
func (*MsgDeactivateDID) MarshalTo ¶ added in v0.0.3
func (m *MsgDeactivateDID) MarshalTo(dAtA []byte) (int, error)
func (*MsgDeactivateDID) MarshalToSizedBuffer ¶ added in v0.0.3
func (m *MsgDeactivateDID) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeactivateDID) ProtoMessage ¶ added in v0.0.3
func (*MsgDeactivateDID) ProtoMessage()
func (*MsgDeactivateDID) Reset ¶ added in v0.0.3
func (m *MsgDeactivateDID) Reset()
func (*MsgDeactivateDID) Route ¶ added in v0.0.3
func (msg *MsgDeactivateDID) Route() string
func (*MsgDeactivateDID) Size ¶ added in v0.0.3
func (m *MsgDeactivateDID) Size() (n int)
func (*MsgDeactivateDID) String ¶ added in v0.0.3
func (m *MsgDeactivateDID) String() string
func (*MsgDeactivateDID) Type ¶ added in v0.0.3
func (msg *MsgDeactivateDID) Type() string
func (*MsgDeactivateDID) Unmarshal ¶ added in v0.0.3
func (m *MsgDeactivateDID) Unmarshal(dAtA []byte) error
func (*MsgDeactivateDID) ValidateBasic ¶ added in v0.0.3
func (msg *MsgDeactivateDID) ValidateBasic() error
func (*MsgDeactivateDID) XXX_DiscardUnknown ¶ added in v0.0.3
func (m *MsgDeactivateDID) XXX_DiscardUnknown()
func (*MsgDeactivateDID) XXX_Marshal ¶ added in v0.0.3
func (m *MsgDeactivateDID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeactivateDID) XXX_Merge ¶ added in v0.0.3
func (m *MsgDeactivateDID) XXX_Merge(src proto.Message)
func (*MsgDeactivateDID) XXX_Size ¶ added in v0.0.3
func (m *MsgDeactivateDID) XXX_Size() int
func (*MsgDeactivateDID) XXX_Unmarshal ¶ added in v0.0.3
func (m *MsgDeactivateDID) XXX_Unmarshal(b []byte) error
type MsgDeactivateDIDResponse ¶ added in v0.0.3
type MsgDeactivateDIDResponse struct { }
func (*MsgDeactivateDIDResponse) Descriptor ¶ added in v0.0.3
func (*MsgDeactivateDIDResponse) Descriptor() ([]byte, []int)
func (*MsgDeactivateDIDResponse) Marshal ¶ added in v0.0.3
func (m *MsgDeactivateDIDResponse) Marshal() (dAtA []byte, err error)
func (*MsgDeactivateDIDResponse) MarshalTo ¶ added in v0.0.3
func (m *MsgDeactivateDIDResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgDeactivateDIDResponse) MarshalToSizedBuffer ¶ added in v0.0.3
func (m *MsgDeactivateDIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeactivateDIDResponse) ProtoMessage ¶ added in v0.0.3
func (*MsgDeactivateDIDResponse) ProtoMessage()
func (*MsgDeactivateDIDResponse) Reset ¶ added in v0.0.3
func (m *MsgDeactivateDIDResponse) Reset()
func (*MsgDeactivateDIDResponse) Size ¶ added in v0.0.3
func (m *MsgDeactivateDIDResponse) Size() (n int)
func (*MsgDeactivateDIDResponse) String ¶ added in v0.0.3
func (m *MsgDeactivateDIDResponse) String() string
func (*MsgDeactivateDIDResponse) Unmarshal ¶ added in v0.0.3
func (m *MsgDeactivateDIDResponse) Unmarshal(dAtA []byte) error
func (*MsgDeactivateDIDResponse) XXX_DiscardUnknown ¶ added in v0.0.3
func (m *MsgDeactivateDIDResponse) XXX_DiscardUnknown()
func (*MsgDeactivateDIDResponse) XXX_Marshal ¶ added in v0.0.3
func (m *MsgDeactivateDIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeactivateDIDResponse) XXX_Merge ¶ added in v0.0.3
func (m *MsgDeactivateDIDResponse) XXX_Merge(src proto.Message)
func (*MsgDeactivateDIDResponse) XXX_Size ¶ added in v0.0.3
func (m *MsgDeactivateDIDResponse) XXX_Size() int
func (*MsgDeactivateDIDResponse) XXX_Unmarshal ¶ added in v0.0.3
func (m *MsgDeactivateDIDResponse) XXX_Unmarshal(b []byte) error
type MsgRegisterCredentialSchema ¶ added in v0.2.0
type MsgRegisterCredentialSchema struct { CredentialSchemaDocument *CredentialSchemaDocument `protobuf:"bytes,1,opt,name=credentialSchemaDocument,proto3" json:"credentialSchemaDocument,omitempty"` CredentialSchemaProof *DocumentProof `protobuf:"bytes,2,opt,name=credentialSchemaProof,proto3" json:"credentialSchemaProof,omitempty"` TxAuthor string `protobuf:"bytes,3,opt,name=txAuthor,proto3" json:"txAuthor,omitempty"` }
func NewMsgRegisterSchema ¶ added in v0.2.0
func NewMsgRegisterSchema( schemaDoc *CredentialSchemaDocument, schemaProof *DocumentProof, clientSpecType ClientSpecType, txAuthor string, ) *MsgRegisterCredentialSchema
func (*MsgRegisterCredentialSchema) Descriptor ¶ added in v0.2.0
func (*MsgRegisterCredentialSchema) Descriptor() ([]byte, []int)
func (*MsgRegisterCredentialSchema) GetCredentialSchemaDocument ¶ added in v0.2.0
func (m *MsgRegisterCredentialSchema) GetCredentialSchemaDocument() *CredentialSchemaDocument
func (*MsgRegisterCredentialSchema) GetCredentialSchemaProof ¶ added in v0.2.0
func (m *MsgRegisterCredentialSchema) GetCredentialSchemaProof() *DocumentProof
func (*MsgRegisterCredentialSchema) GetSignBytes ¶ added in v0.2.0
func (msg *MsgRegisterCredentialSchema) GetSignBytes() []byte
func (*MsgRegisterCredentialSchema) GetSigners ¶ added in v0.2.0
func (msg *MsgRegisterCredentialSchema) GetSigners() []sdk.AccAddress
func (*MsgRegisterCredentialSchema) GetTxAuthor ¶ added in v0.2.0
func (m *MsgRegisterCredentialSchema) GetTxAuthor() string
func (*MsgRegisterCredentialSchema) Marshal ¶ added in v0.2.0
func (m *MsgRegisterCredentialSchema) Marshal() (dAtA []byte, err error)
func (*MsgRegisterCredentialSchema) MarshalTo ¶ added in v0.2.0
func (m *MsgRegisterCredentialSchema) MarshalTo(dAtA []byte) (int, error)
func (*MsgRegisterCredentialSchema) MarshalToSizedBuffer ¶ added in v0.2.0
func (m *MsgRegisterCredentialSchema) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRegisterCredentialSchema) ProtoMessage ¶ added in v0.2.0
func (*MsgRegisterCredentialSchema) ProtoMessage()
func (*MsgRegisterCredentialSchema) Reset ¶ added in v0.2.0
func (m *MsgRegisterCredentialSchema) Reset()
func (*MsgRegisterCredentialSchema) Route ¶ added in v0.2.0
func (msg *MsgRegisterCredentialSchema) Route() string
func (*MsgRegisterCredentialSchema) Size ¶ added in v0.2.0
func (m *MsgRegisterCredentialSchema) Size() (n int)
func (*MsgRegisterCredentialSchema) String ¶ added in v0.2.0
func (m *MsgRegisterCredentialSchema) String() string
func (*MsgRegisterCredentialSchema) Type ¶ added in v0.2.0
func (msg *MsgRegisterCredentialSchema) Type() string
func (*MsgRegisterCredentialSchema) Unmarshal ¶ added in v0.2.0
func (m *MsgRegisterCredentialSchema) Unmarshal(dAtA []byte) error
func (*MsgRegisterCredentialSchema) ValidateBasic ¶ added in v0.2.0
func (msg *MsgRegisterCredentialSchema) ValidateBasic() error
func (*MsgRegisterCredentialSchema) XXX_DiscardUnknown ¶ added in v0.2.0
func (m *MsgRegisterCredentialSchema) XXX_DiscardUnknown()
func (*MsgRegisterCredentialSchema) XXX_Marshal ¶ added in v0.2.0
func (m *MsgRegisterCredentialSchema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRegisterCredentialSchema) XXX_Merge ¶ added in v0.2.0
func (m *MsgRegisterCredentialSchema) XXX_Merge(src proto.Message)
func (*MsgRegisterCredentialSchema) XXX_Size ¶ added in v0.2.0
func (m *MsgRegisterCredentialSchema) XXX_Size() int
func (*MsgRegisterCredentialSchema) XXX_Unmarshal ¶ added in v0.2.0
func (m *MsgRegisterCredentialSchema) XXX_Unmarshal(b []byte) error
type MsgRegisterCredentialSchemaResponse ¶ added in v0.2.0
type MsgRegisterCredentialSchemaResponse struct { }
func (*MsgRegisterCredentialSchemaResponse) Descriptor ¶ added in v0.2.0
func (*MsgRegisterCredentialSchemaResponse) Descriptor() ([]byte, []int)
func (*MsgRegisterCredentialSchemaResponse) Marshal ¶ added in v0.2.0
func (m *MsgRegisterCredentialSchemaResponse) Marshal() (dAtA []byte, err error)
func (*MsgRegisterCredentialSchemaResponse) MarshalTo ¶ added in v0.2.0
func (m *MsgRegisterCredentialSchemaResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRegisterCredentialSchemaResponse) MarshalToSizedBuffer ¶ added in v0.2.0
func (m *MsgRegisterCredentialSchemaResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRegisterCredentialSchemaResponse) ProtoMessage ¶ added in v0.2.0
func (*MsgRegisterCredentialSchemaResponse) ProtoMessage()
func (*MsgRegisterCredentialSchemaResponse) Reset ¶ added in v0.2.0
func (m *MsgRegisterCredentialSchemaResponse) Reset()
func (*MsgRegisterCredentialSchemaResponse) Size ¶ added in v0.2.0
func (m *MsgRegisterCredentialSchemaResponse) Size() (n int)
func (*MsgRegisterCredentialSchemaResponse) String ¶ added in v0.2.0
func (m *MsgRegisterCredentialSchemaResponse) String() string
func (*MsgRegisterCredentialSchemaResponse) Unmarshal ¶ added in v0.2.0
func (m *MsgRegisterCredentialSchemaResponse) Unmarshal(dAtA []byte) error
func (*MsgRegisterCredentialSchemaResponse) XXX_DiscardUnknown ¶ added in v0.2.0
func (m *MsgRegisterCredentialSchemaResponse) XXX_DiscardUnknown()
func (*MsgRegisterCredentialSchemaResponse) XXX_Marshal ¶ added in v0.2.0
func (m *MsgRegisterCredentialSchemaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRegisterCredentialSchemaResponse) XXX_Merge ¶ added in v0.2.0
func (m *MsgRegisterCredentialSchemaResponse) XXX_Merge(src proto.Message)
func (*MsgRegisterCredentialSchemaResponse) XXX_Size ¶ added in v0.2.0
func (m *MsgRegisterCredentialSchemaResponse) XXX_Size() int
func (*MsgRegisterCredentialSchemaResponse) XXX_Unmarshal ¶ added in v0.2.0
func (m *MsgRegisterCredentialSchemaResponse) XXX_Unmarshal(b []byte) error
type MsgRegisterCredentialStatus ¶ added in v0.0.6
type MsgRegisterCredentialStatus struct { CredentialStatusDocument *CredentialStatusDocument `protobuf:"bytes,1,opt,name=credentialStatusDocument,proto3" json:"credentialStatusDocument,omitempty"` CredentialStatusProof *DocumentProof `protobuf:"bytes,2,opt,name=credentialStatusProof,proto3" json:"credentialStatusProof,omitempty"` TxAuthor string `protobuf:"bytes,3,opt,name=txAuthor,proto3" json:"txAuthor,omitempty"` }
func NewMsgRegisterCredentialStatus ¶ added in v0.0.6
func NewMsgRegisterCredentialStatus( credentialStatusDocument *CredentialStatusDocument, credentialStatusProof *DocumentProof, txAuthor string, ) *MsgRegisterCredentialStatus
func (*MsgRegisterCredentialStatus) Descriptor ¶ added in v0.0.6
func (*MsgRegisterCredentialStatus) Descriptor() ([]byte, []int)
func (*MsgRegisterCredentialStatus) GetCredentialStatusDocument ¶ added in v0.2.0
func (m *MsgRegisterCredentialStatus) GetCredentialStatusDocument() *CredentialStatusDocument
func (*MsgRegisterCredentialStatus) GetCredentialStatusProof ¶ added in v0.2.0
func (m *MsgRegisterCredentialStatus) GetCredentialStatusProof() *DocumentProof
func (*MsgRegisterCredentialStatus) GetSignBytes ¶ added in v0.0.6
func (msg *MsgRegisterCredentialStatus) GetSignBytes() []byte
func (*MsgRegisterCredentialStatus) GetSigners ¶ added in v0.0.6
func (msg *MsgRegisterCredentialStatus) GetSigners() []sdk.AccAddress
func (*MsgRegisterCredentialStatus) GetTxAuthor ¶ added in v0.2.0
func (m *MsgRegisterCredentialStatus) GetTxAuthor() string
func (*MsgRegisterCredentialStatus) Marshal ¶ added in v0.0.6
func (m *MsgRegisterCredentialStatus) Marshal() (dAtA []byte, err error)
func (*MsgRegisterCredentialStatus) MarshalTo ¶ added in v0.0.6
func (m *MsgRegisterCredentialStatus) MarshalTo(dAtA []byte) (int, error)
func (*MsgRegisterCredentialStatus) MarshalToSizedBuffer ¶ added in v0.0.6
func (m *MsgRegisterCredentialStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRegisterCredentialStatus) ProtoMessage ¶ added in v0.0.6
func (*MsgRegisterCredentialStatus) ProtoMessage()
func (*MsgRegisterCredentialStatus) Reset ¶ added in v0.0.6
func (m *MsgRegisterCredentialStatus) Reset()
func (*MsgRegisterCredentialStatus) Route ¶ added in v0.0.6
func (msg *MsgRegisterCredentialStatus) Route() string
func (*MsgRegisterCredentialStatus) Size ¶ added in v0.0.6
func (m *MsgRegisterCredentialStatus) Size() (n int)
func (*MsgRegisterCredentialStatus) String ¶ added in v0.0.6
func (m *MsgRegisterCredentialStatus) String() string
func (*MsgRegisterCredentialStatus) Type ¶ added in v0.0.6
func (msg *MsgRegisterCredentialStatus) Type() string
func (*MsgRegisterCredentialStatus) Unmarshal ¶ added in v0.0.6
func (m *MsgRegisterCredentialStatus) Unmarshal(dAtA []byte) error
func (*MsgRegisterCredentialStatus) ValidateBasic ¶ added in v0.0.6
func (msg *MsgRegisterCredentialStatus) ValidateBasic() error
func (*MsgRegisterCredentialStatus) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *MsgRegisterCredentialStatus) XXX_DiscardUnknown()
func (*MsgRegisterCredentialStatus) XXX_Marshal ¶ added in v0.0.6
func (m *MsgRegisterCredentialStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRegisterCredentialStatus) XXX_Merge ¶ added in v0.0.6
func (m *MsgRegisterCredentialStatus) XXX_Merge(src proto.Message)
func (*MsgRegisterCredentialStatus) XXX_Size ¶ added in v0.0.6
func (m *MsgRegisterCredentialStatus) XXX_Size() int
func (*MsgRegisterCredentialStatus) XXX_Unmarshal ¶ added in v0.0.6
func (m *MsgRegisterCredentialStatus) XXX_Unmarshal(b []byte) error
type MsgRegisterCredentialStatusResponse ¶ added in v0.0.6
type MsgRegisterCredentialStatusResponse struct { }
func (*MsgRegisterCredentialStatusResponse) Descriptor ¶ added in v0.0.6
func (*MsgRegisterCredentialStatusResponse) Descriptor() ([]byte, []int)
func (*MsgRegisterCredentialStatusResponse) Marshal ¶ added in v0.0.6
func (m *MsgRegisterCredentialStatusResponse) Marshal() (dAtA []byte, err error)
func (*MsgRegisterCredentialStatusResponse) MarshalTo ¶ added in v0.0.6
func (m *MsgRegisterCredentialStatusResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRegisterCredentialStatusResponse) MarshalToSizedBuffer ¶ added in v0.0.6
func (m *MsgRegisterCredentialStatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRegisterCredentialStatusResponse) ProtoMessage ¶ added in v0.0.6
func (*MsgRegisterCredentialStatusResponse) ProtoMessage()
func (*MsgRegisterCredentialStatusResponse) Reset ¶ added in v0.0.6
func (m *MsgRegisterCredentialStatusResponse) Reset()
func (*MsgRegisterCredentialStatusResponse) Size ¶ added in v0.0.6
func (m *MsgRegisterCredentialStatusResponse) Size() (n int)
func (*MsgRegisterCredentialStatusResponse) String ¶ added in v0.0.6
func (m *MsgRegisterCredentialStatusResponse) String() string
func (*MsgRegisterCredentialStatusResponse) Unmarshal ¶ added in v0.0.6
func (m *MsgRegisterCredentialStatusResponse) Unmarshal(dAtA []byte) error
func (*MsgRegisterCredentialStatusResponse) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *MsgRegisterCredentialStatusResponse) XXX_DiscardUnknown()
func (*MsgRegisterCredentialStatusResponse) XXX_Marshal ¶ added in v0.0.6
func (m *MsgRegisterCredentialStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRegisterCredentialStatusResponse) XXX_Merge ¶ added in v0.0.6
func (m *MsgRegisterCredentialStatusResponse) XXX_Merge(src proto.Message)
func (*MsgRegisterCredentialStatusResponse) XXX_Size ¶ added in v0.0.6
func (m *MsgRegisterCredentialStatusResponse) XXX_Size() int
func (*MsgRegisterCredentialStatusResponse) XXX_Unmarshal ¶ added in v0.0.6
func (m *MsgRegisterCredentialStatusResponse) XXX_Unmarshal(b []byte) error
type MsgRegisterDID ¶ added in v0.2.0
type MsgRegisterDID struct { DidDocument *DidDocument `protobuf:"bytes,1,opt,name=didDocument,proto3" json:"didDocument,omitempty"` DidDocumentProofs []*DocumentProof `protobuf:"bytes,2,rep,name=didDocumentProofs,proto3" json:"didDocumentProofs,omitempty"` TxAuthor string `protobuf:"bytes,3,opt,name=txAuthor,proto3" json:"txAuthor,omitempty"` }
func NewMsgCreateDID ¶
func NewMsgCreateDID(didDoc *DidDocument, documentProofs []*DocumentProof, txAuthor string) *MsgRegisterDID
func (*MsgRegisterDID) Descriptor ¶ added in v0.2.0
func (*MsgRegisterDID) Descriptor() ([]byte, []int)
func (*MsgRegisterDID) GetDidDocument ¶ added in v0.2.0
func (m *MsgRegisterDID) GetDidDocument() *DidDocument
func (*MsgRegisterDID) GetDidDocumentProofs ¶ added in v0.2.0
func (m *MsgRegisterDID) GetDidDocumentProofs() []*DocumentProof
func (*MsgRegisterDID) GetSignBytes ¶ added in v0.2.0
func (msg *MsgRegisterDID) GetSignBytes() []byte
func (*MsgRegisterDID) GetSigners ¶ added in v0.2.0
func (msg *MsgRegisterDID) GetSigners() []sdk.AccAddress
func (*MsgRegisterDID) GetTxAuthor ¶ added in v0.2.0
func (m *MsgRegisterDID) GetTxAuthor() string
func (*MsgRegisterDID) Marshal ¶ added in v0.2.0
func (m *MsgRegisterDID) Marshal() (dAtA []byte, err error)
func (*MsgRegisterDID) MarshalTo ¶ added in v0.2.0
func (m *MsgRegisterDID) MarshalTo(dAtA []byte) (int, error)
func (*MsgRegisterDID) MarshalToSizedBuffer ¶ added in v0.2.0
func (m *MsgRegisterDID) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRegisterDID) ProtoMessage ¶ added in v0.2.0
func (*MsgRegisterDID) ProtoMessage()
func (*MsgRegisterDID) Reset ¶ added in v0.2.0
func (m *MsgRegisterDID) Reset()
func (*MsgRegisterDID) Route ¶ added in v0.2.0
func (msg *MsgRegisterDID) Route() string
func (*MsgRegisterDID) Size ¶ added in v0.2.0
func (m *MsgRegisterDID) Size() (n int)
func (*MsgRegisterDID) String ¶ added in v0.2.0
func (m *MsgRegisterDID) String() string
func (*MsgRegisterDID) Type ¶ added in v0.2.0
func (msg *MsgRegisterDID) Type() string
func (*MsgRegisterDID) Unmarshal ¶ added in v0.2.0
func (m *MsgRegisterDID) Unmarshal(dAtA []byte) error
func (*MsgRegisterDID) ValidateBasic ¶ added in v0.2.0
func (msg *MsgRegisterDID) ValidateBasic() error
func (*MsgRegisterDID) XXX_DiscardUnknown ¶ added in v0.2.0
func (m *MsgRegisterDID) XXX_DiscardUnknown()
func (*MsgRegisterDID) XXX_Marshal ¶ added in v0.2.0
func (m *MsgRegisterDID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRegisterDID) XXX_Merge ¶ added in v0.2.0
func (m *MsgRegisterDID) XXX_Merge(src proto.Message)
func (*MsgRegisterDID) XXX_Size ¶ added in v0.2.0
func (m *MsgRegisterDID) XXX_Size() int
func (*MsgRegisterDID) XXX_Unmarshal ¶ added in v0.2.0
func (m *MsgRegisterDID) XXX_Unmarshal(b []byte) error
type MsgRegisterDIDResponse ¶ added in v0.2.0
type MsgRegisterDIDResponse struct { }
func (*MsgRegisterDIDResponse) Descriptor ¶ added in v0.2.0
func (*MsgRegisterDIDResponse) Descriptor() ([]byte, []int)
func (*MsgRegisterDIDResponse) Marshal ¶ added in v0.2.0
func (m *MsgRegisterDIDResponse) Marshal() (dAtA []byte, err error)
func (*MsgRegisterDIDResponse) MarshalTo ¶ added in v0.2.0
func (m *MsgRegisterDIDResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRegisterDIDResponse) MarshalToSizedBuffer ¶ added in v0.2.0
func (m *MsgRegisterDIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRegisterDIDResponse) ProtoMessage ¶ added in v0.2.0
func (*MsgRegisterDIDResponse) ProtoMessage()
func (*MsgRegisterDIDResponse) Reset ¶ added in v0.2.0
func (m *MsgRegisterDIDResponse) Reset()
func (*MsgRegisterDIDResponse) Size ¶ added in v0.2.0
func (m *MsgRegisterDIDResponse) Size() (n int)
func (*MsgRegisterDIDResponse) String ¶ added in v0.2.0
func (m *MsgRegisterDIDResponse) String() string
func (*MsgRegisterDIDResponse) Unmarshal ¶ added in v0.2.0
func (m *MsgRegisterDIDResponse) Unmarshal(dAtA []byte) error
func (*MsgRegisterDIDResponse) XXX_DiscardUnknown ¶ added in v0.2.0
func (m *MsgRegisterDIDResponse) XXX_DiscardUnknown()
func (*MsgRegisterDIDResponse) XXX_Marshal ¶ added in v0.2.0
func (m *MsgRegisterDIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRegisterDIDResponse) XXX_Merge ¶ added in v0.2.0
func (m *MsgRegisterDIDResponse) XXX_Merge(src proto.Message)
func (*MsgRegisterDIDResponse) XXX_Size ¶ added in v0.2.0
func (m *MsgRegisterDIDResponse) XXX_Size() int
func (*MsgRegisterDIDResponse) XXX_Unmarshal ¶ added in v0.2.0
func (m *MsgRegisterDIDResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { RegisterDID(context.Context, *MsgRegisterDID) (*MsgRegisterDIDResponse, error) UpdateDID(context.Context, *MsgUpdateDID) (*MsgUpdateDIDResponse, error) DeactivateDID(context.Context, *MsgDeactivateDID) (*MsgDeactivateDIDResponse, error) RegisterCredentialSchema(context.Context, *MsgRegisterCredentialSchema) (*MsgRegisterCredentialSchemaResponse, error) UpdateCredentialSchema(context.Context, *MsgUpdateCredentialSchema) (*MsgUpdateCredentialSchemaResponse, error) RegisterCredentialStatus(context.Context, *MsgRegisterCredentialStatus) (*MsgRegisterCredentialStatusResponse, error) UpdateCredentialStatus(context.Context, *MsgUpdateCredentialStatus) (*MsgUpdateCredentialStatusResponse, error) }
MsgServer is the server API for Msg service.
type MsgUpdateCredentialSchema ¶ added in v0.2.0
type MsgUpdateCredentialSchema struct { CredentialSchemaDocument *CredentialSchemaDocument `protobuf:"bytes,1,opt,name=credentialSchemaDocument,proto3" json:"credentialSchemaDocument,omitempty"` CredentialSchemaProof *DocumentProof `protobuf:"bytes,2,opt,name=credentialSchemaProof,proto3" json:"credentialSchemaProof,omitempty"` TxAuthor string `protobuf:"bytes,3,opt,name=txAuthor,proto3" json:"txAuthor,omitempty"` }
func (*MsgUpdateCredentialSchema) Descriptor ¶ added in v0.2.0
func (*MsgUpdateCredentialSchema) Descriptor() ([]byte, []int)
func (*MsgUpdateCredentialSchema) GetCredentialSchemaDocument ¶ added in v0.2.0
func (m *MsgUpdateCredentialSchema) GetCredentialSchemaDocument() *CredentialSchemaDocument
func (*MsgUpdateCredentialSchema) GetCredentialSchemaProof ¶ added in v0.2.0
func (m *MsgUpdateCredentialSchema) GetCredentialSchemaProof() *DocumentProof
func (*MsgUpdateCredentialSchema) GetSignBytes ¶ added in v0.2.0
func (msg *MsgUpdateCredentialSchema) GetSignBytes() []byte
func (*MsgUpdateCredentialSchema) GetSigners ¶ added in v0.2.0
func (msg *MsgUpdateCredentialSchema) GetSigners() []sdk.AccAddress
func (*MsgUpdateCredentialSchema) GetTxAuthor ¶ added in v0.2.0
func (m *MsgUpdateCredentialSchema) GetTxAuthor() string
func (*MsgUpdateCredentialSchema) Marshal ¶ added in v0.2.0
func (m *MsgUpdateCredentialSchema) Marshal() (dAtA []byte, err error)
func (*MsgUpdateCredentialSchema) MarshalTo ¶ added in v0.2.0
func (m *MsgUpdateCredentialSchema) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateCredentialSchema) MarshalToSizedBuffer ¶ added in v0.2.0
func (m *MsgUpdateCredentialSchema) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateCredentialSchema) ProtoMessage ¶ added in v0.2.0
func (*MsgUpdateCredentialSchema) ProtoMessage()
func (*MsgUpdateCredentialSchema) Reset ¶ added in v0.2.0
func (m *MsgUpdateCredentialSchema) Reset()
func (*MsgUpdateCredentialSchema) Route ¶ added in v0.2.0
func (msg *MsgUpdateCredentialSchema) Route() string
func (*MsgUpdateCredentialSchema) Size ¶ added in v0.2.0
func (m *MsgUpdateCredentialSchema) Size() (n int)
func (*MsgUpdateCredentialSchema) String ¶ added in v0.2.0
func (m *MsgUpdateCredentialSchema) String() string
func (*MsgUpdateCredentialSchema) Type ¶ added in v0.2.0
func (msg *MsgUpdateCredentialSchema) Type() string
func (*MsgUpdateCredentialSchema) Unmarshal ¶ added in v0.2.0
func (m *MsgUpdateCredentialSchema) Unmarshal(dAtA []byte) error
func (*MsgUpdateCredentialSchema) ValidateBasic ¶ added in v0.2.0
func (msg *MsgUpdateCredentialSchema) ValidateBasic() error
func (*MsgUpdateCredentialSchema) XXX_DiscardUnknown ¶ added in v0.2.0
func (m *MsgUpdateCredentialSchema) XXX_DiscardUnknown()
func (*MsgUpdateCredentialSchema) XXX_Marshal ¶ added in v0.2.0
func (m *MsgUpdateCredentialSchema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateCredentialSchema) XXX_Merge ¶ added in v0.2.0
func (m *MsgUpdateCredentialSchema) XXX_Merge(src proto.Message)
func (*MsgUpdateCredentialSchema) XXX_Size ¶ added in v0.2.0
func (m *MsgUpdateCredentialSchema) XXX_Size() int
func (*MsgUpdateCredentialSchema) XXX_Unmarshal ¶ added in v0.2.0
func (m *MsgUpdateCredentialSchema) XXX_Unmarshal(b []byte) error
type MsgUpdateCredentialSchemaResponse ¶ added in v0.2.0
type MsgUpdateCredentialSchemaResponse struct { }
func (*MsgUpdateCredentialSchemaResponse) Descriptor ¶ added in v0.2.0
func (*MsgUpdateCredentialSchemaResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateCredentialSchemaResponse) Marshal ¶ added in v0.2.0
func (m *MsgUpdateCredentialSchemaResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateCredentialSchemaResponse) MarshalTo ¶ added in v0.2.0
func (m *MsgUpdateCredentialSchemaResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateCredentialSchemaResponse) MarshalToSizedBuffer ¶ added in v0.2.0
func (m *MsgUpdateCredentialSchemaResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateCredentialSchemaResponse) ProtoMessage ¶ added in v0.2.0
func (*MsgUpdateCredentialSchemaResponse) ProtoMessage()
func (*MsgUpdateCredentialSchemaResponse) Reset ¶ added in v0.2.0
func (m *MsgUpdateCredentialSchemaResponse) Reset()
func (*MsgUpdateCredentialSchemaResponse) Size ¶ added in v0.2.0
func (m *MsgUpdateCredentialSchemaResponse) Size() (n int)
func (*MsgUpdateCredentialSchemaResponse) String ¶ added in v0.2.0
func (m *MsgUpdateCredentialSchemaResponse) String() string
func (*MsgUpdateCredentialSchemaResponse) Unmarshal ¶ added in v0.2.0
func (m *MsgUpdateCredentialSchemaResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateCredentialSchemaResponse) XXX_DiscardUnknown ¶ added in v0.2.0
func (m *MsgUpdateCredentialSchemaResponse) XXX_DiscardUnknown()
func (*MsgUpdateCredentialSchemaResponse) XXX_Marshal ¶ added in v0.2.0
func (m *MsgUpdateCredentialSchemaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateCredentialSchemaResponse) XXX_Merge ¶ added in v0.2.0
func (m *MsgUpdateCredentialSchemaResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateCredentialSchemaResponse) XXX_Size ¶ added in v0.2.0
func (m *MsgUpdateCredentialSchemaResponse) XXX_Size() int
func (*MsgUpdateCredentialSchemaResponse) XXX_Unmarshal ¶ added in v0.2.0
func (m *MsgUpdateCredentialSchemaResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateCredentialStatus ¶ added in v0.2.0
type MsgUpdateCredentialStatus struct { CredentialStatusDocument *CredentialStatusDocument `protobuf:"bytes,1,opt,name=credentialStatusDocument,proto3" json:"credentialStatusDocument,omitempty"` CredentialStatusProof *DocumentProof `protobuf:"bytes,2,opt,name=credentialStatusProof,proto3" json:"credentialStatusProof,omitempty"` TxAuthor string `protobuf:"bytes,3,opt,name=txAuthor,proto3" json:"txAuthor,omitempty"` }
func (*MsgUpdateCredentialStatus) Descriptor ¶ added in v0.2.0
func (*MsgUpdateCredentialStatus) Descriptor() ([]byte, []int)
func (*MsgUpdateCredentialStatus) GetCredentialStatusDocument ¶ added in v0.2.0
func (m *MsgUpdateCredentialStatus) GetCredentialStatusDocument() *CredentialStatusDocument
func (*MsgUpdateCredentialStatus) GetCredentialStatusProof ¶ added in v0.2.0
func (m *MsgUpdateCredentialStatus) GetCredentialStatusProof() *DocumentProof
func (*MsgUpdateCredentialStatus) GetSignBytes ¶ added in v0.2.0
func (msg *MsgUpdateCredentialStatus) GetSignBytes() []byte
func (*MsgUpdateCredentialStatus) GetSigners ¶ added in v0.2.0
func (msg *MsgUpdateCredentialStatus) GetSigners() []sdk.AccAddress
func (*MsgUpdateCredentialStatus) GetTxAuthor ¶ added in v0.2.0
func (m *MsgUpdateCredentialStatus) GetTxAuthor() string
func (*MsgUpdateCredentialStatus) Marshal ¶ added in v0.2.0
func (m *MsgUpdateCredentialStatus) Marshal() (dAtA []byte, err error)
func (*MsgUpdateCredentialStatus) MarshalTo ¶ added in v0.2.0
func (m *MsgUpdateCredentialStatus) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateCredentialStatus) MarshalToSizedBuffer ¶ added in v0.2.0
func (m *MsgUpdateCredentialStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateCredentialStatus) ProtoMessage ¶ added in v0.2.0
func (*MsgUpdateCredentialStatus) ProtoMessage()
func (*MsgUpdateCredentialStatus) Reset ¶ added in v0.2.0
func (m *MsgUpdateCredentialStatus) Reset()
func (*MsgUpdateCredentialStatus) Route ¶ added in v0.2.0
func (msg *MsgUpdateCredentialStatus) Route() string
func (*MsgUpdateCredentialStatus) Size ¶ added in v0.2.0
func (m *MsgUpdateCredentialStatus) Size() (n int)
func (*MsgUpdateCredentialStatus) String ¶ added in v0.2.0
func (m *MsgUpdateCredentialStatus) String() string
func (*MsgUpdateCredentialStatus) Type ¶ added in v0.2.0
func (msg *MsgUpdateCredentialStatus) Type() string
func (*MsgUpdateCredentialStatus) Unmarshal ¶ added in v0.2.0
func (m *MsgUpdateCredentialStatus) Unmarshal(dAtA []byte) error
func (*MsgUpdateCredentialStatus) ValidateBasic ¶ added in v0.2.0
func (msg *MsgUpdateCredentialStatus) ValidateBasic() error
func (*MsgUpdateCredentialStatus) XXX_DiscardUnknown ¶ added in v0.2.0
func (m *MsgUpdateCredentialStatus) XXX_DiscardUnknown()
func (*MsgUpdateCredentialStatus) XXX_Marshal ¶ added in v0.2.0
func (m *MsgUpdateCredentialStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateCredentialStatus) XXX_Merge ¶ added in v0.2.0
func (m *MsgUpdateCredentialStatus) XXX_Merge(src proto.Message)
func (*MsgUpdateCredentialStatus) XXX_Size ¶ added in v0.2.0
func (m *MsgUpdateCredentialStatus) XXX_Size() int
func (*MsgUpdateCredentialStatus) XXX_Unmarshal ¶ added in v0.2.0
func (m *MsgUpdateCredentialStatus) XXX_Unmarshal(b []byte) error
type MsgUpdateCredentialStatusResponse ¶ added in v0.2.0
type MsgUpdateCredentialStatusResponse struct { }
func (*MsgUpdateCredentialStatusResponse) Descriptor ¶ added in v0.2.0
func (*MsgUpdateCredentialStatusResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateCredentialStatusResponse) Marshal ¶ added in v0.2.0
func (m *MsgUpdateCredentialStatusResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateCredentialStatusResponse) MarshalTo ¶ added in v0.2.0
func (m *MsgUpdateCredentialStatusResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateCredentialStatusResponse) MarshalToSizedBuffer ¶ added in v0.2.0
func (m *MsgUpdateCredentialStatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateCredentialStatusResponse) ProtoMessage ¶ added in v0.2.0
func (*MsgUpdateCredentialStatusResponse) ProtoMessage()
func (*MsgUpdateCredentialStatusResponse) Reset ¶ added in v0.2.0
func (m *MsgUpdateCredentialStatusResponse) Reset()
func (*MsgUpdateCredentialStatusResponse) Size ¶ added in v0.2.0
func (m *MsgUpdateCredentialStatusResponse) Size() (n int)
func (*MsgUpdateCredentialStatusResponse) String ¶ added in v0.2.0
func (m *MsgUpdateCredentialStatusResponse) String() string
func (*MsgUpdateCredentialStatusResponse) Unmarshal ¶ added in v0.2.0
func (m *MsgUpdateCredentialStatusResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateCredentialStatusResponse) XXX_DiscardUnknown ¶ added in v0.2.0
func (m *MsgUpdateCredentialStatusResponse) XXX_DiscardUnknown()
func (*MsgUpdateCredentialStatusResponse) XXX_Marshal ¶ added in v0.2.0
func (m *MsgUpdateCredentialStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateCredentialStatusResponse) XXX_Merge ¶ added in v0.2.0
func (m *MsgUpdateCredentialStatusResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateCredentialStatusResponse) XXX_Size ¶ added in v0.2.0
func (m *MsgUpdateCredentialStatusResponse) XXX_Size() int
func (*MsgUpdateCredentialStatusResponse) XXX_Unmarshal ¶ added in v0.2.0
func (m *MsgUpdateCredentialStatusResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateDID ¶
type MsgUpdateDID struct { DidDocument *DidDocument `protobuf:"bytes,1,opt,name=didDocument,proto3" json:"didDocument,omitempty"` DidDocumentProofs []*DocumentProof `protobuf:"bytes,2,rep,name=didDocumentProofs,proto3" json:"didDocumentProofs,omitempty"` VersionId string `protobuf:"bytes,3,opt,name=versionId,proto3" json:"versionId,omitempty"` TxAuthor string `protobuf:"bytes,4,opt,name=txAuthor,proto3" json:"txAuthor,omitempty"` }
func NewMsgUpdateDID ¶
func NewMsgUpdateDID( didDoc *DidDocument, documentProofs []*DocumentProof, versionId string, txAuthor string, ) *MsgUpdateDID
func (*MsgUpdateDID) Descriptor ¶
func (*MsgUpdateDID) Descriptor() ([]byte, []int)
func (*MsgUpdateDID) GetDidDocument ¶ added in v0.2.0
func (m *MsgUpdateDID) GetDidDocument() *DidDocument
func (*MsgUpdateDID) GetDidDocumentProofs ¶ added in v0.2.0
func (m *MsgUpdateDID) GetDidDocumentProofs() []*DocumentProof
func (*MsgUpdateDID) GetSignBytes ¶
func (msg *MsgUpdateDID) GetSignBytes() []byte
func (*MsgUpdateDID) GetSigners ¶
func (msg *MsgUpdateDID) GetSigners() []sdk.AccAddress
func (*MsgUpdateDID) GetTxAuthor ¶ added in v0.2.0
func (m *MsgUpdateDID) GetTxAuthor() string
func (*MsgUpdateDID) GetVersionId ¶ added in v0.0.3
func (m *MsgUpdateDID) GetVersionId() string
func (*MsgUpdateDID) Marshal ¶
func (m *MsgUpdateDID) Marshal() (dAtA []byte, err error)
func (*MsgUpdateDID) MarshalToSizedBuffer ¶
func (m *MsgUpdateDID) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateDID) ProtoMessage ¶
func (*MsgUpdateDID) ProtoMessage()
func (*MsgUpdateDID) Reset ¶
func (m *MsgUpdateDID) Reset()
func (*MsgUpdateDID) Route ¶
func (msg *MsgUpdateDID) Route() string
func (*MsgUpdateDID) Size ¶
func (m *MsgUpdateDID) Size() (n int)
func (*MsgUpdateDID) String ¶
func (m *MsgUpdateDID) String() string
func (*MsgUpdateDID) Type ¶
func (msg *MsgUpdateDID) Type() string
func (*MsgUpdateDID) Unmarshal ¶
func (m *MsgUpdateDID) Unmarshal(dAtA []byte) error
func (*MsgUpdateDID) ValidateBasic ¶
func (msg *MsgUpdateDID) ValidateBasic() error
func (*MsgUpdateDID) XXX_DiscardUnknown ¶
func (m *MsgUpdateDID) XXX_DiscardUnknown()
func (*MsgUpdateDID) XXX_Marshal ¶
func (m *MsgUpdateDID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateDID) XXX_Merge ¶
func (m *MsgUpdateDID) XXX_Merge(src proto.Message)
func (*MsgUpdateDID) XXX_Size ¶
func (m *MsgUpdateDID) XXX_Size() int
func (*MsgUpdateDID) XXX_Unmarshal ¶
func (m *MsgUpdateDID) XXX_Unmarshal(b []byte) error
type MsgUpdateDIDResponse ¶
type MsgUpdateDIDResponse struct { }
func (*MsgUpdateDIDResponse) Descriptor ¶
func (*MsgUpdateDIDResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateDIDResponse) Marshal ¶
func (m *MsgUpdateDIDResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateDIDResponse) MarshalTo ¶
func (m *MsgUpdateDIDResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateDIDResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateDIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateDIDResponse) ProtoMessage ¶
func (*MsgUpdateDIDResponse) ProtoMessage()
func (*MsgUpdateDIDResponse) Reset ¶
func (m *MsgUpdateDIDResponse) Reset()
func (*MsgUpdateDIDResponse) Size ¶
func (m *MsgUpdateDIDResponse) Size() (n int)
func (*MsgUpdateDIDResponse) String ¶
func (m *MsgUpdateDIDResponse) String() string
func (*MsgUpdateDIDResponse) Unmarshal ¶
func (m *MsgUpdateDIDResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateDIDResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateDIDResponse) XXX_DiscardUnknown()
func (*MsgUpdateDIDResponse) XXX_Marshal ¶
func (m *MsgUpdateDIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateDIDResponse) XXX_Merge ¶
func (m *MsgUpdateDIDResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateDIDResponse) XXX_Size ¶
func (m *MsgUpdateDIDResponse) XXX_Size() int
func (*MsgUpdateDIDResponse) XXX_Unmarshal ¶
func (m *MsgUpdateDIDResponse) XXX_Unmarshal(b []byte) error
type Params ¶
type Params struct { RegisterDidFee *types.Coin `protobuf:"bytes,1,opt,name=register_did_fee,json=registerDidFee,proto3" json:"register_did_fee,omitempty"` UpdateDidFee *types.Coin `protobuf:"bytes,2,opt,name=update_did_fee,json=updateDidFee,proto3" json:"update_did_fee,omitempty"` DeactivateDidFee *types.Coin `protobuf:"bytes,3,opt,name=deactivate_did_fee,json=deactivateDidFee,proto3" json:"deactivate_did_fee,omitempty"` RegisterCredentialSchemaFee *types.Coin `` /* 146-byte string literal not displayed */ UpdateCredentialSchemaFee *types.Coin `` /* 140-byte string literal not displayed */ RegisterCredentialStatusFee *types.Coin `` /* 146-byte string literal not displayed */ UpdateCredentialStatusFee *types.Coin `` /* 140-byte string literal not displayed */ }
Param defines the ssi module's params.
func DefaultParams ¶
func DefaultParams() *Params
func (*Params) Descriptor ¶
func (*Params) GetDeactivateDidFee ¶ added in v0.2.0
func (*Params) GetRegisterCredentialSchemaFee ¶ added in v0.2.0
func (*Params) GetRegisterCredentialStatusFee ¶ added in v0.2.0
func (*Params) GetRegisterDidFee ¶ added in v0.2.0
func (*Params) GetUpdateCredentialSchemaFee ¶ added in v0.2.0
func (*Params) GetUpdateCredentialStatusFee ¶ added in v0.2.0
func (*Params) GetUpdateDidFee ¶ added in v0.2.0
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type QueryClient ¶
type QueryClient interface { // Get the Schema Document for a specified schema id CredentialSchemaByID(ctx context.Context, in *QueryCredentialSchemaRequest, opts ...grpc.CallOption) (*QueryCredentialSchemaResponse, error) // Get the count and list of registered Schemas CredentialSchemas(ctx context.Context, in *QueryCredentialSchemasRequest, opts ...grpc.CallOption) (*QueryCredentialSchemasResponse, error) // Get the Did Document for a specified DID id DidDocumentByID(ctx context.Context, in *QueryDidDocumentRequest, opts ...grpc.CallOption) (*QueryDidDocumentResponse, error) // Get the count and list of registered Did Documents DidDocuments(ctx context.Context, in *QueryDidDocumentsRequest, opts ...grpc.CallOption) (*QueryDidDocumentsResponse, error) // Get the Credential Status for a given credential id CredentialStatusByID(ctx context.Context, in *QueryCredentialStatusRequest, opts ...grpc.CallOption) (*QueryCredentialStatusResponse, error) // Get all the registed Credential Statuses CredentialStatuses(ctx context.Context, in *QueryCredentialStatusesRequest, opts ...grpc.CallOption) (*QueryCredentialStatusesResponse, error) // Get the list of fixed fees for every x/ssi module transactions QuerySSIFee(ctx context.Context, in *QuerySSIFeeRequest, opts ...grpc.CallOption) (*QuerySSIFeeResponse, 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 QueryCredentialSchemaRequest ¶ added in v0.2.0
type QueryCredentialSchemaRequest struct {
SchemaId string `protobuf:"bytes,1,opt,name=schemaId,proto3" json:"schemaId,omitempty"`
}
func (*QueryCredentialSchemaRequest) Descriptor ¶ added in v0.2.0
func (*QueryCredentialSchemaRequest) Descriptor() ([]byte, []int)
func (*QueryCredentialSchemaRequest) GetSchemaId ¶ added in v0.2.0
func (m *QueryCredentialSchemaRequest) GetSchemaId() string
func (*QueryCredentialSchemaRequest) Marshal ¶ added in v0.2.0
func (m *QueryCredentialSchemaRequest) Marshal() (dAtA []byte, err error)
func (*QueryCredentialSchemaRequest) MarshalTo ¶ added in v0.2.0
func (m *QueryCredentialSchemaRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryCredentialSchemaRequest) MarshalToSizedBuffer ¶ added in v0.2.0
func (m *QueryCredentialSchemaRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCredentialSchemaRequest) ProtoMessage ¶ added in v0.2.0
func (*QueryCredentialSchemaRequest) ProtoMessage()
func (*QueryCredentialSchemaRequest) Reset ¶ added in v0.2.0
func (m *QueryCredentialSchemaRequest) Reset()
func (*QueryCredentialSchemaRequest) Size ¶ added in v0.2.0
func (m *QueryCredentialSchemaRequest) Size() (n int)
func (*QueryCredentialSchemaRequest) String ¶ added in v0.2.0
func (m *QueryCredentialSchemaRequest) String() string
func (*QueryCredentialSchemaRequest) Unmarshal ¶ added in v0.2.0
func (m *QueryCredentialSchemaRequest) Unmarshal(dAtA []byte) error
func (*QueryCredentialSchemaRequest) XXX_DiscardUnknown ¶ added in v0.2.0
func (m *QueryCredentialSchemaRequest) XXX_DiscardUnknown()
func (*QueryCredentialSchemaRequest) XXX_Marshal ¶ added in v0.2.0
func (m *QueryCredentialSchemaRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCredentialSchemaRequest) XXX_Merge ¶ added in v0.2.0
func (m *QueryCredentialSchemaRequest) XXX_Merge(src proto.Message)
func (*QueryCredentialSchemaRequest) XXX_Size ¶ added in v0.2.0
func (m *QueryCredentialSchemaRequest) XXX_Size() int
func (*QueryCredentialSchemaRequest) XXX_Unmarshal ¶ added in v0.2.0
func (m *QueryCredentialSchemaRequest) XXX_Unmarshal(b []byte) error
type QueryCredentialSchemaResponse ¶ added in v0.2.0
type QueryCredentialSchemaResponse struct {
CredentialSchemas []*CredentialSchemaState `protobuf:"bytes,1,rep,name=credentialSchemas,proto3" json:"credentialSchemas,omitempty"`
}
func (*QueryCredentialSchemaResponse) Descriptor ¶ added in v0.2.0
func (*QueryCredentialSchemaResponse) Descriptor() ([]byte, []int)
func (*QueryCredentialSchemaResponse) GetCredentialSchemas ¶ added in v0.2.0
func (m *QueryCredentialSchemaResponse) GetCredentialSchemas() []*CredentialSchemaState
func (*QueryCredentialSchemaResponse) Marshal ¶ added in v0.2.0
func (m *QueryCredentialSchemaResponse) Marshal() (dAtA []byte, err error)
func (*QueryCredentialSchemaResponse) MarshalTo ¶ added in v0.2.0
func (m *QueryCredentialSchemaResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryCredentialSchemaResponse) MarshalToSizedBuffer ¶ added in v0.2.0
func (m *QueryCredentialSchemaResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCredentialSchemaResponse) ProtoMessage ¶ added in v0.2.0
func (*QueryCredentialSchemaResponse) ProtoMessage()
func (*QueryCredentialSchemaResponse) Reset ¶ added in v0.2.0
func (m *QueryCredentialSchemaResponse) Reset()
func (*QueryCredentialSchemaResponse) Size ¶ added in v0.2.0
func (m *QueryCredentialSchemaResponse) Size() (n int)
func (*QueryCredentialSchemaResponse) String ¶ added in v0.2.0
func (m *QueryCredentialSchemaResponse) String() string
func (*QueryCredentialSchemaResponse) Unmarshal ¶ added in v0.2.0
func (m *QueryCredentialSchemaResponse) Unmarshal(dAtA []byte) error
func (*QueryCredentialSchemaResponse) XXX_DiscardUnknown ¶ added in v0.2.0
func (m *QueryCredentialSchemaResponse) XXX_DiscardUnknown()
func (*QueryCredentialSchemaResponse) XXX_Marshal ¶ added in v0.2.0
func (m *QueryCredentialSchemaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCredentialSchemaResponse) XXX_Merge ¶ added in v0.2.0
func (m *QueryCredentialSchemaResponse) XXX_Merge(src proto.Message)
func (*QueryCredentialSchemaResponse) XXX_Size ¶ added in v0.2.0
func (m *QueryCredentialSchemaResponse) XXX_Size() int
func (*QueryCredentialSchemaResponse) XXX_Unmarshal ¶ added in v0.2.0
func (m *QueryCredentialSchemaResponse) XXX_Unmarshal(b []byte) error
type QueryCredentialSchemasRequest ¶ added in v0.2.0
type QueryCredentialSchemasRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryCredentialSchemasRequest) Descriptor ¶ added in v0.2.0
func (*QueryCredentialSchemasRequest) Descriptor() ([]byte, []int)
func (*QueryCredentialSchemasRequest) GetPagination ¶ added in v0.2.0
func (m *QueryCredentialSchemasRequest) GetPagination() *query.PageRequest
func (*QueryCredentialSchemasRequest) Marshal ¶ added in v0.2.0
func (m *QueryCredentialSchemasRequest) Marshal() (dAtA []byte, err error)
func (*QueryCredentialSchemasRequest) MarshalTo ¶ added in v0.2.0
func (m *QueryCredentialSchemasRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryCredentialSchemasRequest) MarshalToSizedBuffer ¶ added in v0.2.0
func (m *QueryCredentialSchemasRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCredentialSchemasRequest) ProtoMessage ¶ added in v0.2.0
func (*QueryCredentialSchemasRequest) ProtoMessage()
func (*QueryCredentialSchemasRequest) Reset ¶ added in v0.2.0
func (m *QueryCredentialSchemasRequest) Reset()
func (*QueryCredentialSchemasRequest) Size ¶ added in v0.2.0
func (m *QueryCredentialSchemasRequest) Size() (n int)
func (*QueryCredentialSchemasRequest) String ¶ added in v0.2.0
func (m *QueryCredentialSchemasRequest) String() string
func (*QueryCredentialSchemasRequest) Unmarshal ¶ added in v0.2.0
func (m *QueryCredentialSchemasRequest) Unmarshal(dAtA []byte) error
func (*QueryCredentialSchemasRequest) XXX_DiscardUnknown ¶ added in v0.2.0
func (m *QueryCredentialSchemasRequest) XXX_DiscardUnknown()
func (*QueryCredentialSchemasRequest) XXX_Marshal ¶ added in v0.2.0
func (m *QueryCredentialSchemasRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCredentialSchemasRequest) XXX_Merge ¶ added in v0.2.0
func (m *QueryCredentialSchemasRequest) XXX_Merge(src proto.Message)
func (*QueryCredentialSchemasRequest) XXX_Size ¶ added in v0.2.0
func (m *QueryCredentialSchemasRequest) XXX_Size() int
func (*QueryCredentialSchemasRequest) XXX_Unmarshal ¶ added in v0.2.0
func (m *QueryCredentialSchemasRequest) XXX_Unmarshal(b []byte) error
type QueryCredentialSchemasResponse ¶ added in v0.2.0
type QueryCredentialSchemasResponse struct { Count uint64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` CredentialSchemas []*CredentialSchemaState `protobuf:"bytes,2,rep,name=credentialSchemas,proto3" json:"credentialSchemas,omitempty"` }
func (*QueryCredentialSchemasResponse) Descriptor ¶ added in v0.2.0
func (*QueryCredentialSchemasResponse) Descriptor() ([]byte, []int)
func (*QueryCredentialSchemasResponse) GetCount ¶ added in v0.2.0
func (m *QueryCredentialSchemasResponse) GetCount() uint64
func (*QueryCredentialSchemasResponse) GetCredentialSchemas ¶ added in v0.2.0
func (m *QueryCredentialSchemasResponse) GetCredentialSchemas() []*CredentialSchemaState
func (*QueryCredentialSchemasResponse) Marshal ¶ added in v0.2.0
func (m *QueryCredentialSchemasResponse) Marshal() (dAtA []byte, err error)
func (*QueryCredentialSchemasResponse) MarshalTo ¶ added in v0.2.0
func (m *QueryCredentialSchemasResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryCredentialSchemasResponse) MarshalToSizedBuffer ¶ added in v0.2.0
func (m *QueryCredentialSchemasResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCredentialSchemasResponse) ProtoMessage ¶ added in v0.2.0
func (*QueryCredentialSchemasResponse) ProtoMessage()
func (*QueryCredentialSchemasResponse) Reset ¶ added in v0.2.0
func (m *QueryCredentialSchemasResponse) Reset()
func (*QueryCredentialSchemasResponse) Size ¶ added in v0.2.0
func (m *QueryCredentialSchemasResponse) Size() (n int)
func (*QueryCredentialSchemasResponse) String ¶ added in v0.2.0
func (m *QueryCredentialSchemasResponse) String() string
func (*QueryCredentialSchemasResponse) Unmarshal ¶ added in v0.2.0
func (m *QueryCredentialSchemasResponse) Unmarshal(dAtA []byte) error
func (*QueryCredentialSchemasResponse) XXX_DiscardUnknown ¶ added in v0.2.0
func (m *QueryCredentialSchemasResponse) XXX_DiscardUnknown()
func (*QueryCredentialSchemasResponse) XXX_Marshal ¶ added in v0.2.0
func (m *QueryCredentialSchemasResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCredentialSchemasResponse) XXX_Merge ¶ added in v0.2.0
func (m *QueryCredentialSchemasResponse) XXX_Merge(src proto.Message)
func (*QueryCredentialSchemasResponse) XXX_Size ¶ added in v0.2.0
func (m *QueryCredentialSchemasResponse) XXX_Size() int
func (*QueryCredentialSchemasResponse) XXX_Unmarshal ¶ added in v0.2.0
func (m *QueryCredentialSchemasResponse) XXX_Unmarshal(b []byte) error
type QueryCredentialStatusRequest ¶ added in v0.2.0
type QueryCredentialStatusRequest struct {
CredId string `protobuf:"bytes,1,opt,name=credId,proto3" json:"credId,omitempty"`
}
func (*QueryCredentialStatusRequest) Descriptor ¶ added in v0.2.0
func (*QueryCredentialStatusRequest) Descriptor() ([]byte, []int)
func (*QueryCredentialStatusRequest) GetCredId ¶ added in v0.2.0
func (m *QueryCredentialStatusRequest) GetCredId() string
func (*QueryCredentialStatusRequest) Marshal ¶ added in v0.2.0
func (m *QueryCredentialStatusRequest) Marshal() (dAtA []byte, err error)
func (*QueryCredentialStatusRequest) MarshalTo ¶ added in v0.2.0
func (m *QueryCredentialStatusRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryCredentialStatusRequest) MarshalToSizedBuffer ¶ added in v0.2.0
func (m *QueryCredentialStatusRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCredentialStatusRequest) ProtoMessage ¶ added in v0.2.0
func (*QueryCredentialStatusRequest) ProtoMessage()
func (*QueryCredentialStatusRequest) Reset ¶ added in v0.2.0
func (m *QueryCredentialStatusRequest) Reset()
func (*QueryCredentialStatusRequest) Size ¶ added in v0.2.0
func (m *QueryCredentialStatusRequest) Size() (n int)
func (*QueryCredentialStatusRequest) String ¶ added in v0.2.0
func (m *QueryCredentialStatusRequest) String() string
func (*QueryCredentialStatusRequest) Unmarshal ¶ added in v0.2.0
func (m *QueryCredentialStatusRequest) Unmarshal(dAtA []byte) error
func (*QueryCredentialStatusRequest) XXX_DiscardUnknown ¶ added in v0.2.0
func (m *QueryCredentialStatusRequest) XXX_DiscardUnknown()
func (*QueryCredentialStatusRequest) XXX_Marshal ¶ added in v0.2.0
func (m *QueryCredentialStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCredentialStatusRequest) XXX_Merge ¶ added in v0.2.0
func (m *QueryCredentialStatusRequest) XXX_Merge(src proto.Message)
func (*QueryCredentialStatusRequest) XXX_Size ¶ added in v0.2.0
func (m *QueryCredentialStatusRequest) XXX_Size() int
func (*QueryCredentialStatusRequest) XXX_Unmarshal ¶ added in v0.2.0
func (m *QueryCredentialStatusRequest) XXX_Unmarshal(b []byte) error
type QueryCredentialStatusResponse ¶ added in v0.2.0
type QueryCredentialStatusResponse struct {
CredentialStatus *CredentialStatusState `protobuf:"bytes,1,opt,name=credentialStatus,proto3" json:"credentialStatus,omitempty"`
}
func (*QueryCredentialStatusResponse) Descriptor ¶ added in v0.2.0
func (*QueryCredentialStatusResponse) Descriptor() ([]byte, []int)
func (*QueryCredentialStatusResponse) GetCredentialStatus ¶ added in v0.2.0
func (m *QueryCredentialStatusResponse) GetCredentialStatus() *CredentialStatusState
func (*QueryCredentialStatusResponse) Marshal ¶ added in v0.2.0
func (m *QueryCredentialStatusResponse) Marshal() (dAtA []byte, err error)
func (*QueryCredentialStatusResponse) MarshalTo ¶ added in v0.2.0
func (m *QueryCredentialStatusResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryCredentialStatusResponse) MarshalToSizedBuffer ¶ added in v0.2.0
func (m *QueryCredentialStatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCredentialStatusResponse) ProtoMessage ¶ added in v0.2.0
func (*QueryCredentialStatusResponse) ProtoMessage()
func (*QueryCredentialStatusResponse) Reset ¶ added in v0.2.0
func (m *QueryCredentialStatusResponse) Reset()
func (*QueryCredentialStatusResponse) Size ¶ added in v0.2.0
func (m *QueryCredentialStatusResponse) Size() (n int)
func (*QueryCredentialStatusResponse) String ¶ added in v0.2.0
func (m *QueryCredentialStatusResponse) String() string
func (*QueryCredentialStatusResponse) Unmarshal ¶ added in v0.2.0
func (m *QueryCredentialStatusResponse) Unmarshal(dAtA []byte) error
func (*QueryCredentialStatusResponse) XXX_DiscardUnknown ¶ added in v0.2.0
func (m *QueryCredentialStatusResponse) XXX_DiscardUnknown()
func (*QueryCredentialStatusResponse) XXX_Marshal ¶ added in v0.2.0
func (m *QueryCredentialStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCredentialStatusResponse) XXX_Merge ¶ added in v0.2.0
func (m *QueryCredentialStatusResponse) XXX_Merge(src proto.Message)
func (*QueryCredentialStatusResponse) XXX_Size ¶ added in v0.2.0
func (m *QueryCredentialStatusResponse) XXX_Size() int
func (*QueryCredentialStatusResponse) XXX_Unmarshal ¶ added in v0.2.0
func (m *QueryCredentialStatusResponse) XXX_Unmarshal(b []byte) error
type QueryCredentialStatusesRequest ¶ added in v0.2.0
type QueryCredentialStatusesRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryCredentialStatusesRequest) Descriptor ¶ added in v0.2.0
func (*QueryCredentialStatusesRequest) Descriptor() ([]byte, []int)
func (*QueryCredentialStatusesRequest) GetPagination ¶ added in v0.2.0
func (m *QueryCredentialStatusesRequest) GetPagination() *query.PageRequest
func (*QueryCredentialStatusesRequest) Marshal ¶ added in v0.2.0
func (m *QueryCredentialStatusesRequest) Marshal() (dAtA []byte, err error)
func (*QueryCredentialStatusesRequest) MarshalTo ¶ added in v0.2.0
func (m *QueryCredentialStatusesRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryCredentialStatusesRequest) MarshalToSizedBuffer ¶ added in v0.2.0
func (m *QueryCredentialStatusesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCredentialStatusesRequest) ProtoMessage ¶ added in v0.2.0
func (*QueryCredentialStatusesRequest) ProtoMessage()
func (*QueryCredentialStatusesRequest) Reset ¶ added in v0.2.0
func (m *QueryCredentialStatusesRequest) Reset()
func (*QueryCredentialStatusesRequest) Size ¶ added in v0.2.0
func (m *QueryCredentialStatusesRequest) Size() (n int)
func (*QueryCredentialStatusesRequest) String ¶ added in v0.2.0
func (m *QueryCredentialStatusesRequest) String() string
func (*QueryCredentialStatusesRequest) Unmarshal ¶ added in v0.2.0
func (m *QueryCredentialStatusesRequest) Unmarshal(dAtA []byte) error
func (*QueryCredentialStatusesRequest) XXX_DiscardUnknown ¶ added in v0.2.0
func (m *QueryCredentialStatusesRequest) XXX_DiscardUnknown()
func (*QueryCredentialStatusesRequest) XXX_Marshal ¶ added in v0.2.0
func (m *QueryCredentialStatusesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCredentialStatusesRequest) XXX_Merge ¶ added in v0.2.0
func (m *QueryCredentialStatusesRequest) XXX_Merge(src proto.Message)
func (*QueryCredentialStatusesRequest) XXX_Size ¶ added in v0.2.0
func (m *QueryCredentialStatusesRequest) XXX_Size() int
func (*QueryCredentialStatusesRequest) XXX_Unmarshal ¶ added in v0.2.0
func (m *QueryCredentialStatusesRequest) XXX_Unmarshal(b []byte) error
type QueryCredentialStatusesResponse ¶ added in v0.2.0
type QueryCredentialStatusesResponse struct { Count uint64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` CredentialStatuses []*CredentialStatusState `protobuf:"bytes,2,rep,name=credentialStatuses,proto3" json:"credentialStatuses,omitempty"` }
func (*QueryCredentialStatusesResponse) Descriptor ¶ added in v0.2.0
func (*QueryCredentialStatusesResponse) Descriptor() ([]byte, []int)
func (*QueryCredentialStatusesResponse) GetCount ¶ added in v0.2.0
func (m *QueryCredentialStatusesResponse) GetCount() uint64
func (*QueryCredentialStatusesResponse) GetCredentialStatuses ¶ added in v0.2.0
func (m *QueryCredentialStatusesResponse) GetCredentialStatuses() []*CredentialStatusState
func (*QueryCredentialStatusesResponse) Marshal ¶ added in v0.2.0
func (m *QueryCredentialStatusesResponse) Marshal() (dAtA []byte, err error)
func (*QueryCredentialStatusesResponse) MarshalTo ¶ added in v0.2.0
func (m *QueryCredentialStatusesResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryCredentialStatusesResponse) MarshalToSizedBuffer ¶ added in v0.2.0
func (m *QueryCredentialStatusesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCredentialStatusesResponse) ProtoMessage ¶ added in v0.2.0
func (*QueryCredentialStatusesResponse) ProtoMessage()
func (*QueryCredentialStatusesResponse) Reset ¶ added in v0.2.0
func (m *QueryCredentialStatusesResponse) Reset()
func (*QueryCredentialStatusesResponse) Size ¶ added in v0.2.0
func (m *QueryCredentialStatusesResponse) Size() (n int)
func (*QueryCredentialStatusesResponse) String ¶ added in v0.2.0
func (m *QueryCredentialStatusesResponse) String() string
func (*QueryCredentialStatusesResponse) Unmarshal ¶ added in v0.2.0
func (m *QueryCredentialStatusesResponse) Unmarshal(dAtA []byte) error
func (*QueryCredentialStatusesResponse) XXX_DiscardUnknown ¶ added in v0.2.0
func (m *QueryCredentialStatusesResponse) XXX_DiscardUnknown()
func (*QueryCredentialStatusesResponse) XXX_Marshal ¶ added in v0.2.0
func (m *QueryCredentialStatusesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCredentialStatusesResponse) XXX_Merge ¶ added in v0.2.0
func (m *QueryCredentialStatusesResponse) XXX_Merge(src proto.Message)
func (*QueryCredentialStatusesResponse) XXX_Size ¶ added in v0.2.0
func (m *QueryCredentialStatusesResponse) XXX_Size() int
func (*QueryCredentialStatusesResponse) XXX_Unmarshal ¶ added in v0.2.0
func (m *QueryCredentialStatusesResponse) XXX_Unmarshal(b []byte) error
type QueryDidDocumentRequest ¶ added in v0.1.0
type QueryDidDocumentRequest struct {
DidId string `protobuf:"bytes,1,opt,name=didId,proto3" json:"didId,omitempty"`
}
func (*QueryDidDocumentRequest) Descriptor ¶ added in v0.1.0
func (*QueryDidDocumentRequest) Descriptor() ([]byte, []int)
func (*QueryDidDocumentRequest) GetDidId ¶ added in v0.1.0
func (m *QueryDidDocumentRequest) GetDidId() string
func (*QueryDidDocumentRequest) Marshal ¶ added in v0.1.0
func (m *QueryDidDocumentRequest) Marshal() (dAtA []byte, err error)
func (*QueryDidDocumentRequest) MarshalTo ¶ added in v0.1.0
func (m *QueryDidDocumentRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDidDocumentRequest) MarshalToSizedBuffer ¶ added in v0.1.0
func (m *QueryDidDocumentRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDidDocumentRequest) ProtoMessage ¶ added in v0.1.0
func (*QueryDidDocumentRequest) ProtoMessage()
func (*QueryDidDocumentRequest) Reset ¶ added in v0.1.0
func (m *QueryDidDocumentRequest) Reset()
func (*QueryDidDocumentRequest) Size ¶ added in v0.1.0
func (m *QueryDidDocumentRequest) Size() (n int)
func (*QueryDidDocumentRequest) String ¶ added in v0.1.0
func (m *QueryDidDocumentRequest) String() string
func (*QueryDidDocumentRequest) Unmarshal ¶ added in v0.1.0
func (m *QueryDidDocumentRequest) Unmarshal(dAtA []byte) error
func (*QueryDidDocumentRequest) XXX_DiscardUnknown ¶ added in v0.1.0
func (m *QueryDidDocumentRequest) XXX_DiscardUnknown()
func (*QueryDidDocumentRequest) XXX_Marshal ¶ added in v0.1.0
func (m *QueryDidDocumentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDidDocumentRequest) XXX_Merge ¶ added in v0.1.0
func (m *QueryDidDocumentRequest) XXX_Merge(src proto.Message)
func (*QueryDidDocumentRequest) XXX_Size ¶ added in v0.1.0
func (m *QueryDidDocumentRequest) XXX_Size() int
func (*QueryDidDocumentRequest) XXX_Unmarshal ¶ added in v0.1.0
func (m *QueryDidDocumentRequest) XXX_Unmarshal(b []byte) error
type QueryDidDocumentResponse ¶ added in v0.1.0
type QueryDidDocumentResponse struct { DidDocument *DidDocument `protobuf:"bytes,1,opt,name=didDocument,proto3" json:"didDocument,omitempty"` DidDocumentMetadata *DidDocumentMetadata `protobuf:"bytes,2,opt,name=didDocumentMetadata,proto3" json:"didDocumentMetadata,omitempty"` }
func (*QueryDidDocumentResponse) Descriptor ¶ added in v0.1.0
func (*QueryDidDocumentResponse) Descriptor() ([]byte, []int)
func (*QueryDidDocumentResponse) GetDidDocument ¶ added in v0.1.0
func (m *QueryDidDocumentResponse) GetDidDocument() *DidDocument
func (*QueryDidDocumentResponse) GetDidDocumentMetadata ¶ added in v0.1.0
func (m *QueryDidDocumentResponse) GetDidDocumentMetadata() *DidDocumentMetadata
func (*QueryDidDocumentResponse) Marshal ¶ added in v0.1.0
func (m *QueryDidDocumentResponse) Marshal() (dAtA []byte, err error)
func (*QueryDidDocumentResponse) MarshalTo ¶ added in v0.1.0
func (m *QueryDidDocumentResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDidDocumentResponse) MarshalToSizedBuffer ¶ added in v0.1.0
func (m *QueryDidDocumentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDidDocumentResponse) ProtoMessage ¶ added in v0.1.0
func (*QueryDidDocumentResponse) ProtoMessage()
func (*QueryDidDocumentResponse) Reset ¶ added in v0.1.0
func (m *QueryDidDocumentResponse) Reset()
func (*QueryDidDocumentResponse) Size ¶ added in v0.1.0
func (m *QueryDidDocumentResponse) Size() (n int)
func (*QueryDidDocumentResponse) String ¶ added in v0.1.0
func (m *QueryDidDocumentResponse) String() string
func (*QueryDidDocumentResponse) Unmarshal ¶ added in v0.1.0
func (m *QueryDidDocumentResponse) Unmarshal(dAtA []byte) error
func (*QueryDidDocumentResponse) XXX_DiscardUnknown ¶ added in v0.1.0
func (m *QueryDidDocumentResponse) XXX_DiscardUnknown()
func (*QueryDidDocumentResponse) XXX_Marshal ¶ added in v0.1.0
func (m *QueryDidDocumentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDidDocumentResponse) XXX_Merge ¶ added in v0.1.0
func (m *QueryDidDocumentResponse) XXX_Merge(src proto.Message)
func (*QueryDidDocumentResponse) XXX_Size ¶ added in v0.1.0
func (m *QueryDidDocumentResponse) XXX_Size() int
func (*QueryDidDocumentResponse) XXX_Unmarshal ¶ added in v0.1.0
func (m *QueryDidDocumentResponse) XXX_Unmarshal(b []byte) error
type QueryDidDocumentsRequest ¶ added in v0.1.0
type QueryDidDocumentsRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryDidDocumentsRequest) Descriptor ¶ added in v0.1.0
func (*QueryDidDocumentsRequest) Descriptor() ([]byte, []int)
func (*QueryDidDocumentsRequest) GetPagination ¶ added in v0.1.0
func (m *QueryDidDocumentsRequest) GetPagination() *query.PageRequest
func (*QueryDidDocumentsRequest) Marshal ¶ added in v0.1.0
func (m *QueryDidDocumentsRequest) Marshal() (dAtA []byte, err error)
func (*QueryDidDocumentsRequest) MarshalTo ¶ added in v0.1.0
func (m *QueryDidDocumentsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDidDocumentsRequest) MarshalToSizedBuffer ¶ added in v0.1.0
func (m *QueryDidDocumentsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDidDocumentsRequest) ProtoMessage ¶ added in v0.1.0
func (*QueryDidDocumentsRequest) ProtoMessage()
func (*QueryDidDocumentsRequest) Reset ¶ added in v0.1.0
func (m *QueryDidDocumentsRequest) Reset()
func (*QueryDidDocumentsRequest) Size ¶ added in v0.1.0
func (m *QueryDidDocumentsRequest) Size() (n int)
func (*QueryDidDocumentsRequest) String ¶ added in v0.1.0
func (m *QueryDidDocumentsRequest) String() string
func (*QueryDidDocumentsRequest) Unmarshal ¶ added in v0.1.0
func (m *QueryDidDocumentsRequest) Unmarshal(dAtA []byte) error
func (*QueryDidDocumentsRequest) XXX_DiscardUnknown ¶ added in v0.1.0
func (m *QueryDidDocumentsRequest) XXX_DiscardUnknown()
func (*QueryDidDocumentsRequest) XXX_Marshal ¶ added in v0.1.0
func (m *QueryDidDocumentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDidDocumentsRequest) XXX_Merge ¶ added in v0.1.0
func (m *QueryDidDocumentsRequest) XXX_Merge(src proto.Message)
func (*QueryDidDocumentsRequest) XXX_Size ¶ added in v0.1.0
func (m *QueryDidDocumentsRequest) XXX_Size() int
func (*QueryDidDocumentsRequest) XXX_Unmarshal ¶ added in v0.1.0
func (m *QueryDidDocumentsRequest) XXX_Unmarshal(b []byte) error
type QueryDidDocumentsResponse ¶ added in v0.1.0
type QueryDidDocumentsResponse struct { Count uint64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` DidDocuments []*DidDocumentState `protobuf:"bytes,2,rep,name=didDocuments,proto3" json:"didDocuments,omitempty"` }
func (*QueryDidDocumentsResponse) Descriptor ¶ added in v0.1.0
func (*QueryDidDocumentsResponse) Descriptor() ([]byte, []int)
func (*QueryDidDocumentsResponse) GetCount ¶ added in v0.2.0
func (m *QueryDidDocumentsResponse) GetCount() uint64
func (*QueryDidDocumentsResponse) GetDidDocuments ¶ added in v0.2.0
func (m *QueryDidDocumentsResponse) GetDidDocuments() []*DidDocumentState
func (*QueryDidDocumentsResponse) Marshal ¶ added in v0.1.0
func (m *QueryDidDocumentsResponse) Marshal() (dAtA []byte, err error)
func (*QueryDidDocumentsResponse) MarshalTo ¶ added in v0.1.0
func (m *QueryDidDocumentsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDidDocumentsResponse) MarshalToSizedBuffer ¶ added in v0.1.0
func (m *QueryDidDocumentsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDidDocumentsResponse) ProtoMessage ¶ added in v0.1.0
func (*QueryDidDocumentsResponse) ProtoMessage()
func (*QueryDidDocumentsResponse) Reset ¶ added in v0.1.0
func (m *QueryDidDocumentsResponse) Reset()
func (*QueryDidDocumentsResponse) Size ¶ added in v0.1.0
func (m *QueryDidDocumentsResponse) Size() (n int)
func (*QueryDidDocumentsResponse) String ¶ added in v0.1.0
func (m *QueryDidDocumentsResponse) String() string
func (*QueryDidDocumentsResponse) Unmarshal ¶ added in v0.1.0
func (m *QueryDidDocumentsResponse) Unmarshal(dAtA []byte) error
func (*QueryDidDocumentsResponse) XXX_DiscardUnknown ¶ added in v0.1.0
func (m *QueryDidDocumentsResponse) XXX_DiscardUnknown()
func (*QueryDidDocumentsResponse) XXX_Marshal ¶ added in v0.1.0
func (m *QueryDidDocumentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDidDocumentsResponse) XXX_Merge ¶ added in v0.1.0
func (m *QueryDidDocumentsResponse) XXX_Merge(src proto.Message)
func (*QueryDidDocumentsResponse) XXX_Size ¶ added in v0.1.0
func (m *QueryDidDocumentsResponse) XXX_Size() int
func (*QueryDidDocumentsResponse) XXX_Unmarshal ¶ added in v0.1.0
func (m *QueryDidDocumentsResponse) XXX_Unmarshal(b []byte) error
type QuerySSIFeeRequest ¶ added in v0.2.0
type QuerySSIFeeRequest struct { }
func (*QuerySSIFeeRequest) Descriptor ¶ added in v0.2.0
func (*QuerySSIFeeRequest) Descriptor() ([]byte, []int)
func (*QuerySSIFeeRequest) Marshal ¶ added in v0.2.0
func (m *QuerySSIFeeRequest) Marshal() (dAtA []byte, err error)
func (*QuerySSIFeeRequest) MarshalTo ¶ added in v0.2.0
func (m *QuerySSIFeeRequest) MarshalTo(dAtA []byte) (int, error)
func (*QuerySSIFeeRequest) MarshalToSizedBuffer ¶ added in v0.2.0
func (m *QuerySSIFeeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySSIFeeRequest) ProtoMessage ¶ added in v0.2.0
func (*QuerySSIFeeRequest) ProtoMessage()
func (*QuerySSIFeeRequest) Reset ¶ added in v0.2.0
func (m *QuerySSIFeeRequest) Reset()
func (*QuerySSIFeeRequest) Size ¶ added in v0.2.0
func (m *QuerySSIFeeRequest) Size() (n int)
func (*QuerySSIFeeRequest) String ¶ added in v0.2.0
func (m *QuerySSIFeeRequest) String() string
func (*QuerySSIFeeRequest) Unmarshal ¶ added in v0.2.0
func (m *QuerySSIFeeRequest) Unmarshal(dAtA []byte) error
func (*QuerySSIFeeRequest) XXX_DiscardUnknown ¶ added in v0.2.0
func (m *QuerySSIFeeRequest) XXX_DiscardUnknown()
func (*QuerySSIFeeRequest) XXX_Marshal ¶ added in v0.2.0
func (m *QuerySSIFeeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySSIFeeRequest) XXX_Merge ¶ added in v0.2.0
func (m *QuerySSIFeeRequest) XXX_Merge(src proto.Message)
func (*QuerySSIFeeRequest) XXX_Size ¶ added in v0.2.0
func (m *QuerySSIFeeRequest) XXX_Size() int
func (*QuerySSIFeeRequest) XXX_Unmarshal ¶ added in v0.2.0
func (m *QuerySSIFeeRequest) XXX_Unmarshal(b []byte) error
type QuerySSIFeeResponse ¶ added in v0.2.0
type QuerySSIFeeResponse struct { RegisterDidFee *types.Coin `protobuf:"bytes,1,opt,name=register_did_fee,json=registerDidFee,proto3" json:"register_did_fee,omitempty"` UpdateDidFee *types.Coin `protobuf:"bytes,2,opt,name=update_did_fee,json=updateDidFee,proto3" json:"update_did_fee,omitempty"` DeactivateDidFee *types.Coin `protobuf:"bytes,3,opt,name=deactivate_did_fee,json=deactivateDidFee,proto3" json:"deactivate_did_fee,omitempty"` RegisterCredentialSchemaFee *types.Coin `` /* 146-byte string literal not displayed */ UpdateCredentialSchemaFee *types.Coin `` /* 140-byte string literal not displayed */ RegisterCredentialStatusFee *types.Coin `` /* 146-byte string literal not displayed */ UpdateCredentialStatusFee *types.Coin `` /* 140-byte string literal not displayed */ }
func (*QuerySSIFeeResponse) Descriptor ¶ added in v0.2.0
func (*QuerySSIFeeResponse) Descriptor() ([]byte, []int)
func (*QuerySSIFeeResponse) GetDeactivateDidFee ¶ added in v0.2.0
func (m *QuerySSIFeeResponse) GetDeactivateDidFee() *types.Coin
func (*QuerySSIFeeResponse) GetRegisterCredentialSchemaFee ¶ added in v0.2.0
func (m *QuerySSIFeeResponse) GetRegisterCredentialSchemaFee() *types.Coin
func (*QuerySSIFeeResponse) GetRegisterCredentialStatusFee ¶ added in v0.2.0
func (m *QuerySSIFeeResponse) GetRegisterCredentialStatusFee() *types.Coin
func (*QuerySSIFeeResponse) GetRegisterDidFee ¶ added in v0.2.0
func (m *QuerySSIFeeResponse) GetRegisterDidFee() *types.Coin
func (*QuerySSIFeeResponse) GetUpdateCredentialSchemaFee ¶ added in v0.2.0
func (m *QuerySSIFeeResponse) GetUpdateCredentialSchemaFee() *types.Coin
func (*QuerySSIFeeResponse) GetUpdateCredentialStatusFee ¶ added in v0.2.0
func (m *QuerySSIFeeResponse) GetUpdateCredentialStatusFee() *types.Coin
func (*QuerySSIFeeResponse) GetUpdateDidFee ¶ added in v0.2.0
func (m *QuerySSIFeeResponse) GetUpdateDidFee() *types.Coin
func (*QuerySSIFeeResponse) Marshal ¶ added in v0.2.0
func (m *QuerySSIFeeResponse) Marshal() (dAtA []byte, err error)
func (*QuerySSIFeeResponse) MarshalTo ¶ added in v0.2.0
func (m *QuerySSIFeeResponse) MarshalTo(dAtA []byte) (int, error)
func (*QuerySSIFeeResponse) MarshalToSizedBuffer ¶ added in v0.2.0
func (m *QuerySSIFeeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySSIFeeResponse) ProtoMessage ¶ added in v0.2.0
func (*QuerySSIFeeResponse) ProtoMessage()
func (*QuerySSIFeeResponse) Reset ¶ added in v0.2.0
func (m *QuerySSIFeeResponse) Reset()
func (*QuerySSIFeeResponse) Size ¶ added in v0.2.0
func (m *QuerySSIFeeResponse) Size() (n int)
func (*QuerySSIFeeResponse) String ¶ added in v0.2.0
func (m *QuerySSIFeeResponse) String() string
func (*QuerySSIFeeResponse) Unmarshal ¶ added in v0.2.0
func (m *QuerySSIFeeResponse) Unmarshal(dAtA []byte) error
func (*QuerySSIFeeResponse) XXX_DiscardUnknown ¶ added in v0.2.0
func (m *QuerySSIFeeResponse) XXX_DiscardUnknown()
func (*QuerySSIFeeResponse) XXX_Marshal ¶ added in v0.2.0
func (m *QuerySSIFeeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySSIFeeResponse) XXX_Merge ¶ added in v0.2.0
func (m *QuerySSIFeeResponse) XXX_Merge(src proto.Message)
func (*QuerySSIFeeResponse) XXX_Size ¶ added in v0.2.0
func (m *QuerySSIFeeResponse) XXX_Size() int
func (*QuerySSIFeeResponse) XXX_Unmarshal ¶ added in v0.2.0
func (m *QuerySSIFeeResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // Get the Schema Document for a specified schema id CredentialSchemaByID(context.Context, *QueryCredentialSchemaRequest) (*QueryCredentialSchemaResponse, error) // Get the count and list of registered Schemas CredentialSchemas(context.Context, *QueryCredentialSchemasRequest) (*QueryCredentialSchemasResponse, error) // Get the Did Document for a specified DID id DidDocumentByID(context.Context, *QueryDidDocumentRequest) (*QueryDidDocumentResponse, error) // Get the count and list of registered Did Documents DidDocuments(context.Context, *QueryDidDocumentsRequest) (*QueryDidDocumentsResponse, error) // Get the Credential Status for a given credential id CredentialStatusByID(context.Context, *QueryCredentialStatusRequest) (*QueryCredentialStatusResponse, error) // Get all the registed Credential Statuses CredentialStatuses(context.Context, *QueryCredentialStatusesRequest) (*QueryCredentialStatusesResponse, error) // Get the list of fixed fees for every x/ssi module transactions QuerySSIFee(context.Context, *QuerySSIFeeRequest) (*QuerySSIFeeResponse, error) }
QueryServer is the server API for Query service.
type Service ¶ added in v0.0.2
type Service struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` ServiceEndpoint string `protobuf:"bytes,3,opt,name=serviceEndpoint,proto3" json:"serviceEndpoint,omitempty"` }
func (*Service) Descriptor ¶ added in v0.0.2
func (*Service) GetServiceEndpoint ¶ added in v0.0.2
func (*Service) MarshalToSizedBuffer ¶ added in v0.0.2
func (*Service) ProtoMessage ¶ added in v0.0.2
func (*Service) ProtoMessage()
func (*Service) XXX_DiscardUnknown ¶ added in v0.0.2
func (m *Service) XXX_DiscardUnknown()
func (*Service) XXX_Marshal ¶ added in v0.0.2
func (*Service) XXX_Unmarshal ¶ added in v0.0.2
type SignDoc ¶ added in v0.1.5
type SignDoc struct { AccountNumber string `json:"account_number"` ChainId string `json:"chain_id"` Fee Fees `json:"fee"` Memo string `json:"memo"` Msgs []Msg `json:"msgs"` Sequence string `json:"sequence"` }
Cosmos ADR SignDoc Struct Definitions
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) DeactivateDID ¶ added in v0.0.3
func (*UnimplementedMsgServer) DeactivateDID(ctx context.Context, req *MsgDeactivateDID) (*MsgDeactivateDIDResponse, error)
func (*UnimplementedMsgServer) RegisterCredentialSchema ¶ added in v0.2.0
func (*UnimplementedMsgServer) RegisterCredentialSchema(ctx context.Context, req *MsgRegisterCredentialSchema) (*MsgRegisterCredentialSchemaResponse, error)
func (*UnimplementedMsgServer) RegisterCredentialStatus ¶ added in v0.0.6
func (*UnimplementedMsgServer) RegisterCredentialStatus(ctx context.Context, req *MsgRegisterCredentialStatus) (*MsgRegisterCredentialStatusResponse, error)
func (*UnimplementedMsgServer) RegisterDID ¶ added in v0.2.0
func (*UnimplementedMsgServer) RegisterDID(ctx context.Context, req *MsgRegisterDID) (*MsgRegisterDIDResponse, error)
func (*UnimplementedMsgServer) UpdateCredentialSchema ¶ added in v0.2.0
func (*UnimplementedMsgServer) UpdateCredentialSchema(ctx context.Context, req *MsgUpdateCredentialSchema) (*MsgUpdateCredentialSchemaResponse, error)
func (*UnimplementedMsgServer) UpdateCredentialStatus ¶ added in v0.2.0
func (*UnimplementedMsgServer) UpdateCredentialStatus(ctx context.Context, req *MsgUpdateCredentialStatus) (*MsgUpdateCredentialStatusResponse, error)
func (*UnimplementedMsgServer) UpdateDID ¶
func (*UnimplementedMsgServer) UpdateDID(ctx context.Context, req *MsgUpdateDID) (*MsgUpdateDIDResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) CredentialSchemaByID ¶ added in v0.2.0
func (*UnimplementedQueryServer) CredentialSchemaByID(ctx context.Context, req *QueryCredentialSchemaRequest) (*QueryCredentialSchemaResponse, error)
func (*UnimplementedQueryServer) CredentialSchemas ¶ added in v0.2.0
func (*UnimplementedQueryServer) CredentialSchemas(ctx context.Context, req *QueryCredentialSchemasRequest) (*QueryCredentialSchemasResponse, error)
func (*UnimplementedQueryServer) CredentialStatusByID ¶ added in v0.2.0
func (*UnimplementedQueryServer) CredentialStatusByID(ctx context.Context, req *QueryCredentialStatusRequest) (*QueryCredentialStatusResponse, error)
func (*UnimplementedQueryServer) CredentialStatuses ¶ added in v0.2.0
func (*UnimplementedQueryServer) CredentialStatuses(ctx context.Context, req *QueryCredentialStatusesRequest) (*QueryCredentialStatusesResponse, error)
func (*UnimplementedQueryServer) DidDocumentByID ¶ added in v0.2.0
func (*UnimplementedQueryServer) DidDocumentByID(ctx context.Context, req *QueryDidDocumentRequest) (*QueryDidDocumentResponse, error)
func (*UnimplementedQueryServer) DidDocuments ¶ added in v0.2.0
func (*UnimplementedQueryServer) DidDocuments(ctx context.Context, req *QueryDidDocumentsRequest) (*QueryDidDocumentsResponse, error)
func (*UnimplementedQueryServer) QuerySSIFee ¶ added in v0.2.0
func (*UnimplementedQueryServer) QuerySSIFee(ctx context.Context, req *QuerySSIFeeRequest) (*QuerySSIFeeResponse, error)
type VerificationMethod ¶ added in v0.0.2
type VerificationMethod struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` Controller string `protobuf:"bytes,3,opt,name=controller,proto3" json:"controller,omitempty"` PublicKeyMultibase string `protobuf:"bytes,4,opt,name=publicKeyMultibase,proto3" json:"publicKeyMultibase,omitempty"` BlockchainAccountId string `protobuf:"bytes,5,opt,name=blockchainAccountId,proto3" json:"blockchainAccountId,omitempty"` }
func (*VerificationMethod) Descriptor ¶ added in v0.0.2
func (*VerificationMethod) Descriptor() ([]byte, []int)
func (*VerificationMethod) GetBlockchainAccountId ¶ added in v0.1.6
func (m *VerificationMethod) GetBlockchainAccountId() string
func (*VerificationMethod) GetController ¶ added in v0.0.2
func (m *VerificationMethod) GetController() string
func (*VerificationMethod) GetId ¶ added in v0.0.2
func (m *VerificationMethod) GetId() string
func (*VerificationMethod) GetPublicKeyMultibase ¶ added in v0.0.2
func (m *VerificationMethod) GetPublicKeyMultibase() string
func (*VerificationMethod) GetType ¶ added in v0.0.2
func (m *VerificationMethod) GetType() string
func (*VerificationMethod) Marshal ¶ added in v0.0.2
func (m *VerificationMethod) Marshal() (dAtA []byte, err error)
func (*VerificationMethod) MarshalTo ¶ added in v0.0.2
func (m *VerificationMethod) MarshalTo(dAtA []byte) (int, error)
func (*VerificationMethod) MarshalToSizedBuffer ¶ added in v0.0.2
func (m *VerificationMethod) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*VerificationMethod) ProtoMessage ¶ added in v0.0.2
func (*VerificationMethod) ProtoMessage()
func (*VerificationMethod) Reset ¶ added in v0.0.2
func (m *VerificationMethod) Reset()
func (*VerificationMethod) Size ¶ added in v0.0.2
func (m *VerificationMethod) Size() (n int)
func (*VerificationMethod) String ¶ added in v0.0.2
func (m *VerificationMethod) String() string
func (*VerificationMethod) Unmarshal ¶ added in v0.0.2
func (m *VerificationMethod) Unmarshal(dAtA []byte) error
func (*VerificationMethod) XXX_DiscardUnknown ¶ added in v0.0.2
func (m *VerificationMethod) XXX_DiscardUnknown()
func (*VerificationMethod) XXX_Marshal ¶ added in v0.0.2
func (m *VerificationMethod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VerificationMethod) XXX_Merge ¶ added in v0.0.2
func (m *VerificationMethod) XXX_Merge(src proto.Message)
func (*VerificationMethod) XXX_Size ¶ added in v0.0.2
func (m *VerificationMethod) XXX_Size() int
func (*VerificationMethod) XXX_Unmarshal ¶ added in v0.0.2
func (m *VerificationMethod) XXX_Unmarshal(b []byte) error
Source Files ¶
- chain_namespace_validation.go
- client_spec.pb.go
- codec.go
- common.go
- credential_schema.pb.go
- credential_status.pb.go
- did.pb.go
- did_alias.go
- diddoc_validation.go
- errors.go
- expected_keepers.go
- genesis.go
- genesis.pb.go
- keys.go
- message_credential.go
- message_did.go
- message_schema.go
- params.go
- proof.pb.go
- proof_validation.go
- query.pb.go
- query.pb.gw.go
- ssi_types.go
- tx.pb.go
- utils.go