connectionv1

package
v0.0.0-...-c13f9de Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Overview

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var (
	State_name = map[int32]string{
		0: "STATE_UNINITIALIZED_UNSPECIFIED",
		1: "STATE_INIT",
		2: "STATE_TRYOPEN",
		3: "STATE_OPEN",
	}
	State_value = map[string]int32{
		"STATE_UNINITIALIZED_UNSPECIFIED": 0,
		"STATE_INIT":                      1,
		"STATE_TRYOPEN":                   2,
		"STATE_OPEN":                      3,
	}
)

Enum value maps for State.

View Source
var File_ibc_core_connection_v1_connection_proto protoreflect.FileDescriptor
View Source
var File_ibc_core_connection_v1_genesis_proto protoreflect.FileDescriptor
View Source
var File_ibc_core_connection_v1_query_proto protoreflect.FileDescriptor
View Source
var File_ibc_core_connection_v1_tx_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ClientPaths

type ClientPaths struct {

	// list of connection paths
	Paths []string `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"`
	// contains filtered or unexported fields
}

ClientPaths define all the connection paths for a client state.

func (*ClientPaths) Descriptor deprecated

func (*ClientPaths) Descriptor() ([]byte, []int)

Deprecated: Use ClientPaths.ProtoReflect.Descriptor instead.

func (*ClientPaths) GetPaths

func (x *ClientPaths) GetPaths() []string

func (*ClientPaths) ProtoMessage

func (*ClientPaths) ProtoMessage()

func (*ClientPaths) ProtoReflect

func (x *ClientPaths) ProtoReflect() protoreflect.Message

func (*ClientPaths) Reset

func (x *ClientPaths) Reset()

func (*ClientPaths) String

func (x *ClientPaths) String() string

type ConnectionEnd

type ConnectionEnd struct {

	// client associated with this connection.
	ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	// IBC version which can be utilised to determine encodings or protocols for
	// channels or packets utilising this connection.
	Versions []*Version `protobuf:"bytes,2,rep,name=versions,proto3" json:"versions,omitempty"`
	// current state of the connection end.
	State State `protobuf:"varint,3,opt,name=state,proto3,enum=ibc.core.connection.v1.State" json:"state,omitempty"`
	// counterparty chain associated with this connection.
	Counterparty *Counterparty `protobuf:"bytes,4,opt,name=counterparty,proto3" json:"counterparty,omitempty"`
	// delay period that must pass before a consensus state can be used for
	// packet-verification NOTE: delay period logic is only implemented by some
	// clients.
	DelayPeriod uint64 `protobuf:"varint,5,opt,name=delay_period,json=delayPeriod,proto3" json:"delay_period,omitempty"`
	// contains filtered or unexported fields
}

ConnectionEnd defines a stateful object on a chain connected to another separate one. NOTE: there must only be 2 defined ConnectionEnds to establish a connection between two chains.

func (*ConnectionEnd) Descriptor deprecated

func (*ConnectionEnd) Descriptor() ([]byte, []int)

Deprecated: Use ConnectionEnd.ProtoReflect.Descriptor instead.

func (*ConnectionEnd) GetClientId

func (x *ConnectionEnd) GetClientId() string

func (*ConnectionEnd) GetCounterparty

func (x *ConnectionEnd) GetCounterparty() *Counterparty

func (*ConnectionEnd) GetDelayPeriod

func (x *ConnectionEnd) GetDelayPeriod() uint64

func (*ConnectionEnd) GetState

func (x *ConnectionEnd) GetState() State

func (*ConnectionEnd) GetVersions

func (x *ConnectionEnd) GetVersions() []*Version

func (*ConnectionEnd) ProtoMessage

func (*ConnectionEnd) ProtoMessage()

func (*ConnectionEnd) ProtoReflect

func (x *ConnectionEnd) ProtoReflect() protoreflect.Message

func (*ConnectionEnd) Reset

func (x *ConnectionEnd) Reset()

func (*ConnectionEnd) String

func (x *ConnectionEnd) String() string

type ConnectionPaths

type ConnectionPaths struct {

	// client state unique identifier
	ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	// list of connection paths
	Paths []string `protobuf:"bytes,2,rep,name=paths,proto3" json:"paths,omitempty"`
	// contains filtered or unexported fields
}

ConnectionPaths define all the connection paths for a given client state.

func (*ConnectionPaths) Descriptor deprecated

func (*ConnectionPaths) Descriptor() ([]byte, []int)

Deprecated: Use ConnectionPaths.ProtoReflect.Descriptor instead.

func (*ConnectionPaths) GetClientId

func (x *ConnectionPaths) GetClientId() string

func (*ConnectionPaths) GetPaths

func (x *ConnectionPaths) GetPaths() []string

func (*ConnectionPaths) ProtoMessage

func (*ConnectionPaths) ProtoMessage()

func (*ConnectionPaths) ProtoReflect

func (x *ConnectionPaths) ProtoReflect() protoreflect.Message

func (*ConnectionPaths) Reset

func (x *ConnectionPaths) Reset()

func (*ConnectionPaths) String

func (x *ConnectionPaths) String() string

type Counterparty

