keeper

package
v0.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2023 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMsgServerImpl

func NewMsgServerImpl(keeper Keeper) types.MsgServer

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) DidAll

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

func (k Keeper) GetDidDocument(
	ctx sdk.Context,
	did string,

) (val types.DidDocument, found bool)

GetDidDocument returns a didDocument from its index

func (Keeper) GetDidDocumentByAKA

func (k Keeper) GetDidDocumentByAKA(ctx sdk.Context, aka string) (types.DidDocument, bool)

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) GetParams

func (k Keeper) GetParams(ctx sdk.Context) types.Params

GetParams get all parameters as types.Params

func (Keeper) Logger

func (k Keeper) Logger(ctx sdk.Context) log.Logger

func (Keeper) Params

func (Keeper) QueryByKeyID

func (Keeper) QueryByMethod

func (Keeper) QueryByNetwork

func (Keeper) RemoveDidDocument

func (k Keeper) RemoveDidDocument(
	ctx sdk.Context,
	did string,

)

RemoveDidDocument removes a didDocument from the store

func (Keeper) RemoveDomainRecord

func (k Keeper) RemoveDomainRecord(
	ctx sdk.Context,
	index string,
	domain string,
)

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

func (Keeper) SetParams

func (k Keeper) SetParams(ctx sdk.Context, params types.Params)

SetParams set the params

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL