cosmos-sdk: github.com/cosmos/cosmos-sdk/x/ibc/04-channel/types Index | Files

package types

import "github.com/cosmos/cosmos-sdk/x/ibc/04-channel/types"

Index

Package Files

channel.go channel.pb.go codec.go errors.go events.go expected_keepers.go genesis.go keys.go msgs.go packet.go querier.go query.pb.go

Constants

const (
    AttributeKeyConnectionID       = "connection_id"
    AttributeKeyPortID             = "port_id"
    AttributeKeyChannelID          = "channel_id"
    AttributeCounterpartyPortID    = "counterparty_port_id"
    AttributeCounterpartyChannelID = "counterparty_channel_id"

    EventTypeSendPacket        = "send_packet"
    EventTypeRecvPacket        = "recv_packet"
    EventTypeAcknowledgePacket = "acknowledge_packet"
    EventTypeTimeoutPacket     = "timeout_packet"

    AttributeKeyData             = "packet_data"
    AttributeKeyAck              = "packet_ack"
    AttributeKeyTimeoutHeight    = "packet_timeout_height"
    AttributeKeyTimeoutTimestamp = "packet_timeout_timestamp"
    AttributeKeySequence         = "packet_sequence"
    AttributeKeySrcPort          = "packet_src_port"
    AttributeKeySrcChannel       = "packet_src_channel"
    AttributeKeyDstPort          = "packet_dst_port"
    AttributeKeyDstChannel       = "packet_dst_channel"
    AttributeKeyChannelOrdering  = "packet_channel_ordering"
)

IBC channel events

const (
    // SubModuleName defines the IBC channels name
    SubModuleName = "channel"

    // StoreKey is the store key string for IBC channels
    StoreKey = SubModuleName

    // RouterKey is the message route for IBC channels
    RouterKey = SubModuleName

    // QuerierRoute is the querier route for IBC channels
    QuerierRoute = SubModuleName
)
const (
    QueryChannelClientState    = "channel-client-state"
    QueryChannelConsensusState = "channel-consensus-state"
)

query routes supported by the IBC channel Querier

Variables

var (
    ErrInvalidLengthChannel        = fmt.Errorf("proto: negative length found during unmarshaling")
    ErrIntOverflowChannel          = fmt.Errorf("proto: integer overflow")
    ErrUnexpectedEndOfGroupChannel = fmt.Errorf("proto: unexpected end of group")
)
var (
    ErrChannelExists             = sdkerrors.Register(SubModuleName, 2, "channel already exists")
    ErrChannelNotFound           = sdkerrors.Register(SubModuleName, 3, "channel not found")
    ErrInvalidChannel            = sdkerrors.Register(SubModuleName, 4, "invalid channel")
    ErrInvalidChannelState       = sdkerrors.Register(SubModuleName, 5, "invalid channel state")
    ErrInvalidChannelOrdering    = sdkerrors.Register(SubModuleName, 6, "invalid channel ordering")
    ErrInvalidCounterparty       = sdkerrors.Register(SubModuleName, 7, "invalid counterparty channel")
    ErrInvalidChannelCapability  = sdkerrors.Register(SubModuleName, 8, "invalid channel capability")
    ErrChannelCapabilityNotFound = sdkerrors.Register(SubModuleName, 9, "channel capability not found")
    ErrSequenceSendNotFound      = sdkerrors.Register(SubModuleName, 10, "sequence send not found")
    ErrSequenceReceiveNotFound   = sdkerrors.Register(SubModuleName, 11, "sequence receive not found")
    ErrSequenceAckNotFound       = sdkerrors.Register(SubModuleName, 12, "sequence acknowledgement not found")
    ErrInvalidPacket             = sdkerrors.Register(SubModuleName, 13, "invalid packet")
    ErrPacketTimeout             = sdkerrors.Register(SubModuleName, 14, "packet timeout")
    ErrTooManyConnectionHops     = sdkerrors.Register(SubModuleName, 15, "too many connection hops")
    ErrAcknowledgementTooLong    = sdkerrors.Register(SubModuleName, 16, "acknowledgement too long")
    ErrInvalidAcknowledgement    = sdkerrors.Register(SubModuleName, 17, "invalid acknowledgement")
)

IBC channel sentinel errors

var (
    EventTypeChannelOpenInit     = MsgChannelOpenInit{}.Type()
    EventTypeChannelOpenTry      = MsgChannelOpenTry{}.Type()
    EventTypeChannelOpenAck      = MsgChannelOpenAck{}.Type()
    EventTypeChannelOpenConfirm  = MsgChannelOpenConfirm{}.Type()
    EventTypeChannelCloseInit    = MsgChannelCloseInit{}.Type()
    EventTypeChannelCloseConfirm = MsgChannelCloseConfirm{}.Type()

    AttributeValueCategory = fmt.Sprintf("%s_%s", host.ModuleName, SubModuleName)
)

IBC channel events vars

var (
    ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
    ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
    ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
var Order_name = map[int32]string{
    0:  "ORDER_NONE_UNSPECIFIED",
    1:  "ORDER_UNORDERED",
    2:  "ORDER_ORDERED",
}
var Order_value = map[string]int32{
    "ORDER_NONE_UNSPECIFIED": 0,
    "ORDER_UNORDERED":        1,
    "ORDER_ORDERED":          2,
}
var State_name = map[int32]string{
    0:  "STATE_UNINITIALIZED_UNSPECIFIED",
    1:  "STATE_INIT",
    2:  "STATE_TRYOPEN",
    3:  "STATE_OPEN",
    4:  "STATE_CLOSED",
}
var State_value = map[string]int32{
    "STATE_UNINITIALIZED_UNSPECIFIED": 0,
    "STATE_INIT":                      1,
    "STATE_TRYOPEN":                   2,
    "STATE_OPEN":                      3,
    "STATE_CLOSED":                    4,
}
var SubModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry())

SubModuleCdc references the global x/ibc/04-channel module codec. Note, the codec should ONLY be used in certain instances of tests and for JSON encoding.

The actual codec used for serialization should be provided to x/ibc/04-channel and defined at the application level.

func CommitAcknowledgement Uses

func CommitAcknowledgement(data []byte) []byte

CommitAcknowledgement returns the hash of commitment bytes

func CommitPacket Uses

func CommitPacket(packet exported.PacketI) []byte

CommitPacket returns a packet commitment bytes. The commitment consists of: hash(timeout_timestamp + timeout_height + data) from a given packet.

func RegisterInterfaces Uses

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

RegisterInterfaces register the ibc channel submodule interfaces to protobuf Any.

func RegisterQueryServer Uses

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

type Channel Uses

type Channel struct {
    // current state of the channel end
    State State `protobuf:"varint,1,opt,name=state,proto3,enum=ibc.channel.State" json:"state,omitempty"`
    // whether the channel is ordered or unordered
    Ordering Order `protobuf:"varint,2,opt,name=ordering,proto3,enum=ibc.channel.Order" json:"ordering,omitempty"`
    // counterparty channel end
    Counterparty Counterparty `protobuf:"bytes,3,opt,name=counterparty,proto3" json:"counterparty"`
    // list of connection identifiers, in order, along which packets sent on this
    // channel will travel
    ConnectionHops []string `protobuf:"bytes,4,rep,name=connection_hops,json=connectionHops,proto3" json:"connection_hops,omitempty" yaml:"connection_hops"`
    // opaque channel version, which is agreed upon during the handshake
    Version string `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"`
}

Channel defines pipeline for exactly-once packet delivery between specific modules on separate blockchains, which has at least one end capable of sending packets and one end capable of receiving packets.

func NewChannel Uses

func NewChannel(
    state State, ordering Order, counterparty Counterparty,
    hops []string, version string,
) Channel

NewChannel creates a new Channel instance

func (*Channel) Descriptor Uses

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

func (Channel) GetConnectionHops Uses

func (ch Channel) GetConnectionHops() []string

GetConnectionHops implements Channel interface.

func (Channel) GetCounterparty Uses

func (ch Channel) GetCounterparty() exported.CounterpartyI

GetCounterparty implements Channel interface.

func (Channel) GetOrdering Uses

func (ch Channel) GetOrdering() int32

GetOrdering implements Channel interface.

func (Channel) GetState Uses

func (ch Channel) GetState() int32

GetState implements Channel interface.

func (Channel) GetVersion Uses

func (ch Channel) GetVersion() string

GetVersion implements Channel interface.

func (*Channel) Marshal Uses

func (m *Channel) Marshal() (dAtA []byte, err error)

func (*Channel) MarshalTo Uses

func (m *Channel) MarshalTo(dAtA []byte) (int, error)

func (*Channel) MarshalToSizedBuffer Uses

func (m *Channel) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Channel) ProtoMessage Uses

func (*Channel) ProtoMessage()

func (*Channel) Reset Uses

func (m *Channel) Reset()

func (*Channel) Size Uses

func (m *Channel) Size() (n int)

func (*Channel) String Uses

func (m *Channel) String() string

func (*Channel) Unmarshal Uses

func (m *Channel) Unmarshal(dAtA []byte) error

func (Channel) ValidateBasic Uses

func (ch Channel) ValidateBasic() error

ValidateBasic performs a basic validation of the channel fields

func (*Channel) XXX_DiscardUnknown Uses

func (m *Channel) XXX_DiscardUnknown()

func (*Channel) XXX_Marshal Uses

func (m *Channel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Channel) XXX_Merge Uses

func (m *Channel) XXX_Merge(src proto.Message)

func (*Channel) XXX_Size Uses

func (m *Channel) XXX_Size() int

func (*Channel) XXX_Unmarshal Uses

func (m *Channel) XXX_Unmarshal(b []byte) error

type ClientKeeper Uses

type ClientKeeper interface {
    GetClientState(ctx sdk.Context, clientID string) (clientexported.ClientState, bool)
}

ClientKeeper expected account IBC client keeper

type ConnectionKeeper Uses

type ConnectionKeeper interface {
    GetConnection(ctx sdk.Context, connectionID string) (connectiontypes.ConnectionEnd, bool)
    GetTimestampAtHeight(
        ctx sdk.Context,
        connection connectiontypes.ConnectionEnd,
        height uint64,
    ) (uint64, error)
    VerifyChannelState(
        ctx sdk.Context,
        connection connectionexported.ConnectionI,
        height uint64,
        proof []byte,
        portID,
        channelID string,
        channel exported.ChannelI,
    ) error
    VerifyPacketCommitment(
        ctx sdk.Context,
        connection connectionexported.ConnectionI,
        height uint64,
        proof []byte,
        portID,
        channelID string,
        sequence uint64,
        commitmentBytes []byte,
    ) error
    VerifyPacketAcknowledgement(
        ctx sdk.Context,
        connection connectionexported.ConnectionI,
        height uint64,
        proof []byte,
        portID,
        channelID string,
        sequence uint64,
        acknowledgement []byte,
    ) error
    VerifyPacketAcknowledgementAbsence(
        ctx sdk.Context,
        connection connectionexported.ConnectionI,
        height uint64,
        proof []byte,
        portID,
        channelID string,
        sequence uint64,
    ) error
    VerifyNextSequenceRecv(
        ctx sdk.Context,
        connection connectionexported.ConnectionI,
        height uint64,
        proof []byte,
        portID,
        channelID string,
        nextSequenceRecv uint64,
    ) error
}

ConnectionKeeper expected account IBC connection keeper

type Counterparty Uses

type Counterparty struct {
    // port on the counterparty chain which owns the other end of the channel.
    PortID string `protobuf:"bytes,1,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty" yaml:"port_id"`
    // channel end on the counterparty chain
    ChannelID string `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty" yaml:"channel_id"`
}

Counterparty defines a channel end counterparty

func NewCounterparty Uses

func NewCounterparty(portID, channelID string) Counterparty

NewCounterparty returns a new Counterparty instance

func (*Counterparty) Descriptor Uses

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

func (Counterparty) GetChannelID Uses

func (c Counterparty) GetChannelID() string

GetChannelID implements CounterpartyI interface

func (Counterparty) GetPortID Uses

func (c Counterparty) GetPortID() string

GetPortID implements CounterpartyI interface

func (*Counterparty) Marshal Uses

func (m *Counterparty) Marshal() (dAtA []byte, err error)

func (*Counterparty) MarshalTo Uses

func (m *Counterparty) MarshalTo(dAtA []byte) (int, error)

func (*Counterparty) MarshalToSizedBuffer Uses

func (m *Counterparty) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Counterparty) ProtoMessage Uses

func (*Counterparty) ProtoMessage()

func (*Counterparty) Reset Uses

func (m *Counterparty) Reset()

func (*Counterparty) Size Uses

func (m *Counterparty) Size() (n int)

func (*Counterparty) String Uses

func (m *Counterparty) String() string

func (*Counterparty) Unmarshal Uses

func (m *Counterparty) Unmarshal(dAtA []byte) error

func (Counterparty) ValidateBasic Uses

func (c Counterparty) ValidateBasic() error

ValidateBasic performs a basic validation check of the identifiers

func (*Counterparty) XXX_DiscardUnknown Uses

func (m *Counterparty) XXX_DiscardUnknown()

func (*Counterparty) XXX_Marshal Uses

func (m *Counterparty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Counterparty) XXX_Merge Uses

func (m *Counterparty) XXX_Merge(src proto.Message)

func (*Counterparty) XXX_Size Uses

func (m *Counterparty) XXX_Size() int

func (*Counterparty) XXX_Unmarshal Uses

func (m *Counterparty) XXX_Unmarshal(b []byte) error

type GenesisState Uses

type GenesisState struct {
    Channels         []IdentifiedChannel   `json:"channels" yaml:"channels"`
    Acknowledgements []PacketAckCommitment `json:"acknowledgements" yaml:"acknowledgements"`
    Commitments      []PacketAckCommitment `json:"commitments" yaml:"commitments"`
    SendSequences    []PacketSequence      `json:"send_sequences" yaml:"send_sequences"`
    RecvSequences    []PacketSequence      `json:"recv_sequences" yaml:"recv_sequences"`
    AckSequences     []PacketSequence      `json:"ack_sequences" yaml:"ack_sequences"`
}

GenesisState defines the ibc channel submodule's genesis state.

func DefaultGenesisState Uses

func DefaultGenesisState() GenesisState

DefaultGenesisState returns the ibc channel submodule's default genesis state.

func NewGenesisState Uses

func NewGenesisState(
    channels []IdentifiedChannel, acks, commitments []PacketAckCommitment,
    sendSeqs, recvSeqs, ackSeqs []PacketSequence,
) GenesisState

NewGenesisState creates a GenesisState instance.

func (GenesisState) Validate Uses

func (gs GenesisState) Validate() error

Validate performs basic genesis state validation returning an error upon any failure.

type IdentifiedChannel Uses

