Documentation ¶
Index ¶
- func GenerateDid(accountAddr, nameToRegister string, cred *types.Credential) (*did.Document, error)
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- func ValidateName(rs string) (string, error)
- type Keeper
- func (k Keeper) GetAllWhoIs(ctx sdk.Context) (list []types.WhoIs)
- func (k Keeper) GetParams(ctx sdk.Context) types.Params
- func (k Keeper) GetWhoIs(ctx sdk.Context, index string) (val types.WhoIs, found bool)
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
- func (k Keeper) RemoveWhoIs(ctx sdk.Context, index string)
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params)
- func (k Keeper) SetWhoIs(ctx sdk.Context, whoIs types.WhoIs)
- func (k Keeper) WhoIs(c context.Context, req *types.QueryGetWhoIsRequest) (*types.QueryGetWhoIsResponse, error)
- func (k Keeper) WhoIsAll(c context.Context, req *types.QueryAllWhoIsRequest) (*types.QueryAllWhoIsResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateDid ¶
GenerateDid generates a new did document
func NewMsgServerImpl ¶
NewMsgServerImpl returns an implementation of the MsgServer interface for the provided Keeper.
func ValidateName ¶ added in v0.0.6
ValidateName checks if the given name to register is correct length and valid characters
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, storeKey, memKey sdk.StoreKey, ps paramtypes.Subspace, accountKeeper types.AccountKeeper, bankKeeper types.BankKeeper, capabilityKeeper types.CapabilityKeeper, mintKeeper types.MintKeeper, ) *Keeper
func (Keeper) GetAllWhoIs ¶
GetAllWhoIs returns all whoIs
func (Keeper) Params ¶
func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
func (Keeper) RemoveWhoIs ¶
RemoveWhoIs removes a whoIs from the store
func (Keeper) WhoIs ¶
func (k Keeper) WhoIs(c context.Context, req *types.QueryGetWhoIsRequest) (*types.QueryGetWhoIsResponse, error)
func (Keeper) WhoIsAll ¶
func (k Keeper) WhoIsAll(c context.Context, req *types.QueryAllWhoIsRequest) (*types.QueryAllWhoIsResponse, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.