type Counterparty struct {

	// identifies the client on the counterparty chain associated with a given
	// connection.
	ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	// identifies the connection end on the counterparty chain associated with a
	// given connection.
	ConnectionId string `protobuf:"bytes,2,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	// commitment merkle prefix of the counterparty chain.
	Prefix *v1.MerklePrefix `protobuf:"bytes,3,opt,name=prefix,proto3" json:"prefix,omitempty"`
	// contains filtered or unexported fields
}

Counterparty defines the counterparty chain associated with a connection end.

func (*Counterparty) Descriptor deprecated

func (*Counterparty) Descriptor() ([]byte, []int)

Deprecated: Use Counterparty.ProtoReflect.Descriptor instead.

func (*Counterparty) GetClientId

func (x *Counterparty) GetClientId() string

func (*Counterparty) GetConnectionId

func (x *Counterparty) GetConnectionId() string

func (*Counterparty) GetPrefix

func (x *Counterparty) GetPrefix() *v1.MerklePrefix

func (*Counterparty) ProtoMessage

func (*Counterparty) ProtoMessage()

func (*Counterparty) ProtoReflect

func (x *Counterparty) ProtoReflect() protoreflect.Message

func (*Counterparty) Reset

func (x *Counterparty) Reset()

func (*Counterparty) String

func (x *Counterparty) String() string

type GenesisState

type GenesisState struct {
	Connections           []*IdentifiedConnection `protobuf:"bytes,1,rep,name=connections,proto3" json:"connections,omitempty"`
	ClientConnectionPaths []*ConnectionPaths      `` /* 126-byte string literal not displayed */
	// the sequence for the next generated connection identifier
	NextConnectionSequence uint64  `` /* 130-byte string literal not displayed */
	Params                 *Params `protobuf:"bytes,4,opt,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

GenesisState defines the ibc connection submodule's genesis state.

func (*GenesisState) Descriptor deprecated

func (*GenesisState) Descriptor() ([]byte, []int)

Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.

func (*GenesisState) GetClientConnectionPaths

func (x *GenesisState) GetClientConnectionPaths() []*ConnectionPaths

func (*GenesisState) GetConnections

func (x *GenesisState) GetConnections() []*IdentifiedConnection

func (*GenesisState) GetNextConnectionSequence

func (x *GenesisState) GetNextConnectionSequence() uint64

func (*GenesisState) GetParams

func (x *GenesisState) GetParams() *Params

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) ProtoReflect

func (x *GenesisState) ProtoReflect() protoreflect.Message

func (*GenesisState) Reset

func (x *GenesisState) Reset()

func (*GenesisState) String

func (x *GenesisState) String() string

type IdentifiedConnection

type IdentifiedConnection struct {

	// connection identifier.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// client associated with this connection.
	ClientId string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	// IBC version which can be utilised to determine encodings or protocols for
	// channels or packets utilising this connection
	Versions []*Version `protobuf:"bytes,3,rep,name=versions,proto3" json:"versions,omitempty"`
	// current state of the connection end.
	State State `protobuf:"varint,4,opt,name=state,proto3,enum=ibc.core.connection.v1.State" json:"state,omitempty"`
	// counterparty chain associated with this connection.
	Counterparty *Counterparty `protobuf:"bytes,5,opt,name=counterparty,proto3" json:"counterparty,omitempty"`
	// delay period associated with this connection.
	DelayPeriod uint64 `protobuf:"varint,6,opt,name=delay_period,json=delayPeriod,proto3" json:"delay_period,omitempty"`
	// contains filtered or unexported fields
}

IdentifiedConnection defines a connection with additional connection identifier field.

func (*IdentifiedConnection) Descriptor deprecated

func (*IdentifiedConnection) Descriptor() ([]byte, []int)

Deprecated: Use IdentifiedConnection.ProtoReflect.Descriptor instead.

func (*IdentifiedConnection) GetClientId

func (x *IdentifiedConnection) GetClientId() string

func (*IdentifiedConnection) GetCounterparty

func (x *IdentifiedConnection) GetCounterparty() *Counterparty

func (*IdentifiedConnection) GetDelayPeriod

func (x *IdentifiedConnection) GetDelayPeriod() uint64

func (*IdentifiedConnection) GetId

func (x *IdentifiedConnection) GetId() string

func (*IdentifiedConnection) GetState

func (x *IdentifiedConnection) GetState() State

func (*IdentifiedConnection) GetVersions

func (x *IdentifiedConnection) GetVersions() []*Version

func (*IdentifiedConnection) ProtoMessage

func (*IdentifiedConnection) ProtoMessage()

func (*IdentifiedConnection) ProtoReflect

func (x *IdentifiedConnection) ProtoReflect() protoreflect.Message

func (*IdentifiedConnection) Reset

func (x *IdentifiedConnection) Reset()

func (*IdentifiedConnection) String

func (x *IdentifiedConnection) String() string

type MsgConnectionOpenAck