type IdentifiedChannel struct {
    // current state of the channel end
    State State `protobuf:"varint,1,opt,name=state,proto3,enum=ibc.channel.State" json:"state,omitempty"`
    // whether the channel is ordered or unordered
    Ordering Order `protobuf:"varint,2,opt,name=ordering,proto3,enum=ibc.channel.Order" json:"ordering,omitempty"`
    // counterparty channel end
    Counterparty Counterparty `protobuf:"bytes,3,opt,name=counterparty,proto3" json:"counterparty"`
    // list of connection identifiers, in order, along which packets sent on this
    // channel will travel
    ConnectionHops []string `protobuf:"bytes,4,rep,name=connection_hops,json=connectionHops,proto3" json:"connection_hops,omitempty" yaml:"connection_hops"`
    // opaque channel version, which is agreed upon during the handshake
    Version string `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"`
    // port identifier
    PortID string `protobuf:"bytes,6,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"`
    // channel identifier
    ChannelID string `protobuf:"bytes,7,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
}

IdentifiedChannel defines a channel with additional port and channel identifier fields.

func NewIdentifiedChannel Uses

func NewIdentifiedChannel(portID, channelID string, ch Channel) IdentifiedChannel

NewIdentifiedChannel creates a new IdentifiedChannel instance

func (*IdentifiedChannel) Descriptor Uses

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

func (*IdentifiedChannel) Marshal Uses

func (m *IdentifiedChannel) Marshal() (dAtA []byte, err error)

func (*IdentifiedChannel) MarshalTo Uses

func (m *IdentifiedChannel) MarshalTo(dAtA []byte) (int, error)

func (*IdentifiedChannel) MarshalToSizedBuffer Uses

func (m *IdentifiedChannel) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IdentifiedChannel) ProtoMessage Uses

func (*IdentifiedChannel) ProtoMessage()

func (*IdentifiedChannel) Reset Uses

func (m *IdentifiedChannel) Reset()

func (*IdentifiedChannel) Size Uses

func (m *IdentifiedChannel) Size() (n int)

func (*IdentifiedChannel) String Uses

func (m *IdentifiedChannel) String() string

func (*IdentifiedChannel) Unmarshal Uses

func (m *IdentifiedChannel) Unmarshal(dAtA []byte) error

func (IdentifiedChannel) ValidateBasic Uses

func (ic IdentifiedChannel) ValidateBasic() error

ValidateBasic performs a basic validation of the identifiers and channel fields.

func (*IdentifiedChannel) XXX_DiscardUnknown Uses

func (m *IdentifiedChannel) XXX_DiscardUnknown()

func (*IdentifiedChannel) XXX_Marshal Uses

func (m *IdentifiedChannel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IdentifiedChannel) XXX_Merge Uses

func (m *IdentifiedChannel) XXX_Merge(src proto.Message)

func (*IdentifiedChannel) XXX_Size Uses

func (m *IdentifiedChannel) XXX_Size() int

func (*IdentifiedChannel) XXX_Unmarshal Uses

func (m *IdentifiedChannel) XXX_Unmarshal(b []byte) error

type MsgAcknowledgement Uses

type MsgAcknowledgement struct {
    Packet          Packet                                        `protobuf:"bytes,1,opt,name=packet,proto3" json:"packet"`
    Acknowledgement []byte                                        `protobuf:"bytes,2,opt,name=acknowledgement,proto3" json:"acknowledgement,omitempty"`
    Proof           []byte                                        `protobuf:"bytes,3,opt,name=proof,proto3" json:"proof,omitempty"`
    ProofHeight     uint64                                        `protobuf:"varint,4,opt,name=proof_height,json=proofHeight,proto3" json:"proof_height,omitempty" yaml:"proof_height"`
    Signer          github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,5,opt,name=signer,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"signer,omitempty"`
}

MsgAcknowledgement receives incoming IBC acknowledgement

func NewMsgAcknowledgement Uses

func NewMsgAcknowledgement(
    packet Packet, ack []byte, proof []byte, proofHeight uint64, signer sdk.AccAddress) *MsgAcknowledgement

NewMsgAcknowledgement constructs a new MsgAcknowledgement

func (*MsgAcknowledgement) Descriptor Uses

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

func (*MsgAcknowledgement) GetAcknowledgement Uses

func (m *MsgAcknowledgement) GetAcknowledgement() []byte

func (*MsgAcknowledgement) GetPacket Uses

func (m *MsgAcknowledgement) GetPacket() Packet

func (*MsgAcknowledgement) GetProof Uses

func (m *MsgAcknowledgement) GetProof() []byte

func (*MsgAcknowledgement) GetProofHeight Uses

func (m *MsgAcknowledgement) GetProofHeight() uint64

func (MsgAcknowledgement) GetSignBytes Uses

func (msg MsgAcknowledgement) GetSignBytes() []byte

GetSignBytes implements sdk.Msg

func (*MsgAcknowledgement) GetSigner Uses

func (m *MsgAcknowledgement) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress

func (MsgAcknowledgement) GetSigners Uses

func (msg MsgAcknowledgement) GetSigners() []sdk.AccAddress

GetSigners implements sdk.Msg

func (*MsgAcknowledgement) Marshal Uses

func (m *MsgAcknowledgement) Marshal() (dAtA []byte, err error)

func (*MsgAcknowledgement) MarshalTo Uses

func (m *MsgAcknowledgement) MarshalTo(dAtA []byte) (int, error)

func (*MsgAcknowledgement) MarshalToSizedBuffer Uses

func (m *MsgAcknowledgement) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgAcknowledgement) ProtoMessage Uses

func (*MsgAcknowledgement) ProtoMessage()

func (*MsgAcknowledgement) Reset Uses

func (m *MsgAcknowledgement) Reset()

func (MsgAcknowledgement) Route Uses

func (msg MsgAcknowledgement) Route() string

Route implements sdk.Msg

func (*MsgAcknowledgement) Size Uses

func (m *MsgAcknowledgement) Size() (n int)

func (*MsgAcknowledgement) String Uses

func (m *MsgAcknowledgement) String() string

func (MsgAcknowledgement) Type Uses

func (msg MsgAcknowledgement) Type() string

Type implements sdk.Msg

func (*MsgAcknowledgement) Unmarshal Uses

func (m *MsgAcknowledgement) Unmarshal(dAtA []byte) error

func (MsgAcknowledgement) ValidateBasic Uses

func (msg MsgAcknowledgement) ValidateBasic() error

ValidateBasic implements sdk.Msg

func (*MsgAcknowledgement) XXX_DiscardUnknown Uses

func (m *MsgAcknowledgement) XXX_DiscardUnknown()

func (*MsgAcknowledgement) XXX_Marshal Uses

func (m *MsgAcknowledgement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgAcknowledgement) XXX_Merge Uses

func (m *MsgAcknowledgement) XXX_Merge(src proto.Message)

func (*MsgAcknowledgement) XXX_Size Uses

func (m *MsgAcknowledgement) XXX_Size() int

func (*MsgAcknowledgement) XXX_Unmarshal Uses

func (m *MsgAcknowledgement) XXX_Unmarshal(b []byte) error

type MsgChannelCloseConfirm Uses

