channel

package
v0.0.0-...-7c30539 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExportGenesis

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

ExportGenesis returns the ibc channel submodule's exported genesis.

func GetQueryCmd

func GetQueryCmd() *cobra.Command

GetQueryCmd returns the root query command for IBC channels.

func GetTxCmd

func GetTxCmd() *cobra.Command

GetTxCmd returns the root tx command for IBC channels.

func HandleMsgChannelCloseConfirm

func HandleMsgChannelCloseConfirm(ctx sdk.Context, k keeper.Keeper, channelCap *capabilitytypes.Capability, msg *types.MsgChannelCloseConfirm) (*sdk.Result, error)

HandleMsgChannelCloseConfirm defines the sdk.Handler for MsgChannelCloseConfirm

func HandleMsgChannelCloseInit

func HandleMsgChannelCloseInit(ctx sdk.Context, k keeper.Keeper, channelCap *capabilitytypes.Capability, msg *types.MsgChannelCloseInit) (*sdk.Result, error)

HandleMsgChannelCloseInit defines the sdk.Handler for MsgChannelCloseInit

func HandleMsgChannelOpenAck

func HandleMsgChannelOpenAck(ctx sdk.Context, k keeper.Keeper, channelCap *capabilitytypes.Capability, msg *types.MsgChannelOpenAck) (*sdk.Result, error)

HandleMsgChannelOpenAck defines the sdk.Handler for MsgChannelOpenAck

func HandleMsgChannelOpenConfirm

func HandleMsgChannelOpenConfirm(ctx sdk.Context, k keeper.Keeper, channelCap *capabilitytypes.Capability, msg *types.MsgChannelOpenConfirm) (*sdk.Result, error)

HandleMsgChannelOpenConfirm defines the sdk.Handler for MsgChannelOpenConfirm

func HandleMsgChannelOpenInit

func HandleMsgChannelOpenInit(ctx sdk.Context, k keeper.Keeper, portCap *capabilitytypes.Capability, msg *types.MsgChannelOpenInit) (*sdk.Result, *capabilitytypes.Capability, error)

HandleMsgChannelOpenInit defines the sdk.Handler for MsgChannelOpenInit

func HandleMsgChannelOpenTry

func HandleMsgChannelOpenTry(ctx sdk.Context, k keeper.Keeper, portCap *capabilitytypes.Capability, msg *types.MsgChannelOpenTry) (*sdk.Result, *capabilitytypes.Capability, error)

HandleMsgChannelOpenTry defines the sdk.Handler for MsgChannelOpenTry

func InitGenesis

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

InitGenesis initializes the ibc channel submodule's state from a provided genesis state.

func Name

func Name() string

Name returns the IBC channel ICS name.

func RegisterQueryService

func RegisterQueryService(server grpc.Server, queryServer types.QueryServer)

RegisterQueryService registers the gRPC query service for IBC channels.

func RegisterRESTRoutes

func RegisterRESTRoutes(clientCtx client.Context, rtr *mux.Router)

RegisterRESTRoutes registers the REST routes for IBC channels.

Types

This section is empty.

Directories

Path Synopsis
client
cli

Jump to

Keyboard shortcuts

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