keeper

package
v0.0.0-...-eab7081 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: Apache-2.0 Imports: 13 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 return an implementation of the ism MsgServer interface for the provided keeper

Types

type Keeper

type Keeper struct {
	// implements gRPC QueryServer interface
	types.QueryServer
	// contains filtered or unexported fields
}

func NewKeeper

func NewKeeper(cdc codec.BinaryCodec, key storetypes.StoreKey, authority string) Keeper

func (Keeper) AllCustomIsms

AllCustomIsms implements the Query all custom ISMs gRPC method

func (Keeper) AllDefaultIsms

AllDefaultIsms implements the Query all default ISMs gRPC method

func (Keeper) CreateIsm

func (k Keeper) CreateIsm(goCtx context.Context, msg *types.MsgCreateIsm) (*types.MsgCreateIsmResponse, error)

CreateIsm defines a rpc handler method for MsgCreateIsm

func (Keeper) CustomIsm

CustomIsm implements the Query custom ISM gRPC method

func (Keeper) ExportCustomIsms

func (k Keeper) ExportCustomIsms(ctx sdk.Context) []types.CustomIsm

ExportCustomIsms return the custom ISMs

func (Keeper) ExportDefaultIsms

func (k Keeper) ExportDefaultIsms(ctx sdk.Context) []types.DefaultIsm

ExportDefaultIsms return the default ISMs

func (Keeper) ExportGenesis

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

ExportGenesis returns the hyperlane ISM module's exported genesis.

func (Keeper) InitGenesis

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

InitGenesis initializes the hyperlane ISM module's state from a provided genesis state.

func (Keeper) OriginsDefaultIsm

OriginsDefaultIsm implements the Query origins default ISM gRPC method

func (Keeper) SetDefaultIsm

SetDefaultIsm defines a rpc handler method for MsgSetDefaultIsm

func (Keeper) Verify

func (k Keeper) Verify(goCtx context.Context, metadata, message []byte, ismId uint32) (bool, error)

Jump to

Keyboard shortcuts

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