clientv1

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2025 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Index

Constants

View Source
const (
	Query_ClientState_FullMethodName     = "/tibc.core.client.v1.Query/ClientState"
	Query_ClientStates_FullMethodName    = "/tibc.core.client.v1.Query/ClientStates"
	Query_ConsensusState_FullMethodName  = "/tibc.core.client.v1.Query/ConsensusState"
	Query_ConsensusStates_FullMethodName = "/tibc.core.client.v1.Query/ConsensusStates"
	Query_Relayers_FullMethodName        = "/tibc.core.client.v1.Query/Relayers"
)
View Source
const (
	Msg_CreateClient_FullMethodName    = "/tibc.core.client.v1.Msg/CreateClient"
	Msg_UpdateClient_FullMethodName    = "/tibc.core.client.v1.Msg/UpdateClient"
	Msg_UpgradeClient_FullMethodName   = "/tibc.core.client.v1.Msg/UpgradeClient"
	Msg_RegisterRelayer_FullMethodName = "/tibc.core.client.v1.Msg/RegisterRelayer"
)

Variables

View Source
var File_tibc_core_client_v1_client_proto protoreflect.FileDescriptor
View Source
var File_tibc_core_client_v1_genesis_proto protoreflect.FileDescriptor
View Source
var File_tibc_core_client_v1_query_proto protoreflect.FileDescriptor
View Source
var File_tibc_core_client_v1_tx_proto protoreflect.FileDescriptor
View Source
var Msg_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "tibc.core.client.v1.Msg",
	HandlerType: (*MsgServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateClient",
			Handler:    _Msg_CreateClient_Handler,
		},
		{
			MethodName: "UpdateClient",
			Handler:    _Msg_UpdateClient_Handler,
		},
		{
			MethodName: "UpgradeClient",
			Handler:    _Msg_UpgradeClient_Handler,
		},
		{
			MethodName: "RegisterRelayer",
			Handler:    _Msg_RegisterRelayer_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "tibc/core/client/v1/tx.proto",
}

Msg_ServiceDesc is the grpc.ServiceDesc for Msg service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Query_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "tibc.core.client.v1.Query",
	HandlerType: (*QueryServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ClientState",
			Handler:    _Query_ClientState_Handler,
		},
		{
			MethodName: "ClientStates",
			Handler:    _Query_ClientStates_Handler,
		},
		{
			MethodName: "ConsensusState",
			Handler:    _Query_ConsensusState_Handler,
		},
		{
			MethodName: "ConsensusStates",
			Handler:    _Query_ConsensusStates_Handler,
		},
		{
			MethodName: "Relayers",
			Handler:    _Query_Relayers_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "tibc/core/client/v1/query.proto",
}

Query_ServiceDesc is the grpc.ServiceDesc for Query service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterMsgServer

func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)

func RegisterQueryServer

func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)

Types

type ClientConsensusStates

type ClientConsensusStates struct {

	// client identifier
	ChainName string `protobuf:"bytes,1,opt,name=chain_name,json=chainName,proto3" json:"chain_name,omitempty"`
	// consensus states and their heights associated with the client
	ConsensusStates []*ConsensusStateWithHeight `protobuf:"bytes,2,rep,name=consensus_states,json=consensusStates,proto3" json:"consensus_states,omitempty"`
	// contains filtered or unexported fields
}

ClientConsensusStates defines all the stored consensus states for a given client.

func (*ClientConsensusStates) Descriptor deprecated

func (*ClientConsensusStates) Descriptor() ([]byte, []int)

Deprecated: Use ClientConsensusStates.ProtoReflect.Descriptor instead.

func (*ClientConsensusStates) GetChainName

func (x *ClientConsensusStates) GetChainName() string

func (*ClientConsensusStates) GetConsensusStates

func (x *ClientConsensusStates) GetConsensusStates() []*ConsensusStateWithHeight

func (*ClientConsensusStates) ProtoMessage

func (*ClientConsensusStates) ProtoMessage()

func (*ClientConsensusStates) ProtoReflect

func (x *ClientConsensusStates) ProtoReflect() protoreflect.Message

func (*ClientConsensusStates) Reset

func (x *ClientConsensusStates) Reset()

func (*ClientConsensusStates) String

func (x *ClientConsensusStates) String() string

type ConsensusStateWithHeight

type ConsensusStateWithHeight struct {

	// consensus state height
	Height *Height `protobuf:"bytes,1,opt,name=height,proto3" json:"height,omitempty"`
	// consensus state
	ConsensusState *anypb.Any `protobuf:"bytes,2,opt,name=consensus_state,json=consensusState,proto3" json:"consensus_state,omitempty"`
	// contains filtered or unexported fields
}

ConsensusStateWithHeight defines a consensus state with an additional height field.

func (*ConsensusStateWithHeight) Descriptor deprecated

func (*ConsensusStateWithHeight) Descriptor() ([]byte, []int)

Deprecated: Use ConsensusStateWithHeight.ProtoReflect.Descriptor instead.

func (*ConsensusStateWithHeight) GetConsensusState

func (x *ConsensusStateWithHeight) GetConsensusState() *anypb.Any

func (*ConsensusStateWithHeight) GetHeight

func (x *ConsensusStateWithHeight) GetHeight() *Height

func (*ConsensusStateWithHeight) ProtoMessage

func (*ConsensusStateWithHeight) ProtoMessage()

func (*ConsensusStateWithHeight) ProtoReflect

func (x *ConsensusStateWithHeight) ProtoReflect() protoreflect.Message

func (*ConsensusStateWithHeight) Reset

func (x *ConsensusStateWithHeight) Reset()

func (*ConsensusStateWithHeight) String

func (x *ConsensusStateWithHeight) String() string

type CreateClientProposal

type CreateClientProposal struct {

	// the title of the update proposal
	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	// the description of the proposal
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// the client identifier for the client to be updated if the proposal passes
	ChainName string `protobuf:"bytes,3,opt,name=chain_name,json=chainName,proto3" json:"chain_name,omitempty"`
	// light client state
	ClientState *anypb.Any `protobuf:"bytes,4,opt,name=client_state,json=clientState,proto3" json:"client_state,omitempty"`
	// consensus state associated with the client that corresponds to a given
	// height.
	ConsensusState *anypb.Any `protobuf:"bytes,5,opt,name=consensus_state,json=consensusState,proto3" json:"consensus_state,omitempty"`
	// contains filtered or unexported fields
}