type MsgChannelCloseConfirm struct {
    PortID      string                                        `protobuf:"bytes,1,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty" yaml:"port_id"`
    ChannelID   string                                        `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty" yaml:"channel_id"`
    ProofInit   []byte                                        `protobuf:"bytes,3,opt,name=proof_init,json=proofInit,proto3" json:"proof_init,omitempty" yaml:"proof_init"`
    ProofHeight uint64                                        `protobuf:"varint,4,opt,name=proof_height,json=proofHeight,proto3" json:"proof_height,omitempty" yaml:"proof_height"`
    Signer      github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,5,opt,name=signer,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"signer,omitempty"`
}

MsgChannelCloseConfirm defines a msg sent by a Relayer to Chain B to acknowledge the change of channel state to CLOSED on Chain A.

func NewMsgChannelCloseConfirm Uses

func NewMsgChannelCloseConfirm(
    portID, channelID string, proofInit []byte, proofHeight uint64,
    signer sdk.AccAddress,
) *MsgChannelCloseConfirm

NewMsgChannelCloseConfirm creates a new MsgChannelCloseConfirm instance

func (*MsgChannelCloseConfirm) Descriptor Uses

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

func (*MsgChannelCloseConfirm) GetChannelID Uses

func (m *MsgChannelCloseConfirm) GetChannelID() string

func (*MsgChannelCloseConfirm) GetPortID Uses

func (m *MsgChannelCloseConfirm) GetPortID() string

func (*MsgChannelCloseConfirm) GetProofHeight Uses

func (m *MsgChannelCloseConfirm) GetProofHeight() uint64

func (*MsgChannelCloseConfirm) GetProofInit Uses

func (m *MsgChannelCloseConfirm) GetProofInit() []byte

func (MsgChannelCloseConfirm) GetSignBytes Uses

func (msg MsgChannelCloseConfirm) GetSignBytes() []byte

GetSignBytes implements sdk.Msg

func (*MsgChannelCloseConfirm) GetSigner Uses

func (m *MsgChannelCloseConfirm) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress

func (MsgChannelCloseConfirm) GetSigners Uses

func (msg MsgChannelCloseConfirm) GetSigners() []sdk.AccAddress

GetSigners implements sdk.Msg

func (*MsgChannelCloseConfirm) Marshal Uses

func (m *MsgChannelCloseConfirm) Marshal() (dAtA []byte, err error)

func (*MsgChannelCloseConfirm) MarshalTo Uses

func (m *MsgChannelCloseConfirm) MarshalTo(dAtA []byte) (int, error)

func (*MsgChannelCloseConfirm) MarshalToSizedBuffer Uses

func (m *MsgChannelCloseConfirm) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgChannelCloseConfirm) ProtoMessage Uses

func (*MsgChannelCloseConfirm) ProtoMessage()

func (*MsgChannelCloseConfirm) Reset Uses

func (m *MsgChannelCloseConfirm) Reset()

func (MsgChannelCloseConfirm) Route Uses

func (msg MsgChannelCloseConfirm) Route() string

Route implements sdk.Msg

func (*MsgChannelCloseConfirm) Size Uses

func (m *MsgChannelCloseConfirm) Size() (n int)

func (*MsgChannelCloseConfirm) String Uses

func (m *MsgChannelCloseConfirm) String() string

func (MsgChannelCloseConfirm) Type Uses

func (msg MsgChannelCloseConfirm) Type() string

Type implements sdk.Msg

func (*MsgChannelCloseConfirm) Unmarshal Uses

func (m *MsgChannelCloseConfirm) Unmarshal(dAtA []byte) error

func (MsgChannelCloseConfirm) ValidateBasic Uses

func (msg MsgChannelCloseConfirm) ValidateBasic() error

ValidateBasic implements sdk.Msg

func (*MsgChannelCloseConfirm) XXX_DiscardUnknown Uses

func (m *MsgChannelCloseConfirm) XXX_DiscardUnknown()

func (*MsgChannelCloseConfirm) XXX_Marshal Uses

func (m *MsgChannelCloseConfirm) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgChannelCloseConfirm) XXX_Merge Uses

func (m *MsgChannelCloseConfirm) XXX_Merge(src proto.Message)

func (*MsgChannelCloseConfirm) XXX_Size Uses

func (m *MsgChannelCloseConfirm) XXX_Size() int

func (*MsgChannelCloseConfirm) XXX_Unmarshal Uses

func (m *MsgChannelCloseConfirm) XXX_Unmarshal(b []byte) error

type MsgChannelCloseInit Uses

type MsgChannelCloseInit struct {
    PortID    string                                        `protobuf:"bytes,1,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty" yaml:"port_id"`
    ChannelID string                                        `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty" yaml:"channel_id"`
    Signer    github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,3,opt,name=signer,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"signer,omitempty"`
}

MsgChannelOpenConfirm defines a msg sent by a Relayer to Chain A to close a channel with Chain B.

func NewMsgChannelCloseInit Uses

func NewMsgChannelCloseInit(
    portID string, channelID string, signer sdk.AccAddress,
) *MsgChannelCloseInit

NewMsgChannelCloseInit creates a new MsgChannelCloseInit instance

func (*MsgChannelCloseInit) Descriptor Uses

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

func (*MsgChannelCloseInit) GetChannelID Uses

func (m *MsgChannelCloseInit) GetChannelID() string

func (*MsgChannelCloseInit) GetPortID Uses

func (m *MsgChannelCloseInit) GetPortID() string

func (MsgChannelCloseInit) GetSignBytes Uses

func (msg MsgChannelCloseInit) GetSignBytes() []byte

GetSignBytes implements sdk.Msg

func (*MsgChannelCloseInit) GetSigner Uses

func (m *MsgChannelCloseInit) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress

func (MsgChannelCloseInit) GetSigners Uses

func (msg MsgChannelCloseInit) GetSigners() []sdk.AccAddress

GetSigners implements sdk.Msg

func (*MsgChannelCloseInit) Marshal Uses

func (m *MsgChannelCloseInit) Marshal() (dAtA []byte, err error)

func (*MsgChannelCloseInit) MarshalTo Uses

func (m *MsgChannelCloseInit) MarshalTo(dAtA []byte) (int, error)

func (*MsgChannelCloseInit) MarshalToSizedBuffer Uses

func (m *MsgChannelCloseInit) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgChannelCloseInit) ProtoMessage Uses

func (*MsgChannelCloseInit) ProtoMessage()

func (*MsgChannelCloseInit) Reset Uses

func (m *MsgChannelCloseInit) Reset()

func (MsgChannelCloseInit) Route Uses

func (msg MsgChannelCloseInit) Route() string

Route implements sdk.Msg

func (*MsgChannelCloseInit) Size Uses

func (m *MsgChannelCloseInit) Size() (n int)

func (*MsgChannelCloseInit) String Uses

func (m *MsgChannelCloseInit) String() string

func (MsgChannelCloseInit) Type Uses

func (msg MsgChannelCloseInit) Type() string

Type implements sdk.Msg

func (*MsgChannelCloseInit) Unmarshal Uses

func (m *MsgChannelCloseInit) Unmarshal(dAtA []byte) error

func (MsgChannelCloseInit) ValidateBasic Uses

func (msg MsgChannelCloseInit) ValidateBasic() error

ValidateBasic implements sdk.Msg

func (*MsgChannelCloseInit) XXX_DiscardUnknown Uses

func (m *MsgChannelCloseInit) XXX_DiscardUnknown()

func (*MsgChannelCloseInit) XXX_Marshal Uses

func (m *MsgChannelCloseInit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgChannelCloseInit) XXX_Merge Uses

func (m *MsgChannelCloseInit) XXX_Merge(src proto.Message)

func (*MsgChannelCloseInit) XXX_Size Uses

func (m *MsgChannelCloseInit) XXX_Size() int

func (*MsgChannelCloseInit) XXX_Unmarshal Uses

func (m *MsgChannelCloseInit) XXX_Unmarshal(b []byte) error

type MsgChannelOpenAck Uses

type MsgChannelOpenAck struct {
    PortID              string                                        `protobuf:"bytes,1,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty" yaml:"port_id"`
    ChannelID           string                                        `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty" yaml:"channel_id"`
    CounterpartyVersion string                                        `protobuf:"bytes,3,opt,name=counterparty_version,json=counterpartyVersion,proto3" json:"counterparty_version,omitempty" yaml:"counterparty_version"`
    ProofTry            []byte                                        `protobuf:"bytes,4,opt,name=proof_try,json=proofTry,proto3" json:"proof_try,omitempty" yaml:"proof_try"`
    ProofHeight         uint64                                        `protobuf:"varint,5,opt,name=proof_height,json=proofHeight,proto3" json:"proof_height,omitempty" yaml:"proof_height"`
    Signer              github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,6,opt,name=signer,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"signer,omitempty"`
}

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

func NewMsgChannelOpenAck Uses

func NewMsgChannelOpenAck(
    portID, channelID string, cpv string, proofTry []byte, proofHeight uint64,
    signer sdk.AccAddress,
) *MsgChannelOpenAck

NewMsgChannelOpenAck creates a new MsgChannelOpenAck instance

func (*MsgChannelOpenAck) Descriptor Uses

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

func (*MsgChannelOpenAck) GetChannelID Uses

func (m *MsgChannelOpenAck) GetChannelID() string

func (*MsgChannelOpenAck) GetCounterpartyVersion Uses

func (m *MsgChannelOpenAck) GetCounterpartyVersion() string

func (*MsgChannelOpenAck) GetPortID Uses

func (m *MsgChannelOpenAck) GetPortID() string

func (*MsgChannelOpenAck) GetProofHeight Uses

func (m *MsgChannelOpenAck) GetProofHeight() uint64

func (*MsgChannelOpenAck) GetProofTry Uses

func (m *MsgChannelOpenAck) GetProofTry() []byte

func (MsgChannelOpenAck) GetSignBytes Uses

func (msg MsgChannelOpenAck) GetSignBytes() []byte

GetSignBytes implements sdk.Msg

func (*MsgChannelOpenAck) GetSigner Uses

func (m *MsgChannelOpenAck) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress

func (MsgChannelOpenAck) GetSigners Uses

func (msg MsgChannelOpenAck) GetSigners() []sdk.AccAddress

GetSigners implements sdk.Msg

func (*MsgChannelOpenAck) Marshal Uses

func (m *MsgChannelOpenAck) Marshal() (dAtA []byte, err error)

func (*MsgChannelOpenAck) MarshalTo Uses

func (m *MsgChannelOpenAck) MarshalTo(dAtA []byte) (int, error)

func (*MsgChannelOpenAck) MarshalToSizedBuffer Uses

func (m *MsgChannelOpenAck) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgChannelOpenAck) ProtoMessage Uses

func (*MsgChannelOpenAck) ProtoMessage()

func (*MsgChannelOpenAck) Reset Uses

func (m *MsgChannelOpenAck) Reset()

func (MsgChannelOpenAck) Route Uses

func (msg MsgChannelOpenAck) Route() string

Route implements sdk.Msg

func (*MsgChannelOpenAck) Size Uses

func (m *MsgChannelOpenAck) Size() (n int)

func (*MsgChannelOpenAck) String Uses

func (m *MsgChannelOpenAck) String() string

func (MsgChannelOpenAck) Type Uses

func (msg MsgChannelOpenAck) Type() string

Type implements sdk.Msg

func (*MsgChannelOpenAck) Unmarshal Uses

func (m *MsgChannelOpenAck) Unmarshal(dAtA []byte) error

func (MsgChannelOpenAck) ValidateBasic Uses

func (msg MsgChannelOpenAck) ValidateBasic() error

ValidateBasic implements sdk.Msg

func (*MsgChannelOpenAck) XXX_DiscardUnknown Uses

func (m *MsgChannelOpenAck) XXX_DiscardUnknown()

func (*MsgChannelOpenAck) XXX_Marshal Uses

func (m *MsgChannelOpenAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgChannelOpenAck) XXX_Merge Uses

func (m *MsgChannelOpenAck) XXX_Merge(src proto.Message)

func (*MsgChannelOpenAck) XXX_Size Uses

func (m *MsgChannelOpenAck) XXX_Size() int

func (*MsgChannelOpenAck) XXX_Unmarshal Uses

func (m *MsgChannelOpenAck) XXX_Unmarshal(b []byte) error

type MsgChannelOpenConfirm Uses

type MsgChannelOpenConfirm struct {
    PortID      string                                        `protobuf:"bytes,1,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty" yaml:"port_id"`
    ChannelID   string                                        `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty" yaml:"channel_id"`
    ProofAck    []byte                                        `protobuf:"bytes,3,opt,name=proof_ack,json=proofAck,proto3" json:"proof_ack,omitempty" yaml:"proof_ack"`
    ProofHeight uint64                                        `protobuf:"varint,4,opt,name=proof_height,json=proofHeight,proto3" json:"proof_height,omitempty" yaml:"proof_height"`
    Signer      github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,5,opt,name=signer,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"signer,omitempty"`
}

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

func NewMsgChannelOpenConfirm Uses

func NewMsgChannelOpenConfirm(
    portID, channelID string, proofAck []byte, proofHeight uint64,
    signer sdk.AccAddress,
) *MsgChannelOpenConfirm

NewMsgChannelOpenConfirm creates a new MsgChannelOpenConfirm instance

func (*MsgChannelOpenConfirm) Descriptor Uses

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

func (*MsgChannelOpenConfirm) GetChannelID Uses

func (m *MsgChannelOpenConfirm) GetChannelID() string

func (*MsgChannelOpenConfirm) GetPortID Uses

func (m *MsgChannelOpenConfirm) GetPortID() string

func (*MsgChannelOpenConfirm) GetProofAck Uses

func (m *MsgChannelOpenConfirm) GetProofAck() []byte

func (*MsgChannelOpenConfirm) GetProofHeight Uses

func (m *MsgChannelOpenConfirm) GetProofHeight() uint64

func (MsgChannelOpenConfirm) GetSignBytes Uses

func (msg MsgChannelOpenConfirm) GetSignBytes() []byte

GetSignBytes implements sdk.Msg

func (*MsgChannelOpenConfirm) GetSigner Uses

func (m *MsgChannelOpenConfirm) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress

func (MsgChannelOpenConfirm) GetSigners Uses

func (msg MsgChannelOpenConfirm) GetSigners() []sdk.AccAddress

GetSigners implements sdk.Msg

func (*MsgChannelOpenConfirm) Marshal Uses

func (m *MsgChannelOpenConfirm) Marshal() (dAtA []byte, err error)

func (*MsgChannelOpenConfirm) MarshalTo Uses

func (m *MsgChannelOpenConfirm) MarshalTo(dAtA []byte) (int, error)

func (*MsgChannelOpenConfirm) MarshalToSizedBuffer Uses

func (m *MsgChannelOpenConfirm) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgChannelOpenConfirm) ProtoMessage Uses

func (*MsgChannelOpenConfirm) ProtoMessage()

func (*MsgChannelOpenConfirm) Reset Uses

func (m *MsgChannelOpenConfirm) Reset()

func (MsgChannelOpenConfirm) Route Uses

func (msg MsgChannelOpenConfirm) Route() string

Route implements sdk.Msg

func (*MsgChannelOpenConfirm) Size Uses

func (m *MsgChannelOpenConfirm) Size() (n int)

func (*MsgChannelOpenConfirm) String Uses

func (m *MsgChannelOpenConfirm) String() string

func (MsgChannelOpenConfirm) Type Uses

func (msg MsgChannelOpenConfirm) Type() string

Type implements sdk.Msg

func (*MsgChannelOpenConfirm) Unmarshal Uses

func (m *MsgChannelOpenConfirm) Unmarshal(dAtA []byte) error

func (MsgChannelOpenConfirm) ValidateBasic Uses

func (msg MsgChannelOpenConfirm) ValidateBasic() error

ValidateBasic implements sdk.Msg

func (*MsgChannelOpenConfirm) XXX_DiscardUnknown Uses

func (m *MsgChannelOpenConfirm) XXX_DiscardUnknown()

func (*MsgChannelOpenConfirm) XXX_Marshal Uses

func (m *MsgChannelOpenConfirm) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgChannelOpenConfirm) XXX_Merge Uses

func (m *MsgChannelOpenConfirm) XXX_Merge(src proto.Message)

func (*MsgChannelOpenConfirm) XXX_Size Uses

func (m *MsgChannelOpenConfirm) XXX_Size() int

func (*MsgChannelOpenConfirm) XXX_Unmarshal Uses

func (m *MsgChannelOpenConfirm) XXX_Unmarshal(b []byte) error

type MsgChannelOpenInit Uses

type MsgChannelOpenInit struct {
    PortID    string                                        `protobuf:"bytes,1,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty" yaml:"port_id"`
    ChannelID string                                        `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty" yaml:"channel_id"`
    Channel   Channel                                       `protobuf:"bytes,3,opt,name=channel,proto3" json:"channel"`
    Signer    github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,4,opt,name=signer,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"signer,omitempty"`
}

MsgChannelOpenInit defines an sdk.Msg to initialize a channel handshake. It is called by a relayer on Chain A.

func NewMsgChannelOpenInit Uses

func NewMsgChannelOpenInit(
    portID, channelID string, version string, channelOrder Order, connectionHops []string,
    counterpartyPortID, counterpartyChannelID string, signer sdk.AccAddress,
) *MsgChannelOpenInit

NewMsgChannelOpenInit creates a new MsgChannelOpenInit

func (*MsgChannelOpenInit) Descriptor Uses

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

func (*MsgChannelOpenInit) GetChannel Uses

func (m *MsgChannelOpenInit) GetChannel() Channel

func (*MsgChannelOpenInit) GetChannelID Uses

func (m *MsgChannelOpenInit) GetChannelID() string

func (*MsgChannelOpenInit) GetPortID Uses

func (m *MsgChannelOpenInit) GetPortID() string

func (MsgChannelOpenInit) GetSignBytes Uses

func (msg MsgChannelOpenInit) GetSignBytes() []byte

GetSignBytes implements sdk.Msg

func (*MsgChannelOpenInit) GetSigner Uses

func (m *MsgChannelOpenInit) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress

func (MsgChannelOpenInit) GetSigners Uses

func (msg MsgChannelOpenInit) GetSigners() []sdk.AccAddress

GetSigners implements sdk.Msg

func (*MsgChannelOpenInit) Marshal Uses

func (m *MsgChannelOpenInit) Marshal() (dAtA []byte, err error)

func (*MsgChannelOpenInit) MarshalTo Uses

func (m *MsgChannelOpenInit) MarshalTo(dAtA []byte) (int, error)

func (*MsgChannelOpenInit) MarshalToSizedBuffer Uses

func (m *MsgChannelOpenInit) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgChannelOpenInit) ProtoMessage Uses

func (*MsgChannelOpenInit) ProtoMessage()

func (*MsgChannelOpenInit) Reset Uses

func (m *MsgChannelOpenInit) Reset()

func (MsgChannelOpenInit) Route Uses

func (msg MsgChannelOpenInit) Route() string

Route implements sdk.Msg

func (*MsgChannelOpenInit) Size Uses

func (m *MsgChannelOpenInit) Size() (n int)

func (*MsgChannelOpenInit) String Uses

func (m *MsgChannelOpenInit) String() string

func (MsgChannelOpenInit) Type Uses

func (msg MsgChannelOpenInit) Type() string

Type implements sdk.Msg

func (*MsgChannelOpenInit) Unmarshal Uses

func (m *MsgChannelOpenInit) Unmarshal(dAtA []byte) error

func (MsgChannelOpenInit) ValidateBasic Uses

func (msg MsgChannelOpenInit) ValidateBasic() error

ValidateBasic implements sdk.Msg

func (*MsgChannelOpenInit) XXX_DiscardUnknown Uses

func (m *MsgChannelOpenInit) XXX_DiscardUnknown()

func (*MsgChannelOpenInit) XXX_Marshal Uses

func (m *MsgChannelOpenInit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgChannelOpenInit) XXX_Merge Uses

func (m *MsgChannelOpenInit) XXX_Merge(src proto.Message)

func (*MsgChannelOpenInit) XXX_Size Uses

func (m *MsgChannelOpenInit) XXX_Size() int

func (*MsgChannelOpenInit) XXX_Unmarshal Uses

func (m *MsgChannelOpenInit) XXX_Unmarshal(b []byte) error

type MsgChannelOpenTry Uses

type MsgChannelOpenTry struct {
    PortID              string                                        `protobuf:"bytes,1,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty" yaml:"port_id"`
    ChannelID           string                                        `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty" yaml:"channel_id"`
    Channel             Channel                                       `protobuf:"bytes,3,opt,name=channel,proto3" json:"channel"`
    CounterpartyVersion string                                        `protobuf:"bytes,4,opt,name=counterparty_version,json=counterpartyVersion,proto3" json:"counterparty_version,omitempty" yaml:"counterparty_version"`
    ProofInit           []byte                                        `protobuf:"bytes,5,opt,name=proof_init,json=proofInit,proto3" json:"proof_init,omitempty" yaml:"proof_init"`
    ProofHeight         uint64                                        `protobuf:"varint,6,opt,name=proof_height,json=proofHeight,proto3" json:"proof_height,omitempty" yaml:"proof_height"`
    Signer              github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,7,opt,name=signer,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"signer,omitempty"`
}

MsgChannelOpenInit defines a msg sent by a Relayer to try to open a channel on Chain B.

func NewMsgChannelOpenTry Uses

func NewMsgChannelOpenTry(
    portID, channelID, version string, channelOrder Order, connectionHops []string,
    counterpartyPortID, counterpartyChannelID, counterpartyVersion string,
    proofInit []byte, proofHeight uint64, signer sdk.AccAddress,
) *MsgChannelOpenTry

NewMsgChannelOpenTry creates a new MsgChannelOpenTry instance

func (*MsgChannelOpenTry) Descriptor Uses

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

func (*MsgChannelOpenTry) GetChannel Uses

func (m *MsgChannelOpenTry) GetChannel() Channel

func (*MsgChannelOpenTry) GetChannelID Uses

func (m *MsgChannelOpenTry) GetChannelID() string

func (*MsgChannelOpenTry) GetCounterpartyVersion Uses

func (m *MsgChannelOpenTry) GetCounterpartyVersion() string

func (*MsgChannelOpenTry) GetPortID Uses

func (m *MsgChannelOpenTry) GetPortID() string

func (*MsgChannelOpenTry) GetProofHeight Uses

func (m *MsgChannelOpenTry) GetProofHeight() uint64

func (*MsgChannelOpenTry) GetProofInit Uses

func (m *MsgChannelOpenTry) GetProofInit() []byte

func (MsgChannelOpenTry) GetSignBytes Uses

func (msg MsgChannelOpenTry) GetSignBytes() []byte

GetSignBytes implements sdk.Msg

func (*MsgChannelOpenTry) GetSigner Uses

func (m *MsgChannelOpenTry) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress

func (MsgChannelOpenTry) GetSigners Uses

func (msg MsgChannelOpenTry) GetSigners() []sdk.AccAddress

GetSigners implements sdk.Msg

func (*MsgChannelOpenTry) Marshal Uses

func (m *MsgChannelOpenTry) Marshal() (dAtA []byte, err error)

func (*MsgChannelOpenTry) MarshalTo Uses

func (m *MsgChannelOpenTry) MarshalTo(dAtA []byte) (int, error)

func (*MsgChannelOpenTry) MarshalToSizedBuffer Uses

func (m *MsgChannelOpenTry) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgChannelOpenTry) ProtoMessage Uses

func (*MsgChannelOpenTry) ProtoMessage()

func (*MsgChannelOpenTry) Reset Uses

func (m *MsgChannelOpenTry) Reset()

func (MsgChannelOpenTry) Route Uses

func (msg MsgChannelOpenTry) Route() string

Route implements sdk.Msg

func (*MsgChannelOpenTry) Size Uses

func (m *MsgChannelOpenTry) Size() (n int)

func (*MsgChannelOpenTry) String Uses

func (m *MsgChannelOpenTry) String() string

func (MsgChannelOpenTry) Type Uses

func (msg MsgChannelOpenTry) Type() string

Type implements sdk.Msg

func (*MsgChannelOpenTry) Unmarshal Uses

func (m *MsgChannelOpenTry) Unmarshal(dAtA []byte) error

func (MsgChannelOpenTry) ValidateBasic Uses

func (msg MsgChannelOpenTry) ValidateBasic() error

ValidateBasic implements sdk.Msg

func (*MsgChannelOpenTry) XXX_DiscardUnknown Uses

func (m *MsgChannelOpenTry) XXX_DiscardUnknown()

func (*MsgChannelOpenTry) XXX_Marshal Uses

func (m *MsgChannelOpenTry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgChannelOpenTry) XXX_Merge Uses

func (m *MsgChannelOpenTry) XXX_Merge(src proto.Message)

func (*MsgChannelOpenTry) XXX_Size Uses

func (m *MsgChannelOpenTry) XXX_Size() int

func (*MsgChannelOpenTry) XXX_Unmarshal Uses

func (m *MsgChannelOpenTry) XXX_Unmarshal(b []byte) error

type MsgRecvPacket Uses

type MsgRecvPacket struct {
    Packet      Packet                                        `protobuf:"bytes,1,opt,name=packet,proto3" json:"packet"`
    Proof       []byte                                        `protobuf:"bytes,2,opt,name=proof,proto3" json:"proof,omitempty"`
    ProofHeight uint64                                        `protobuf:"varint,3,opt,name=proof_height,json=proofHeight,proto3" json:"proof_height,omitempty" yaml:"proof_height"`
    Signer      github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,4,opt,name=signer,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"signer,omitempty"`
}

