types

package
v1.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 25, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	QueryClientState          = "client_state"
	QueryClientStates         = "client_states"
	QueryClientConsensusState = "consensus_state"

	QueryConnection  = "connection"
	QueryConnections = "connections"

	QueryChannels = "channels"

	QueryPacketCommitment  = "packet_commitment"
	QueryPacketCommitments = "packet_commitments"
	UnreceivedPacketd      = "unreceived_packets"
)

Variables

View Source
var ModuleCdc *codec.Codec

Functions

func RegisterCodec

func RegisterCodec(cdc *codec.Codec)

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 clienttypes.GenesisState `protobuf:"bytes,1,opt,name=client_genesis,json=clientGenesis,proto3" json:"client_genesis" yaml:"client_genesis"`
	// ICS003 - Connections genesis state
	ConnectionGenesis connectiontypes.GenesisState `` /* 128-byte string literal not displayed */
	// ICS004 - Channel genesis state
	ChannelGenesis channeltypes.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.

type QueryServer

QueryServer defines the IBC interfaces that the gRPC query server must implement

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL