Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) identity.MsgServer
- func NewQueryServerImpl(k Keeper) identity.QueryServer
- type Keeper
- func (k Keeper) DeriveAccount(ctx context.Context, id string) error
- func (k *Keeper) ExportGenesis(ctx context.Context) (*identity.GenesisState, error)
- func (k Keeper) GenerateIdentity(ctx context.Context) error
- func (k Keeper) GetAuthority() string
- func (k *Keeper) InitGenesis(ctx context.Context, data *identity.GenesisState) error
- func (k Keeper) LinkCredential(ctx context.Context, identityID string) error
- func (k Keeper) LinkPersona(ctx context.Context, identityID string) error
- func (k Keeper) RevokeAccount(ctx context.Context, identityID string) error
- func (k Keeper) RevokeIdentity(ctx context.Context, identityID string) error
- func (k Keeper) SignWithAccount(ctx context.Context, identityID string) error
- func (k Keeper) UnlinkCredential(ctx context.Context, identityID string) error
- func (k Keeper) UnlinkPersona(ctx context.Context, identityID string) error
- func (k Keeper) VerifyAccountSignature(ctx context.Context, identityID string) error
- type Migrator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMsgServerImpl ¶
NewMsgServerImpl returns an implementation of the module MsgServer interface.
func NewQueryServerImpl ¶ added in v0.8.10
func NewQueryServerImpl(k Keeper) identity.QueryServer
NewQueryServerImpl returns an implementation of the module QueryServer.
Types ¶
type Keeper ¶
type Keeper struct { // state management Schema collections.Schema Params collections.Item[identity.Params] Counter collections.Map[string, uint64] // contains filtered or unexported fields }
func NewKeeper ¶
func NewKeeper(cdc codec.BinaryCodec, addressCodec address.Codec, storeService storetypes.KVStoreService, bk identity.BankKeeper, authority string, ) Keeper
NewKeeper creates a new Keeper instance
func (Keeper) DeriveAccount ¶ added in v0.8.10
DeriveAccount uses MPC to generate a new Account for an Identity.
func (*Keeper) ExportGenesis ¶ added in v0.8.10
ExportGenesis exports the module state to a genesis state.
func (Keeper) GenerateIdentity ¶ added in v0.8.10
GenerateIdentity generates a new Identity.
func (Keeper) GetAuthority ¶ added in v0.8.10
GetAuthority returns the module's authority.
func (*Keeper) InitGenesis ¶ added in v0.8.10
InitGenesis initializes the module state from a genesis state.
func (Keeper) LinkCredential ¶ added in v0.8.10
LinkCredential links a Credential to a Persona.
func (Keeper) LinkPersona ¶ added in v0.8.10
LinkPersona links a Persona to an Account and Identity.
func (Keeper) RevokeAccount ¶ added in v0.8.10
RevokeAccount revokes an Account.
func (Keeper) RevokeIdentity ¶ added in v0.8.10
RevokeIdentity revokes an Identity.
func (Keeper) SignWithAccount ¶ added in v0.8.10
SignWithAccount signs a message with an Account.
func (Keeper) UnlinkCredential ¶ added in v0.8.10
UnlinkCredential unlinks a Credential from a Persona.
func (Keeper) UnlinkPersona ¶ added in v0.8.10
UnlinkPersona unlinks a Persona from an Account and Identity.