Documentation ¶
Index ¶
- Constants
- Variables
- func GetQueryCmd(cdc *codec.Codec, queryRoute string) *cobra.Command
- func GetTxCmd(cdc *codec.Codec, storeKey string) *cobra.Command
- func HandleMsgConnectionOpenAck(ctx sdk.Context, k Keeper, msg MsgConnectionOpenAck) (*sdk.Result, error)
- func HandleMsgConnectionOpenConfirm(ctx sdk.Context, k Keeper, msg MsgConnectionOpenConfirm) (*sdk.Result, error)
- func HandleMsgConnectionOpenInit(ctx sdk.Context, k Keeper, msg MsgConnectionOpenInit) (*sdk.Result, error)
- func HandleMsgConnectionOpenTry(ctx sdk.Context, k Keeper, msg MsgConnectionOpenTry) (*sdk.Result, error)
- func InitGenesis(ctx sdk.Context, k Keeper, gs GenesisState)
- func Name() string
- func RegisterRESTRoutes(ctx context.CLIContext, rtr *mux.Router, queryRoute string)
- type ClientConnectionsResponse
- type ClientKeeper
- type Counterparty
- type End
- type GenesisState
- type Keeper
- type MsgConnectionOpenAck
- type MsgConnectionOpenConfirm
- type MsgConnectionOpenInit
- type MsgConnectionOpenTry
- type Paths
- type QueryClientConnectionsParams
- type Response
- type State
Constants ¶
View Source
const ( AttributeKeyConnectionID = types.AttributeKeyConnectionID AttributeKeyCounterpartyClientID = types.AttributeKeyCounterpartyClientID SubModuleName = types.SubModuleName StoreKey = types.StoreKey RouterKey = types.RouterKey QuerierRoute = types.QuerierRoute QueryAllConnections = types.QueryAllConnections QueryAllClientConnections = types.QueryAllClientConnections QueryClientConnections = types.QueryClientConnections UNINITIALIZED = types.UNINITIALIZED INIT = types.INIT TRYOPEN = types.TRYOPEN OPEN = types.OPEN )
Variables ¶
View Source
var ( // functions aliases NewKeeper = keeper.NewKeeper QuerierConnections = keeper.QuerierConnections QuerierClientConnections = keeper.QuerierClientConnections QuerierAllClientConnections = keeper.QuerierAllClientConnections RegisterCodec = types.RegisterCodec RegisterInterfaces = types.RegisterInterfaces NewConnectionEnd = types.NewConnectionEnd NewCounterparty = types.NewCounterparty ErrConnectionExists = types.ErrConnectionExists ErrConnectionNotFound = types.ErrConnectionNotFound ErrClientConnectionPathsNotFound = types.ErrClientConnectionPathsNotFound ErrConnectionPath = types.ErrConnectionPath ErrInvalidConnectionState = types.ErrInvalidConnectionState ErrInvalidCounterparty = types.ErrInvalidCounterparty NewMsgConnectionOpenInit = types.NewMsgConnectionOpenInit NewMsgConnectionOpenTry = types.NewMsgConnectionOpenTry NewMsgConnectionOpenAck = types.NewMsgConnectionOpenAck NewMsgConnectionOpenConfirm = types.NewMsgConnectionOpenConfirm NewConnectionResponse = types.NewConnectionResponse NewClientConnectionsResponse = types.NewClientConnectionsResponse NewQueryClientConnectionsParams = types.NewQueryClientConnectionsParams GetCompatibleVersions = types.GetCompatibleVersions LatestVersion = types.LatestVersion PickVersion = types.PickVersion NewConnectionPaths = types.NewConnectionPaths DefaultGenesisState = types.DefaultGenesisState NewGenesisState = types.NewGenesisState // variable aliases SubModuleCdc = types.SubModuleCdc EventTypeConnectionOpenInit = types.EventTypeConnectionOpenInit EventTypeConnectionOpenTry = types.EventTypeConnectionOpenTry EventTypeConnectionOpenAck = types.EventTypeConnectionOpenAck EventTypeConnectionOpenConfirm = types.EventTypeConnectionOpenConfirm AttributeValueCategory = types.AttributeValueCategory )
Functions ¶
func GetQueryCmd ¶
GetQueryCmd returns no root query command for the IBC connections.
func HandleMsgConnectionOpenAck ¶
func HandleMsgConnectionOpenAck(ctx sdk.Context, k Keeper, msg MsgConnectionOpenAck) (*sdk.Result, error)
HandleMsgConnectionOpenAck defines the sdk.Handler for MsgConnectionOpenAck
func HandleMsgConnectionOpenConfirm ¶
func HandleMsgConnectionOpenConfirm(ctx sdk.Context, k Keeper, msg MsgConnectionOpenConfirm) (*sdk.Result, error)
HandleMsgConnectionOpenConfirm defines the sdk.Handler for MsgConnectionOpenConfirm
func HandleMsgConnectionOpenInit ¶
func HandleMsgConnectionOpenInit(ctx sdk.Context, k Keeper, msg MsgConnectionOpenInit) (*sdk.Result, error)
HandleMsgConnectionOpenInit defines the sdk.Handler for MsgConnectionOpenInit
func HandleMsgConnectionOpenTry ¶
func HandleMsgConnectionOpenTry(ctx sdk.Context, k Keeper, msg MsgConnectionOpenTry) (*sdk.Result, error)
HandleMsgConnectionOpenTry defines the sdk.Handler for MsgConnectionOpenTry
func InitGenesis ¶
func InitGenesis(ctx sdk.Context, k Keeper, gs GenesisState)
InitGenesis initializes the ibc connection 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 connections.
Types ¶
type ClientConnectionsResponse ¶
type ClientConnectionsResponse = types.ClientConnectionsResponse
type ClientKeeper ¶
type ClientKeeper = types.ClientKeeper
type Counterparty ¶
type Counterparty = types.Counterparty
type End ¶
type End = types.ConnectionEnd
type GenesisState ¶
type GenesisState = types.GenesisState
func ExportGenesis ¶
func ExportGenesis(ctx sdk.Context, k Keeper) GenesisState
ExportGenesis returns the ibc connection submodule's exported genesis.
type MsgConnectionOpenAck ¶
type MsgConnectionOpenAck = types.MsgConnectionOpenAck
type MsgConnectionOpenConfirm ¶
type MsgConnectionOpenConfirm = types.MsgConnectionOpenConfirm
type MsgConnectionOpenInit ¶
type MsgConnectionOpenInit = types.MsgConnectionOpenInit
type MsgConnectionOpenTry ¶
type MsgConnectionOpenTry = types.MsgConnectionOpenTry
type Paths ¶
type Paths = types.ConnectionPaths
type QueryClientConnectionsParams ¶
type QueryClientConnectionsParams = types.QueryClientConnectionsParams
type Response ¶
type Response = types.ConnectionResponse
Click to show internal directories.
Click to hide internal directories.