Versions in this module Expand all Collapse all v0 v0.1.3 Nov 25, 2021 v0.1.1 Nov 25, 2021 Changes in this version + const AttributeKeyClientID + const AttributeKeyConnectionID + const AttributeKeyCounterpartyClientID + const QuerierRoute + const QueryAllClientConnections + const QueryAllConnections + const QueryClientConnections + const RouterKey + const StoreKey + const SubModuleName + var AttributeValueCategory = fmt.Sprintf("%s_%s", host.ModuleName, SubModuleName) + var ErrClientConnectionPathsNotFound = sdkerrors.Register(SubModuleName, 4, "light client connection paths not found") + var ErrConnectionExists = sdkerrors.Register(SubModuleName, 2, "connection already exists") + var ErrConnectionNotFound = sdkerrors.Register(SubModuleName, 3, "connection not found") + var ErrConnectionPath = sdkerrors.Register(SubModuleName, 5, ...) + var ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") + var ErrInvalidConnection = sdkerrors.Register(SubModuleName, 8, "invalid connection") + var ErrInvalidConnectionState = sdkerrors.Register(SubModuleName, 6, "invalid connection state") + var ErrInvalidCounterparty = sdkerrors.Register(SubModuleName, 7, "invalid counterparty connection") + var ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group") + var EventTypeConnectionOpenAck = MsgConnectionOpenAck{}.Type() + var EventTypeConnectionOpenConfirm = MsgConnectionOpenConfirm{}.Type() + var EventTypeConnectionOpenInit = MsgConnectionOpenInit{}.Type() + var EventTypeConnectionOpenTry = MsgConnectionOpenTry{}.Type() + var State_name = map[int32]string + var State_value = map[string]int32 + var SubModuleCdc = codec.NewHybridCodec(amino, cdctypes.NewInterfaceRegistry()) + func GetCompatibleVersions() []string + func LatestVersion(versions []string) string + func PickVersion(counterpartyVersions, compatibleVersions []string) string + func RegisterCodec(cdc *codec.Codec) + func RegisterInterfaces(registry cdctypes.InterfaceRegistry) + type ClientConnectionsResponse struct + ConnectionPaths []string + Proof commitmenttypes.MerkleProof + ProofHeight uint64 + ProofPath commitmenttypes.MerklePath + func NewClientConnectionsResponse(clientID string, connectionPaths []string, proof *merkle.Proof, height int64) ClientConnectionsResponse + type ClientKeeper interface + ClientStore func(ctx sdk.Context, clientID string) sdk.KVStore + GetClientConsensusState func(ctx sdk.Context, clientID string, height uint64) (clientexported.ConsensusState, bool) + GetClientState func(ctx sdk.Context, clientID string) (clientexported.ClientState, bool) + GetSelfConsensusState func(ctx sdk.Context, height uint64) (clientexported.ConsensusState, bool) + IterateClients func(ctx sdk.Context, cb func(clientexported.ClientState) bool) + type ClientPaths struct + Paths []string + func (*ClientPaths) Descriptor() ([]byte, []int) + func (*ClientPaths) ProtoMessage() + func (m *ClientPaths) GetPaths() []string + func (m *ClientPaths) Marshal() (dAtA []byte, err error) + func (m *ClientPaths) MarshalTo(dAtA []byte) (int, error) + func (m *ClientPaths) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ClientPaths) Reset() + func (m *ClientPaths) Size() (n int) + func (m *ClientPaths) String() string + func (m *ClientPaths) Unmarshal(dAtA []byte) error + func (m *ClientPaths) XXX_DiscardUnknown() + func (m *ClientPaths) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ClientPaths) XXX_Merge(src proto.Message) + func (m *ClientPaths) XXX_Size() int + func (m *ClientPaths) XXX_Unmarshal(b []byte) error + type ConnectionEnd struct + ClientID string + Counterparty Counterparty + ID string + State State + Versions []string + func NewConnectionEnd(state State, connectionID, clientID string, counterparty Counterparty, ...) ConnectionEnd + func (*ConnectionEnd) Descriptor() ([]byte, []int) + func (*ConnectionEnd) ProtoMessage() + func (c ConnectionEnd) GetClientID() string + func (c ConnectionEnd) GetCounterparty() exported.CounterpartyI + func (c ConnectionEnd) GetID() string + func (c ConnectionEnd) GetState() int32 + func (c ConnectionEnd) GetVersions() []string + func (c ConnectionEnd) ValidateBasic() error + func (m *ConnectionEnd) Marshal() (dAtA []byte, err error) + func (m *ConnectionEnd) MarshalTo(dAtA []byte) (int, error) + func (m *ConnectionEnd) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ConnectionEnd) Reset() + func (m *ConnectionEnd) Size() (n int) + func (m *ConnectionEnd) String() string + func (m *ConnectionEnd) Unmarshal(dAtA []byte) error + func (m *ConnectionEnd) XXX_DiscardUnknown() + func (m *ConnectionEnd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ConnectionEnd) XXX_Merge(src proto.Message) + func (m *ConnectionEnd) XXX_Size() int + func (m *ConnectionEnd) XXX_Unmarshal(b []byte) error + type ConnectionPaths struct + ClientID string + Paths []string + func NewConnectionPaths(id string, paths []string) ConnectionPaths + type ConnectionResponse struct + Connection ConnectionEnd + Proof commitmenttypes.MerkleProof + ProofHeight uint64 + ProofPath commitmenttypes.MerklePath + func NewConnectionResponse(connectionID string, connection ConnectionEnd, proof *merkle.Proof, ...) ConnectionResponse + type Counterparty struct + ClientID string + ConnectionID string + Prefix types.MerklePrefix + func NewCounterparty(clientID, connectionID string, prefix commitmenttypes.MerklePrefix) Counterparty + func (*Counterparty) Descriptor() ([]byte, []int) + func (*Counterparty) ProtoMessage() + func (c Counterparty) GetClientID() string + func (c Counterparty) GetConnectionID() string + func (c Counterparty) GetPrefix() commitmentexported.Prefix + func (c Counterparty) ValidateBasic() error + func (m *Counterparty) Marshal() (dAtA []byte, err error) + func (m *Counterparty) MarshalTo(dAtA []byte) (int, error) + func (m *Counterparty) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Counterparty) Reset() + func (m *Counterparty) Size() (n int) + func (m *Counterparty) String() string + func (m *Counterparty) Unmarshal(dAtA []byte) error + func (m *Counterparty) XXX_DiscardUnknown() + func (m *Counterparty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Counterparty) XXX_Merge(src proto.Message) + func (m *Counterparty) XXX_Size() int + func (m *Counterparty) XXX_Unmarshal(b []byte) error + type GenesisState struct + ClientConnectionPaths []ConnectionPaths + Connections []ConnectionEnd + func DefaultGenesisState() GenesisState + func NewGenesisState(connections []ConnectionEnd, connPaths []ConnectionPaths) GenesisState + func (gs GenesisState) Validate() error + type MsgConnectionOpenAck struct + ConnectionID string + ConsensusHeight uint64 + ProofConsensus types.MerkleProof + ProofHeight uint64 + ProofTry types.MerkleProof + Signer github_com_cosmos_cosmos_sdk_types.AccAddress + Version string + func NewMsgConnectionOpenAck(connectionID string, proofTry, proofConsensus commitmenttypes.MerkleProof, ...) MsgConnectionOpenAck + func (*MsgConnectionOpenAck) Descriptor() ([]byte, []int) + func (*MsgConnectionOpenAck) ProtoMessage() + func (m *MsgConnectionOpenAck) GetConnectionID() string + func (m *MsgConnectionOpenAck) GetConsensusHeight() uint64 + func (m *MsgConnectionOpenAck) GetProofConsensus() types.MerkleProof + func (m *MsgConnectionOpenAck) GetProofHeight() uint64 + func (m *MsgConnectionOpenAck) GetProofTry() types.MerkleProof + func (m *MsgConnectionOpenAck) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress + func (m *MsgConnectionOpenAck) GetVersion() string + func (m *MsgConnectionOpenAck) Marshal() (dAtA []byte, err error) + func (m *MsgConnectionOpenAck) MarshalTo(dAtA []byte) (int, error) + func (m *MsgConnectionOpenAck) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgConnectionOpenAck) Reset() + func (m *MsgConnectionOpenAck) Size() (n int) + func (m *MsgConnectionOpenAck) String() string + func (m *MsgConnectionOpenAck) Unmarshal(dAtA []byte) error + func (m *MsgConnectionOpenAck) XXX_DiscardUnknown() + func (m *MsgConnectionOpenAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgConnectionOpenAck) XXX_Merge(src proto.Message) + func (m *MsgConnectionOpenAck) XXX_Size() int + func (m *MsgConnectionOpenAck) XXX_Unmarshal(b []byte) error + func (msg MsgConnectionOpenAck) GetSignBytes() []byte + func (msg MsgConnectionOpenAck) GetSigners() []sdk.AccAddress + func (msg MsgConnectionOpenAck) Route() string + func (msg MsgConnectionOpenAck) Type() string + func (msg MsgConnectionOpenAck) ValidateBasic() error + type MsgConnectionOpenConfirm struct + ConnectionID string + ProofAck types.MerkleProof + ProofHeight uint64 + Signer github_com_cosmos_cosmos_sdk_types.AccAddress + func NewMsgConnectionOpenConfirm(connectionID string, proofAck commitmenttypes.MerkleProof, proofHeight uint64, ...) MsgConnectionOpenConfirm + func (*MsgConnectionOpenConfirm) Descriptor() ([]byte, []int) + func (*MsgConnectionOpenConfirm) ProtoMessage() + func (m *MsgConnectionOpenConfirm) GetConnectionID() string + func (m *MsgConnectionOpenConfirm) GetProofAck() types.MerkleProof + func (m *MsgConnectionOpenConfirm) GetProofHeight() uint64 + func (m *MsgConnectionOpenConfirm) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress + func (m *MsgConnectionOpenConfirm) Marshal() (dAtA []byte, err error) + func (m *MsgConnectionOpenConfirm) MarshalTo(dAtA []byte) (int, error) + func (m *MsgConnectionOpenConfirm) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgConnectionOpenConfirm) Reset() + func (m *MsgConnectionOpenConfirm) Size() (n int) + func (m *MsgConnectionOpenConfirm) String() string + func (m *MsgConnectionOpenConfirm) Unmarshal(dAtA []byte) error + func (m *MsgConnectionOpenConfirm) XXX_DiscardUnknown() + func (m *MsgConnectionOpenConfirm) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgConnectionOpenConfirm) XXX_Merge(src proto.Message) + func (m *MsgConnectionOpenConfirm) XXX_Size() int + func (m *MsgConnectionOpenConfirm) XXX_Unmarshal(b []byte) error + func (msg MsgConnectionOpenConfirm) GetSignBytes() []byte + func (msg MsgConnectionOpenConfirm) GetSigners() []sdk.AccAddress + func (msg MsgConnectionOpenConfirm) Route() string + func (msg MsgConnectionOpenConfirm) Type() string + func (msg MsgConnectionOpenConfirm) ValidateBasic() error + type MsgConnectionOpenInit struct + ClientID string + ConnectionID string + Counterparty Counterparty + Signer github_com_cosmos_cosmos_sdk_types.AccAddress + func NewMsgConnectionOpenInit(connectionID, clientID, counterpartyConnectionID, counterpartyClientID string, ...) MsgConnectionOpenInit + func (*MsgConnectionOpenInit) Descriptor() ([]byte, []int) + func (*MsgConnectionOpenInit) ProtoMessage() + func (m *MsgConnectionOpenInit) GetClientID() string + func (m *MsgConnectionOpenInit) GetConnectionID() string + func (m *MsgConnectionOpenInit) GetCounterparty() Counterparty + func (m *MsgConnectionOpenInit) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress + func (m *MsgConnectionOpenInit) Marshal() (dAtA []byte, err error) + func (m *MsgConnectionOpenInit) MarshalTo(dAtA []byte) (int, error) + func (m *MsgConnectionOpenInit) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgConnectionOpenInit) Reset() + func (m *MsgConnectionOpenInit) Size() (n int) + func (m *MsgConnectionOpenInit) String() string + func (m *MsgConnectionOpenInit) Unmarshal(dAtA []byte) error + func (m *MsgConnectionOpenInit) XXX_DiscardUnknown() + func (m *MsgConnectionOpenInit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgConnectionOpenInit) XXX_Merge(src proto.Message) + func (m *MsgConnectionOpenInit) XXX_Size() int + func (m *MsgConnectionOpenInit) XXX_Unmarshal(b []byte) error + func (msg MsgConnectionOpenInit) GetSignBytes() []byte + func (msg MsgConnectionOpenInit) GetSigners() []sdk.AccAddress + func (msg MsgConnectionOpenInit) Route() string + func (msg MsgConnectionOpenInit) Type() string + func (msg MsgConnectionOpenInit) ValidateBasic() error + type MsgConnectionOpenTry struct + ClientID string + ConnectionID string + ConsensusHeight uint64 + Counterparty Counterparty + CounterpartyVersions []string + ProofConsensus types.MerkleProof + ProofHeight uint64 + ProofInit types.MerkleProof + Signer github_com_cosmos_cosmos_sdk_types.AccAddress + func NewMsgConnectionOpenTry(connectionID, clientID, counterpartyConnectionID, counterpartyClientID string, ...) MsgConnectionOpenTry + func (*MsgConnectionOpenTry) Descriptor() ([]byte, []int) + func (*MsgConnectionOpenTry) ProtoMessage() + func (m *MsgConnectionOpenTry) GetClientID() string + func (m *MsgConnectionOpenTry) GetConnectionID() string + func (m *MsgConnectionOpenTry) GetConsensusHeight() uint64 + func (m *MsgConnectionOpenTry) GetCounterparty() Counterparty + func (m *MsgConnectionOpenTry) GetCounterpartyVersions() []string + func (m *MsgConnectionOpenTry) GetProofConsensus() types.MerkleProof + func (m *MsgConnectionOpenTry) GetProofHeight() uint64 + func (m *MsgConnectionOpenTry) GetProofInit() types.MerkleProof + func (m *MsgConnectionOpenTry) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress + func (m *MsgConnectionOpenTry) Marshal() (dAtA []byte, err error) + func (m *MsgConnectionOpenTry) MarshalTo(dAtA []byte) (int, error) + func (m *MsgConnectionOpenTry) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgConnectionOpenTry) Reset() + func (m *MsgConnectionOpenTry) Size() (n int) + func (m *MsgConnectionOpenTry) String() string + func (m *MsgConnectionOpenTry) Unmarshal(dAtA []byte) error + func (m *MsgConnectionOpenTry) XXX_DiscardUnknown() + func (m *MsgConnectionOpenTry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgConnectionOpenTry) XXX_Merge(src proto.Message) + func (m *MsgConnectionOpenTry) XXX_Size() int + func (m *MsgConnectionOpenTry) XXX_Unmarshal(b []byte) error + func (msg MsgConnectionOpenTry) GetSignBytes() []byte + func (msg MsgConnectionOpenTry) GetSigners() []sdk.AccAddress + func (msg MsgConnectionOpenTry) Route() string + func (msg MsgConnectionOpenTry) Type() string + func (msg MsgConnectionOpenTry) ValidateBasic() error + type QueryAllConnectionsParams struct + Limit int + Page int + func NewQueryAllConnectionsParams(page, limit int) QueryAllConnectionsParams + type QueryClientConnectionsParams struct + ClientID string + func NewQueryClientConnectionsParams(clientID string) QueryClientConnectionsParams + type State int32 + const INIT + const OPEN + const TRYOPEN + const UNINITIALIZED + func (State) EnumDescriptor() ([]byte, []int) + func (x State) String() string