Versions in this module Expand all Collapse all v1 v1.0.0 Dec 15, 2020 Changes in this version + const AttributeValueCategory + const Context + const DefaultParamspace + const DidIdentifer + const ModuleName + const QuerierRoute + const QueryParams + const RouterKey + const StoreKey + const VcContext + var DidDocumentKey = []byte + var ModuleCdc *codec.Codec + var VerifiableCredentialKey = []byte + func ParamKeyTable() params.KeyTable + func RegisterCodec(cdc *codec.Codec) + func ValidateGenesis(data GenesisState) error + type CredentialSubject struct + IsVerified bool + Role string + func NewCredentialSubject(role string, isVerified bool) CredentialSubject + type DidDocument struct + Authentication PubKeys + Context string + ID string + Service Services + func NewDidDocument(context string, id string, authentication PubKeys, services Services) DidDocument + type GenesisState struct + func DefaultGenesisState() GenesisState + func NewGenesisState() GenesisState + type MsgCreateDidDocument struct + Authentication PubKeys + Context string + ID string + Owner sdk.AccAddress + Services Services + func NewMsgCreateDidDocument(context string, id string, authentication PubKeys, services Services, ...) MsgCreateDidDocument + func (msg MsgCreateDidDocument) GetSignBytes() []byte + func (msg MsgCreateDidDocument) GetSigners() []sdk.AccAddress + func (msg MsgCreateDidDocument) Route() string + func (msg MsgCreateDidDocument) Type() string + func (msg MsgCreateDidDocument) ValidateBasic() error + type MsgCreateVerifiableCredential struct + Context string + CredentialSubject CredentialSubject + DidUrl string + ID string + Issuer string + Owner sdk.AccAddress + Proof Proof + VcType string + func NewMsgCreateVerifiableCredential(didurl string, context string, id string, vctype string, issuer string, ...) MsgCreateVerifiableCredential + func (msg MsgCreateVerifiableCredential) GetSignBytes() []byte + func (msg MsgCreateVerifiableCredential) GetSigners() []sdk.AccAddress + func (msg MsgCreateVerifiableCredential) Route() string + func (msg MsgCreateVerifiableCredential) Type() string + func (msg MsgCreateVerifiableCredential) ValidateBasic() error + type ParamSubspace interface + Get func(ctx sdk.Context, key []byte, ptr interface{}) + GetParamSet func(ctx sdk.Context, ps params.ParamSet) + SetParamSet func(ctx sdk.Context, ps params.ParamSet) + WithKeyTable func(table params.KeyTable) params.Subspace + type Params struct + func DefaultParams() Params + func NewParams() Params + func (p *Params) ParamSetPairs() params.ParamSetPairs + func (p Params) String() string + type Proof struct + Attributes string + IssuerData string + Signature string + SignatureCorrectnessProof string + Type string + func NewProof(ptype string, issuerData string, attributes string, signature string, ...) Proof + type PubKey struct + Controller sdk.AccAddress + ID string + PublicKeyBase58 string + Type string + func NewPubKey(id string, pubKeyType string, controller sdk.AccAddress, base58Value string) PubKey + type PubKeys []PubKey + type Service struct + ID string + ServiceEndpoint string + Type string + func NewService(id string, serviceType string, serviceEndpoint string) Service + type Services []Service + type VerifiableCredential struct + Context string + CredentialSubject CredentialSubject + ID string + Issuer string + Proof Proof + Type string + func NewVerifiableCredential(context string, id string, vctype string, issuer string, ...) VerifiableCredential