Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) Did(c context.Context, req *types.QueryGetDidRequest) (*types.QueryGetDidResponse, error)
- func (k Keeper) DidAll(c context.Context, req *types.QueryAllDidRequest) (*types.QueryAllDidResponse, error)
- func (k Keeper) DidByAlsoKnownAs(c context.Context, req *types.QueryDidByAlsoKnownAsRequest) (*types.QueryDidByAlsoKnownAsResponse, error)
- func (k Keeper) DidByKeyID(c context.Context, req *types.QueryDidByKeyIDRequest) (*types.QueryDidByKeyIDResponse, error)
- func (k Keeper) GetAllDidDocument(ctx sdk.Context) (list []types.DidDocument)
- func (k Keeper) GetAllServices(ctx sdk.Context) (list []types.Service)
- func (k Keeper) GetDidDocument(ctx sdk.Context, did string) (val types.DidDocument, found bool)
- func (k Keeper) GetDidDocumentByAKA(ctx sdk.Context, aka string) (types.DidDocument, bool)
- func (k Keeper) GetParams(ctx sdk.Context) types.Params
- func (k Keeper) GetService(ctx sdk.Context, origin string) (val types.Service, 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) RemoveDidDocument(ctx sdk.Context, did string)
- func (k Keeper) RemoveDomainRecord(ctx sdk.Context, origin string)
- func (k Keeper) Service(c context.Context, req *types.QueryGetServiceRequest) (*types.QueryGetServiceResponse, error)
- func (k Keeper) ServiceAll(goCtx context.Context, req *types.QueryAllServiceRequest) (*types.QueryAllServiceResponse, error)
- func (k Keeper) SetDidDocument(ctx sdk.Context, didDocument types.DidDocument)
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params)
- func (k Keeper) SetService(ctx sdk.Context, Service types.Service)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMsgServerImpl ¶
NewMsgServerImpl returns an implementation of the MsgServer interface for the provided Keeper.
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, storeKey, memKey storetypes.StoreKey, ps paramtypes.Subspace, accountKeeper types.AccountKeeper, bankKeeper types.BankKeeper, groupKeeper types.GroupKeeper, ) *Keeper
func (Keeper) Did ¶
func (k Keeper) Did(c context.Context, req *types.QueryGetDidRequest) (*types.QueryGetDidResponse, error)
func (Keeper) DidAll ¶
func (k Keeper) DidAll(c context.Context, req *types.QueryAllDidRequest) (*types.QueryAllDidResponse, error)
func (Keeper) DidByAlsoKnownAs ¶ added in v0.4.0
func (k Keeper) DidByAlsoKnownAs(c context.Context, req *types.QueryDidByAlsoKnownAsRequest) (*types.QueryDidByAlsoKnownAsResponse, error)
func (Keeper) DidByKeyID ¶ added in v0.4.0
func (k Keeper) DidByKeyID(c context.Context, req *types.QueryDidByKeyIDRequest) (*types.QueryDidByKeyIDResponse, error)
func (Keeper) GetAllDidDocument ¶
func (k Keeper) GetAllDidDocument(ctx sdk.Context) (list []types.DidDocument)
GetAllDidDocument returns all didDocument
func (Keeper) GetAllServices ¶ added in v0.4.0
GetAllServices returns all Services
func (Keeper) GetDidDocument ¶
GetDidDocument returns a didDocument from its index
func (Keeper) GetDidDocumentByAKA ¶
func (Keeper) GetService ¶ added in v0.4.0
GetDomainRecord returns a DomainRecord from its index
func (Keeper) Params ¶
func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
func (Keeper) RemoveDidDocument ¶
RemoveDidDocument removes a didDocument from the store
func (Keeper) RemoveDomainRecord ¶
RemoveDomainRecord removes a DomainRecord from the store
func (Keeper) Service ¶ added in v0.4.0
func (k Keeper) Service(c context.Context, req *types.QueryGetServiceRequest) (*types.QueryGetServiceResponse, error)
func (Keeper) ServiceAll ¶ added in v0.4.0
func (k Keeper) ServiceAll(goCtx context.Context, req *types.QueryAllServiceRequest) (*types.QueryAllServiceResponse, error)
func (Keeper) SetDidDocument ¶
func (k Keeper) SetDidDocument(ctx sdk.Context, didDocument types.DidDocument)
SetDidDocument set a specific didDocument in the store from its index
Click to show internal directories.
Click to hide internal directories.