keeper

package
v0.0.0-...-4d80304 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAttestatorHandler

func NewAttestatorHandler(k Keeper) lightclient.AttestatorsController

func NewMsgServerImpl

func NewMsgServerImpl(keeper Keeper) types.MsgServer

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

func NewQueryServer

func NewQueryServer(k Keeper) types.QueryServer

func RegisterInvariants

func RegisterInvariants(ir sdk.InvariantRegistry, k Keeper)

TODO: Implement RegisterInvariants registers the configmodule module invariants

Types

type AttestatorHandler

type AttestatorHandler struct {
	// contains filtered or unexported fields
}

func (AttestatorHandler) SufficientAttestations

func (a AttestatorHandler) SufficientAttestations(ctx context.Context, attestatorIds [][]byte) (bool, error)

TODO: Implement properly

type Keeper

type Keeper struct {
	Schema collections.Schema
	Params collections.Item[types.Params]
	// contains filtered or unexported fields
}

func NewKeeper

func NewKeeper(
	storeService store.KVStoreService,
	cdc codec.BinaryCodec,
	validatorAddressCodec addresscodec.Codec,
	authority string,
	stakingKeeper types.StakingKeeper,
) Keeper

func (Keeper) GetAuthority

func (k Keeper) GetAuthority() string

GetAuthority returns the configmodule module's authority.

Jump to

Keyboard shortcuts

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