Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) AllCustomIsms(c context.Context, req *types.QueryAllCustomIsmsRequest) (*types.QueryAllCustomIsmsResponse, error)
- func (k Keeper) AllDefaultIsms(c context.Context, req *types.QueryAllDefaultIsmsRequest) (*types.QueryAllDefaultIsmsResponse, error)
- func (k Keeper) CreateIsm(goCtx context.Context, msg *types.MsgCreateIsm) (*types.MsgCreateIsmResponse, error)
- func (k Keeper) CustomIsm(c context.Context, req *types.QueryCustomIsmRequest) (*types.QueryCustomIsmResponse, error)
- func (k Keeper) ExportCustomIsms(ctx sdk.Context) []types.CustomIsm
- func (k Keeper) ExportDefaultIsms(ctx sdk.Context) []types.DefaultIsm
- func (k Keeper) ExportGenesis(ctx sdk.Context) types.GenesisState
- func (k Keeper) InitGenesis(ctx sdk.Context, gs types.GenesisState) error
- func (k Keeper) OriginsDefaultIsm(c context.Context, req *types.QueryOriginsDefaultIsmRequest) (*types.QueryOriginsDefaultIsmResponse, error)
- func (k Keeper) SetDefaultIsm(goCtx context.Context, msg *types.MsgSetDefaultIsm) (*types.MsgSetDefaultIsmResponse, error)
- func (k Keeper) Verify(goCtx context.Context, metadata, message []byte, ismId uint32) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMsgServerImpl ¶
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 ¶
func (k Keeper) AllCustomIsms(c context.Context, req *types.QueryAllCustomIsmsRequest) (*types.QueryAllCustomIsmsResponse, error)
AllCustomIsms implements the Query all custom ISMs gRPC method
func (Keeper) AllDefaultIsms ¶
func (k Keeper) AllDefaultIsms(c context.Context, req *types.QueryAllDefaultIsmsRequest) (*types.QueryAllDefaultIsmsResponse, error)
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 ¶
func (k Keeper) CustomIsm(c context.Context, req *types.QueryCustomIsmRequest) (*types.QueryCustomIsmResponse, error)
CustomIsm implements the Query custom ISM gRPC method
func (Keeper) ExportCustomIsms ¶
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 ¶
InitGenesis initializes the hyperlane ISM module's state from a provided genesis state.
func (Keeper) OriginsDefaultIsm ¶
func (k Keeper) OriginsDefaultIsm(c context.Context, req *types.QueryOriginsDefaultIsmRequest) (*types.QueryOriginsDefaultIsmResponse, error)
OriginsDefaultIsm implements the Query origins default ISM gRPC method
func (Keeper) SetDefaultIsm ¶
func (k Keeper) SetDefaultIsm(goCtx context.Context, msg *types.MsgSetDefaultIsm) (*types.MsgSetDefaultIsmResponse, error)
SetDefaultIsm defines a rpc handler method for MsgSetDefaultIsm