Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterInterfaces(registry codectypes.InterfaceRegistry)
- func RegisterQueryService(server grpc.Server, queryService QueryServer)
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetChannelGenesis() types2.GenesisState
- func (m *GenesisState) GetClientGenesis() types.GenesisState
- func (m *GenesisState) GetConnectionGenesis() types1.GenesisState
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (gs GenesisState) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
- func (gs *GenesisState) Validate() error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type QueryServer
Constants ¶
View Source
const ( LabelSourcePort = "source_port" LabelSourceChannel = "source_channel" LabelDestinationPort = "destination_port" LabelDestinationChannel = "destination_channel" LabelTimeoutType = "timeout_type" LabelDenom = "denom" LabelSource = "source" )
Prometheus metric labels.
Variables ¶
Functions ¶
func RegisterInterfaces ¶
func RegisterInterfaces(registry codectypes.InterfaceRegistry)
RegisterInterfaces registers x/ibc interfaces into protobuf Any.
func RegisterQueryService ¶
func RegisterQueryService(server grpc.Server, queryService QueryServer)
RegisterQueryService registers each individual IBC submodule query service
Types ¶
type GenesisState ¶
type GenesisState struct { // ICS002 - Clients genesis state ClientGenesis types.GenesisState `protobuf:"bytes,1,opt,name=client_genesis,json=clientGenesis,proto3" json:"client_genesis" yaml:"client_genesis"` // ICS003 - Connections genesis state ConnectionGenesis types1.GenesisState `` /* 128-byte string literal not displayed */ // ICS004 - Channel genesis state ChannelGenesis types2.GenesisState `protobuf:"bytes,3,opt,name=channel_genesis,json=channelGenesis,proto3" json:"channel_genesis" yaml:"channel_genesis"` }
GenesisState defines the ibc module's genesis state.
func DefaultGenesisState ¶
func DefaultGenesisState() *GenesisState
DefaultGenesisState returns the ibc module's default genesis state.
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetChannelGenesis ¶
func (m *GenesisState) GetChannelGenesis() types2.GenesisState
func (*GenesisState) GetClientGenesis ¶
func (m *GenesisState) GetClientGenesis() types.GenesisState
func (*GenesisState) GetConnectionGenesis ¶
func (m *GenesisState) GetConnectionGenesis() types1.GenesisState
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (GenesisState) UnpackInterfaces ¶
func (gs GenesisState) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
UnpackInterfaces implements UnpackInterfacesMessage.UnpackInterfaces
func (*GenesisState) Validate ¶
func (gs *GenesisState) Validate() error
Validate performs basic genesis state validation returning an error upon any failure.
func (*GenesisState) XXX_DiscardUnknown ¶
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { clienttypes.QueryServer connectiontypes.QueryServer channeltypes.QueryServer }
QueryServer defines the IBC interfaces that the gRPC query server must implement
Click to show internal directories.
Click to hide internal directories.