keeper

package
v0.6.26 Latest Latest
Warning

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

Go to latest
Published: May 28, 2023 License: GPL-3.0 Imports: 17 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,

	groupKeeper types.GroupKeeper,
	identityKeeper types.IdentityKeeper,
	vaultKeeper types.VaultKeeper,
	authenticator gateway.Authenticator,
) *Keeper

func (Keeper) GatewayLoginFinish added in v0.6.26

func (k Keeper) GatewayLoginFinish(c *fiber.Ctx) error

func (Keeper) GatewayRegisterFinish added in v0.6.26

func (k Keeper) GatewayRegisterFinish(c *fiber.Ctx) error

func (Keeper) GetAllServiceRecord

func (k Keeper) GetAllServiceRecord(ctx sdk.Context) (list []types.ServiceRecord)

GetAllServiceRecord returns all serviceRecord

func (Keeper) GetAllServiceRelationships added in v0.6.26

func (k Keeper) GetAllServiceRelationships(ctx sdk.Context) (list []types.ServiceRelationship)

GetAllServiceRelationships returns all serviceRelationships

func (Keeper) GetParams

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

GetParams get all parameters as types.Params

func (Keeper) GetServiceRecord

func (k Keeper) GetServiceRecord(
	ctx sdk.Context,
	origin string,
) (val types.ServiceRecord, found bool)

GetServiceRecord returns a serviceRecord from its Id

func (Keeper) GetServiceRelationship added in v0.6.26

func (k Keeper) GetServiceRelationship(ctx sdk.Context, id string) (val types.ServiceRelationship, found bool)

GetServiceRelationships returns a serviceRelationships from its id

func (Keeper) ListServiceRecords added in v0.6.26

func (Keeper) Logger

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

func (Keeper) Params

func (Keeper) RemoveServiceRecord

func (k Keeper) RemoveServiceRecord(
	ctx sdk.Context,
	Id string,

)

RemoveServiceRecord removes a serviceRecord from the store

func (Keeper) RemoveServiceRelationship added in v0.6.26

func (k Keeper) RemoveServiceRelationship(ctx sdk.Context, id string)

RemoveServiceRelationships removes a serviceRelationships from the store

func (Keeper) ServiceAssertion added in v0.6.26

func (Keeper) ServiceAttestion added in v0.6.26

ServiceAttestion returns the attestion options for a given service record and desired Identity alias

func (Keeper) ServiceRelationship added in v0.6.26

func (Keeper) SetParams

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

SetParams set the params

func (Keeper) SetServiceRecord

func (k Keeper) SetServiceRecord(ctx sdk.Context, serviceRecord types.ServiceRecord)

SetServiceRecord set a specific serviceRecord in the store from its Id

func (Keeper) SetServiceRelationship added in v0.6.26

func (k Keeper) SetServiceRelationship(ctx sdk.Context, serviceRelationships types.ServiceRelationship)

SetServiceRelationships set a specific serviceRelationships in the store

Jump to

Keyboard shortcuts

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