type MsgConnectionOpenAck struct {
	ConnectionId             string     `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	CounterpartyConnectionId string     `` /* 135-byte string literal not displayed */
	Version                  *Version   `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	ClientState              *anypb.Any `protobuf:"bytes,4,opt,name=client_state,json=clientState,proto3" json:"client_state,omitempty"`
	ProofHeight              *v1.Height `protobuf:"bytes,5,opt,name=proof_height,json=proofHeight,proto3" json:"proof_height,omitempty"`
	// proof of the initialization the connection on Chain B: `UNINITIALIZED ->
	// TRYOPEN`
	ProofTry []byte `protobuf:"bytes,6,opt,name=proof_try,json=proofTry,proto3" json:"proof_try,omitempty"`
	// proof of client state included in message
	ProofClient []byte `protobuf:"bytes,7,opt,name=proof_client,json=proofClient,proto3" json:"proof_client,omitempty"`
	// proof of client consensus state
	ProofConsensus  []byte     `protobuf:"bytes,8,opt,name=proof_consensus,json=proofConsensus,proto3" json:"proof_consensus,omitempty"`
	ConsensusHeight *v1.Height `protobuf:"bytes,9,opt,name=consensus_height,json=consensusHeight,proto3" json:"consensus_height,omitempty"`
	Signer          string     `protobuf:"bytes,10,opt,name=signer,proto3" json:"signer,omitempty"`
	// optional proof data for host state machines that are unable to introspect their own consensus state
	HostConsensusStateProof []byte `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

MsgConnectionOpenAck defines a msg sent by a Relayer to Chain A to acknowledge the change of connection state to TRYOPEN on Chain B.

func (*MsgConnectionOpenAck) Descriptor deprecated

func (*MsgConnectionOpenAck) Descriptor() ([]byte, []int)

Deprecated: Use MsgConnectionOpenAck.ProtoReflect.Descriptor instead.

func (*MsgConnectionOpenAck) GetClientState

func (x *MsgConnectionOpenAck) GetClientState() *anypb.Any

func (*MsgConnectionOpenAck) GetConnectionId

func (x *MsgConnectionOpenAck) GetConnectionId() string

func (*MsgConnectionOpenAck) GetConsensusHeight

func (x *MsgConnectionOpenAck) GetConsensusHeight() *v1.Height

func (*MsgConnectionOpenAck) GetCounterpartyConnectionId

func (x *MsgConnectionOpenAck) GetCounterpartyConnectionId() string

func (*MsgConnectionOpenAck) GetHostConsensusStateProof

func (x *MsgConnectionOpenAck) GetHostConsensusStateProof() []byte

func (*MsgConnectionOpenAck) GetProofClient

func (x *MsgConnectionOpenAck) GetProofClient() []byte

func (*MsgConnectionOpenAck) GetProofConsensus

func (x *MsgConnectionOpenAck) GetProofConsensus() []byte

func (*MsgConnectionOpenAck) GetProofHeight

func (x *MsgConnectionOpenAck) GetProofHeight() *v1.Height

func (*MsgConnectionOpenAck) GetProofTry

func (x *MsgConnectionOpenAck) GetProofTry() []byte

func (*MsgConnectionOpenAck) GetSigner

func (x *MsgConnectionOpenAck) GetSigner() string

func (*MsgConnectionOpenAck) GetVersion

func (x *MsgConnectionOpenAck) GetVersion() *Version

func (*MsgConnectionOpenAck) ProtoMessage

func (*MsgConnectionOpenAck) ProtoMessage()

func (*MsgConnectionOpenAck) ProtoReflect

func (x *MsgConnectionOpenAck) ProtoReflect() protoreflect.Message

func (*MsgConnectionOpenAck) Reset

func (x *MsgConnectionOpenAck) Reset()

func (*MsgConnectionOpenAck) String

func (x *MsgConnectionOpenAck) String() string

type MsgConnectionOpenAckResponse

type MsgConnectionOpenAckResponse struct {
	// contains filtered or unexported fields
}

MsgConnectionOpenAckResponse defines the Msg/ConnectionOpenAck response type.

func (*MsgConnectionOpenAckResponse) Descriptor deprecated

func (*MsgConnectionOpenAckResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgConnectionOpenAckResponse.ProtoReflect.Descriptor instead.

func (*MsgConnectionOpenAckResponse) ProtoMessage

func (*MsgConnectionOpenAckResponse) ProtoMessage()

func (*MsgConnectionOpenAckResponse) ProtoReflect

func (*MsgConnectionOpenAckResponse) Reset

func (x *MsgConnectionOpenAckResponse) Reset()

func (*MsgConnectionOpenAckResponse) String

type MsgConnectionOpenConfirm

type MsgConnectionOpenConfirm struct {
	ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	// proof for the change of the connection state on Chain A: `INIT -> OPEN`
	ProofAck    []byte     `protobuf:"bytes,2,opt,name=proof_ack,json=proofAck,proto3" json:"proof_ack,omitempty"`
	ProofHeight *v1.Height `protobuf:"bytes,3,opt,name=proof_height,json=proofHeight,proto3" json:"proof_height,omitempty"`
	Signer      string     `protobuf:"bytes,4,opt,name=signer,proto3" json:"signer,omitempty"`
	// contains filtered or unexported fields
}

MsgConnectionOpenConfirm defines a msg sent by a Relayer to Chain B to acknowledge the change of connection state to OPEN on Chain A.

func (*MsgConnectionOpenConfirm) Descriptor deprecated

func (*MsgConnectionOpenConfirm) Descriptor() ([]byte, []int)

Deprecated: Use MsgConnectionOpenConfirm.ProtoReflect.Descriptor instead.

func (*MsgConnectionOpenConfirm) GetConnectionId

func (x *MsgConnectionOpenConfirm) GetConnectionId() string

func (*MsgConnectionOpenConfirm) GetProofAck

func (x *MsgConnectionOpenConfirm) GetProofAck() []byte

func (*MsgConnectionOpenConfirm) GetProofHeight

func (x *MsgConnectionOpenConfirm) GetProofHeight() *v1.Height

func (*MsgConnectionOpenConfirm) GetSigner

func (x *MsgConnectionOpenConfirm) GetSigner() string

func (*MsgConnectionOpenConfirm) ProtoMessage

func (*MsgConnectionOpenConfirm) ProtoMessage()

func (*MsgConnectionOpenConfirm) ProtoReflect

func (x *MsgConnectionOpenConfirm) ProtoReflect() protoreflect.Message

func (*MsgConnectionOpenConfirm) Reset

func (x *MsgConnectionOpenConfirm) Reset()

func (*MsgConnectionOpenConfirm) String

func (x *MsgConnectionOpenConfirm) String() string

type MsgConnectionOpenConfirmResponse

type MsgConnectionOpenConfirmResponse struct {
	// contains filtered or unexported fields
}

MsgConnectionOpenConfirmResponse defines the Msg/ConnectionOpenConfirm response type.

func (*MsgConnectionOpenConfirmResponse) Descriptor deprecated

func (*MsgConnectionOpenConfirmResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgConnectionOpenConfirmResponse.ProtoReflect.Descriptor instead.

func (*MsgConnectionOpenConfirmResponse) ProtoMessage

func (*MsgConnectionOpenConfirmResponse) ProtoMessage()

func (*MsgConnectionOpenConfirmResponse) ProtoReflect

func (*MsgConnectionOpenConfirmResponse) Reset

func (*MsgConnectionOpenConfirmResponse) String

type MsgConnectionOpenInit

type MsgConnectionOpenInit struct {
	ClientId     string        `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	Counterparty *Counterparty `protobuf:"bytes,2,opt,name=counterparty,proto3" json:"counterparty,omitempty"`
	Version      *Version      `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	DelayPeriod  uint64        `protobuf:"varint,4,opt,name=delay_period,json=delayPeriod,proto3" json:"delay_period,omitempty"`
	Signer       string        `protobuf:"bytes,5,opt,name=signer,proto3" json:"signer,omitempty"`
	// contains filtered or unexported fields
}

MsgConnectionOpenInit defines the msg sent by an account on Chain A to initialize a connection with Chain B.

func (*MsgConnectionOpenInit) Descriptor deprecated

func (*MsgConnectionOpenInit) Descriptor() ([]byte, []int)

Deprecated: Use MsgConnectionOpenInit.ProtoReflect.Descriptor instead.

func (*MsgConnectionOpenInit) GetClientId

func (x *MsgConnectionOpenInit) GetClientId() string

func (*MsgConnectionOpenInit) GetCounterparty

func (x *MsgConnectionOpenInit) GetCounterparty() *Counterparty

func (*MsgConnectionOpenInit) GetDelayPeriod

func (x *MsgConnectionOpenInit) GetDelayPeriod() uint64

func (*MsgConnectionOpenInit) GetSigner

func (x *MsgConnectionOpenInit) GetSigner() string

func (*MsgConnectionOpenInit) GetVersion

func (x *MsgConnectionOpenInit) GetVersion() *Version

func (*MsgConnectionOpenInit) ProtoMessage

func (*MsgConnectionOpenInit) ProtoMessage()

func (*MsgConnectionOpenInit) ProtoReflect

func (x *MsgConnectionOpenInit) ProtoReflect() protoreflect.Message

func (*MsgConnectionOpenInit) Reset

func (x *MsgConnectionOpenInit) Reset()

func (*MsgConnectionOpenInit) String

func (x *MsgConnectionOpenInit) String() string

type MsgConnectionOpenInitResponse

type MsgConnectionOpenInitResponse struct {
	// contains filtered or unexported fields
}

MsgConnectionOpenInitResponse defines the Msg/ConnectionOpenInit response type.

func (*MsgConnectionOpenInitResponse) Descriptor deprecated

func (*MsgConnectionOpenInitResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgConnectionOpenInitResponse.ProtoReflect.Descriptor instead.

func (*MsgConnectionOpenInitResponse) ProtoMessage

func (*MsgConnectionOpenInitResponse) ProtoMessage()

func (*MsgConnectionOpenInitResponse) ProtoReflect

func (*MsgConnectionOpenInitResponse) Reset

func (x *MsgConnectionOpenInitResponse) Reset()

func (*MsgConnectionOpenInitResponse) String

type MsgConnectionOpenTry

type MsgConnectionOpenTry struct {
	ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	// Deprecated: this field is unused. Crossing hellos are no longer supported in core IBC.
	//
	// Deprecated: Do not use.
	PreviousConnectionId string        `protobuf:"bytes,2,opt,name=previous_connection_id,json=previousConnectionId,proto3" json:"previous_connection_id,omitempty"`
	ClientState          *anypb.Any    `protobuf:"bytes,3,opt,name=client_state,json=clientState,proto3" json:"client_state,omitempty"`
	Counterparty         *Counterparty `protobuf:"bytes,4,opt,name=counterparty,proto3" json:"counterparty,omitempty"`
	DelayPeriod          uint64        `protobuf:"varint,5,opt,name=delay_period,json=delayPeriod,proto3" json:"delay_period,omitempty"`
	CounterpartyVersions []*Version    `protobuf:"bytes,6,rep,name=counterparty_versions,json=counterpartyVersions,proto3" json:"counterparty_versions,omitempty"`
	ProofHeight          *v1.Height    `protobuf:"bytes,7,opt,name=proof_height,json=proofHeight,proto3" json:"proof_height,omitempty"`
	// proof of the initialization the connection on Chain A: `UNINITIALIZED ->
	// INIT`
	ProofInit []byte `protobuf:"bytes,8,opt,name=proof_init,json=proofInit,proto3" json:"proof_init,omitempty"`
	// proof of client state included in message
	ProofClient []byte `protobuf:"bytes,9,opt,name=proof_client,json=proofClient,proto3" json:"proof_client,omitempty"`
	// proof of client consensus state
	ProofConsensus  []byte     `protobuf:"bytes,10,opt,name=proof_consensus,json=proofConsensus,proto3" json:"proof_consensus,omitempty"`
	ConsensusHeight *v1.Height `protobuf:"bytes,11,opt,name=consensus_height,json=consensusHeight,proto3" json:"consensus_height,omitempty"`
	Signer          string     `protobuf:"bytes,12,opt,name=signer,proto3" json:"signer,omitempty"`
	// optional proof data for host state machines that are unable to introspect their own consensus state
	HostConsensusStateProof []byte `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

MsgConnectionOpenTry defines a msg sent by a Relayer to try to open a connection on Chain B.

func (*MsgConnectionOpenTry) Descriptor deprecated

func (*MsgConnectionOpenTry) Descriptor() ([]byte, []int)

Deprecated: Use MsgConnectionOpenTry.ProtoReflect.Descriptor instead.

func (*MsgConnectionOpenTry) GetClientId

func (x *MsgConnectionOpenTry) GetClientId() string

func (*MsgConnectionOpenTry) GetClientState

func (x *MsgConnectionOpenTry) GetClientState() *anypb.Any

func (*MsgConnectionOpenTry) GetConsensusHeight

func (x *MsgConnectionOpenTry) GetConsensusHeight() *v1.Height

func (*MsgConnectionOpenTry) GetCounterparty

func (x *MsgConnectionOpenTry) GetCounterparty() *Counterparty

func (*MsgConnectionOpenTry) GetCounterpartyVersions

func (x *MsgConnectionOpenTry) GetCounterpartyVersions() []*Version

func (*MsgConnectionOpenTry) GetDelayPeriod

func (x *MsgConnectionOpenTry) GetDelayPeriod() uint64

func (*MsgConnectionOpenTry) GetHostConsensusStateProof

func (x *MsgConnectionOpenTry) GetHostConsensusStateProof() []byte

func (*MsgConnectionOpenTry) GetPreviousConnectionId deprecated

func (x *MsgConnectionOpenTry) GetPreviousConnectionId() string

Deprecated: Do not use.

func (*MsgConnectionOpenTry) GetProofClient

func (x *MsgConnectionOpenTry) GetProofClient() []byte

func (*MsgConnectionOpenTry) GetProofConsensus

func (x *MsgConnectionOpenTry) GetProofConsensus() []byte

func (*MsgConnectionOpenTry) GetProofHeight

func (x *MsgConnectionOpenTry) GetProofHeight() *v1.Height

func (*MsgConnectionOpenTry) GetProofInit

func (x *MsgConnectionOpenTry) GetProofInit() []byte

func (*MsgConnectionOpenTry) GetSigner

func (x *MsgConnectionOpenTry) GetSigner() string

func (*MsgConnectionOpenTry) ProtoMessage

func (*MsgConnectionOpenTry) ProtoMessage()

func (*MsgConnectionOpenTry) ProtoReflect

func (x *MsgConnectionOpenTry) ProtoReflect() protoreflect.Message

func (*MsgConnectionOpenTry) Reset

func (x *MsgConnectionOpenTry) Reset()

func (*MsgConnectionOpenTry) String

func (x *MsgConnectionOpenTry) String() string

type MsgConnectionOpenTryResponse

type MsgConnectionOpenTryResponse struct {
	// contains filtered or unexported fields
}

MsgConnectionOpenTryResponse defines the Msg/ConnectionOpenTry response type.

func (*MsgConnectionOpenTryResponse) Descriptor deprecated

func (*MsgConnectionOpenTryResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgConnectionOpenTryResponse.ProtoReflect.Descriptor instead.

func (*MsgConnectionOpenTryResponse) ProtoMessage

func (*MsgConnectionOpenTryResponse) ProtoMessage()

func (*MsgConnectionOpenTryResponse) ProtoReflect

func (*MsgConnectionOpenTryResponse) Reset

func (x *MsgConnectionOpenTryResponse) Reset()

func (*MsgConnectionOpenTryResponse) String

type MsgUpdateParams

type MsgUpdateParams struct {

	// signer address
	Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
	// params defines the connection parameters to update.
	//
	// NOTE: All parameters must be supplied.
	Params *Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

MsgUpdateParams defines the sdk.Msg type to update the connection parameters.

func (*MsgUpdateParams) Descriptor deprecated

func (*MsgUpdateParams) Descriptor() ([]byte, []int)

Deprecated: Use MsgUpdateParams.ProtoReflect.Descriptor instead.

func (*MsgUpdateParams) GetParams

func (x *MsgUpdateParams) GetParams() *Params

func (*MsgUpdateParams) GetSigner

func (x *MsgUpdateParams) GetSigner() string

func (*MsgUpdateParams) ProtoMessage

func (*MsgUpdateParams) ProtoMessage()

func (*MsgUpdateParams) ProtoReflect

func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message

func (*MsgUpdateParams) Reset

func (x *MsgUpdateParams) Reset()

func (*MsgUpdateParams) String

func (x *MsgUpdateParams) String() string

type MsgUpdateParamsResponse

type MsgUpdateParamsResponse struct {
	// contains filtered or unexported fields
}

MsgUpdateParamsResponse defines the MsgUpdateParams response type.

func (*MsgUpdateParamsResponse) Descriptor deprecated

func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgUpdateParamsResponse.ProtoReflect.Descriptor instead.

func (*MsgUpdateParamsResponse) ProtoMessage

func (*MsgUpdateParamsResponse) ProtoMessage()

func (*MsgUpdateParamsResponse) ProtoReflect

func (x *MsgUpdateParamsResponse) ProtoReflect() protoreflect.Message

func (*MsgUpdateParamsResponse) Reset

func (x *MsgUpdateParamsResponse) Reset()

func (*MsgUpdateParamsResponse) String

func (x *MsgUpdateParamsResponse) String() string

type Params

type Params struct {

	// maximum expected time per block (in nanoseconds), used to enforce block delay. This parameter should reflect the
	// largest amount of time that the chain might reasonably take to produce the next block under normal operating
	// conditions. A safe choice is 3-5x the expected time per block.
	MaxExpectedTimePerBlock uint64 `` /* 137-byte string literal not displayed */
	// contains filtered or unexported fields
}

Params defines the set of Connection parameters.

func (*Params) Descriptor deprecated

func (*Params) Descriptor() ([]byte, []int)

Deprecated: Use Params.ProtoReflect.Descriptor instead.

func (*Params) GetMaxExpectedTimePerBlock

func (x *Params) GetMaxExpectedTimePerBlock() uint64

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) ProtoReflect

func (x *Params) ProtoReflect() protoreflect.Message

func (*Params) Reset

func (x *Params) Reset()

func (*Params) String

func (x *Params) String() string

type QueryClientConnectionsRequest

type QueryClientConnectionsRequest struct {

	// client identifier associated with a connection
	ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	// contains filtered or unexported fields
}

QueryClientConnectionsRequest is the request type for the Query/ClientConnections RPC method

func (*QueryClientConnectionsRequest) Descriptor deprecated

func (*QueryClientConnectionsRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryClientConnectionsRequest.ProtoReflect.Descriptor instead.

func (*QueryClientConnectionsRequest) GetClientId

func (x *QueryClientConnectionsRequest) GetClientId() string

func (*QueryClientConnectionsRequest) ProtoMessage

func (*QueryClientConnectionsRequest) ProtoMessage()

func (*QueryClientConnectionsRequest) ProtoReflect

func (*QueryClientConnectionsRequest) Reset

func (x *QueryClientConnectionsRequest) Reset()

func (*QueryClientConnectionsRequest) String

type QueryClientConnectionsResponse

type QueryClientConnectionsResponse struct {

	// slice of all the connection paths associated with a client.
	ConnectionPaths []string `protobuf:"bytes,1,rep,name=connection_paths,json=connectionPaths,proto3" json:"connection_paths,omitempty"`
	// merkle proof of existence
	Proof []byte `protobuf:"bytes,2,opt,name=proof,proto3" json:"proof,omitempty"`
	// height at which the proof was generated
	ProofHeight *v1.Height `protobuf:"bytes,3,opt,name=proof_height,json=proofHeight,proto3" json:"proof_height,omitempty"`
	// contains filtered or unexported fields
}

QueryClientConnectionsResponse is the response type for the Query/ClientConnections RPC method

func (*QueryClientConnectionsResponse) Descriptor deprecated

func (*QueryClientConnectionsResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryClientConnectionsResponse.ProtoReflect.Descriptor instead.

func (*QueryClientConnectionsResponse) GetConnectionPaths

func (x *QueryClientConnectionsResponse) GetConnectionPaths() []string

func (*QueryClientConnectionsResponse) GetProof

func (x *QueryClientConnectionsResponse) GetProof() []byte

func (*QueryClientConnectionsResponse) GetProofHeight

func (x *QueryClientConnectionsResponse) GetProofHeight() *v1.Height

func (*QueryClientConnectionsResponse) ProtoMessage

func (*QueryClientConnectionsResponse) ProtoMessage()

func (*QueryClientConnectionsResponse) ProtoReflect

func (*QueryClientConnectionsResponse) Reset

func (x *QueryClientConnectionsResponse) Reset()

func (*QueryClientConnectionsResponse) String

type QueryConnectionClientStateRequest

type QueryConnectionClientStateRequest struct {

	// connection identifier
	ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	// contains filtered or unexported fields
}

QueryConnectionClientStateRequest is the request type for the Query/ConnectionClientState RPC method

func (*QueryConnectionClientStateRequest) Descriptor deprecated

func (*QueryConnectionClientStateRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryConnectionClientStateRequest.ProtoReflect.Descriptor instead.

func (*QueryConnectionClientStateRequest) GetConnectionId

func (x *QueryConnectionClientStateRequest) GetConnectionId() string

func (*QueryConnectionClientStateRequest) ProtoMessage

func (*QueryConnectionClientStateRequest) ProtoMessage()

func (*QueryConnectionClientStateRequest) ProtoReflect

func (*QueryConnectionClientStateRequest) Reset

func (*QueryConnectionClientStateRequest) String

type QueryConnectionClientStateResponse

type QueryConnectionClientStateResponse struct {

	// client state associated with the channel
	IdentifiedClientState *v1.IdentifiedClientState `` /* 126-byte string literal not displayed */
	// merkle proof of existence
	Proof []byte `protobuf:"bytes,2,opt,name=proof,proto3" json:"proof,omitempty"`
	// height at which the proof was retrieved
	ProofHeight *v1.Height `protobuf:"bytes,3,opt,name=proof_height,json=proofHeight,proto3" json:"proof_height,omitempty"`
	// contains filtered or unexported fields
}

QueryConnectionClientStateResponse is the response type for the Query/ConnectionClientState RPC method

func (*QueryConnectionClientStateResponse) Descriptor deprecated

func (*QueryConnectionClientStateResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryConnectionClientStateResponse.ProtoReflect.Descriptor instead.

func (*QueryConnectionClientStateResponse) GetIdentifiedClientState

func (x *QueryConnectionClientStateResponse) GetIdentifiedClientState() *v1.IdentifiedClientState

func (*QueryConnectionClientStateResponse) GetProof

func (x *QueryConnectionClientStateResponse) GetProof() []byte

func (*QueryConnectionClientStateResponse) GetProofHeight

func (x *QueryConnectionClientStateResponse) GetProofHeight() *v1.Height

func (*QueryConnectionClientStateResponse) ProtoMessage

func (*QueryConnectionClientStateResponse) ProtoMessage()

func (*QueryConnectionClientStateResponse) ProtoReflect

func (*QueryConnectionClientStateResponse) Reset

func (*QueryConnectionClientStateResponse) String

type QueryConnectionConsensusStateRequest

type QueryConnectionConsensusStateRequest struct {

	// connection identifier
	ConnectionId   string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	RevisionNumber uint64 `protobuf:"varint,2,opt,name=revision_number,json=revisionNumber,proto3" json:"revision_number,omitempty"`
	RevisionHeight uint64 `protobuf:"varint,3,opt,name=revision_height,json=revisionHeight,proto3" json:"revision_height,omitempty"`
	// contains filtered or unexported fields
}

QueryConnectionConsensusStateRequest is the request type for the Query/ConnectionConsensusState RPC method

func (*QueryConnectionConsensusStateRequest) Descriptor deprecated

func (*QueryConnectionConsensusStateRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryConnectionConsensusStateRequest.ProtoReflect.Descriptor instead.

func (*QueryConnectionConsensusStateRequest) GetConnectionId

func (x *QueryConnectionConsensusStateRequest) GetConnectionId() string

func (*QueryConnectionConsensusStateRequest) GetRevisionHeight

func (x *QueryConnectionConsensusStateRequest) GetRevisionHeight() uint64

func (*QueryConnectionConsensusStateRequest) GetRevisionNumber

func (x *QueryConnectionConsensusStateRequest) GetRevisionNumber() uint64

func (*QueryConnectionConsensusStateRequest) ProtoMessage

func (*QueryConnectionConsensusStateRequest) ProtoMessage()

func (*QueryConnectionConsensusStateRequest) ProtoReflect

func (*QueryConnectionConsensusStateRequest) Reset

func (*QueryConnectionConsensusStateRequest) String

type QueryConnectionConsensusStateResponse

type QueryConnectionConsensusStateResponse struct {

	// consensus state associated with the channel
	ConsensusState *anypb.Any `protobuf:"bytes,1,opt,name=consensus_state,json=consensusState,proto3" json:"consensus_state,omitempty"`
	// client ID associated with the consensus state
	ClientId string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	// merkle proof of existence
	Proof []byte `protobuf:"bytes,3,opt,name=proof,proto3" json:"proof,omitempty"`
	// height at which the proof was retrieved
	ProofHeight *v1.Height `protobuf:"bytes,4,opt,name=proof_height,json=proofHeight,proto3" json:"proof_height,omitempty"`
	// contains filtered or unexported fields
}

QueryConnectionConsensusStateResponse is the response type for the Query/ConnectionConsensusState RPC method

func (*QueryConnectionConsensusStateResponse) Descriptor deprecated

func (*QueryConnectionConsensusStateResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryConnectionConsensusStateResponse.ProtoReflect.Descriptor instead.

func (*QueryConnectionConsensusStateResponse) GetClientId

func (*QueryConnectionConsensusStateResponse) GetConsensusState

func (x *QueryConnectionConsensusStateResponse) GetConsensusState() *anypb.Any

func (*QueryConnectionConsensusStateResponse) GetProof

func (*QueryConnectionConsensusStateResponse) GetProofHeight

func (x *QueryConnectionConsensusStateResponse) GetProofHeight() *v1.Height

func (*QueryConnectionConsensusStateResponse) ProtoMessage

func (*QueryConnectionConsensusStateResponse) ProtoMessage()

func (*QueryConnectionConsensusStateResponse) ProtoReflect

func (*QueryConnectionConsensusStateResponse) Reset

func (*QueryConnectionConsensusStateResponse) String

type QueryConnectionParamsRequest

type QueryConnectionParamsRequest struct {
	// contains filtered or unexported fields
}

QueryConnectionParamsRequest is the request type for the Query/ConnectionParams RPC method.

func (*QueryConnectionParamsRequest) Descriptor deprecated

func (*QueryConnectionParamsRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryConnectionParamsRequest.ProtoReflect.Descriptor instead.

func (*QueryConnectionParamsRequest) ProtoMessage

func (*QueryConnectionParamsRequest) ProtoMessage()

func (*QueryConnectionParamsRequest) ProtoReflect

func (*QueryConnectionParamsRequest) Reset

func (x *QueryConnectionParamsRequest) Reset()

func (*QueryConnectionParamsRequest) String

type QueryConnectionParamsResponse

type QueryConnectionParamsResponse struct {

	// params defines the parameters of the module.
	Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

QueryConnectionParamsResponse is the response type for the Query/ConnectionParams RPC method.

func (*QueryConnectionParamsResponse) Descriptor deprecated

func (*QueryConnectionParamsResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryConnectionParamsResponse.ProtoReflect.Descriptor instead.

func (*QueryConnectionParamsResponse) GetParams

func (x *QueryConnectionParamsResponse) GetParams() *Params

func (*QueryConnectionParamsResponse) ProtoMessage

func (*QueryConnectionParamsResponse) ProtoMessage()

func (*QueryConnectionParamsResponse) ProtoReflect

func (*QueryConnectionParamsResponse) Reset

func (x *QueryConnectionParamsResponse) Reset()

func (*QueryConnectionParamsResponse) String

type QueryConnectionRequest

type QueryConnectionRequest struct {

	// connection unique identifier
	ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	// contains filtered or unexported fields
}

QueryConnectionRequest is the request type for the Query/Connection RPC method

func (*QueryConnectionRequest) Descriptor deprecated

func (*QueryConnectionRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryConnectionRequest.ProtoReflect.Descriptor instead.

func (*QueryConnectionRequest) GetConnectionId

func (x *QueryConnectionRequest) GetConnectionId() string

func (*QueryConnectionRequest) ProtoMessage

func (*QueryConnectionRequest) ProtoMessage()

func (*QueryConnectionRequest) ProtoReflect

func (x *QueryConnectionRequest) ProtoReflect() protoreflect.Message

func (*QueryConnectionRequest) Reset

func (x *QueryConnectionRequest) Reset()

func (*QueryConnectionRequest) String

func (x *QueryConnectionRequest) String() string

type QueryConnectionResponse

type QueryConnectionResponse struct {

	// connection associated with the request identifier
	Connection *ConnectionEnd `protobuf:"bytes,1,opt,name=connection,proto3" json:"connection,omitempty"`
	// merkle proof of existence
	Proof []byte `protobuf:"bytes,2,opt,name=proof,proto3" json:"proof,omitempty"`
	// height at which the proof was retrieved
	ProofHeight *v1.Height `protobuf:"bytes,3,opt,name=proof_height,json=proofHeight,proto3" json:"proof_height,omitempty"`
	// contains filtered or unexported fields
}

QueryConnectionResponse is the response type for the Query/Connection RPC method. Besides the connection end, it includes a proof and the height from which the proof was retrieved.

func (*QueryConnectionResponse) Descriptor deprecated

func (*QueryConnectionResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryConnectionResponse.ProtoReflect.Descriptor instead.

func (*QueryConnectionResponse) GetConnection

func (x *QueryConnectionResponse) GetConnection() *ConnectionEnd

func (*QueryConnectionResponse) GetProof

func (x *QueryConnectionResponse) GetProof() []byte

func (*QueryConnectionResponse) GetProofHeight

func (x *QueryConnectionResponse) GetProofHeight() *v1.Height

func (*QueryConnectionResponse) ProtoMessage

func (*QueryConnectionResponse) ProtoMessage()

func (*QueryConnectionResponse) ProtoReflect

func (x *QueryConnectionResponse) ProtoReflect() protoreflect.Message

func (*QueryConnectionResponse) Reset

func (x *QueryConnectionResponse) Reset()

func (*QueryConnectionResponse) String

func (x *QueryConnectionResponse) String() string

type QueryConnectionsRequest

type QueryConnectionsRequest struct {
	Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

QueryConnectionsRequest is the request type for the Query/Connections RPC method

func (*QueryConnectionsRequest) Descriptor deprecated

func (*QueryConnectionsRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryConnectionsRequest.ProtoReflect.Descriptor instead.

func (*QueryConnectionsRequest) GetPagination

func (x *QueryConnectionsRequest) GetPagination() *v1beta1.PageRequest

func (*QueryConnectionsRequest) ProtoMessage

func (*QueryConnectionsRequest) ProtoMessage()

func (*QueryConnectionsRequest) ProtoReflect

func (x *QueryConnectionsRequest) ProtoReflect() protoreflect.Message

func (*QueryConnectionsRequest) Reset

func (x *QueryConnectionsRequest) Reset()

func (*QueryConnectionsRequest) String

func (x *QueryConnectionsRequest) String() string

type QueryConnectionsResponse

type QueryConnectionsResponse struct {

	// list of stored connections of the chain.
	Connections []*IdentifiedConnection `protobuf:"bytes,1,rep,name=connections,proto3" json:"connections,omitempty"`
	// pagination response
	Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// query block height
	Height *v1.Height `protobuf:"bytes,3,opt,name=height,proto3" json:"height,omitempty"`
	// contains filtered or unexported fields
}

QueryConnectionsResponse is the response type for the Query/Connections RPC method.

func (*QueryConnectionsResponse) Descriptor deprecated

func (*QueryConnectionsResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryConnectionsResponse.ProtoReflect.Descriptor instead.

func (*QueryConnectionsResponse) GetConnections

func (x *QueryConnectionsResponse) GetConnections() []*IdentifiedConnection

func (*QueryConnectionsResponse) GetHeight

func (x *QueryConnectionsResponse) GetHeight() *v1.Height

func (*QueryConnectionsResponse) GetPagination

func (x *QueryConnectionsResponse) GetPagination() *v1beta1.PageResponse

func (*QueryConnectionsResponse) ProtoMessage

func (*QueryConnectionsResponse) ProtoMessage()

func (*QueryConnectionsResponse) ProtoReflect

func (x *QueryConnectionsResponse) ProtoReflect() protoreflect.Message

func (*QueryConnectionsResponse) Reset

func (x *QueryConnectionsResponse) Reset()

func (*QueryConnectionsResponse) String

func (x *QueryConnectionsResponse) String() string

type State

type State int32

State defines if a connection is in one of the following states: INIT, TRYOPEN, OPEN or UNINITIALIZED.

const (
	// Default State
	State_STATE_UNINITIALIZED_UNSPECIFIED State = 0
	// A connection end has just started the opening handshake.
	State_STATE_INIT State = 1
	// A connection end has acknowledged the handshake step on the counterparty
	// chain.
	State_STATE_TRYOPEN State = 2
	// A connection end has completed the handshake.
	State_STATE_OPEN State = 3
)

func (State) Descriptor

func (State) Descriptor() protoreflect.EnumDescriptor

func (State) Enum

func (x State) Enum() *State

func (State) EnumDescriptor deprecated

func (State) EnumDescriptor() ([]byte, []int)

Deprecated: Use State.Descriptor instead.

func (State) Number

func (x State) Number() protoreflect.EnumNumber

func (State) String

func (x State) String() string

func (State) Type

func (State) Type() protoreflect.EnumType

type Version

type Version struct {

	// unique version identifier
	Identifier string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"`
	// list of features compatible with the specified identifier
	Features []string `protobuf:"bytes,2,rep,name=features,proto3" json:"features,omitempty"`
	// contains filtered or unexported fields
}

Version defines the versioning scheme used to negotiate the IBC version in the connection handshake.

func (*Version) Descriptor deprecated

func (*Version) Descriptor() ([]byte, []int)

Deprecated: Use Version.ProtoReflect.Descriptor instead.

func (*Version) GetFeatures

func (x *Version) GetFeatures() []string

func (*Version) GetIdentifier

func (x *Version) GetIdentifier() string

func (*Version) ProtoMessage

func (*Version) ProtoMessage()

func (*Version) ProtoReflect

func (x *Version) ProtoReflect() protoreflect.Message

func (*Version) Reset

func (x *Version) Reset()

func (*Version) String

func (x *Version) String() string

Jump to

Keyboard shortcuts

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