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) DomainRecord(c context.Context, req *types.QueryGetDomainRecordRequest) (*types.QueryGetDomainRecordResponse, error)
- func (k Keeper) DomainRecordAll(c context.Context, req *types.QueryAllDomainRecordRequest) (*types.QueryAllDomainRecordResponse, error)
- func (k Keeper) GetAllDidDocument(ctx sdk.Context) (list []types.DidDocument)
- func (k Keeper) GetAllDomainRecord(ctx sdk.Context) (list []types.DomainRecord)
- 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) GetDomainRecord(ctx sdk.Context, domain string, tld string) (val types.DomainRecord, found bool)
- func (k Keeper) GetParams(ctx sdk.Context) types.Params
- 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) QueryByAlsoKnownAs(c context.Context, req *types.QueryByAlsoKnownAsRequest) (*types.QueryByAlsoKnownAsResponse, error)
- func (k Keeper) QueryByKeyID(c context.Context, req *types.QueryByKeyIDRequest) (*types.QueryByKeyIDResponse, error)
- func (k Keeper) QueryByMethod(c context.Context, req *types.QueryByMethodRequest) (*types.QueryByMethodResponse, error)
- func (k Keeper) QueryByNetwork(goCtx context.Context, req *types.QueryByNetworkRequest) (*types.QueryByNetworkResponse, error)
- func (k Keeper) QueryByService(c context.Context, req *types.QueryByServiceRequest) (*types.QueryByServiceResponse, error)
- func (k Keeper) RemoveDidDocument(ctx sdk.Context, did string)
- func (k Keeper) RemoveDomainRecord(ctx sdk.Context, index string, domain string)
- func (k Keeper) SetDidDocument(ctx sdk.Context, didDocument types.DidDocument)
- func (k Keeper) SetDomainRecord(ctx sdk.Context, DomainRecord types.DomainRecord)
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params)
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) DomainRecord ¶
func (k Keeper) DomainRecord(c context.Context, req *types.QueryGetDomainRecordRequest) (*types.QueryGetDomainRecordResponse, error)
func (Keeper) DomainRecordAll ¶
func (k Keeper) DomainRecordAll(c context.Context, req *types.QueryAllDomainRecordRequest) (*types.QueryAllDomainRecordResponse, error)
func (Keeper) GetAllDidDocument ¶
func (k Keeper) GetAllDidDocument(ctx sdk.Context) (list []types.DidDocument)
GetAllDidDocument returns all didDocument
func (Keeper) GetAllDomainRecord ¶
func (k Keeper) GetAllDomainRecord(ctx sdk.Context) (list []types.DomainRecord)
GetAllDomainRecord returns all DomainRecord
func (Keeper) GetDidDocument ¶
GetDidDocument returns a didDocument from its index
func (Keeper) GetDidDocumentByAKA ¶
func (Keeper) GetDomainRecord ¶
func (k Keeper) GetDomainRecord( ctx sdk.Context, domain string, tld string, ) (val types.DomainRecord, found bool)
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) QueryByAlsoKnownAs ¶
func (k Keeper) QueryByAlsoKnownAs(c context.Context, req *types.QueryByAlsoKnownAsRequest) (*types.QueryByAlsoKnownAsResponse, error)
func (Keeper) QueryByKeyID ¶
func (k Keeper) QueryByKeyID(c context.Context, req *types.QueryByKeyIDRequest) (*types.QueryByKeyIDResponse, error)
func (Keeper) QueryByMethod ¶
func (k Keeper) QueryByMethod(c context.Context, req *types.QueryByMethodRequest) (*types.QueryByMethodResponse, error)
func (Keeper) QueryByNetwork ¶
func (k Keeper) QueryByNetwork(goCtx context.Context, req *types.QueryByNetworkRequest) (*types.QueryByNetworkResponse, error)
func (Keeper) QueryByService ¶
func (k Keeper) QueryByService(c context.Context, req *types.QueryByServiceRequest) (*types.QueryByServiceResponse, error)
func (Keeper) RemoveDidDocument ¶
RemoveDidDocument removes a didDocument from the store
func (Keeper) RemoveDomainRecord ¶
RemoveDomainRecord removes a DomainRecord from the store
func (Keeper) SetDidDocument ¶
func (k Keeper) SetDidDocument(ctx sdk.Context, didDocument types.DidDocument)
SetDidDocument set a specific didDocument in the store from its index
func (Keeper) SetDomainRecord ¶
func (k Keeper) SetDomainRecord(ctx sdk.Context, DomainRecord types.DomainRecord)
SetDomainRecord set a specific DomainRecord in the store from its index
Click to show internal directories.
Click to hide internal directories.