MsgRecvPacket receives incoming IBC packet

func NewMsgRecvPacket Uses

func NewMsgRecvPacket(
    packet Packet, proof []byte, proofHeight uint64,
    signer sdk.AccAddress,
) *MsgRecvPacket

NewMsgRecvPacket constructs new MsgRecvPacket

func (*MsgRecvPacket) Descriptor Uses

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

func (MsgRecvPacket) GetDataSignBytes Uses

func (msg MsgRecvPacket) GetDataSignBytes() []byte

GetDataSignBytes returns the base64-encoded bytes used for the data field when signing the packet.

func (*MsgRecvPacket) GetPacket Uses

func (m *MsgRecvPacket) GetPacket() Packet

func (*MsgRecvPacket) GetProof Uses

func (m *MsgRecvPacket) GetProof() []byte

func (*MsgRecvPacket) GetProofHeight Uses

func (m *MsgRecvPacket) GetProofHeight() uint64

func (MsgRecvPacket) GetSignBytes Uses

func (msg MsgRecvPacket) GetSignBytes() []byte

GetSignBytes implements sdk.Msg

func (*MsgRecvPacket) GetSigner Uses

func (m *MsgRecvPacket) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress

func (MsgRecvPacket) GetSigners Uses

func (msg MsgRecvPacket) GetSigners() []sdk.AccAddress

GetSigners implements sdk.Msg

func (*MsgRecvPacket) Marshal Uses

func (m *MsgRecvPacket) Marshal() (dAtA []byte, err error)

func (*MsgRecvPacket) MarshalTo Uses

func (m *MsgRecvPacket) MarshalTo(dAtA []byte) (int, error)

func (*MsgRecvPacket) MarshalToSizedBuffer Uses

func (m *MsgRecvPacket) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRecvPacket) ProtoMessage Uses

func (*MsgRecvPacket) ProtoMessage()

func (*MsgRecvPacket) Reset Uses

func (m *MsgRecvPacket) Reset()

func (MsgRecvPacket) Route Uses

func (msg MsgRecvPacket) Route() string

Route implements sdk.Msg

func (*MsgRecvPacket) Size Uses

func (m *MsgRecvPacket) Size() (n int)

func (*MsgRecvPacket) String Uses

func (m *MsgRecvPacket) String() string

func (MsgRecvPacket) Type Uses

func (msg MsgRecvPacket) Type() string

Type implements sdk.Msg

func (*MsgRecvPacket) Unmarshal Uses

func (m *MsgRecvPacket) Unmarshal(dAtA []byte) error

func (MsgRecvPacket) ValidateBasic Uses

func (msg MsgRecvPacket) ValidateBasic() error

ValidateBasic implements sdk.Msg

func (*MsgRecvPacket) XXX_DiscardUnknown Uses

func (m *MsgRecvPacket) XXX_DiscardUnknown()

func (*MsgRecvPacket) XXX_Marshal Uses

func (m *MsgRecvPacket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgRecvPacket) XXX_Merge Uses

func (m *MsgRecvPacket) XXX_Merge(src proto.Message)

func (*MsgRecvPacket) XXX_Size Uses

func (m *MsgRecvPacket) XXX_Size() int

func (*MsgRecvPacket) XXX_Unmarshal Uses

func (m *MsgRecvPacket) XXX_Unmarshal(b []byte) error

type MsgTimeout Uses

type MsgTimeout struct {
    Packet           Packet                                        `protobuf:"bytes,1,opt,name=packet,proto3" json:"packet"`
    Proof            []byte                                        `protobuf:"bytes,2,opt,name=proof,proto3" json:"proof,omitempty"`
    ProofHeight      uint64                                        `protobuf:"varint,3,opt,name=proof_height,json=proofHeight,proto3" json:"proof_height,omitempty" yaml:"proof_height"`
    NextSequenceRecv uint64                                        `protobuf:"varint,4,opt,name=next_sequence_recv,json=nextSequenceRecv,proto3" json:"next_sequence_recv,omitempty" yaml:"next_sequence_recv"`
    Signer           github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,5,opt,name=signer,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"signer,omitempty"`
}

MsgTimeout receives timed-out packet

func NewMsgTimeout Uses

func NewMsgTimeout(
    packet Packet, nextSequenceRecv uint64, proof []byte,
    proofHeight uint64, signer sdk.AccAddress,
) *MsgTimeout

NewMsgTimeout constructs new MsgTimeout

func (*MsgTimeout) Descriptor Uses

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

func (*MsgTimeout) GetNextSequenceRecv Uses

func (m *MsgTimeout) GetNextSequenceRecv() uint64

func (*MsgTimeout) GetPacket Uses

func (m *MsgTimeout) GetPacket() Packet

func (*MsgTimeout) GetProof Uses

func (m *MsgTimeout) GetProof() []byte

func (*MsgTimeout) GetProofHeight Uses

func (m *MsgTimeout) GetProofHeight() uint64

func (MsgTimeout) GetSignBytes Uses

func (msg MsgTimeout) GetSignBytes() []byte

GetSignBytes implements sdk.Msg

func (*MsgTimeout) GetSigner Uses

func (m *MsgTimeout) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress

func (MsgTimeout) GetSigners Uses

func (msg MsgTimeout) GetSigners() []sdk.AccAddress

GetSigners implements sdk.Msg

func (*MsgTimeout) Marshal Uses

func (m *MsgTimeout) Marshal() (dAtA []byte, err error)

func (*MsgTimeout) MarshalTo Uses

func (m *MsgTimeout) MarshalTo(dAtA []byte) (int, error)

func (*MsgTimeout) MarshalToSizedBuffer Uses

func (m *MsgTimeout) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgTimeout) ProtoMessage Uses

func (*MsgTimeout) ProtoMessage()

func (*MsgTimeout) Reset Uses

func (m *MsgTimeout) Reset()

func (MsgTimeout) Route Uses

func (msg MsgTimeout) Route() string

Route implements sdk.Msg

func (*MsgTimeout) Size Uses

func (m *MsgTimeout) Size() (n int)

func (*MsgTimeout) String Uses

func (m *MsgTimeout) String() string

func (MsgTimeout) Type Uses

func (msg MsgTimeout) Type() string

Type implements sdk.Msg

func (*MsgTimeout) Unmarshal Uses

func (m *MsgTimeout) Unmarshal(dAtA []byte) error

func (MsgTimeout) ValidateBasic Uses

func (msg MsgTimeout) ValidateBasic() error

ValidateBasic implements sdk.Msg

func (*MsgTimeout) XXX_DiscardUnknown Uses

func (m *MsgTimeout) XXX_DiscardUnknown()

func (*MsgTimeout) XXX_Marshal Uses

func (m *MsgTimeout) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgTimeout) XXX_Merge Uses

func (m *MsgTimeout) XXX_Merge(src proto.Message)

func (*MsgTimeout) XXX_Size Uses

func (m *MsgTimeout) XXX_Size() int

func (*MsgTimeout) XXX_Unmarshal Uses

func (m *MsgTimeout) XXX_Unmarshal(b []byte) error

type Order Uses

type Order int32

Order defines if a channel is ORDERED or UNORDERED

const (
    // zero-value for channel ordering
    NONE Order = 0
    // packets can be delivered in any order, which may differ from the order in which they were sent.
    UNORDERED Order = 1
    // packets are delivered exactly in the order which they were sent
    ORDERED Order = 2
)

func (Order) EnumDescriptor Uses

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

func (Order) String Uses

func (x Order) String() string

type Packet Uses

type Packet struct {
    // number corresponds to the order of sends and receives, where a Packet with
    // an earlier sequence number must be sent and received before a Packet with a
    // later sequence number.
    Sequence uint64 `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty"`
    // identifies the port on the sending chain.
    SourcePort string `protobuf:"bytes,2,opt,name=source_port,json=sourcePort,proto3" json:"source_port,omitempty" yaml:"source_port"`
    // identifies the channel end on the sending chain.
    SourceChannel string `protobuf:"bytes,3,opt,name=source_channel,json=sourceChannel,proto3" json:"source_channel,omitempty" yaml:"source_channel"`
    // identifies the port on the receiving chain.
    DestinationPort string `protobuf:"bytes,4,opt,name=destination_port,json=destinationPort,proto3" json:"destination_port,omitempty" yaml:"destination_port"`
    // identifies the channel end on the receiving chain.
    DestinationChannel string `protobuf:"bytes,5,opt,name=destination_channel,json=destinationChannel,proto3" json:"destination_channel,omitempty" yaml:"destination_channel"`
    // actual opaque bytes transferred directly to the application module
    Data []byte `protobuf:"bytes,6,opt,name=data,proto3" json:"data,omitempty"`
    // block height after which the packet times out
    TimeoutHeight uint64 `protobuf:"varint,7,opt,name=timeout_height,json=timeoutHeight,proto3" json:"timeout_height,omitempty" yaml:"timeout_height"`
    // block timestamp (in nanoseconds) after which the packet times out
    TimeoutTimestamp uint64 `protobuf:"varint,8,opt,name=timeout_timestamp,json=timeoutTimestamp,proto3" json:"timeout_timestamp,omitempty" yaml:"timeout_timestamp"`
}

Packet defines a type that carries data across different chains through IBC

func NewPacket Uses

func NewPacket(
    data []byte,
    sequence uint64, sourcePort, sourceChannel,
    destinationPort, destinationChannel string,
    timeoutHeight uint64, timeoutTimestamp uint64,
) Packet

NewPacket creates a new Packet instance. It panics if the provided packet data interface is not registered.

func (*Packet) Descriptor Uses

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

func (Packet) GetData Uses

func (p Packet) GetData() []byte

GetData implements PacketI interface

func (Packet) GetDestChannel Uses

func (p Packet) GetDestChannel() string

GetDestChannel implements PacketI interface

func (Packet) GetDestPort Uses

func (p Packet) GetDestPort() string

GetDestPort implements PacketI interface

func (Packet) GetSequence Uses

func (p Packet) GetSequence() uint64

GetSequence implements PacketI interface

func (Packet) GetSourceChannel Uses

func (p Packet) GetSourceChannel() string

GetSourceChannel implements PacketI interface

func (Packet) GetSourcePort Uses

func (p Packet) GetSourcePort() string

GetSourcePort implements PacketI interface

func (Packet) GetTimeoutHeight Uses

func (p Packet) GetTimeoutHeight() uint64

GetTimeoutHeight implements PacketI interface

func (Packet) GetTimeoutTimestamp Uses

func (p Packet) GetTimeoutTimestamp() uint64

GetTimeoutTimestamp implements PacketI interface

func (*Packet) Marshal Uses

func (m *Packet) Marshal() (dAtA []byte, err error)

func (*Packet) MarshalTo Uses

func (m *Packet) MarshalTo(dAtA []byte) (int, error)

func (*Packet) MarshalToSizedBuffer Uses

func (m *Packet) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Packet) ProtoMessage Uses

func (*Packet) ProtoMessage()

func (*Packet) Reset Uses

func (m *Packet) Reset()

func (*Packet) Size Uses

func (m *Packet) Size() (n int)

func (*Packet) String Uses

func (m *Packet) String() string

func (*Packet) Unmarshal Uses

func (m *Packet) Unmarshal(dAtA []byte) error

func (Packet) ValidateBasic Uses

func (p Packet) ValidateBasic() error

ValidateBasic implements PacketI interface

func (*Packet) XXX_DiscardUnknown Uses

func (m *Packet) XXX_DiscardUnknown()

func (*Packet) XXX_Marshal Uses

func (m *Packet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Packet) XXX_Merge Uses

func (m *Packet) XXX_Merge(src proto.Message)

func (*Packet) XXX_Size Uses

func (m *Packet) XXX_Size() int

func (*Packet) XXX_Unmarshal Uses

