connection

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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

func GetQueryCmd(cdc *codec.Codec, queryRoute string) *cobra.Command

GetQueryCmd returns no root query command for the IBC connections.

func GetTxCmd

func GetTxCmd(cdc *codec.Codec, storeKey string) *cobra.Command

GetTxCmd returns the root tx 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 Name

func Name() string

Name returns the IBC connection ICS name

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 Keeper

type Keeper = keeper.Keeper

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

type State

type State = types.State

Directories

Path Synopsis
client
cli

Jump to

Keyboard shortcuts

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