CreateClientProposal defines a overnance proposal to create an TIBC client

func (*CreateClientProposal) Descriptor deprecated

func (*CreateClientProposal) Descriptor() ([]byte, []int)

Deprecated: Use CreateClientProposal.ProtoReflect.Descriptor instead.

func (*CreateClientProposal) GetChainName

func (x *CreateClientProposal) GetChainName() string

func (*CreateClientProposal) GetClientState

func (x *CreateClientProposal) GetClientState() *anypb.Any

func (*CreateClientProposal) GetConsensusState

func (x *CreateClientProposal) GetConsensusState() *anypb.Any

func (*CreateClientProposal) GetDescription

func (x *CreateClientProposal) GetDescription() string

func (*CreateClientProposal) GetTitle

func (x *CreateClientProposal) GetTitle() string

func (*CreateClientProposal) ProtoMessage

func (*CreateClientProposal) ProtoMessage()

func (*CreateClientProposal) ProtoReflect

func (x *CreateClientProposal) ProtoReflect() protoreflect.Message

func (*CreateClientProposal) Reset

func (x *CreateClientProposal) Reset()

func (*CreateClientProposal) String

func (x *CreateClientProposal) String() string

type GenesisMetadata

type GenesisMetadata struct {

	// store key of metadata without chainName-prefix
	Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// metadata value
	Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

GenesisMetadata defines the genesis type for metadata that clients may return with ExportMetadata

func (*GenesisMetadata) Descriptor deprecated

func (*GenesisMetadata) Descriptor() ([]byte, []int)

Deprecated: Use GenesisMetadata.ProtoReflect.Descriptor instead.

func (*GenesisMetadata) GetKey

func (x *GenesisMetadata) GetKey() []byte

func (*GenesisMetadata) GetValue

func (x *GenesisMetadata) GetValue() []byte

func (*GenesisMetadata) ProtoMessage

func (*GenesisMetadata) ProtoMessage()

func (*GenesisMetadata) ProtoReflect

func (x *GenesisMetadata) ProtoReflect() protoreflect.Message

func (*GenesisMetadata) Reset

func (x *GenesisMetadata) Reset()

func (*GenesisMetadata) String

func (x *GenesisMetadata) String() string

type GenesisState

type GenesisState struct {

	// client states with their corresponding identifiers
	Clients []*IdentifiedClientState `protobuf:"bytes,1,rep,name=clients,proto3" json:"clients,omitempty"`
	// consensus states from each client
	ClientsConsensus []*ClientConsensusStates `protobuf:"bytes,2,rep,name=clients_consensus,json=clientsConsensus,proto3" json:"clients_consensus,omitempty"`
	// metadata from each client
	ClientsMetadata []*IdentifiedGenesisMetadata `protobuf:"bytes,3,rep,name=clients_metadata,json=clientsMetadata,proto3" json:"clients_metadata,omitempty"`
	// the chain name of the current chain
	NativeChainName string `protobuf:"bytes,5,opt,name=native_chain_name,json=nativeChainName,proto3" json:"native_chain_name,omitempty"`
	// IdentifiedRelayer defines a list of authorized relayers for the specified
	// client.
	Relayers []*IdentifiedRelayers `protobuf:"bytes,6,rep,name=relayers,proto3" json:"relayers,omitempty"`
	// contains filtered or unexported fields
}

GenesisState defines the tibc client submodule's genesis state.

func (*GenesisState) Descriptor deprecated

func (*GenesisState) Descriptor() ([]byte, []int)

Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.

func (*GenesisState) GetClients

func (x *GenesisState) GetClients() []*IdentifiedClientState

func (*GenesisState) GetClientsConsensus

func (x *GenesisState) GetClientsConsensus() []*ClientConsensusStates

func (*GenesisState) GetClientsMetadata

func (x *GenesisState) GetClientsMetadata() []*IdentifiedGenesisMetadata

func (*GenesisState) GetNativeChainName

func (x *GenesisState) GetNativeChainName() string

func (*GenesisState) GetRelayers

func (x *GenesisState) GetRelayers() []*IdentifiedRelayers

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) ProtoReflect

func (x *GenesisState) ProtoReflect() protoreflect.Message

func (*GenesisState) Reset

func (x *GenesisState) Reset()

func (*GenesisState) String

func (x *GenesisState) String() string

type Height

type Height struct {

	// the revision that the client is currently on
	RevisionNumber uint64 `protobuf:"varint,1,opt,name=revision_number,json=revisionNumber,proto3" json:"revision_number,omitempty"`
	// the height within the given revision
	RevisionHeight uint64 `protobuf:"varint,2,opt,name=revision_height,json=revisionHeight,proto3" json:"revision_height,omitempty"`
	// contains filtered or unexported fields
}

Height is a monotonically increasing data type that can be compared against another Height for the purposes of updating and freezing clients

Normally the RevisionHeight is incremented at each height while keeping RevisionNumber the same. However some consensus algorithms may choose to reset the height in certain conditions e.g. hard forks, state-machine breaking changes In these cases, the RevisionNumber is incremented so that height continues to be monitonically increasing even as the RevisionHeight gets reset

func (*Height) Descriptor deprecated

func (*Height) Descriptor() ([]byte, []int)

Deprecated: Use Height.ProtoReflect.Descriptor instead.

func (*Height) GetRevisionHeight

func (x *Height) GetRevisionHeight() uint64

func (*Height) GetRevisionNumber

func (x *Height) GetRevisionNumber() uint64

func (*Height) ProtoMessage

func (*Height) ProtoMessage()

func (*Height) ProtoReflect

func (x *Height) ProtoReflect() protoreflect.Message

func (*Height) Reset

func (x *Height) Reset()

func (*Height) String

func (x *Height) String() string

type IdentifiedClientState

