Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChannelInfo ¶
type ChannelInfo provider.ChannelInfo
alias type to the provider types, used for adding parser methods
func (*ChannelInfo) MarshalLogObject ¶
func (res *ChannelInfo) MarshalLogObject(enc zapcore.ObjectEncoder) error
func (*ChannelInfo) ParseAttrs ¶
func (res *ChannelInfo) ParseAttrs(log *zap.Logger, attrs []sdk.Attribute)
type ClientICQInfo ¶
type ClientICQInfo struct { Source string Connection string Chain string QueryID provider.ClientICQQueryID Type string Request []byte Height uint64 }
func (*ClientICQInfo) MarshalLogObject ¶
func (res *ClientICQInfo) MarshalLogObject(enc zapcore.ObjectEncoder) error
func (*ClientICQInfo) ParseAttrs ¶
func (res *ClientICQInfo) ParseAttrs(log *zap.Logger, attrs []sdk.Attribute)
type ClientInfo ¶
type ClientInfo struct { ClientID string ConsensusHeight clienttypes.Height Header []byte }
ClientInfo contains the consensus height of the counterparty chain for a client.
func NewClientInfo ¶
func NewClientInfo( clientID string, consensusHeight clienttypes.Height, header []byte, ) *ClientInfo
func (ClientInfo) ClientState ¶
func (c ClientInfo) ClientState(trustingPeriod time.Duration) provider.ClientState
func (*ClientInfo) MarshalLogObject ¶
func (res *ClientInfo) MarshalLogObject(enc zapcore.ObjectEncoder) error
func (*ClientInfo) ParseAttrs ¶
func (res *ClientInfo) ParseAttrs(log *zap.Logger, attributes []sdk.Attribute)
type ConnectionInfo ¶
type ConnectionInfo provider.ConnectionInfo
alias type to the provider types, used for adding parser methods
func (*ConnectionInfo) MarshalLogObject ¶
func (res *ConnectionInfo) MarshalLogObject(enc zapcore.ObjectEncoder) error
func (*ConnectionInfo) ParseAttrs ¶
func (res *ConnectionInfo) ParseAttrs(log *zap.Logger, attrs []sdk.Attribute)
type IbcMessage ¶
type IbcMessage struct { EventType string Info ibcMessageInfo }
IbcMessage is the type used for parsing all possible properties of IBC messages
func IbcMessagesFromEvents ¶
func IbcMessagesFromEvents( log *zap.Logger, events []abci.Event, chainID string, height uint64, ) (messages []IbcMessage)
IbcMessagesFromEvents parses all events within a transaction to find IBC messages
func ParseIBCMessageFromEvent ¶
func ParseIBCMessageFromEvent( log *zap.Logger, event sdk.StringEvent, chainID string, height uint64, ) *IbcMessage
type PacketInfo ¶
type PacketInfo provider.PacketInfo
alias type to the provider types, used for adding parser methods
func (*PacketInfo) MarshalLogObject ¶
func (res *PacketInfo) MarshalLogObject(enc zapcore.ObjectEncoder) error
func (*PacketInfo) ParseAttrs ¶
func (res *PacketInfo) ParseAttrs(log *zap.Logger, attrs []sdk.Attribute)
parsePacketInfo is treated differently from the others since it can be constructed from the accumulation of multiple events
Click to show internal directories.
Click to hide internal directories.