# Constants
A channel has been closed and can no longer be used to send or receive packets.
A channel has just completed flushing any in-flight packets.
A channel has just accepted the upgrade handshake attempt and is flushing in-flight packets.
A channel has just started the opening handshake.
zero-value for channel ordering.
A channel has completed the handshake.
packets are delivered exactly in the order which they were sent.
A channel has acknowledged the handshake step on the counterparty chain.
Default State.
packets can be delivered in any order, which may differ from the order in which they were sent.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
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.
Counterparty defines a channel end counterparty.
ErrorReceipt defines a type which encapsulates the upgrade sequence and error associated with the upgrade handshake failure.
Timeout defines an execution deadline structure for 04-channel handlers.
Upgrade is a verifiable type which contains the relevant information for an attempted upgrade.
UpgradeFields are the fields in a channel end which may be changed during a channel upgrade.
# Type aliases
Order defines if a channel is ORDERED or UNORDERED.
State defines if a channel is in one of the following states: CLOSED, INIT, TRYOPEN, OPEN, FLUSHING, FLUSHCOMPLETE or UNINITIALIZED.