type IdentifiedClientState struct {

	// client identifier
	ChainName string `protobuf:"bytes,1,opt,name=chain_name,json=chainName,proto3" json:"chain_name,omitempty"`
	// client state
	ClientState *anypb.Any `protobuf:"bytes,2,opt,name=client_state,json=clientState,proto3" json:"client_state,omitempty"`
	// contains filtered or unexported fields
}

IdentifiedClientState defines a client state with an additional client identifier field.

func (*IdentifiedClientState) Descriptor deprecated

func (*IdentifiedClientState) Descriptor() ([]byte, []int)

Deprecated: Use IdentifiedClientState.ProtoReflect.Descriptor instead.

func (*IdentifiedClientState) GetChainName

func (x *IdentifiedClientState) GetChainName() string

func (*IdentifiedClientState) GetClientState

func (x *IdentifiedClientState) GetClientState() *anypb.Any

func (*IdentifiedClientState) ProtoMessage

func (*IdentifiedClientState) ProtoMessage()

func (*IdentifiedClientState) ProtoReflect

func (x *IdentifiedClientState) ProtoReflect() protoreflect.Message

func (*IdentifiedClientState) Reset

func (x *IdentifiedClientState) Reset()

func (*IdentifiedClientState) String

func (x *IdentifiedClientState) String() string

type IdentifiedGenesisMetadata

