keeper

package
v0.0.0-...-6124862 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2026 License: MIT Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMsgServerImpl

func NewMsgServerImpl(k Keeper) types.MsgServer

NewMsgServerImpl returns an implementation of the MsgServer interface for the provided Keeper.

func RoleToString

func RoleToString(role uint8) string

Types

type Keeper

type Keeper struct {
	IcaCtrlKeeper types.ICAControllerKeeper

	Params collections.Item[types.Params]
	// contains filtered or unexported fields
}

func NewKeeper

func NewKeeper(
	cdc codec.BinaryCodec,
	storeService storetypes.KVStoreService,
	icaCtrlKeeper types.ICAControllerKeeper,
	authority string,
) Keeper

func (Keeper) ExportGenesis

func (k Keeper) ExportGenesis(ctx sdk.Context) *types.GenesisState

ExportGenesis returns the module's exported genesis state.

func (Keeper) GetAdmins

func (k Keeper) GetAdmins(ctx sdk.Context) []string

func (Keeper) GetAuthority

func (k Keeper) GetAuthority() string

func (Keeper) GetControllerConnectionID

func (k Keeper) GetControllerConnectionID(ctx sdk.Context) string

func (Keeper) GetDidByAddress

func (k Keeper) GetDidByAddress(ctx sdk.Context, address []byte) ([]byte, error)

func (Keeper) GetDidForAddressRole

func (k Keeper) GetDidForAddressRole(ctx sdk.Context, address []byte, role uint8) ([]byte, bool)

func (Keeper) GetEncoding

func (k Keeper) GetEncoding(ctx sdk.Context) string

func (Keeper) GetHostConnectionID

func (k Keeper) GetHostConnectionID(ctx sdk.Context) string

func (Keeper) GetICAMetadata

func (k Keeper) GetICAMetadata(ctx sdk.Context) string

func (Keeper) GetParams

func (k Keeper) GetParams(ctx sdk.Context) (p types.Params, e error)

func (Keeper) GetPidByAddress

func (k Keeper) GetPidByAddress(ctx sdk.Context, address []byte) ([]byte, error)

func (Keeper) GetPolicyId

func (k Keeper) GetPolicyId(ctx sdk.Context) string

func (Keeper) GetTxType

func (k Keeper) GetTxType(ctx sdk.Context) string

func (Keeper) GetVersion

func (k Keeper) GetVersion(ctx sdk.Context) string

func (Keeper) InitGenesis

func (k Keeper) InitGenesis(ctx sdk.Context, gs types.GenesisState)

func (Keeper) IsAdmin

func (k Keeper) IsAdmin(ctx sdk.Context, address string) bool

func (Keeper) Logger

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

func (Keeper) RegisterEntity

func (k Keeper) RegisterEntity(
	ctx sdk.Context,
	peerKeyPubkey []byte,
	peerKeySignature []byte,
	nodeIdentityKeyPubkey []byte,
	nodeIdentityKeySignature []byte,
	message []byte,
	entity uint8,
	address []byte,
) ([]byte, []byte, error)

func (Keeper) RegisterObject

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

func (Keeper) SetControllerConnectionID

func (k Keeper) SetControllerConnectionID(ctx sdk.Context, connectionID string)

func (Keeper) SetEncoding

func (k Keeper) SetEncoding(ctx sdk.Context, encoding string)

func (Keeper) SetHostConnectionID

func (k Keeper) SetHostConnectionID(ctx sdk.Context, hostConnectionID string)

func (Keeper) SetParams

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

func (Keeper) SetPolicyId

func (k Keeper) SetPolicyId(ctx sdk.Context, txType string)

func (Keeper) SetTxType

func (k Keeper) SetTxType(ctx sdk.Context, txType string)

func (Keeper) SetVersion

func (k Keeper) SetVersion(ctx sdk.Context, version string)

Jump to

Keyboard shortcuts

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