Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAttestatorHandler ¶
func NewAttestatorHandler(k Keeper) lightclient.AttestatorsController
func NewMsgServerImpl ¶
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)
RegisterInvariants registers the configmodule module invariants
Types ¶
type AttestatorHandler ¶
type AttestatorHandler struct {
// contains filtered or unexported fields
}
func (AttestatorHandler) GetPublicKey ¶
func (a AttestatorHandler) GetPublicKey(ctx context.Context, attestatorId []byte) (cryptotypes.PubKey, error)
func (AttestatorHandler) SufficientAttestations ¶
type Keeper ¶
type Keeper struct { Schema collections.Schema Params collections.Item[types.Params] Attestators collections.Map[[]byte, types.Attestator] // 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 ¶
GetAuthority returns the configmodule module's authority.
func (Keeper) SetNewAttestator ¶
Click to show internal directories.
Click to hide internal directories.