Documentation ¶
Index ¶
- Constants
- Variables
- func GetQueryCmd(cdc *codec.Codec, queryRoute string) *cobra.Command
- func GetTxCmd(cdc *codec.Codec, storeKey string) *cobra.Command
- func HandleMsgChannelCloseConfirm(ctx sdk.Context, k keeper.Keeper, channelCap *capability.Capability, ...) (*sdk.Result, error)
- func HandleMsgChannelCloseInit(ctx sdk.Context, k keeper.Keeper, channelCap *capability.Capability, ...) (*sdk.Result, error)
- func HandleMsgChannelOpenAck(ctx sdk.Context, k keeper.Keeper, channelCap *capability.Capability, ...) (*sdk.Result, error)
- func HandleMsgChannelOpenConfirm(ctx sdk.Context, k keeper.Keeper, channelCap *capability.Capability, ...) (*sdk.Result, error)
- func HandleMsgChannelOpenInit(ctx sdk.Context, k keeper.Keeper, portCap *capability.Capability, ...) (*sdk.Result, *capability.Capability, error)
- func HandleMsgChannelOpenTry(ctx sdk.Context, k keeper.Keeper, portCap *capability.Capability, ...) (*sdk.Result, *capability.Capability, error)
- func InitGenesis(ctx sdk.Context, k Keeper, gs GenesisState)
- func Name() string
- func RegisterRESTRoutes(ctx context.CLIContext, rtr *mux.Router, queryRoute string)
- type Channel
- type ChannelResponse
- type ClientKeeper
- type ConnectionKeeper
- type Counterparty
- type GenesisState
- type IdentifiedChannel
- type Keeper
- type MsgAcknowledgement
- type MsgChannelCloseConfirm
- type MsgChannelCloseInit
- type MsgChannelOpenAck
- type MsgChannelOpenConfirm
- type MsgChannelOpenInit
- type MsgChannelOpenTry
- type MsgPacket
- type MsgTimeout
- type Order
- type Packet
- type PacketAckCommitment
- type PacketSequence
- type PortKeeper
- type State
Constants ¶
const ( SubModuleName = types.SubModuleName StoreKey = types.StoreKey RouterKey = types.RouterKey QuerierRoute = types.QuerierRoute QueryAllChannels = types.QueryAllChannels QueryConnectionChannels = types.QueryConnectionChannels QueryChannel = types.QueryChannel UNINITIALIZED = types.UNINITIALIZED INIT = types.INIT TRYOPEN = types.TRYOPEN OPEN = types.OPEN CLOSED = types.CLOSED NONE = types.NONE UNORDERED = types.UNORDERED ORDERED = types.ORDERED )
Variables ¶
var ( // functions aliases NewKeeper = keeper.NewKeeper QuerierChannels = keeper.QuerierChannels QuerierConnectionChannels = keeper.QuerierConnectionChannels NewChannel = types.NewChannel NewCounterparty = types.NewCounterparty NewIdentifiedChannel = types.NewIdentifiedChannel RegisterCodec = types.RegisterCodec RegisterInterfaces = types.RegisterInterfaces ErrChannelExists = types.ErrChannelExists ErrChannelNotFound = types.ErrChannelNotFound ErrInvalidCounterparty = types.ErrInvalidCounterparty ErrChannelCapabilityNotFound = types.ErrChannelCapabilityNotFound ErrInvalidPacket = types.ErrInvalidPacket ErrSequenceSendNotFound = types.ErrSequenceSendNotFound ErrSequenceReceiveNotFound = types.ErrSequenceReceiveNotFound ErrPacketTimeout = types.ErrPacketTimeout ErrInvalidChannel = types.ErrInvalidChannel ErrInvalidChannelState = types.ErrInvalidChannelState ErrAcknowledgementTooLong = types.ErrAcknowledgementTooLong NewMsgChannelOpenInit = types.NewMsgChannelOpenInit NewMsgChannelOpenTry = types.NewMsgChannelOpenTry NewMsgChannelOpenAck = types.NewMsgChannelOpenAck NewMsgChannelOpenConfirm = types.NewMsgChannelOpenConfirm NewMsgChannelCloseInit = types.NewMsgChannelCloseInit NewMsgChannelCloseConfirm = types.NewMsgChannelCloseConfirm NewMsgPacket = types.NewMsgPacket NewMsgTimeout = types.NewMsgTimeout NewMsgAcknowledgement = types.NewMsgAcknowledgement NewPacket = types.NewPacket NewPacketAckCommitment = types.NewPacketAckCommitment NewPacketSequence = types.NewPacketSequence NewChannelResponse = types.NewChannelResponse DefaultGenesisState = types.DefaultGenesisState NewGenesisState = types.NewGenesisState // variable aliases SubModuleCdc = types.SubModuleCdc EventTypeChannelOpenInit = types.EventTypeChannelOpenInit EventTypeChannelOpenTry = types.EventTypeChannelOpenTry EventTypeChannelOpenAck = types.EventTypeChannelOpenAck EventTypeChannelOpenConfirm = types.EventTypeChannelOpenConfirm EventTypeChannelCloseInit = types.EventTypeChannelCloseInit EventTypeChannelCloseConfirm = types.EventTypeChannelCloseConfirm AttributeValueCategory = types.AttributeValueCategory )
Functions ¶
func GetQueryCmd ¶
GetQueryCmd returns no root query command for the IBC connections.
func HandleMsgChannelCloseConfirm ¶
func HandleMsgChannelCloseConfirm(ctx sdk.Context, k keeper.Keeper, channelCap *capability.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 *capability.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 *capability.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 *capability.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 *capability.Capability, msg types.MsgChannelOpenInit) (*sdk.Result, *capability.Capability, error)
HandleMsgChannelOpenInit defines the sdk.Handler for MsgChannelOpenInit
func HandleMsgChannelOpenTry ¶
func HandleMsgChannelOpenTry(ctx sdk.Context, k keeper.Keeper, portCap *capability.Capability, msg types.MsgChannelOpenTry) (*sdk.Result, *capability.Capability, error)
HandleMsgChannelOpenTry defines the sdk.Handler for MsgChannelOpenTry
func InitGenesis ¶
func InitGenesis(ctx sdk.Context, k Keeper, gs GenesisState)
InitGenesis initializes the ibc channel submodule's state from a provided genesis state.
func RegisterRESTRoutes ¶
func RegisterRESTRoutes(ctx context.CLIContext, rtr *mux.Router, queryRoute string)
RegisterRESTRoutes registers the REST routes for the IBC channel
Types ¶
type GenesisState ¶
type GenesisState = types.GenesisState
nolint: golint
func ExportGenesis ¶
func ExportGenesis(ctx sdk.Context, k Keeper) GenesisState
ExportGenesis returns the ibc channel submodule's exported genesis.
type MsgChannelCloseConfirm ¶
type MsgChannelCloseConfirm = types.MsgChannelCloseConfirm
nolint: golint
type MsgChannelOpenConfirm ¶
type MsgChannelOpenConfirm = types.MsgChannelOpenConfirm
nolint: golint