cosmos-sdk: github.com/cosmos/cosmos-sdk/x/ibc/04-channel Index | Files | Directories

package channel

import "github.com/cosmos/cosmos-sdk/x/ibc/04-channel"

Index

Package Files

genesis.go handler.go module.go

func ExportGenesis Uses

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

ExportGenesis returns the ibc channel submodule's exported genesis.

func GetQueryCmd Uses

func GetQueryCmd() *cobra.Command

GetQueryCmd returns the root query command for IBC channels.

func GetTxCmd Uses

func GetTxCmd() *cobra.Command

GetTxCmd returns the root tx command for IBC channels.

func HandleMsgChannelCloseConfirm Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

func Name() string

Name returns the IBC channel ICS name.

func RegisterQueryService Uses

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

RegisterQueryService registers the gRPC query service for IBC channels.

func RegisterRESTRoutes Uses

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

RegisterRESTRoutes registers the REST routes for IBC channels.

Directories

PathSynopsis
client/cli
client/rest
client/utils
exported
keeper
simulation
types

Package channel imports 11 packages (graph) and is imported by 4 packages. Updated 2020-08-13. Refresh now. Tools for package owners.