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

package exported

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

Index

Package Files

exported.go

type ChannelI Uses

type ChannelI interface {
    GetState() int32
    GetOrdering() int32
    GetCounterparty() CounterpartyI
    GetConnectionHops() []string
    GetVersion() string
    ValidateBasic() error
}

ChannelI defines the standard interface for a channel end.

type CounterpartyI Uses

type CounterpartyI interface {
    GetPortID() string
    GetChannelID() string
    ValidateBasic() error
}

CounterpartyI defines the standard interface for a channel end's counterparty.

type PacketI Uses

type PacketI interface {
    GetSequence() uint64
    GetTimeoutHeight() uint64
    GetTimeoutTimestamp() uint64
    GetSourcePort() string
    GetSourceChannel() string
    GetDestPort() string
    GetDestChannel() string
    GetData() []byte
    ValidateBasic() error
}

PacketI defines the standard interface for IBC packets

Package exported is imported by 9 packages. Updated 2020-06-01. Refresh now. Tools for package owners.