type IdentifiedGenesisMetadata struct {
	ChainName string             `protobuf:"bytes,1,opt,name=chain_name,json=chainName,proto3" json:"chain_name,omitempty"`
	Metadata  []*GenesisMetadata `protobuf:"bytes,2,rep,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

IdentifiedGenesisMetadata has the client metadata with the corresponding chain name.

func (*IdentifiedGenesisMetadata) Descriptor deprecated

func (*IdentifiedGenesisMetadata) Descriptor() ([]byte, []int)

Deprecated: Use IdentifiedGenesisMetadata.ProtoReflect.Descriptor instead.

func (*IdentifiedGenesisMetadata) GetChainName

func (x *IdentifiedGenesisMetadata) GetChainName() string

func (*IdentifiedGenesisMetadata) GetMetadata

func (x *IdentifiedGenesisMetadata) GetMetadata() []*GenesisMetadata

func (*IdentifiedGenesisMetadata) ProtoMessage

func (*IdentifiedGenesisMetadata) ProtoMessage()

func (*IdentifiedGenesisMetadata) ProtoReflect

func (*IdentifiedGenesisMetadata) Reset

func (x *IdentifiedGenesisMetadata) Reset()

func (*IdentifiedGenesisMetadata) String

func (x *IdentifiedGenesisMetadata) String() string

type IdentifiedRelayers

type IdentifiedRelayers struct {

	// client identifier
	ChainName string `protobuf:"bytes,1,opt,name=chain_name,json=chainName,proto3" json:"chain_name,omitempty"`
	// authorized relayer list
	Relayers []string `protobuf:"bytes,2,rep,name=relayers,proto3" json:"relayers,omitempty"`
	// contains filtered or unexported fields
}

IdentifiedRelayer defines a list of authorized relayers for the specified client.

func (*IdentifiedRelayers) Descriptor deprecated

func (*IdentifiedRelayers) Descriptor() ([]byte, []int)

Deprecated: Use IdentifiedRelayers.ProtoReflect.Descriptor instead.

func (*IdentifiedRelayers) GetChainName

func (x *IdentifiedRelayers) GetChainName() string

func (*IdentifiedRelayers) GetRelayers

func (x *IdentifiedRelayers) GetRelayers() []string

func (*IdentifiedRelayers) ProtoMessage

func (*IdentifiedRelayers) ProtoMessage()

func (*IdentifiedRelayers) ProtoReflect

func (x *IdentifiedRelayers) ProtoReflect() protoreflect.Message

func (*IdentifiedRelayers) Reset

func (x *IdentifiedRelayers) Reset()

func (*IdentifiedRelayers) String

func (x *IdentifiedRelayers) String() string

type MsgClient

type MsgClient interface {
	// CreateClient defines a rpc handler method for MsgCreateClient.
	CreateClient(ctx context.Context, in *MsgCreateClient, opts ...grpc.CallOption) (*MsgCreateClientResponse, error)
	// UpdateClient defines a rpc handler method for MsgUpdateClient.
	UpdateClient(ctx context.Context, in *MsgUpdateClient, opts ...grpc.CallOption) (*MsgUpdateClientResponse, error)
	// UpgradeClient defines a rpc handler method for MsgUpgradeClient.
	UpgradeClient(ctx context.Context, in *MsgUpgradeClient, opts ...grpc.CallOption) (*MsgUpgradeClientResponse, error)
	// RegisterRelayer defines a rpc handler method for MsgRegisterRelayer.
	RegisterRelayer(ctx context.Context, in *MsgRegisterRelayer, opts ...grpc.CallOption) (*MsgRegisterRelayerResponse, error)
}

MsgClient is the client API for Msg service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

Msg defines the tibc/client Msg service.

func NewMsgClient

func NewMsgClient(cc grpc.ClientConnInterface) MsgClient

type MsgCreateClient

type MsgCreateClient struct {

	// the title of the update proposal
	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	// the description of the proposal
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// the client identifier for the client to be updated if the proposal passes
	ChainName string `protobuf:"bytes,3,opt,name=chain_name,json=chainName,proto3" json:"chain_name,omitempty"`
	// light client state
	ClientState *anypb.Any `protobuf:"bytes,4,opt,name=client_state,json=clientState,proto3" json:"client_state,omitempty"`
	// consensus state associated with the client that corresponds to a given
	// height.
	ConsensusState *anypb.Any `protobuf:"bytes,5,opt,name=consensus_state,json=consensusState,proto3" json:"consensus_state,omitempty"`
	// authority is the address that controls the module (defaults to x/gov unless
	// overwritten).
	Authority string `protobuf:"bytes,6,opt,name=authority,proto3" json:"authority,omitempty"`
	// contains filtered or unexported fields
}

MsgCreateClient defines a overnance proposal to create an TIBC client

func (*MsgCreateClient) Descriptor deprecated

func (*MsgCreateClient) Descriptor() ([]byte, []int)

Deprecated: Use MsgCreateClient.ProtoReflect.Descriptor instead.

func (*MsgCreateClient) GetAuthority

func (x *MsgCreateClient) GetAuthority() string

func (*MsgCreateClient) GetChainName

func (x *MsgCreateClient) GetChainName() string

func (*MsgCreateClient) GetClientState

func (x *MsgCreateClient) GetClientState() *anypb.Any

func (*MsgCreateClient) GetConsensusState

func (x *MsgCreateClient) GetConsensusState() *anypb.Any

func (*MsgCreateClient) GetDescription

func (x *MsgCreateClient) GetDescription() string

func (*MsgCreateClient) GetTitle

func (x *MsgCreateClient) GetTitle() string

func (*MsgCreateClient) ProtoMessage

func (*MsgCreateClient) ProtoMessage()

func (*MsgCreateClient) ProtoReflect

func (x *MsgCreateClient) ProtoReflect() protoreflect.Message

func (*MsgCreateClient) Reset

func (x *MsgCreateClient) Reset()

func (*MsgCreateClient) String

func (x *MsgCreateClient) String() string

type MsgCreateClientResponse

type MsgCreateClientResponse struct {
	// contains filtered or unexported fields
}

MsgCreateClientResponse defines the Msg/UpdateClient response type.

func (*MsgCreateClientResponse) Descriptor deprecated

func (*MsgCreateClientResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgCreateClientResponse.ProtoReflect.Descriptor instead.

func (*MsgCreateClientResponse) ProtoMessage

func (*MsgCreateClientResponse) ProtoMessage()

func (*MsgCreateClientResponse) ProtoReflect

func (x *MsgCreateClientResponse) ProtoReflect() protoreflect.Message

func (*MsgCreateClientResponse) Reset

func (x *MsgCreateClientResponse) Reset()

func (*MsgCreateClientResponse) String

func (x *MsgCreateClientResponse) String() string

type MsgRegisterRelayer

type MsgRegisterRelayer struct {

	// the title of the update proposal
	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	// the description of the proposal
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// the client identifier for the client to be updated if the proposal passes
	ChainName string `protobuf:"bytes,3,opt,name=chain_name,json=chainName,proto3" json:"chain_name,omitempty"`
	// relayer address list
	Relayers []string `protobuf:"bytes,4,rep,name=relayers,proto3" json:"relayers,omitempty"`
	// authority is the address that controls the module (defaults to x/gov unless
	// overwritten).
	Authority string `protobuf:"bytes,5,opt,name=authority,proto3" json:"authority,omitempty"`
	// contains filtered or unexported fields
}

MsgRegisterRelayer defines a overnance proposal to register some relayers for updating a client state.

func (*MsgRegisterRelayer) Descriptor deprecated

func (*MsgRegisterRelayer) Descriptor() ([]byte, []int)

Deprecated: Use MsgRegisterRelayer.ProtoReflect.Descriptor instead.

func (*MsgRegisterRelayer) GetAuthority

func (x *MsgRegisterRelayer) GetAuthority() string

func (*MsgRegisterRelayer) GetChainName

func (x *MsgRegisterRelayer) GetChainName() string

func (*MsgRegisterRelayer) GetDescription

func (x *MsgRegisterRelayer) GetDescription() string

func (*MsgRegisterRelayer) GetRelayers

func (x *MsgRegisterRelayer) GetRelayers() []string

func (*MsgRegisterRelayer) GetTitle

func (x *MsgRegisterRelayer) GetTitle() string

func (*MsgRegisterRelayer) ProtoMessage

func (*MsgRegisterRelayer) ProtoMessage()

func (*MsgRegisterRelayer) ProtoReflect

func (x *MsgRegisterRelayer) ProtoReflect() protoreflect.Message

func (*MsgRegisterRelayer) Reset

func (x *MsgRegisterRelayer) Reset()

func (*MsgRegisterRelayer) String

func (x *MsgRegisterRelayer) String() string

type MsgRegisterRelayerResponse

type MsgRegisterRelayerResponse struct {
	// contains filtered or unexported fields
}

MsgRegisterRelayerResponse defines the Msg/UpdateClient response type.

func (*MsgRegisterRelayerResponse) Descriptor deprecated

func (*MsgRegisterRelayerResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgRegisterRelayerResponse.ProtoReflect.Descriptor instead.

func (*MsgRegisterRelayerResponse) ProtoMessage

func (*MsgRegisterRelayerResponse) ProtoMessage()

func (*MsgRegisterRelayerResponse) ProtoReflect

func (*MsgRegisterRelayerResponse) Reset

func (x *MsgRegisterRelayerResponse) Reset()

func (*MsgRegisterRelayerResponse) String

func (x *MsgRegisterRelayerResponse) String() string

type MsgServer

type MsgServer interface {
	// CreateClient defines a rpc handler method for MsgCreateClient.
	CreateClient(context.Context, *MsgCreateClient) (*MsgCreateClientResponse, error)
	// UpdateClient defines a rpc handler method for MsgUpdateClient.
	UpdateClient(context.Context, *MsgUpdateClient) (*MsgUpdateClientResponse, error)
	// UpgradeClient defines a rpc handler method for MsgUpgradeClient.
	UpgradeClient(context.Context, *MsgUpgradeClient) (*MsgUpgradeClientResponse, error)
	// RegisterRelayer defines a rpc handler method for MsgRegisterRelayer.
	RegisterRelayer(context.Context, *MsgRegisterRelayer) (*MsgRegisterRelayerResponse, error)
	// contains filtered or unexported methods
}

MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility.

Msg defines the tibc/client Msg service.

type MsgUpdateClient

type MsgUpdateClient struct {

	// client unique identifier
	ChainName string `protobuf:"bytes,1,opt,name=chain_name,json=chainName,proto3" json:"chain_name,omitempty"`
	// header to update the light client
	Header *anypb.Any `protobuf:"bytes,2,opt,name=header,proto3" json:"header,omitempty"`
	// signer address
	Signer string `protobuf:"bytes,3,opt,name=signer,proto3" json:"signer,omitempty"`
	// contains filtered or unexported fields
}

MsgUpdateClient defines an sdk.Msg to update a TIBC client state using the given header.

func (*MsgUpdateClient) Descriptor deprecated

func (*MsgUpdateClient) Descriptor() ([]byte, []int)

Deprecated: Use MsgUpdateClient.ProtoReflect.Descriptor instead.

func (*MsgUpdateClient) GetChainName

func (x *MsgUpdateClient) GetChainName() string

func (*MsgUpdateClient) GetHeader

func (x *MsgUpdateClient) GetHeader() *anypb.Any

func (*MsgUpdateClient) GetSigner

func (x *MsgUpdateClient) GetSigner() string

func (*MsgUpdateClient) ProtoMessage

func (*MsgUpdateClient) ProtoMessage()

func (*MsgUpdateClient) ProtoReflect

func (x *MsgUpdateClient) ProtoReflect() protoreflect.Message

func (*MsgUpdateClient) Reset

func (x *MsgUpdateClient) Reset()

func (*MsgUpdateClient) String

func (x *MsgUpdateClient) String() string

type MsgUpdateClientResponse

type MsgUpdateClientResponse struct {
	// contains filtered or unexported fields
}

MsgUpdateClientResponse defines the Msg/UpdateClient response type.

func (*MsgUpdateClientResponse) Descriptor deprecated

func (*MsgUpdateClientResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgUpdateClientResponse.ProtoReflect.Descriptor instead.

func (*MsgUpdateClientResponse) ProtoMessage

func (*MsgUpdateClientResponse) ProtoMessage()

func (*MsgUpdateClientResponse) ProtoReflect

func (x *MsgUpdateClientResponse) ProtoReflect() protoreflect.Message

func (*MsgUpdateClientResponse) Reset

func (x *MsgUpdateClientResponse) Reset()

func (*MsgUpdateClientResponse) String

func (x *MsgUpdateClientResponse) String() string

type MsgUpgradeClient

type MsgUpgradeClient struct {

	// the title of the update proposal
	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	// the description of the proposal
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// the client identifier for the client to be updated if the proposal passes
	ChainName string `protobuf:"bytes,3,opt,name=chain_name,json=chainName,proto3" json:"chain_name,omitempty"`
	// client state
	ClientState *anypb.Any `protobuf:"bytes,4,opt,name=client_state,json=clientState,proto3" json:"client_state,omitempty"`
	// consensus state
	ConsensusState *anypb.Any `protobuf:"bytes,5,opt,name=consensus_state,json=consensusState,proto3" json:"consensus_state,omitempty"`
	// authority is the address that controls the module (defaults to x/gov unless
	// overwritten).
	Authority string `protobuf:"bytes,6,opt,name=authority,proto3" json:"authority,omitempty"`
	// contains filtered or unexported fields
}

MsgUpgradeClient defines a overnance proposal to overide an TIBC client state

func (*MsgUpgradeClient) Descriptor deprecated

func (*MsgUpgradeClient) Descriptor() ([]byte, []int)

Deprecated: Use MsgUpgradeClient.ProtoReflect.Descriptor instead.

func (*MsgUpgradeClient) GetAuthority

func (x *MsgUpgradeClient) GetAuthority() string

func (*MsgUpgradeClient) GetChainName

func (x *MsgUpgradeClient) GetChainName() string

func (*MsgUpgradeClient) GetClientState

func (x *MsgUpgradeClient) GetClientState() *anypb.Any

func (*MsgUpgradeClient) GetConsensusState

func (x *MsgUpgradeClient) GetConsensusState() *anypb.Any

func (*MsgUpgradeClient) GetDescription

func (x *MsgUpgradeClient) GetDescription() string

func (*MsgUpgradeClient) GetTitle

func (x *MsgUpgradeClient) GetTitle() string

func (*MsgUpgradeClient) ProtoMessage

func (*MsgUpgradeClient) ProtoMessage()

func (*MsgUpgradeClient) ProtoReflect

func (x *MsgUpgradeClient) ProtoReflect() protoreflect.Message

func (*MsgUpgradeClient) Reset

func (x *MsgUpgradeClient) Reset()

func (*MsgUpgradeClient) String

func (x *MsgUpgradeClient) String() string

type MsgUpgradeClientResponse

type MsgUpgradeClientResponse struct {
	// contains filtered or unexported fields
}

MsgCreateClientResponse defines the Msg/UpdateClient response type.

func (*MsgUpgradeClientResponse) Descriptor deprecated

func (*MsgUpgradeClientResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgUpgradeClientResponse.ProtoReflect.Descriptor instead.

func (*MsgUpgradeClientResponse) ProtoMessage

func (*MsgUpgradeClientResponse) ProtoMessage()

func (*MsgUpgradeClientResponse) ProtoReflect

func (x *MsgUpgradeClientResponse) ProtoReflect() protoreflect.Message

func (*MsgUpgradeClientResponse) Reset

func (x *MsgUpgradeClientResponse) Reset()

func (*MsgUpgradeClientResponse) String

func (x *MsgUpgradeClientResponse) String() string

type QueryClient

type QueryClient interface {
	// ClientState queries an TIBC light client.
	ClientState(ctx context.Context, in *QueryClientStateRequest, opts ...grpc.CallOption) (*QueryClientStateResponse, error)
	// ClientStates queries all the TIBC light clients of a chain.
	ClientStates(ctx context.Context, in *QueryClientStatesRequest, opts ...grpc.CallOption) (*QueryClientStatesResponse, error)
	// ConsensusState queries a consensus state associated with a client state at
	// a given height.
	ConsensusState(ctx context.Context, in *QueryConsensusStateRequest, opts ...grpc.CallOption) (*QueryConsensusStateResponse, error)
	// ConsensusStates queries all the consensus state associated with a given
	// client.
	ConsensusStates(ctx context.Context, in *QueryConsensusStatesRequest, opts ...grpc.CallOption) (*QueryConsensusStatesResponse, error)
	// Relayers queries all the relayers associated with a given
	// client.
	Relayers(ctx context.Context, in *QueryRelayersRequest, opts ...grpc.CallOption) (*QueryRelayersResponse, error)
}

QueryClient is the client API for Query service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

Query provides defines the gRPC querier service

func NewQueryClient

func NewQueryClient(cc grpc.ClientConnInterface) QueryClient

type QueryClientStateRequest

type QueryClientStateRequest struct {

	// client state unique identifier
	ChainName string `protobuf:"bytes,1,opt,name=chain_name,json=chainName,proto3" json:"chain_name,omitempty"`
	// contains filtered or unexported fields
}

QueryClientStateRequest is the request type for the Query/ClientState RPC method

func (*QueryClientStateRequest) Descriptor deprecated

func (*QueryClientStateRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryClientStateRequest.ProtoReflect.Descriptor instead.

func (*QueryClientStateRequest) GetChainName

func (x *QueryClientStateRequest) GetChainName() string

func (*QueryClientStateRequest) ProtoMessage

func (*QueryClientStateRequest) ProtoMessage()

func (*QueryClientStateRequest) ProtoReflect

func (x *QueryClientStateRequest) ProtoReflect() protoreflect.Message

func (*QueryClientStateRequest) Reset

func (x *QueryClientStateRequest) Reset()

func (*QueryClientStateRequest) String

func (x *QueryClientStateRequest) String() string

type QueryClientStateResponse

type QueryClientStateResponse struct {

	// client state associated with the request identifier
	ClientState *anypb.Any `protobuf:"bytes,1,opt,name=client_state,json=clientState,proto3" json:"client_state,omitempty"`
	// merkle proof of existence
	Proof []byte `protobuf:"bytes,2,opt,name=proof,proto3" json:"proof,omitempty"`
	// height at which the proof was retrieved
	ProofHeight *Height `protobuf:"bytes,3,opt,name=proof_height,json=proofHeight,proto3" json:"proof_height,omitempty"`
	// contains filtered or unexported fields
}

QueryClientStateResponse is the response type for the Query/ClientState RPC method. Besides the client state, it includes a proof and the height from which the proof was retrieved.

func (*QueryClientStateResponse) Descriptor deprecated

func (*QueryClientStateResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryClientStateResponse.ProtoReflect.Descriptor instead.

func (*QueryClientStateResponse) GetClientState

func (x *QueryClientStateResponse) GetClientState() *anypb.Any

func (*QueryClientStateResponse) GetProof

func (x *QueryClientStateResponse) GetProof() []byte

func (*QueryClientStateResponse) GetProofHeight

func (x *QueryClientStateResponse) GetProofHeight() *Height

func (*QueryClientStateResponse) ProtoMessage

func (*QueryClientStateResponse) ProtoMessage()

func (*QueryClientStateResponse) ProtoReflect

func (x *QueryClientStateResponse) ProtoReflect() protoreflect.Message

func (*QueryClientStateResponse) Reset

func (x *QueryClientStateResponse) Reset()

func (*QueryClientStateResponse) String

func (x *QueryClientStateResponse) String() string

type QueryClientStatesRequest

type QueryClientStatesRequest struct {

	// pagination request
	Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

QueryClientStatesRequest is the request type for the Query/ClientStates RPC method

func (*QueryClientStatesRequest) Descriptor deprecated

func (*QueryClientStatesRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryClientStatesRequest.ProtoReflect.Descriptor instead.

func (*QueryClientStatesRequest) GetPagination

func (x *QueryClientStatesRequest) GetPagination() *v1beta1.PageRequest

func (*QueryClientStatesRequest) ProtoMessage

func (*QueryClientStatesRequest) ProtoMessage()

func (*QueryClientStatesRequest) ProtoReflect

func (x *QueryClientStatesRequest) ProtoReflect() protoreflect.Message

func (*QueryClientStatesRequest) Reset

func (x *QueryClientStatesRequest) Reset()

func (*QueryClientStatesRequest) String

func (x *QueryClientStatesRequest) String() string

type QueryClientStatesResponse

type QueryClientStatesResponse struct {

	// list of stored ClientStates of the chain.
	ClientStates []*IdentifiedClientState `protobuf:"bytes,1,rep,name=client_states,json=clientStates,proto3" json:"client_states,omitempty"`
	// pagination response
	Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

QueryClientStatesResponse is the response type for the Query/ClientStates RPC method.

func (*QueryClientStatesResponse) Descriptor deprecated

func (*QueryClientStatesResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryClientStatesResponse.ProtoReflect.Descriptor instead.

func (*QueryClientStatesResponse) GetClientStates

func (x *QueryClientStatesResponse) GetClientStates() []*IdentifiedClientState

func (*QueryClientStatesResponse) GetPagination

func (x *QueryClientStatesResponse) GetPagination() *v1beta1.PageResponse

func (*QueryClientStatesResponse) ProtoMessage

func (*QueryClientStatesResponse) ProtoMessage()

func (*QueryClientStatesResponse) ProtoReflect

func (*QueryClientStatesResponse) Reset

func (x *QueryClientStatesResponse) Reset()

func (*QueryClientStatesResponse) String

func (x *QueryClientStatesResponse) String() string

type QueryConsensusStateRequest

type QueryConsensusStateRequest struct {

	// client identifier
	ChainName string `protobuf:"bytes,1,opt,name=chain_name,json=chainName,proto3" json:"chain_name,omitempty"`
	// consensus state revision number
	RevisionNumber uint64 `protobuf:"varint,2,opt,name=revision_number,json=revisionNumber,proto3" json:"revision_number,omitempty"`
	// consensus state revision height
	RevisionHeight uint64 `protobuf:"varint,3,opt,name=revision_height,json=revisionHeight,proto3" json:"revision_height,omitempty"`
	// latest_height overrrides the height field and queries the latest stored
	// ConsensusState
	LatestHeight bool `protobuf:"varint,4,opt,name=latest_height,json=latestHeight,proto3" json:"latest_height,omitempty"`
	// contains filtered or unexported fields
}

QueryConsensusStateRequest is the request type for the Query/ConsensusState RPC method. Besides the consensus state, it includes a proof and the height from which the proof was retrieved.

func (*QueryConsensusStateRequest) Descriptor deprecated

func (*QueryConsensusStateRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryConsensusStateRequest.ProtoReflect.Descriptor instead.

func (*QueryConsensusStateRequest) GetChainName

func (x *QueryConsensusStateRequest) GetChainName() string

func (*QueryConsensusStateRequest) GetLatestHeight

func (x *QueryConsensusStateRequest) GetLatestHeight() bool

func (*QueryConsensusStateRequest) GetRevisionHeight

func (x *QueryConsensusStateRequest) GetRevisionHeight() uint64

func (*QueryConsensusStateRequest) GetRevisionNumber

func (x *QueryConsensusStateRequest) GetRevisionNumber() uint64

func (*QueryConsensusStateRequest) ProtoMessage

func (*QueryConsensusStateRequest) ProtoMessage()

func (*QueryConsensusStateRequest) ProtoReflect

func (*QueryConsensusStateRequest) Reset

func (x *QueryConsensusStateRequest) Reset()

func (*QueryConsensusStateRequest) String

func (x *QueryConsensusStateRequest) String() string

type QueryConsensusStateResponse

type QueryConsensusStateResponse struct {

	// consensus state associated with the client identifier at the given height
	ConsensusState *anypb.Any `protobuf:"bytes,1,opt,name=consensus_state,json=consensusState,proto3" json:"consensus_state,omitempty"`
	// merkle proof of existence
	Proof []byte `protobuf:"bytes,2,opt,name=proof,proto3" json:"proof,omitempty"`
	// height at which the proof was retrieved
	ProofHeight *Height `protobuf:"bytes,3,opt,name=proof_height,json=proofHeight,proto3" json:"proof_height,omitempty"`
	// contains filtered or unexported fields
}

QueryConsensusStateResponse is the response type for the Query/ConsensusState RPC method

func (*QueryConsensusStateResponse) Descriptor deprecated

func (*QueryConsensusStateResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryConsensusStateResponse.ProtoReflect.Descriptor instead.

func (*QueryConsensusStateResponse) GetConsensusState

func (x *QueryConsensusStateResponse) GetConsensusState() *anypb.Any

func (*QueryConsensusStateResponse) GetProof

func (x *QueryConsensusStateResponse) GetProof() []byte

func (*QueryConsensusStateResponse) GetProofHeight

func (x *QueryConsensusStateResponse) GetProofHeight() *Height

func (*QueryConsensusStateResponse) ProtoMessage

func (*QueryConsensusStateResponse) ProtoMessage()

func (*QueryConsensusStateResponse) ProtoReflect

func (*QueryConsensusStateResponse) Reset

func (x *QueryConsensusStateResponse) Reset()

func (*QueryConsensusStateResponse) String

func (x *QueryConsensusStateResponse) String() string

type QueryConsensusStatesRequest

type QueryConsensusStatesRequest struct {

	// client identifier
	ChainName string `protobuf:"bytes,1,opt,name=chain_name,json=chainName,proto3" json:"chain_name,omitempty"`
	// pagination request
	Pagination *v1beta1.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

QueryConsensusStatesRequest is the request type for the Query/ConsensusStates RPC method.

func (*QueryConsensusStatesRequest) Descriptor deprecated

func (*QueryConsensusStatesRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryConsensusStatesRequest.ProtoReflect.Descriptor instead.

func (*QueryConsensusStatesRequest) GetChainName

func (x *QueryConsensusStatesRequest) GetChainName() string

func (*QueryConsensusStatesRequest) GetPagination

func (x *QueryConsensusStatesRequest) GetPagination() *v1beta1.PageRequest

func (*QueryConsensusStatesRequest) ProtoMessage

func (*QueryConsensusStatesRequest) ProtoMessage()

func (*QueryConsensusStatesRequest) ProtoReflect

func (*QueryConsensusStatesRequest) Reset

func (x *QueryConsensusStatesRequest) Reset()

func (*QueryConsensusStatesRequest) String

func (x *QueryConsensusStatesRequest) String() string

type QueryConsensusStatesResponse

type QueryConsensusStatesResponse struct {

	// consensus states associated with the identifier
	ConsensusStates []*ConsensusStateWithHeight `protobuf:"bytes,1,rep,name=consensus_states,json=consensusStates,proto3" json:"consensus_states,omitempty"`
	// pagination response
	Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

QueryConsensusStatesResponse is the response type for the Query/ConsensusStates RPC method

func (*QueryConsensusStatesResponse) Descriptor deprecated

func (*QueryConsensusStatesResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryConsensusStatesResponse.ProtoReflect.Descriptor instead.

func (*QueryConsensusStatesResponse) GetConsensusStates

func (x *QueryConsensusStatesResponse) GetConsensusStates() []*ConsensusStateWithHeight

func (*QueryConsensusStatesResponse) GetPagination

func (*QueryConsensusStatesResponse) ProtoMessage

func (*QueryConsensusStatesResponse) ProtoMessage()

func (*QueryConsensusStatesResponse) ProtoReflect

func (*QueryConsensusStatesResponse) Reset

func (x *QueryConsensusStatesResponse) Reset()

func (*QueryConsensusStatesResponse) String

type QueryRelayersRequest

type QueryRelayersRequest struct {

	// client identifier
	ChainName string `protobuf:"bytes,1,opt,name=chain_name,json=chainName,proto3" json:"chain_name,omitempty"`
	// contains filtered or unexported fields
}

QueryRelayersRequest is the request type for the Query/Relayers RPC method.

func (*QueryRelayersRequest) Descriptor deprecated

func (*QueryRelayersRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryRelayersRequest.ProtoReflect.Descriptor instead.

func (*QueryRelayersRequest) GetChainName

func (x *QueryRelayersRequest) GetChainName() string

func (*QueryRelayersRequest) ProtoMessage

func (*QueryRelayersRequest) ProtoMessage()

func (*QueryRelayersRequest) ProtoReflect

func (x *QueryRelayersRequest) ProtoReflect() protoreflect.Message

func (*QueryRelayersRequest) Reset

func (x *QueryRelayersRequest) Reset()

func (*QueryRelayersRequest) String

func (x *QueryRelayersRequest) String() string

type QueryRelayersResponse

type QueryRelayersResponse struct {

	// relayers address associated with the client
	Relayers []string `protobuf:"bytes,1,rep,name=relayers,proto3" json:"relayers,omitempty"`
	// contains filtered or unexported fields
}

QueryConsensusStatesResponse is the response type for the Query/Relayers RPC method

func (*QueryRelayersResponse) Descriptor deprecated

func (*QueryRelayersResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryRelayersResponse.ProtoReflect.Descriptor instead.

func (*QueryRelayersResponse) GetRelayers

func (x *QueryRelayersResponse) GetRelayers() []string

func (*QueryRelayersResponse) ProtoMessage

func (*QueryRelayersResponse) ProtoMessage()

func (*QueryRelayersResponse) ProtoReflect

func (x *QueryRelayersResponse) ProtoReflect() protoreflect.Message

func (*QueryRelayersResponse) Reset

func (x *QueryRelayersResponse) Reset()

func (*QueryRelayersResponse) String

func (x *QueryRelayersResponse) String() string

type QueryServer

type QueryServer interface {
	// ClientState queries an TIBC light client.
	ClientState(context.Context, *QueryClientStateRequest) (*QueryClientStateResponse, error)
	// ClientStates queries all the TIBC light clients of a chain.
	ClientStates(context.Context, *QueryClientStatesRequest) (*QueryClientStatesResponse, error)
	// ConsensusState queries a consensus state associated with a client state at
	// a given height.
	ConsensusState(context.Context, *QueryConsensusStateRequest) (*QueryConsensusStateResponse, error)
	// ConsensusStates queries all the consensus state associated with a given
	// client.
	ConsensusStates(context.Context, *QueryConsensusStatesRequest) (*QueryConsensusStatesResponse, error)
	// Relayers queries all the relayers associated with a given
	// client.
	Relayers(context.Context, *QueryRelayersRequest) (*QueryRelayersResponse, error)
	// contains filtered or unexported methods
}

QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility.

Query provides defines the gRPC querier service

type RegisterRelayerProposal

type RegisterRelayerProposal struct {

	// the title of the update proposal
	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	// the description of the proposal
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// the client identifier for the client to be updated if the proposal passes
	ChainName string `protobuf:"bytes,3,opt,name=chain_name,json=chainName,proto3" json:"chain_name,omitempty"`
	// relayer address list
	Relayers []string `protobuf:"bytes,4,rep,name=relayers,proto3" json:"relayers,omitempty"`
	// contains filtered or unexported fields
}

RegisterRelayerProposal defines a overnance proposal to register some relayers for updating a client state.

func (*RegisterRelayerProposal) Descriptor deprecated

func (*RegisterRelayerProposal) Descriptor() ([]byte, []int)

Deprecated: Use RegisterRelayerProposal.ProtoReflect.Descriptor instead.

func (*RegisterRelayerProposal) GetChainName

func (x *RegisterRelayerProposal) GetChainName() string

func (*RegisterRelayerProposal) GetDescription

func (x *RegisterRelayerProposal) GetDescription() string

func (*RegisterRelayerProposal) GetRelayers

func (x *RegisterRelayerProposal) GetRelayers() []string

func (*RegisterRelayerProposal) GetTitle

func (x *RegisterRelayerProposal) GetTitle() string

func (*RegisterRelayerProposal) ProtoMessage

func (*RegisterRelayerProposal) ProtoMessage()

func (*RegisterRelayerProposal) ProtoReflect

func (x *RegisterRelayerProposal) ProtoReflect() protoreflect.Message

func (*RegisterRelayerProposal) Reset

func (x *RegisterRelayerProposal) Reset()

func (*RegisterRelayerProposal) String

func (x *RegisterRelayerProposal) String() string

type UnimplementedMsgServer

type UnimplementedMsgServer struct{}

UnimplementedMsgServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedMsgServer) CreateClient

func (UnimplementedMsgServer) RegisterRelayer

func (UnimplementedMsgServer) UpdateClient

func (UnimplementedMsgServer) UpgradeClient

type UnimplementedQueryServer

type UnimplementedQueryServer struct{}

UnimplementedQueryServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedQueryServer) Relayers

type UnsafeMsgServer

type UnsafeMsgServer interface {
	// contains filtered or unexported methods
}

UnsafeMsgServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MsgServer will result in compilation errors.

type UnsafeQueryServer

type UnsafeQueryServer interface {
	// contains filtered or unexported methods
}

UnsafeQueryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to QueryServer will result in compilation errors.

type UpgradeClientProposal

type UpgradeClientProposal struct {

	// the title of the update proposal
	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	// the description of the proposal
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// the client identifier for the client to be updated if the proposal passes
	ChainName string `protobuf:"bytes,3,opt,name=chain_name,json=chainName,proto3" json:"chain_name,omitempty"`
	// client state
	ClientState *anypb.Any `protobuf:"bytes,4,opt,name=client_state,json=clientState,proto3" json:"client_state,omitempty"`
	// consensus state
	ConsensusState *anypb.Any `protobuf:"bytes,5,opt,name=consensus_state,json=consensusState,proto3" json:"consensus_state,omitempty"`
	// contains filtered or unexported fields
}

UpgradeClientProposal defines a overnance proposal to overide an TIBC client state

func (*UpgradeClientProposal) Descriptor deprecated

func (*UpgradeClientProposal) Descriptor() ([]byte, []int)

Deprecated: Use UpgradeClientProposal.ProtoReflect.Descriptor instead.

func (*UpgradeClientProposal) GetChainName

func (x *UpgradeClientProposal) GetChainName() string

func (*UpgradeClientProposal) GetClientState

func (x *UpgradeClientProposal) GetClientState() *anypb.Any

func (*UpgradeClientProposal) GetConsensusState

func (x *UpgradeClientProposal) GetConsensusState() *anypb.Any

func (*UpgradeClientProposal) GetDescription

func (x *UpgradeClientProposal) GetDescription() string

func (*UpgradeClientProposal) GetTitle

func (x *UpgradeClientProposal) GetTitle() string

func (*UpgradeClientProposal) ProtoMessage

func (*UpgradeClientProposal) ProtoMessage()

func (*UpgradeClientProposal) ProtoReflect

func (x *UpgradeClientProposal) ProtoReflect() protoreflect.Message

func (*UpgradeClientProposal) Reset

func (x *UpgradeClientProposal) Reset()

func (*UpgradeClientProposal) String

func (x *UpgradeClientProposal) String() string

Jump to

Keyboard shortcuts

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