func (m *Packet) XXX_Unmarshal(b []byte) error

type PacketAckCommitment Uses

type PacketAckCommitment struct {
    // channel port identifier.
    PortID string `protobuf:"bytes,1,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty" yaml:"port_id"`
    // channel unique identifier.
    ChannelID string `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty" yaml:"channel_id"`
    // packet sequence.
    Sequence uint64 `protobuf:"varint,3,opt,name=sequence,proto3" json:"sequence,omitempty"`
    // packet commitment hash.
    Hash []byte `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"`
}

PacketAckCommitment defines the genesis type necessary to retrieve and store acknowlegements.

func NewPacketAckCommitment Uses

func NewPacketAckCommitment(portID, channelID string, seq uint64, hash []byte) PacketAckCommitment

NewPacketAckCommitment creates a new PacketAckCommitment instance.

func (*PacketAckCommitment) Descriptor Uses

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

func (*PacketAckCommitment) Marshal Uses

func (m *PacketAckCommitment) Marshal() (dAtA []byte, err error)

func (*PacketAckCommitment) MarshalTo Uses

func (m *PacketAckCommitment) MarshalTo(dAtA []byte) (int, error)

func (*PacketAckCommitment) MarshalToSizedBuffer Uses

func (m *PacketAckCommitment) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PacketAckCommitment) ProtoMessage Uses

func (*PacketAckCommitment) ProtoMessage()

func (*PacketAckCommitment) Reset Uses

func (m *PacketAckCommitment) Reset()

func (*PacketAckCommitment) Size Uses

func (m *PacketAckCommitment) Size() (n int)

func (*PacketAckCommitment) String Uses

func (m *PacketAckCommitment) String() string

func (*PacketAckCommitment) Unmarshal Uses

func (m *PacketAckCommitment) Unmarshal(dAtA []byte) error

func (PacketAckCommitment) Validate Uses

func (pa PacketAckCommitment) Validate() error

Validate performs basic validation of fields returning an error upon any failure.

func (*PacketAckCommitment) XXX_DiscardUnknown Uses

func (m *PacketAckCommitment) XXX_DiscardUnknown()

func (*PacketAckCommitment) XXX_Marshal Uses

func (m *PacketAckCommitment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PacketAckCommitment) XXX_Merge Uses

func (m *PacketAckCommitment) XXX_Merge(src proto.Message)

func (*PacketAckCommitment) XXX_Size Uses

func (m *PacketAckCommitment) XXX_Size() int

func (*PacketAckCommitment) XXX_Unmarshal Uses

func (m *PacketAckCommitment) XXX_Unmarshal(b []byte) error

type PacketSequence Uses

type PacketSequence struct {
    PortID    string `json:"port_id" yaml:"port_id"`
    ChannelID string `json:"channel_id" yaml:"channel_id"`
    Sequence  uint64 `json:"sequence" yaml:"sequence"`
}

PacketSequence defines the genesis type necessary to retrieve and store next send and receive sequences.

func NewPacketSequence Uses

func NewPacketSequence(portID, channelID string, seq uint64) PacketSequence

NewPacketSequence creates a new PacketSequences instance.

func (PacketSequence) Validate Uses

func (ps PacketSequence) Validate() error

Validate performs basic validation of fields returning an error upon any failure.

type PortKeeper Uses

type PortKeeper interface {
    Authenticate(ctx sdk.Context, key *capabilitytypes.Capability, portID string) bool
}

PortKeeper expected account IBC port keeper

type QueryChannelClientStateRequest Uses

type QueryChannelClientStateRequest struct {
    // port unique identifier
    PortID string `protobuf:"bytes,1,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"`
    // channel unique identifier
    ChannelID string `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
}

QueryChannelClientStateRequest is the request type for the Query/ClientState RPC method

func NewQueryChannelClientStateRequest Uses

func NewQueryChannelClientStateRequest(portID, channelID string) *QueryChannelClientStateRequest

NewQueryChannelClientStateRequest creates a new QueryChannelClientStateRequest instance.

func (*QueryChannelClientStateRequest) Descriptor Uses

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

func (*QueryChannelClientStateRequest) GetChannelID Uses

func (m *QueryChannelClientStateRequest) GetChannelID() string

func (*QueryChannelClientStateRequest) GetPortID Uses

func (m *QueryChannelClientStateRequest) GetPortID() string

func (*QueryChannelClientStateRequest) Marshal Uses

func (m *QueryChannelClientStateRequest) Marshal() (dAtA []byte, err error)

func (*QueryChannelClientStateRequest) MarshalTo Uses

func (m *QueryChannelClientStateRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryChannelClientStateRequest) MarshalToSizedBuffer Uses

func (m *QueryChannelClientStateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryChannelClientStateRequest) ProtoMessage Uses

func (*QueryChannelClientStateRequest) ProtoMessage()

func (*QueryChannelClientStateRequest) Reset Uses

func (m *QueryChannelClientStateRequest) Reset()

func (*QueryChannelClientStateRequest) Size Uses

func (m *QueryChannelClientStateRequest) Size() (n int)

func (*QueryChannelClientStateRequest) String Uses

func (m *QueryChannelClientStateRequest) String() string

func (*QueryChannelClientStateRequest) Unmarshal Uses

func (m *QueryChannelClientStateRequest) Unmarshal(dAtA []byte) error

func (*QueryChannelClientStateRequest) XXX_DiscardUnknown Uses

func (m *QueryChannelClientStateRequest) XXX_DiscardUnknown()

func (*QueryChannelClientStateRequest) XXX_Marshal Uses

func (m *QueryChannelClientStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryChannelClientStateRequest) XXX_Merge Uses

func (m *QueryChannelClientStateRequest) XXX_Merge(src proto.Message)

func (*QueryChannelClientStateRequest) XXX_Size Uses

func (m *QueryChannelClientStateRequest) XXX_Size() int

func (*QueryChannelClientStateRequest) XXX_Unmarshal Uses

func (m *QueryChannelClientStateRequest) XXX_Unmarshal(b []byte) error

type QueryChannelConsensusStateRequest Uses

type QueryChannelConsensusStateRequest struct {
    // port unique identifier
    PortID string `protobuf:"bytes,1,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"`
    // channel unique identifier
    ChannelID string `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
}

QueryChannelConsensusStateRequest is the request type for the Query/ConsensusState RPC method

func NewQueryChannelConsensusStateRequest Uses

func NewQueryChannelConsensusStateRequest(portID, channelID string) *QueryChannelConsensusStateRequest

NewQueryChannelConsensusStateRequest creates a new QueryChannelConsensusStateRequest instance.

func (*QueryChannelConsensusStateRequest) Descriptor Uses

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

func (*QueryChannelConsensusStateRequest) GetChannelID Uses

func (m *QueryChannelConsensusStateRequest) GetChannelID() string

func (*QueryChannelConsensusStateRequest) GetPortID Uses

func (m *QueryChannelConsensusStateRequest) GetPortID() string

func (*QueryChannelConsensusStateRequest) Marshal Uses

func (m *QueryChannelConsensusStateRequest) Marshal() (dAtA []byte, err error)

func (*QueryChannelConsensusStateRequest) MarshalTo Uses

func (m *QueryChannelConsensusStateRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryChannelConsensusStateRequest) MarshalToSizedBuffer Uses

func (m *QueryChannelConsensusStateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryChannelConsensusStateRequest) ProtoMessage Uses

func (*QueryChannelConsensusStateRequest) ProtoMessage()

func (*QueryChannelConsensusStateRequest) Reset Uses

func (m *QueryChannelConsensusStateRequest) Reset()

func (*QueryChannelConsensusStateRequest) Size Uses

func (m *QueryChannelConsensusStateRequest) Size() (n int)

func (*QueryChannelConsensusStateRequest) String Uses

func (m *QueryChannelConsensusStateRequest) String() string

func (*QueryChannelConsensusStateRequest) Unmarshal Uses

func (m *QueryChannelConsensusStateRequest) Unmarshal(dAtA []byte) error

func (*QueryChannelConsensusStateRequest) XXX_DiscardUnknown Uses

func (m *QueryChannelConsensusStateRequest) XXX_DiscardUnknown()

func (*QueryChannelConsensusStateRequest) XXX_Marshal Uses

func (m *QueryChannelConsensusStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryChannelConsensusStateRequest) XXX_Merge Uses

func (m *QueryChannelConsensusStateRequest) XXX_Merge(src proto.Message)

func (*QueryChannelConsensusStateRequest) XXX_Size Uses

func (m *QueryChannelConsensusStateRequest) XXX_Size() int

func (*QueryChannelConsensusStateRequest) XXX_Unmarshal Uses

func (m *QueryChannelConsensusStateRequest) XXX_Unmarshal(b []byte) error

type QueryChannelRequest Uses

type QueryChannelRequest struct {
    // port unique identifier
    PortID string `protobuf:"bytes,1,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"`
    // channel unique identifier
    ChannelID string `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
}

QueryChannelRequest is the request type for the Query/Channel RPC method

func (*QueryChannelRequest) Descriptor Uses

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

func (*QueryChannelRequest) GetChannelID Uses

func (m *QueryChannelRequest) GetChannelID() string

func (*QueryChannelRequest) GetPortID Uses

func (m *QueryChannelRequest) GetPortID() string

func (*QueryChannelRequest) Marshal Uses

func (m *QueryChannelRequest) Marshal() (dAtA []byte, err error)

func (*QueryChannelRequest) MarshalTo Uses

func (m *QueryChannelRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryChannelRequest) MarshalToSizedBuffer Uses

func (m *QueryChannelRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryChannelRequest) ProtoMessage Uses

func (*QueryChannelRequest) ProtoMessage()

func (*QueryChannelRequest) Reset Uses

func (m *QueryChannelRequest) Reset()

func (*QueryChannelRequest) Size Uses

func (m *QueryChannelRequest) Size() (n int)

func (*QueryChannelRequest) String Uses

func (m *QueryChannelRequest) String() string

func (*QueryChannelRequest) Unmarshal Uses

func (m *QueryChannelRequest) Unmarshal(dAtA []byte) error

func (*QueryChannelRequest) XXX_DiscardUnknown Uses

func (m *QueryChannelRequest) XXX_DiscardUnknown()

func (*QueryChannelRequest) XXX_Marshal Uses

func (m *QueryChannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryChannelRequest) XXX_Merge Uses

func (m *QueryChannelRequest) XXX_Merge(src proto.Message)

func (*QueryChannelRequest) XXX_Size Uses

func (m *QueryChannelRequest) XXX_Size() int

func (*QueryChannelRequest) XXX_Unmarshal Uses

func (m *QueryChannelRequest) XXX_Unmarshal(b []byte) error

type QueryChannelResponse Uses

type QueryChannelResponse struct {
    // channel associated with the request identifiers
    Channel *Channel `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"`
    // merkle proof of existence
    Proof []byte `protobuf:"bytes,2,opt,name=proof,proto3" json:"proof,omitempty"`
    // merkle proof path
    ProofPath string `protobuf:"bytes,3,opt,name=proof_path,json=proofPath,proto3" json:"proof_path,omitempty"`
    // height at which the proof was retrieved
    ProofHeight uint64 `protobuf:"varint,4,opt,name=proof_height,json=proofHeight,proto3" json:"proof_height,omitempty"`
}

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

func NewQueryChannelResponse Uses

func NewQueryChannelResponse(portID, channelID string, channel Channel, proof []byte, height int64) *QueryChannelResponse

NewQueryChannelResponse creates a new QueryChannelResponse instance

func (*QueryChannelResponse) Descriptor Uses

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

func (*QueryChannelResponse) GetChannel Uses

func (m *QueryChannelResponse) GetChannel() *Channel

func (*QueryChannelResponse) GetProof Uses

func (m *QueryChannelResponse) GetProof() []byte

func (*QueryChannelResponse) GetProofHeight Uses

func (m *QueryChannelResponse) GetProofHeight() uint64

func (*QueryChannelResponse) GetProofPath Uses

func (m *QueryChannelResponse) GetProofPath() string

func (*QueryChannelResponse) Marshal Uses

func (m *QueryChannelResponse) Marshal() (dAtA []byte, err error)

func (*QueryChannelResponse) MarshalTo Uses

func (m *QueryChannelResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryChannelResponse) MarshalToSizedBuffer Uses

func (m *QueryChannelResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryChannelResponse) ProtoMessage Uses

func (*QueryChannelResponse) ProtoMessage()

func (*QueryChannelResponse) Reset Uses

func (m *QueryChannelResponse) Reset()

func (*QueryChannelResponse) Size Uses

func (m *QueryChannelResponse) Size() (n int)

func (*QueryChannelResponse) String Uses

func (m *QueryChannelResponse) String() string

func (*QueryChannelResponse) Unmarshal Uses

func (m *QueryChannelResponse) Unmarshal(dAtA []byte) error

func (*QueryChannelResponse) XXX_DiscardUnknown Uses

func (m *QueryChannelResponse) XXX_DiscardUnknown()

func (*QueryChannelResponse) XXX_Marshal Uses

func (m *QueryChannelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryChannelResponse) XXX_Merge Uses

func (m *QueryChannelResponse) XXX_Merge(src proto.Message)

func (*QueryChannelResponse) XXX_Size Uses

func (m *QueryChannelResponse) XXX_Size() int

func (*QueryChannelResponse) XXX_Unmarshal Uses

func (m *QueryChannelResponse) XXX_Unmarshal(b []byte) error

type QueryChannelsRequest Uses

type QueryChannelsRequest struct {
    // pagination request
    Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryChannelsRequest is the request type for the Query/Channels RPC method

func (*QueryChannelsRequest) Descriptor Uses

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

func (*QueryChannelsRequest) GetPagination Uses

func (m *QueryChannelsRequest) GetPagination() *query.PageRequest

func (*QueryChannelsRequest) Marshal Uses

func (m *QueryChannelsRequest) Marshal() (dAtA []byte, err error)

func (*QueryChannelsRequest) MarshalTo Uses

func (m *QueryChannelsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryChannelsRequest) MarshalToSizedBuffer Uses

func (m *QueryChannelsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryChannelsRequest) ProtoMessage Uses

func (*QueryChannelsRequest) ProtoMessage()

func (*QueryChannelsRequest) Reset Uses

func (m *QueryChannelsRequest) Reset()

func (*QueryChannelsRequest) Size Uses

func (m *QueryChannelsRequest) Size() (n int)

func (*QueryChannelsRequest) String Uses

func (m *QueryChannelsRequest) String() string

func (*QueryChannelsRequest) Unmarshal Uses

func (m *QueryChannelsRequest) Unmarshal(dAtA []byte) error

func (*QueryChannelsRequest) XXX_DiscardUnknown Uses

func (m *QueryChannelsRequest) XXX_DiscardUnknown()

func (*QueryChannelsRequest) XXX_Marshal Uses

func (m *QueryChannelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryChannelsRequest) XXX_Merge Uses

func (m *QueryChannelsRequest) XXX_Merge(src proto.Message)

func (*QueryChannelsRequest) XXX_Size Uses

func (m *QueryChannelsRequest) XXX_Size() int

func (*QueryChannelsRequest) XXX_Unmarshal Uses

func (m *QueryChannelsRequest) XXX_Unmarshal(b []byte) error

type QueryChannelsResponse Uses

type QueryChannelsResponse struct {
    // list of stored channels of the chain.
    Channels []*IdentifiedChannel `protobuf:"bytes,1,rep,name=channels,proto3" json:"channels,omitempty"`
    // pagination response
    Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
    // query block height
    Height int64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
}

QueryChannelsResponse is the response type for the Query/Channels RPC method.

func (*QueryChannelsResponse) Descriptor Uses

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

func (*QueryChannelsResponse) GetChannels Uses

func (m *QueryChannelsResponse) GetChannels() []*IdentifiedChannel

func (*QueryChannelsResponse) GetHeight Uses

func (m *QueryChannelsResponse) GetHeight() int64

func (*QueryChannelsResponse) GetPagination Uses

func (m *QueryChannelsResponse) GetPagination() *query.PageResponse

func (*QueryChannelsResponse) Marshal Uses

func (m *QueryChannelsResponse) Marshal() (dAtA []byte, err error)

func (*QueryChannelsResponse) MarshalTo Uses

func (m *QueryChannelsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryChannelsResponse) MarshalToSizedBuffer Uses

func (m *QueryChannelsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryChannelsResponse) ProtoMessage Uses

func (*QueryChannelsResponse) ProtoMessage()

func (*QueryChannelsResponse) Reset Uses

func (m *QueryChannelsResponse) Reset()

func (*QueryChannelsResponse) Size Uses

func (m *QueryChannelsResponse) Size() (n int)

func (*QueryChannelsResponse) String Uses

func (m *QueryChannelsResponse) String() string

func (*QueryChannelsResponse) Unmarshal Uses

func (m *QueryChannelsResponse) Unmarshal(dAtA []byte) error

func (*QueryChannelsResponse) XXX_DiscardUnknown Uses

func (m *QueryChannelsResponse) XXX_DiscardUnknown()

func (*QueryChannelsResponse) XXX_Marshal Uses

func (m *QueryChannelsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryChannelsResponse) XXX_Merge Uses

func (m *QueryChannelsResponse) XXX_Merge(src proto.Message)

func (*QueryChannelsResponse) XXX_Size Uses

func (m *QueryChannelsResponse) XXX_Size() int

func (*QueryChannelsResponse) XXX_Unmarshal Uses

func (m *QueryChannelsResponse) XXX_Unmarshal(b []byte) error

type QueryClient Uses

type QueryClient interface {
    // Channel queries an IBC Channel.
    Channel(ctx context.Context, in *QueryChannelRequest, opts ...grpc.CallOption) (*QueryChannelResponse, error)
    // Channels queries all the IBC channels of a chain.
    Channels(ctx context.Context, in *QueryChannelsRequest, opts ...grpc.CallOption) (*QueryChannelsResponse, error)
    // ConnectionChannels queries all the channels associated with a connection end.
    ConnectionChannels(ctx context.Context, in *QueryConnectionChannelsRequest, opts ...grpc.CallOption) (*QueryConnectionChannelsResponse, error)
    // PacketCommitment queries a stored packet commitment hash.
    PacketCommitment(ctx context.Context, in *QueryPacketCommitmentRequest, opts ...grpc.CallOption) (*QueryPacketCommitmentResponse, error)
    // PacketCommitments returns the all the packet commitments hashes associated with a channel.
    PacketCommitments(ctx context.Context, in *QueryPacketCommitmentsRequest, opts ...grpc.CallOption) (*QueryPacketCommitmentsResponse, error)
    // PacketAcknowledgement queries a stored packet acknowledgement hash.
    PacketAcknowledgement(ctx context.Context, in *QueryPacketAcknowledgementRequest, opts ...grpc.CallOption) (*QueryPacketAcknowledgementResponse, error)
    // UnrelayedPackets returns all the unrelayed IBC packets associated with a channel and sequences.
    UnrelayedPackets(ctx context.Context, in *QueryUnrelayedPacketsRequest, opts ...grpc.CallOption) (*QueryUnrelayedPacketsResponse, error)
    // NextSequenceReceive returns the next receive sequence for a given channel
    NextSequenceReceive(ctx context.Context, in *QueryNextSequenceReceiveRequest, opts ...grpc.CallOption) (*QueryNextSequenceReceiveResponse, error)
}

QueryClient is the client API for Query service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewQueryClient Uses

func NewQueryClient(cc grpc1.ClientConn) QueryClient

type QueryConnectionChannelsRequest Uses

type QueryConnectionChannelsRequest struct {
    // connection unique identifier
    Connection string `protobuf:"bytes,1,opt,name=connection,proto3" json:"connection,omitempty"`
    // pagination request
    Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryConnectionChannelsRequest is the request type for the Query/QueryConnectionChannels RPC method

func (*QueryConnectionChannelsRequest) Descriptor Uses

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

func (*QueryConnectionChannelsRequest) GetConnection Uses

func (m *QueryConnectionChannelsRequest) GetConnection() string

func (*QueryConnectionChannelsRequest) GetPagination Uses

func (m *QueryConnectionChannelsRequest) GetPagination() *query.PageRequest

func (*QueryConnectionChannelsRequest) Marshal Uses

func (m *QueryConnectionChannelsRequest) Marshal() (dAtA []byte, err error)

func (*QueryConnectionChannelsRequest) MarshalTo Uses

func (m *QueryConnectionChannelsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryConnectionChannelsRequest) MarshalToSizedBuffer Uses

func (m *QueryConnectionChannelsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryConnectionChannelsRequest) ProtoMessage Uses

func (*QueryConnectionChannelsRequest) ProtoMessage()

func (*QueryConnectionChannelsRequest) Reset Uses

func (m *QueryConnectionChannelsRequest) Reset()

func (*QueryConnectionChannelsRequest) Size Uses

func (m *QueryConnectionChannelsRequest) Size() (n int)

func (*QueryConnectionChannelsRequest) String Uses

func (m *QueryConnectionChannelsRequest) String() string

func (*QueryConnectionChannelsRequest) Unmarshal Uses

func (m *QueryConnectionChannelsRequest) Unmarshal(dAtA []byte) error

func (*QueryConnectionChannelsRequest) XXX_DiscardUnknown Uses

func (m *QueryConnectionChannelsRequest) XXX_DiscardUnknown()

func (*QueryConnectionChannelsRequest) XXX_Marshal Uses

func (m *QueryConnectionChannelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryConnectionChannelsRequest) XXX_Merge Uses

func (m *QueryConnectionChannelsRequest) XXX_Merge(src proto.Message)

func (*QueryConnectionChannelsRequest) XXX_Size Uses

func (m *QueryConnectionChannelsRequest) XXX_Size() int

func (*QueryConnectionChannelsRequest) XXX_Unmarshal Uses

func (m *QueryConnectionChannelsRequest) XXX_Unmarshal(b []byte) error

type QueryConnectionChannelsResponse Uses

type QueryConnectionChannelsResponse struct {
    // list of channels associated with a connection.
    Channels []*IdentifiedChannel `protobuf:"bytes,1,rep,name=channels,proto3" json:"channels,omitempty"`
    // pagination response
    Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
    // query block height
    Height int64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
}

QueryConnectionChannelsResponse is the Response type for the Query/QueryConnectionChannels RPC method

func (*QueryConnectionChannelsResponse) Descriptor Uses

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

func (*QueryConnectionChannelsResponse) GetChannels Uses

func (m *QueryConnectionChannelsResponse) GetChannels() []*IdentifiedChannel

func (*QueryConnectionChannelsResponse) GetHeight Uses

func (m *QueryConnectionChannelsResponse) GetHeight() int64

func (*QueryConnectionChannelsResponse) GetPagination Uses

func (m *QueryConnectionChannelsResponse) GetPagination() *query.PageResponse

func (*QueryConnectionChannelsResponse) Marshal Uses

func (m *QueryConnectionChannelsResponse) Marshal() (dAtA []byte, err error)

func (*QueryConnectionChannelsResponse) MarshalTo Uses

func (m *QueryConnectionChannelsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryConnectionChannelsResponse) MarshalToSizedBuffer Uses

func (m *QueryConnectionChannelsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryConnectionChannelsResponse) ProtoMessage Uses

func (*QueryConnectionChannelsResponse) ProtoMessage()

func (*QueryConnectionChannelsResponse) Reset Uses

func (m *QueryConnectionChannelsResponse) Reset()

func (*QueryConnectionChannelsResponse) Size Uses

func (m *QueryConnectionChannelsResponse) Size() (n int)

func (*QueryConnectionChannelsResponse) String Uses

func (m *QueryConnectionChannelsResponse) String() string

func (*QueryConnectionChannelsResponse) Unmarshal Uses

func (m *QueryConnectionChannelsResponse) Unmarshal(dAtA []byte) error

func (*QueryConnectionChannelsResponse) XXX_DiscardUnknown Uses

func (m *QueryConnectionChannelsResponse) XXX_DiscardUnknown()

func (*QueryConnectionChannelsResponse) XXX_Marshal Uses

func (m *QueryConnectionChannelsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryConnectionChannelsResponse) XXX_Merge Uses

func (m *QueryConnectionChannelsResponse) XXX_Merge(src proto.Message)

func (*QueryConnectionChannelsResponse) XXX_Size Uses

func (m *QueryConnectionChannelsResponse) XXX_Size() int

func (*QueryConnectionChannelsResponse) XXX_Unmarshal Uses

func (m *QueryConnectionChannelsResponse) XXX_Unmarshal(b []byte) error

type QueryNextSequenceReceiveRequest Uses

type QueryNextSequenceReceiveRequest struct {
    // port unique identifier
    PortID string `protobuf:"bytes,1,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"`
    // channel unique identifier
    ChannelID string `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
}

QueryNextSequenceReceiveRequest is the request type for the Query/QueryNextSequenceReceiveRequest RPC method

func (*QueryNextSequenceReceiveRequest) Descriptor Uses

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

func (*QueryNextSequenceReceiveRequest) GetChannelID Uses

func (m *QueryNextSequenceReceiveRequest) GetChannelID() string

func (*QueryNextSequenceReceiveRequest) GetPortID Uses

func (m *QueryNextSequenceReceiveRequest) GetPortID() string

func (*QueryNextSequenceReceiveRequest) Marshal Uses

func (m *QueryNextSequenceReceiveRequest) Marshal() (dAtA []byte, err error)

func (*QueryNextSequenceReceiveRequest) MarshalTo Uses

func (m *QueryNextSequenceReceiveRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryNextSequenceReceiveRequest) MarshalToSizedBuffer Uses

func (m *QueryNextSequenceReceiveRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryNextSequenceReceiveRequest) ProtoMessage Uses

func (*QueryNextSequenceReceiveRequest) ProtoMessage()

func (*QueryNextSequenceReceiveRequest) Reset Uses

func (m *QueryNextSequenceReceiveRequest) Reset()

func (*QueryNextSequenceReceiveRequest) Size Uses

func (m *QueryNextSequenceReceiveRequest) Size() (n int)

func (*QueryNextSequenceReceiveRequest) String Uses

func (m *QueryNextSequenceReceiveRequest) String() string

func (*QueryNextSequenceReceiveRequest) Unmarshal Uses

func (m *QueryNextSequenceReceiveRequest) Unmarshal(dAtA []byte) error

func (*QueryNextSequenceReceiveRequest) XXX_DiscardUnknown Uses

func (m *QueryNextSequenceReceiveRequest) XXX_DiscardUnknown()

func (*QueryNextSequenceReceiveRequest) XXX_Marshal Uses

func (m *QueryNextSequenceReceiveRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryNextSequenceReceiveRequest) XXX_Merge Uses

func (m *QueryNextSequenceReceiveRequest) XXX_Merge(src proto.Message)

func (*QueryNextSequenceReceiveRequest) XXX_Size Uses

func (m *QueryNextSequenceReceiveRequest) XXX_Size() int

func (*QueryNextSequenceReceiveRequest) XXX_Unmarshal Uses

func (m *QueryNextSequenceReceiveRequest) XXX_Unmarshal(b []byte) error

type QueryNextSequenceReceiveResponse Uses

type QueryNextSequenceReceiveResponse struct {
    // next sequence receive number
    NextSequenceReceive uint64 `protobuf:"varint,1,opt,name=next_sequence_receive,json=nextSequenceReceive,proto3" json:"next_sequence_receive,omitempty"`
    // merkle proof of existence
    Proof []byte `protobuf:"bytes,2,opt,name=proof,proto3" json:"proof,omitempty"`
    // merkle proof path
    ProofPath string `protobuf:"bytes,3,opt,name=proof_path,json=proofPath,proto3" json:"proof_path,omitempty"`
    // height at which the proof was retrieved
    ProofHeight uint64 `protobuf:"varint,4,opt,name=proof_height,json=proofHeight,proto3" json:"proof_height,omitempty"`
}

QuerySequenceResponse is the request type for the Query/QueryNextSequenceReceiveResponse RPC method

func NewQueryNextSequenceReceiveResponse Uses

func NewQueryNextSequenceReceiveResponse(
    portID, channelID string, sequence uint64, proof []byte, height int64,
) *QueryNextSequenceReceiveResponse

NewQueryNextSequenceReceiveResponse creates a new QueryNextSequenceReceiveResponse instance

func (*QueryNextSequenceReceiveResponse) Descriptor Uses

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

func (*QueryNextSequenceReceiveResponse) GetNextSequenceReceive Uses

func (m *QueryNextSequenceReceiveResponse) GetNextSequenceReceive() uint64

func (*QueryNextSequenceReceiveResponse) GetProof Uses

func (m *QueryNextSequenceReceiveResponse) GetProof() []byte

func (*QueryNextSequenceReceiveResponse) GetProofHeight Uses

func (m *QueryNextSequenceReceiveResponse) GetProofHeight() uint64

func (*QueryNextSequenceReceiveResponse) GetProofPath Uses

func (m *QueryNextSequenceReceiveResponse) GetProofPath() string

func (*QueryNextSequenceReceiveResponse) Marshal Uses

func (m *QueryNextSequenceReceiveResponse) Marshal() (dAtA []byte, err error)

func (*QueryNextSequenceReceiveResponse) MarshalTo Uses

func (m *QueryNextSequenceReceiveResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryNextSequenceReceiveResponse) MarshalToSizedBuffer Uses

func (m *QueryNextSequenceReceiveResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryNextSequenceReceiveResponse) ProtoMessage Uses

func (*QueryNextSequenceReceiveResponse) ProtoMessage()

func (*QueryNextSequenceReceiveResponse) Reset Uses

func (m *QueryNextSequenceReceiveResponse) Reset()

func (*QueryNextSequenceReceiveResponse) Size Uses

func (m *QueryNextSequenceReceiveResponse) Size() (n int)

func (*QueryNextSequenceReceiveResponse) String Uses

func (m *QueryNextSequenceReceiveResponse) String() string

func (*QueryNextSequenceReceiveResponse) Unmarshal Uses

func (m *QueryNextSequenceReceiveResponse) Unmarshal(dAtA []byte) error

func (*QueryNextSequenceReceiveResponse) XXX_DiscardUnknown Uses

func (m *QueryNextSequenceReceiveResponse) XXX_DiscardUnknown()

func (*QueryNextSequenceReceiveResponse) XXX_Marshal Uses

func (m *QueryNextSequenceReceiveResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryNextSequenceReceiveResponse) XXX_Merge Uses

func (m *QueryNextSequenceReceiveResponse) XXX_Merge(src proto.Message)

func (*QueryNextSequenceReceiveResponse) XXX_Size Uses

func (m *QueryNextSequenceReceiveResponse) XXX_Size() int

func (*QueryNextSequenceReceiveResponse) XXX_Unmarshal Uses

func (m *QueryNextSequenceReceiveResponse) XXX_Unmarshal(b []byte) error

type QueryPacketAcknowledgementRequest Uses

type QueryPacketAcknowledgementRequest struct {
    // port unique identifier
    PortID string `protobuf:"bytes,1,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"`
    // channel unique identifier
    ChannelID string `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
    // packet sequence
    Sequence uint64 `protobuf:"varint,3,opt,name=sequence,proto3" json:"sequence,omitempty"`
}

QueryPacketAcknowledgementRequest is the request type for the Query/PacketAcknowledgement RPC method

func (*QueryPacketAcknowledgementRequest) Descriptor Uses

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

func (*QueryPacketAcknowledgementRequest) GetChannelID Uses

func (m *QueryPacketAcknowledgementRequest) GetChannelID() string

func (*QueryPacketAcknowledgementRequest) GetPortID Uses

func (m *QueryPacketAcknowledgementRequest) GetPortID() string

func (*QueryPacketAcknowledgementRequest) GetSequence Uses

func (m *QueryPacketAcknowledgementRequest) GetSequence() uint64

func (*QueryPacketAcknowledgementRequest) Marshal Uses

func (m *QueryPacketAcknowledgementRequest) Marshal() (dAtA []byte, err error)

func (*QueryPacketAcknowledgementRequest) MarshalTo Uses

func (m *QueryPacketAcknowledgementRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryPacketAcknowledgementRequest) MarshalToSizedBuffer Uses

func (m *QueryPacketAcknowledgementRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryPacketAcknowledgementRequest) ProtoMessage Uses

func (*QueryPacketAcknowledgementRequest) ProtoMessage()

func (*QueryPacketAcknowledgementRequest) Reset Uses

func (m *QueryPacketAcknowledgementRequest) Reset()

func (*QueryPacketAcknowledgementRequest) Size Uses

func (m *QueryPacketAcknowledgementRequest) Size() (n int)

func (*QueryPacketAcknowledgementRequest) String Uses

func (m *QueryPacketAcknowledgementRequest) String() string

func (*QueryPacketAcknowledgementRequest) Unmarshal Uses

func (m *QueryPacketAcknowledgementRequest) Unmarshal(dAtA []byte) error

func (*QueryPacketAcknowledgementRequest) XXX_DiscardUnknown Uses

func (m *QueryPacketAcknowledgementRequest) XXX_DiscardUnknown()

func (*QueryPacketAcknowledgementRequest) XXX_Marshal Uses

func (m *QueryPacketAcknowledgementRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryPacketAcknowledgementRequest) XXX_Merge Uses

func (m *QueryPacketAcknowledgementRequest) XXX_Merge(src proto.Message)

func (*QueryPacketAcknowledgementRequest) XXX_Size Uses

func (m *QueryPacketAcknowledgementRequest) XXX_Size() int

func (*QueryPacketAcknowledgementRequest) XXX_Unmarshal Uses

func (m *QueryPacketAcknowledgementRequest) XXX_Unmarshal(b []byte) error

type QueryPacketAcknowledgementResponse Uses

type QueryPacketAcknowledgementResponse struct {
    // packet associated with the request fields
    Acknowledgement []byte `protobuf:"bytes,1,opt,name=acknowledgement,proto3" json:"acknowledgement,omitempty"`
    // merkle proof of existence
    Proof []byte `protobuf:"bytes,2,opt,name=proof,proto3" json:"proof,omitempty"`
    // merkle proof path
    ProofPath string `protobuf:"bytes,3,opt,name=proof_path,json=proofPath,proto3" json:"proof_path,omitempty"`
    // height at which the proof was retrieved
    ProofHeight uint64 `protobuf:"varint,4,opt,name=proof_height,json=proofHeight,proto3" json:"proof_height,omitempty"`
}

QueryPacketAcknowledgementResponse defines the client query response for a packet which also includes a proof, its path and the height form which the proof was retrieved

func NewQueryPacketAcknowledgementResponse Uses

func NewQueryPacketAcknowledgementResponse(
    portID, channelID string, sequence uint64, acknowledgement []byte, proof []byte, height int64,
) *QueryPacketAcknowledgementResponse

NewQueryPacketAcknowledgementResponse creates a new QueryPacketAcknowledgementResponse instance

func (*QueryPacketAcknowledgementResponse) Descriptor Uses

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

func (*QueryPacketAcknowledgementResponse) GetAcknowledgement Uses

func (m *QueryPacketAcknowledgementResponse) GetAcknowledgement() []byte

func (*QueryPacketAcknowledgementResponse) GetProof Uses

func (m *QueryPacketAcknowledgementResponse) GetProof() []byte

func (*QueryPacketAcknowledgementResponse) GetProofHeight Uses

func (m *QueryPacketAcknowledgementResponse) GetProofHeight() uint64

func (*QueryPacketAcknowledgementResponse) GetProofPath Uses

func (m *QueryPacketAcknowledgementResponse) GetProofPath() string

func (*QueryPacketAcknowledgementResponse) Marshal Uses

func (m *QueryPacketAcknowledgementResponse) Marshal() (dAtA []byte, err error)

func (*QueryPacketAcknowledgementResponse) MarshalTo Uses

func (m *QueryPacketAcknowledgementResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryPacketAcknowledgementResponse) MarshalToSizedBuffer Uses

func (m *QueryPacketAcknowledgementResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryPacketAcknowledgementResponse) ProtoMessage Uses

func (*QueryPacketAcknowledgementResponse) ProtoMessage()

func (*QueryPacketAcknowledgementResponse) Reset Uses

func (m *QueryPacketAcknowledgementResponse) Reset()

func (*QueryPacketAcknowledgementResponse) Size Uses

func (m *QueryPacketAcknowledgementResponse) Size() (n int)

func (*QueryPacketAcknowledgementResponse) String Uses

func (m *QueryPacketAcknowledgementResponse) String() string

func (*QueryPacketAcknowledgementResponse) Unmarshal Uses

func (m *QueryPacketAcknowledgementResponse) Unmarshal(dAtA []byte) error

func (*QueryPacketAcknowledgementResponse) XXX_DiscardUnknown Uses

func (m *QueryPacketAcknowledgementResponse) XXX_DiscardUnknown()

func (*QueryPacketAcknowledgementResponse) XXX_Marshal Uses

func (m *QueryPacketAcknowledgementResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryPacketAcknowledgementResponse) XXX_Merge Uses

func (m *QueryPacketAcknowledgementResponse) XXX_Merge(src proto.Message)

func (*QueryPacketAcknowledgementResponse) XXX_Size Uses

func (m *QueryPacketAcknowledgementResponse) XXX_Size() int

func (*QueryPacketAcknowledgementResponse) XXX_Unmarshal Uses

func (m *QueryPacketAcknowledgementResponse) XXX_Unmarshal(b []byte) error

type QueryPacketCommitmentRequest Uses

type QueryPacketCommitmentRequest struct {
    // port unique identifier
    PortID string `protobuf:"bytes,1,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"`
    // channel unique identifier
    ChannelID string `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
    // packet sequence
    Sequence uint64 `protobuf:"varint,3,opt,name=sequence,proto3" json:"sequence,omitempty"`
}

QueryPacketCommitmentRequest is the request type for the Query/PacketCommitment RPC method

func (*QueryPacketCommitmentRequest) Descriptor Uses

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

func (*QueryPacketCommitmentRequest) GetChannelID Uses

func (m *QueryPacketCommitmentRequest) GetChannelID() string

func (*QueryPacketCommitmentRequest) GetPortID Uses

func (m *QueryPacketCommitmentRequest) GetPortID() string

func (*QueryPacketCommitmentRequest) GetSequence Uses

func (m *QueryPacketCommitmentRequest) GetSequence() uint64

func (*QueryPacketCommitmentRequest) Marshal Uses

func (m *QueryPacketCommitmentRequest) Marshal() (dAtA []byte, err error)

func (*QueryPacketCommitmentRequest) MarshalTo Uses

func (m *QueryPacketCommitmentRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryPacketCommitmentRequest) MarshalToSizedBuffer Uses

func (m *QueryPacketCommitmentRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryPacketCommitmentRequest) ProtoMessage Uses

func (*QueryPacketCommitmentRequest) ProtoMessage()

func (*QueryPacketCommitmentRequest) Reset Uses

func (m *QueryPacketCommitmentRequest) Reset()

func (*QueryPacketCommitmentRequest) Size Uses

func (m *QueryPacketCommitmentRequest) Size() (n int)

func (*QueryPacketCommitmentRequest) String Uses

func (m *QueryPacketCommitmentRequest) String() string

func (*QueryPacketCommitmentRequest) Unmarshal Uses

func (m *QueryPacketCommitmentRequest) Unmarshal(dAtA []byte) error

func (*QueryPacketCommitmentRequest) XXX_DiscardUnknown Uses

func (m *QueryPacketCommitmentRequest) XXX_DiscardUnknown()

func (*QueryPacketCommitmentRequest) XXX_Marshal Uses

func (m *QueryPacketCommitmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryPacketCommitmentRequest) XXX_Merge Uses

func (m *QueryPacketCommitmentRequest) XXX_Merge(src proto.Message)

func (*QueryPacketCommitmentRequest) XXX_Size Uses

func (m *QueryPacketCommitmentRequest) XXX_Size() int

func (*QueryPacketCommitmentRequest) XXX_Unmarshal Uses

func (m *QueryPacketCommitmentRequest) XXX_Unmarshal(b []byte) error

type QueryPacketCommitmentResponse Uses

type QueryPacketCommitmentResponse struct {
    // packet associated with the request fields
    Commitment []byte `protobuf:"bytes,1,opt,name=commitment,proto3" json:"commitment,omitempty"`
    // merkle proof of existence
    Proof []byte `protobuf:"bytes,2,opt,name=proof,proto3" json:"proof,omitempty"`
    // merkle proof path
    ProofPath string `protobuf:"bytes,3,opt,name=proof_path,json=proofPath,proto3" json:"proof_path,omitempty"`
    // height at which the proof was retrieved
    ProofHeight uint64 `protobuf:"varint,4,opt,name=proof_height,json=proofHeight,proto3" json:"proof_height,omitempty"`
}

QueryPacketCommitmentResponse defines the client query response for a packet which also includes a proof, its path and the height form which the proof was retrieved

func NewQueryPacketCommitmentResponse Uses

func NewQueryPacketCommitmentResponse(
    portID, channelID string, sequence uint64, commitment []byte, proof []byte, height int64,
) *QueryPacketCommitmentResponse

NewQueryPacketCommitmentResponse creates a new QueryPacketCommitmentResponse instance

func (*QueryPacketCommitmentResponse) Descriptor Uses

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

func (*QueryPacketCommitmentResponse) GetCommitment Uses

func (m *QueryPacketCommitmentResponse) GetCommitment() []byte

func (*QueryPacketCommitmentResponse) GetProof Uses

func (m *QueryPacketCommitmentResponse) GetProof() []byte

func (*QueryPacketCommitmentResponse) GetProofHeight Uses

func (m *QueryPacketCommitmentResponse) GetProofHeight() uint64

func (*QueryPacketCommitmentResponse) GetProofPath Uses

func (m *QueryPacketCommitmentResponse) GetProofPath() string

func (*QueryPacketCommitmentResponse) Marshal Uses

func (m *QueryPacketCommitmentResponse) Marshal() (dAtA []byte, err error)

func (*QueryPacketCommitmentResponse) MarshalTo Uses

func (m *QueryPacketCommitmentResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryPacketCommitmentResponse) MarshalToSizedBuffer Uses

func (m *QueryPacketCommitmentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryPacketCommitmentResponse) ProtoMessage Uses

func (*QueryPacketCommitmentResponse) ProtoMessage()

func (*QueryPacketCommitmentResponse) Reset Uses

func (m *QueryPacketCommitmentResponse) Reset()

func (*QueryPacketCommitmentResponse) Size Uses

func (m *QueryPacketCommitmentResponse) Size() (n int)

func (*QueryPacketCommitmentResponse) String Uses

func (m *QueryPacketCommitmentResponse) String() string

func (*QueryPacketCommitmentResponse) Unmarshal Uses

func (m *QueryPacketCommitmentResponse) Unmarshal(dAtA []byte) error

func (*QueryPacketCommitmentResponse) XXX_DiscardUnknown Uses

func (m *QueryPacketCommitmentResponse) XXX_DiscardUnknown()

func (*QueryPacketCommitmentResponse) XXX_Marshal Uses

func (m *QueryPacketCommitmentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryPacketCommitmentResponse) XXX_Merge Uses

func (m *QueryPacketCommitmentResponse) XXX_Merge(src proto.Message)

func (*QueryPacketCommitmentResponse) XXX_Size Uses

func (m *QueryPacketCommitmentResponse) XXX_Size() int

func (*QueryPacketCommitmentResponse) XXX_Unmarshal Uses

func (m *QueryPacketCommitmentResponse) XXX_Unmarshal(b []byte) error

type QueryPacketCommitmentsRequest Uses

type QueryPacketCommitmentsRequest struct {
    // port unique identifier
    PortID string `protobuf:"bytes,1,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"`
    // channel unique identifier
    ChannelID string `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
    // pagination request
    Pagination *query.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryPacketCommitmentsRequest is the request type for the Query/QueryPacketCommitments RPC method

func (*QueryPacketCommitmentsRequest) Descriptor Uses

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

func (*QueryPacketCommitmentsRequest) GetChannelID Uses

func (m *QueryPacketCommitmentsRequest) GetChannelID() string

func (*QueryPacketCommitmentsRequest) GetPagination Uses

func (m *QueryPacketCommitmentsRequest) GetPagination() *query.PageRequest

func (*QueryPacketCommitmentsRequest) GetPortID Uses

func (m *QueryPacketCommitmentsRequest) GetPortID() string

func (*QueryPacketCommitmentsRequest) Marshal Uses

func (m *QueryPacketCommitmentsRequest) Marshal() (dAtA []byte, err error)

func (*QueryPacketCommitmentsRequest) MarshalTo Uses

func (m *QueryPacketCommitmentsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryPacketCommitmentsRequest) MarshalToSizedBuffer Uses

func (m *QueryPacketCommitmentsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryPacketCommitmentsRequest) ProtoMessage Uses

func (*QueryPacketCommitmentsRequest) ProtoMessage()

func (*QueryPacketCommitmentsRequest) Reset Uses

func (m *QueryPacketCommitmentsRequest) Reset()

func (*QueryPacketCommitmentsRequest) Size Uses

func (m *QueryPacketCommitmentsRequest) Size() (n int)

func (*QueryPacketCommitmentsRequest) String Uses

func (m *QueryPacketCommitmentsRequest) String() string

func (*QueryPacketCommitmentsRequest) Unmarshal Uses

func (m *QueryPacketCommitmentsRequest) Unmarshal(dAtA []byte) error

func (*QueryPacketCommitmentsRequest) XXX_DiscardUnknown Uses

func (m *QueryPacketCommitmentsRequest) XXX_DiscardUnknown()

func (*QueryPacketCommitmentsRequest) XXX_Marshal Uses

func (m *QueryPacketCommitmentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryPacketCommitmentsRequest) XXX_Merge Uses

func (m *QueryPacketCommitmentsRequest) XXX_Merge(src proto.Message)

func (*QueryPacketCommitmentsRequest) XXX_Size Uses

func (m *QueryPacketCommitmentsRequest) XXX_Size() int

func (*QueryPacketCommitmentsRequest) XXX_Unmarshal Uses

func (m *QueryPacketCommitmentsRequest) XXX_Unmarshal(b []byte) error

type QueryPacketCommitmentsResponse Uses

type QueryPacketCommitmentsResponse struct {
    Commitments []*PacketAckCommitment `protobuf:"bytes,1,rep,name=commitments,proto3" json:"commitments,omitempty"`
    // pagination response
    Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
    // query block height
    Height int64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
}

QueryPacketCommitmentsResponse is the request type for the Query/QueryPacketCommitments RPC method

func (*QueryPacketCommitmentsResponse) Descriptor Uses

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

func (*QueryPacketCommitmentsResponse) GetCommitments Uses

func (m *QueryPacketCommitmentsResponse) GetCommitments() []*PacketAckCommitment

func (*QueryPacketCommitmentsResponse) GetHeight Uses

func (m *QueryPacketCommitmentsResponse) GetHeight() int64

func (*QueryPacketCommitmentsResponse) GetPagination Uses

func (m *QueryPacketCommitmentsResponse) GetPagination() *query.PageResponse

func (*QueryPacketCommitmentsResponse) Marshal Uses

func (m *QueryPacketCommitmentsResponse) Marshal() (dAtA []byte, err error)

func (*QueryPacketCommitmentsResponse) MarshalTo Uses

func (m *QueryPacketCommitmentsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryPacketCommitmentsResponse) MarshalToSizedBuffer Uses

func (m *QueryPacketCommitmentsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryPacketCommitmentsResponse) ProtoMessage Uses

func (*QueryPacketCommitmentsResponse) ProtoMessage()

func (*QueryPacketCommitmentsResponse) Reset Uses

func (m *QueryPacketCommitmentsResponse) Reset()

func (*QueryPacketCommitmentsResponse) Size Uses

func (m *QueryPacketCommitmentsResponse) Size() (n int)

func (*QueryPacketCommitmentsResponse) String Uses

func (m *QueryPacketCommitmentsResponse) String() string

func (*QueryPacketCommitmentsResponse) Unmarshal Uses

func (m *QueryPacketCommitmentsResponse) Unmarshal(dAtA []byte) error

func (*QueryPacketCommitmentsResponse) XXX_DiscardUnknown Uses

func (m *QueryPacketCommitmentsResponse) XXX_DiscardUnknown()

func (*QueryPacketCommitmentsResponse) XXX_Marshal Uses

func (m *QueryPacketCommitmentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryPacketCommitmentsResponse) XXX_Merge Uses

func (m *QueryPacketCommitmentsResponse) XXX_Merge(src proto.Message)

func (*QueryPacketCommitmentsResponse) XXX_Size Uses

func (m *QueryPacketCommitmentsResponse) XXX_Size() int

func (*QueryPacketCommitmentsResponse) XXX_Unmarshal Uses

func (m *QueryPacketCommitmentsResponse) XXX_Unmarshal(b []byte) error

type QueryServer Uses

type QueryServer interface {
    // Channel queries an IBC Channel.
    Channel(context.Context, *QueryChannelRequest) (*QueryChannelResponse, error)
    // Channels queries all the IBC channels of a chain.
    Channels(context.Context, *QueryChannelsRequest) (*QueryChannelsResponse, error)
    // ConnectionChannels queries all the channels associated with a connection end.
    ConnectionChannels(context.Context, *QueryConnectionChannelsRequest) (*QueryConnectionChannelsResponse, error)
    // PacketCommitment queries a stored packet commitment hash.
    PacketCommitment(context.Context, *QueryPacketCommitmentRequest) (*QueryPacketCommitmentResponse, error)
    // PacketCommitments returns the all the packet commitments hashes associated with a channel.
    PacketCommitments(context.Context, *QueryPacketCommitmentsRequest) (*QueryPacketCommitmentsResponse, error)
    // PacketAcknowledgement queries a stored packet acknowledgement hash.
    PacketAcknowledgement(context.Context, *QueryPacketAcknowledgementRequest) (*QueryPacketAcknowledgementResponse, error)
    // UnrelayedPackets returns all the unrelayed IBC packets associated with a channel and sequences.
    UnrelayedPackets(context.Context, *QueryUnrelayedPacketsRequest) (*QueryUnrelayedPacketsResponse, error)
    // NextSequenceReceive returns the next receive sequence for a given channel
    NextSequenceReceive(context.Context, *QueryNextSequenceReceiveRequest) (*QueryNextSequenceReceiveResponse, error)
}

QueryServer is the server API for Query service.

type QueryUnrelayedPacketsRequest Uses

type QueryUnrelayedPacketsRequest struct {
    // port unique identifier
    PortID string `protobuf:"bytes,1,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"`
    // channel unique identifier
    ChannelID string `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
    // list of packet sequences
    PacketCommitmentSequences []uint64 `protobuf:"varint,3,rep,packed,name=packet_commitment_sequences,json=packetCommitmentSequences,proto3" json:"packet_commitment_sequences,omitempty"`
    // flag indicating if the return value is packet commitments or acknowledgements
    Acknowledgements bool `protobuf:"varint,4,opt,name=acknowledgements,proto3" json:"acknowledgements,omitempty"`
}

QueryUnrelayedPacketsRequest is the request type for the Query/UnrelayedPackets RPC method

func (*QueryUnrelayedPacketsRequest) Descriptor Uses

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

func (*QueryUnrelayedPacketsRequest) GetAcknowledgements Uses

func (m *QueryUnrelayedPacketsRequest) GetAcknowledgements() bool

func (*QueryUnrelayedPacketsRequest) GetChannelID Uses

func (m *QueryUnrelayedPacketsRequest) GetChannelID() string

func (*QueryUnrelayedPacketsRequest) GetPacketCommitmentSequences Uses

func (m *QueryUnrelayedPacketsRequest) GetPacketCommitmentSequences() []uint64

func (*QueryUnrelayedPacketsRequest) GetPortID Uses

func (m *QueryUnrelayedPacketsRequest) GetPortID() string

func (*QueryUnrelayedPacketsRequest) Marshal Uses

func (m *QueryUnrelayedPacketsRequest) Marshal() (dAtA []byte, err error)

func (*QueryUnrelayedPacketsRequest) MarshalTo Uses

func (m *QueryUnrelayedPacketsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryUnrelayedPacketsRequest) MarshalToSizedBuffer Uses

func (m *QueryUnrelayedPacketsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryUnrelayedPacketsRequest) ProtoMessage Uses

func (*QueryUnrelayedPacketsRequest) ProtoMessage()

func (*QueryUnrelayedPacketsRequest) Reset Uses

func (m *QueryUnrelayedPacketsRequest) Reset()

func (*QueryUnrelayedPacketsRequest) Size Uses

func (m *QueryUnrelayedPacketsRequest) Size() (n int)

func (*QueryUnrelayedPacketsRequest) String Uses

func (m *QueryUnrelayedPacketsRequest) String() string

func (*QueryUnrelayedPacketsRequest) Unmarshal Uses

func (m *QueryUnrelayedPacketsRequest) Unmarshal(dAtA []byte) error

func (*QueryUnrelayedPacketsRequest) XXX_DiscardUnknown Uses

func (m *QueryUnrelayedPacketsRequest) XXX_DiscardUnknown()

func (*QueryUnrelayedPacketsRequest) XXX_Marshal Uses

func (m *QueryUnrelayedPacketsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryUnrelayedPacketsRequest) XXX_Merge Uses

func (m *QueryUnrelayedPacketsRequest) XXX_Merge(src proto.Message)

func (*QueryUnrelayedPacketsRequest) XXX_Size Uses

func (m *QueryUnrelayedPacketsRequest) XXX_Size() int

func (*QueryUnrelayedPacketsRequest) XXX_Unmarshal Uses

func (m *QueryUnrelayedPacketsRequest) XXX_Unmarshal(b []byte) error

type QueryUnrelayedPacketsResponse Uses

type QueryUnrelayedPacketsResponse struct {
    // list of unrelayed packet sequences
    Sequences []uint64 `protobuf:"varint,1,rep,packed,name=sequences,proto3" json:"sequences,omitempty"`
    // query block height
    Height int64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
}

QueryUnrelayedPacketsResponse is the request type for the Query/UnrelayedPacketCommitments RPC method

func (*QueryUnrelayedPacketsResponse) Descriptor Uses

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

func (*QueryUnrelayedPacketsResponse) GetHeight Uses

func (m *QueryUnrelayedPacketsResponse) GetHeight() int64

func (*QueryUnrelayedPacketsResponse) GetSequences Uses

func (m *QueryUnrelayedPacketsResponse) GetSequences() []uint64

func (*QueryUnrelayedPacketsResponse) Marshal Uses

func (m *QueryUnrelayedPacketsResponse) Marshal() (dAtA []byte, err error)

func (*QueryUnrelayedPacketsResponse) MarshalTo Uses

func (m *QueryUnrelayedPacketsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryUnrelayedPacketsResponse) MarshalToSizedBuffer Uses

func (m *QueryUnrelayedPacketsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryUnrelayedPacketsResponse) ProtoMessage Uses

func (*QueryUnrelayedPacketsResponse) ProtoMessage()

func (*QueryUnrelayedPacketsResponse) Reset Uses

func (m *QueryUnrelayedPacketsResponse) Reset()

func (*QueryUnrelayedPacketsResponse) Size Uses

func (m *QueryUnrelayedPacketsResponse) Size() (n int)

func (*QueryUnrelayedPacketsResponse) String Uses

func (m *QueryUnrelayedPacketsResponse) String() string

func (*QueryUnrelayedPacketsResponse) Unmarshal Uses

func (m *QueryUnrelayedPacketsResponse) Unmarshal(dAtA []byte) error

func (*QueryUnrelayedPacketsResponse) XXX_DiscardUnknown Uses

func (m *QueryUnrelayedPacketsResponse) XXX_DiscardUnknown()

func (*QueryUnrelayedPacketsResponse) XXX_Marshal Uses

func (m *QueryUnrelayedPacketsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryUnrelayedPacketsResponse) XXX_Merge Uses

func (m *QueryUnrelayedPacketsResponse) XXX_Merge(src proto.Message)

func (*QueryUnrelayedPacketsResponse) XXX_Size Uses

func (m *QueryUnrelayedPacketsResponse) XXX_Size() int

func (*QueryUnrelayedPacketsResponse) XXX_Unmarshal Uses

func (m *QueryUnrelayedPacketsResponse) XXX_Unmarshal(b []byte) error

type State Uses

type State int32

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

const (
    // Default State
    UNINITIALIZED State = 0
    // A channel has just started the opening handshake.
    INIT State = 1
    // A channel has acknowledged the handshake step on the counterparty chain.
    TRYOPEN State = 2
    // A channel has completed the handshake. Open channels are
    // ready to send and receive packets.
    OPEN State = 3
    // A channel has been closed and can no longer be used to send or receive packets.
    CLOSED State = 4
)

func (State) EnumDescriptor Uses

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

func (State) String Uses

func (x State) String() string

type UnimplementedQueryServer Uses

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) Channel Uses

func (*UnimplementedQueryServer) Channel(ctx context.Context, req *QueryChannelRequest) (*QueryChannelResponse, error)

func (*UnimplementedQueryServer) Channels Uses

func (*UnimplementedQueryServer) Channels(ctx context.Context, req *QueryChannelsRequest) (*QueryChannelsResponse, error)

func (*UnimplementedQueryServer) ConnectionChannels Uses

func (*UnimplementedQueryServer) ConnectionChannels(ctx context.Context, req *QueryConnectionChannelsRequest) (*QueryConnectionChannelsResponse, error)

func (*UnimplementedQueryServer) NextSequenceReceive Uses

func (*UnimplementedQueryServer) NextSequenceReceive(ctx context.Context, req *QueryNextSequenceReceiveRequest) (*QueryNextSequenceReceiveResponse, error)

func (*UnimplementedQueryServer) PacketAcknowledgement Uses

func (*UnimplementedQueryServer) PacketAcknowledgement(ctx context.Context, req *QueryPacketAcknowledgementRequest) (*QueryPacketAcknowledgementResponse, error)

func (*UnimplementedQueryServer) PacketCommitment Uses

func (*UnimplementedQueryServer) PacketCommitment(ctx context.Context, req *QueryPacketCommitmentRequest) (*QueryPacketCommitmentResponse, error)

func (*UnimplementedQueryServer) PacketCommitments Uses

func (*UnimplementedQueryServer) PacketCommitments(ctx context.Context, req *QueryPacketCommitmentsRequest) (*QueryPacketCommitmentsResponse, error)

func (*UnimplementedQueryServer) UnrelayedPackets Uses

func (*UnimplementedQueryServer) UnrelayedPackets(ctx context.Context, req *QueryUnrelayedPacketsRequest) (*QueryUnrelayedPacketsResponse, error)

Package types imports 27 packages (graph) and is imported by 17 packages. Updated 2020-08-05. Refresh now. Tools for package owners.