Documentation ¶
Overview ¶
Package registry is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterRegistryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterRegistryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client RegistryClient) error
- func RegisterRegistryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterRegistryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server RegistryServer) error
- func RegisterRegistryServer(s grpc.ServiceRegistrar, srv RegistryServer)
- type APIs
- type APIs_API
- type AssetList
- type ChainAsset
- func (*ChainAsset) Descriptor() ([]byte, []int)deprecated
- func (x *ChainAsset) GetBase() string
- func (x *ChainAsset) GetCoingeckoId() string
- func (x *ChainAsset) GetDenomUnits() []*DenomUnit
- func (x *ChainAsset) GetDescription() string
- func (x *ChainAsset) GetDisplay() string
- func (x *ChainAsset) GetKeywords() []string
- func (x *ChainAsset) GetLogo_URIs() *LogoURIs
- func (x *ChainAsset) GetName() string
- func (x *ChainAsset) GetSymbol() string
- func (*ChainAsset) ProtoMessage()
- func (x *ChainAsset) ProtoReflect() protoreflect.Message
- func (x *ChainAsset) Reset()
- func (x *ChainAsset) String() string
- type ChainRegistry
- func (*ChainRegistry) Descriptor() ([]byte, []int)deprecated
- func (x *ChainRegistry) GetApis() *APIs
- func (x *ChainRegistry) GetBech32Prefix() string
- func (x *ChainRegistry) GetChainId() string
- func (x *ChainRegistry) GetChainName() string
- func (x *ChainRegistry) GetCodebase() *Codebase
- func (x *ChainRegistry) GetDaemonName() string
- func (x *ChainRegistry) GetExplorers() []*Explorer
- func (x *ChainRegistry) GetFees() *Fees
- func (x *ChainRegistry) GetImages() []*Image
- func (x *ChainRegistry) GetKeyAlgos() []string
- func (x *ChainRegistry) GetKeywords() []string
- func (x *ChainRegistry) GetLogo_URIs() *LogoURIs
- func (x *ChainRegistry) GetNetworkType() string
- func (x *ChainRegistry) GetNodeHome() string
- func (x *ChainRegistry) GetPeers() *Peers
- func (x *ChainRegistry) GetPrettyName() string
- func (x *ChainRegistry) GetSchema() string
- func (x *ChainRegistry) GetSlip44() uint32
- func (x *ChainRegistry) GetStaking() *Staking
- func (x *ChainRegistry) GetStatus() string
- func (x *ChainRegistry) GetUpdateLink() string
- func (x *ChainRegistry) GetWebsite() string
- func (*ChainRegistry) ProtoMessage()
- func (x *ChainRegistry) ProtoReflect() protoreflect.Message
- func (x *ChainRegistry) Reset()
- func (x *ChainRegistry) String() string
- type ChannelData
- func (*ChannelData) Descriptor() ([]byte, []int)deprecated
- func (x *ChannelData) GetChain_1() *ChannelData_ChannelPort
- func (x *ChannelData) GetChain_2() *ChannelData_ChannelPort
- func (x *ChannelData) GetOrdering() string
- func (x *ChannelData) GetTags() *ChannelData_Tags
- func (x *ChannelData) GetVersion() string
- func (*ChannelData) ProtoMessage()
- func (x *ChannelData) ProtoReflect() protoreflect.Message
- func (x *ChannelData) Reset()
- func (x *ChannelData) String() string
- type ChannelData_ChannelPort
- func (*ChannelData_ChannelPort) Descriptor() ([]byte, []int)deprecated
- func (x *ChannelData_ChannelPort) GetChannelId() string
- func (x *ChannelData_ChannelPort) GetPortId() string
- func (*ChannelData_ChannelPort) ProtoMessage()
- func (x *ChannelData_ChannelPort) ProtoReflect() protoreflect.Message
- func (x *ChannelData_ChannelPort) Reset()
- func (x *ChannelData_ChannelPort) String() string
- type ChannelData_Tags
- func (*ChannelData_Tags) Descriptor() ([]byte, []int)deprecated
- func (x *ChannelData_Tags) GetDex() string
- func (x *ChannelData_Tags) GetPerferred() bool
- func (x *ChannelData_Tags) GetStatus() string
- func (*ChannelData_Tags) ProtoMessage()
- func (x *ChannelData_Tags) ProtoReflect() protoreflect.Message
- func (x *ChannelData_Tags) Reset()
- func (x *ChannelData_Tags) String() string
- type Codebase
- func (*Codebase) Descriptor() ([]byte, []int)deprecated
- func (x *Codebase) GetBinaries() map[string]string
- func (x *Codebase) GetCompatibleVersions() []string
- func (x *Codebase) GetConsensus() map[string]string
- func (x *Codebase) GetCosmosSdkVersion() string
- func (x *Codebase) GetCosmwasmEnabled() bool
- func (x *Codebase) GetCosmwasmVersion() string
- func (x *Codebase) GetGenesis() *Genesis
- func (x *Codebase) GetGitRepo() string
- func (x *Codebase) GetIbcGoVersion() string
- func (x *Codebase) GetIcsEnabled() []string
- func (x *Codebase) GetRecommendedVersion() string
- func (x *Codebase) GetTendermintVersion() string
- func (x *Codebase) GetVersions() []*Versions
- func (*Codebase) ProtoMessage()
- func (x *Codebase) ProtoReflect() protoreflect.Message
- func (x *Codebase) Reset()
- func (x *Codebase) String() string
- type DenomUnit
- func (*DenomUnit) Descriptor() ([]byte, []int)deprecated
- func (x *DenomUnit) GetAliases() []string
- func (x *DenomUnit) GetDenom() string
- func (x *DenomUnit) GetExponent() int32
- func (*DenomUnit) ProtoMessage()
- func (x *DenomUnit) ProtoReflect() protoreflect.Message
- func (x *DenomUnit) Reset()
- func (x *DenomUnit) String() string
- type Explorer
- func (*Explorer) Descriptor() ([]byte, []int)deprecated
- func (x *Explorer) GetAccountPage() string
- func (x *Explorer) GetKind() string
- func (x *Explorer) GetTxPage() string
- func (x *Explorer) GetUrl() string
- func (*Explorer) ProtoMessage()
- func (x *Explorer) ProtoReflect() protoreflect.Message
- func (x *Explorer) Reset()
- func (x *Explorer) String() string
- type FeeTokens
- func (*FeeTokens) Descriptor() ([]byte, []int)deprecated
- func (x *FeeTokens) GetAverageGasPrice() float64
- func (x *FeeTokens) GetDenom() string
- func (x *FeeTokens) GetFixedMinGasPrice() float64
- func (x *FeeTokens) GetHighGasPrice() float64
- func (x *FeeTokens) GetLowGasPrice() float64
- func (*FeeTokens) ProtoMessage()
- func (x *FeeTokens) ProtoReflect() protoreflect.Message
- func (x *FeeTokens) Reset()
- func (x *FeeTokens) String() string
- type Fees
- type Genesis
- type IBCChain
- func (*IBCChain) Descriptor() ([]byte, []int)deprecated
- func (x *IBCChain) GetChainName() string
- func (x *IBCChain) GetClientId() string
- func (x *IBCChain) GetConnectionId() string
- func (*IBCChain) ProtoMessage()
- func (x *IBCChain) ProtoReflect() protoreflect.Message
- func (x *IBCChain) Reset()
- func (x *IBCChain) String() string
- type IBCData
- func (*IBCData) Descriptor() ([]byte, []int)deprecated
- func (x *IBCData) GetChain_1() *IBCChain
- func (x *IBCData) GetChain_2() *IBCChain
- func (x *IBCData) GetChannels() []*ChannelData
- func (x *IBCData) GetSchema() string
- func (*IBCData) ProtoMessage()
- func (x *IBCData) ProtoReflect() protoreflect.Message
- func (x *IBCData) Reset()
- func (x *IBCData) String() string
- type Image
- type Keys
- func (*Keys) Descriptor() ([]byte, []int)deprecated
- func (x *Keys) GetFaucet() []*Mnemonic
- func (x *Keys) GetGenesis() []*Mnemonic
- func (x *Keys) GetKeys() []*Mnemonic
- func (x *Keys) GetRelayers() []*Mnemonic
- func (x *Keys) GetRelayersCli() []*Mnemonic
- func (x *Keys) GetValidators() []*Mnemonic
- func (*Keys) ProtoMessage()
- func (x *Keys) ProtoReflect() protoreflect.Message
- func (x *Keys) Reset()
- func (x *Keys) String() string
- type LockDuration
- type LogoURIs
- type Mnemonic
- func (*Mnemonic) Descriptor() ([]byte, []int)deprecated
- func (x *Mnemonic) GetMnemonic() string
- func (x *Mnemonic) GetName() string
- func (x *Mnemonic) GetType() string
- func (*Mnemonic) ProtoMessage()
- func (x *Mnemonic) ProtoReflect() protoreflect.Message
- func (x *Mnemonic) Reset()
- func (x *Mnemonic) String() string
- type Peer
- type Peers
- type PrivValidatorKey
- func (*PrivValidatorKey) Descriptor() ([]byte, []int)deprecated
- func (x *PrivValidatorKey) GetAddress() string
- func (x *PrivValidatorKey) GetPrivKey() *TypeKey
- func (x *PrivValidatorKey) GetPubKey() *TypeKey
- func (*PrivValidatorKey) ProtoMessage()
- func (x *PrivValidatorKey) ProtoReflect() protoreflect.Message
- func (x *PrivValidatorKey) Reset()
- func (x *PrivValidatorKey) String() string
- type RegistryClient
- type RegistryServer
- type RequestChain
- type RequestIBCInfo
- func (*RequestIBCInfo) Descriptor() ([]byte, []int)deprecated
- func (x *RequestIBCInfo) GetChain_1() string
- func (x *RequestIBCInfo) GetChain_2() string
- func (*RequestIBCInfo) ProtoMessage()
- func (x *RequestIBCInfo) ProtoReflect() protoreflect.Message
- func (x *RequestIBCInfo) Reset()
- func (x *RequestIBCInfo) String() string
- type ResponseChainAssets
- func (*ResponseChainAssets) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseChainAssets) GetAssets() []*ChainAsset
- func (x *ResponseChainAssets) GetChainName() string
- func (x *ResponseChainAssets) GetSchema() string
- func (*ResponseChainAssets) ProtoMessage()
- func (x *ResponseChainAssets) ProtoReflect() protoreflect.Message
- func (x *ResponseChainAssets) Reset()
- func (x *ResponseChainAssets) String() string
- type ResponseChainIDs
- type ResponseChains
- type ResponseListIBC
- type Staking
- func (*Staking) Descriptor() ([]byte, []int)deprecated
- func (x *Staking) GetLockDuration() *LockDuration
- func (x *Staking) GetStakingTokens() []*StakingTokens
- func (*Staking) ProtoMessage()
- func (x *Staking) ProtoReflect() protoreflect.Message
- func (x *Staking) Reset()
- func (x *Staking) String() string
- type StakingTokens
- type TypeKey
- type UnimplementedRegistryServer
- func (UnimplementedRegistryServer) GetChain(context.Context, *RequestChain) (*ChainRegistry, error)
- func (UnimplementedRegistryServer) GetChainAssets(context.Context, *RequestChain) (*ResponseChainAssets, error)
- func (UnimplementedRegistryServer) GetChainKeys(context.Context, *RequestChain) (*Keys, error)
- func (UnimplementedRegistryServer) GetIBCInfo(context.Context, *RequestIBCInfo) (*IBCData, error)
- func (UnimplementedRegistryServer) ListChainAPIs(context.Context, *RequestChain) (*APIs, error)
- func (UnimplementedRegistryServer) ListChainIBC(context.Context, *RequestChain) (*ResponseListIBC, error)
- func (UnimplementedRegistryServer) ListChainIDs(context.Context, *emptypb.Empty) (*ResponseChainIDs, error)
- func (UnimplementedRegistryServer) ListChainPeers(context.Context, *RequestChain) (*Peers, error)
- func (UnimplementedRegistryServer) ListChains(context.Context, *emptypb.Empty) (*ResponseChains, error)
- func (UnimplementedRegistryServer) ListIBC(context.Context, *emptypb.Empty) (*ResponseListIBC, error)
- type UnsafeRegistryServer
- type Versions
- func (*Versions) Descriptor() ([]byte, []int)deprecated
- func (x *Versions) GetHeight() uint32
- func (x *Versions) GetName() string
- func (x *Versions) GetNextVersionName() string
- func (x *Versions) GetTag() string
- func (*Versions) ProtoMessage()
- func (x *Versions) ProtoReflect() protoreflect.Message
- func (x *Versions) Reset()
- func (x *Versions) String() string
Constants ¶
const ( Registry_ListChainIDs_FullMethodName = "/registry.Registry/ListChainIDs" Registry_ListChains_FullMethodName = "/registry.Registry/ListChains" Registry_GetChain_FullMethodName = "/registry.Registry/GetChain" Registry_GetChainKeys_FullMethodName = "/registry.Registry/GetChainKeys" Registry_ListChainPeers_FullMethodName = "/registry.Registry/ListChainPeers" Registry_ListChainAPIs_FullMethodName = "/registry.Registry/ListChainAPIs" Registry_GetChainAssets_FullMethodName = "/registry.Registry/GetChainAssets" Registry_ListIBC_FullMethodName = "/registry.Registry/ListIBC" Registry_ListChainIBC_FullMethodName = "/registry.Registry/ListChainIBC" Registry_GetIBCInfo_FullMethodName = "/registry.Registry/GetIBCInfo" )
Variables ¶
var File_registry_chain_proto protoreflect.FileDescriptor
var File_registry_ibc_proto protoreflect.FileDescriptor
var File_registry_mnemonic_proto protoreflect.FileDescriptor
var File_registry_service_proto protoreflect.FileDescriptor
var Registry_ServiceDesc = grpc.ServiceDesc{ ServiceName: "registry.Registry", HandlerType: (*RegistryServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListChainIDs", Handler: _Registry_ListChainIDs_Handler, }, { MethodName: "ListChains", Handler: _Registry_ListChains_Handler, }, { MethodName: "GetChain", Handler: _Registry_GetChain_Handler, }, { MethodName: "GetChainKeys", Handler: _Registry_GetChainKeys_Handler, }, { MethodName: "ListChainPeers", Handler: _Registry_ListChainPeers_Handler, }, { MethodName: "ListChainAPIs", Handler: _Registry_ListChainAPIs_Handler, }, { MethodName: "GetChainAssets", Handler: _Registry_GetChainAssets_Handler, }, { MethodName: "ListIBC", Handler: _Registry_ListIBC_Handler, }, { MethodName: "ListChainIBC", Handler: _Registry_ListChainIBC_Handler, }, { MethodName: "GetIBCInfo", Handler: _Registry_GetIBCInfo_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "registry/service.proto", }
Registry_ServiceDesc is the grpc.ServiceDesc for Registry service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterRegistryHandler ¶
func RegisterRegistryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterRegistryHandler registers the http handlers for service Registry to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterRegistryHandlerClient ¶
func RegisterRegistryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client RegistryClient) error
RegisterRegistryHandlerClient registers the http handlers for service Registry to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "RegistryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "RegistryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "RegistryClient" to call the correct interceptors.
func RegisterRegistryHandlerFromEndpoint ¶
func RegisterRegistryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterRegistryHandlerFromEndpoint is same as RegisterRegistryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterRegistryHandlerServer ¶
func RegisterRegistryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server RegistryServer) error
RegisterRegistryHandlerServer registers the http handlers for service Registry to "mux". UnaryRPC :call RegistryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterRegistryHandlerFromEndpoint instead.
func RegisterRegistryServer ¶
func RegisterRegistryServer(s grpc.ServiceRegistrar, srv RegistryServer)
Types ¶
type APIs ¶
type APIs struct { Rpc []*APIs_API `protobuf:"bytes,1,rep,name=rpc,proto3" json:"rpc,omitempty"` Rest []*APIs_API `protobuf:"bytes,2,rep,name=rest,proto3" json:"rest,omitempty"` Grpc []*APIs_API `protobuf:"bytes,3,rep,name=grpc,proto3" json:"grpc,omitempty"` // contains filtered or unexported fields }
func (*APIs) Descriptor
deprecated
func (*APIs) ProtoMessage ¶
func (*APIs) ProtoMessage()
func (*APIs) ProtoReflect ¶
func (x *APIs) ProtoReflect() protoreflect.Message
type APIs_API ¶
type APIs_API struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"` // contains filtered or unexported fields }
func (*APIs_API) Descriptor
deprecated
func (*APIs_API) GetAddress ¶
func (*APIs_API) GetProvider ¶
func (*APIs_API) ProtoMessage ¶
func (*APIs_API) ProtoMessage()
func (*APIs_API) ProtoReflect ¶
func (x *APIs_API) ProtoReflect() protoreflect.Message
type AssetList ¶
type AssetList struct { ChainName string `protobuf:"bytes,1,opt,name=chain_name,proto3" json:"chain_name,omitempty"` Assets []*ChainAsset `protobuf:"bytes,2,rep,name=assets,proto3" json:"assets,omitempty"` // contains filtered or unexported fields }
func (*AssetList) Descriptor
deprecated
func (*AssetList) GetAssets ¶
func (x *AssetList) GetAssets() []*ChainAsset
func (*AssetList) GetChainName ¶
func (*AssetList) ProtoMessage ¶
func (*AssetList) ProtoMessage()
func (*AssetList) ProtoReflect ¶
func (x *AssetList) ProtoReflect() protoreflect.Message
type ChainAsset ¶
type ChainAsset struct { Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` DenomUnits []*DenomUnit `protobuf:"bytes,2,rep,name=denom_units,proto3" json:"denom_units,omitempty"` Base string `protobuf:"bytes,3,opt,name=base,proto3" json:"base,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` Display *string `protobuf:"bytes,5,opt,name=display,proto3,oneof" json:"display,omitempty"` Symbol *string `protobuf:"bytes,6,opt,name=symbol,proto3,oneof" json:"symbol,omitempty"` CoingeckoId *string `protobuf:"bytes,7,opt,name=coingecko_id,proto3,oneof" json:"coingecko_id,omitempty"` Keywords []string `protobuf:"bytes,8,rep,name=keywords,proto3" json:"keywords,omitempty"` Logo_URIs *LogoURIs `protobuf:"bytes,9,opt,name=logo_URIs,proto3,oneof" json:"logo_URIs,omitempty"` // contains filtered or unexported fields }
func (*ChainAsset) Descriptor
deprecated
func (*ChainAsset) Descriptor() ([]byte, []int)
Deprecated: Use ChainAsset.ProtoReflect.Descriptor instead.
func (*ChainAsset) GetBase ¶
func (x *ChainAsset) GetBase() string
func (*ChainAsset) GetCoingeckoId ¶
func (x *ChainAsset) GetCoingeckoId() string
func (*ChainAsset) GetDenomUnits ¶
func (x *ChainAsset) GetDenomUnits() []*DenomUnit
func (*ChainAsset) GetDescription ¶
func (x *ChainAsset) GetDescription() string
func (*ChainAsset) GetDisplay ¶
func (x *ChainAsset) GetDisplay() string
func (*ChainAsset) GetKeywords ¶
func (x *ChainAsset) GetKeywords() []string
func (*ChainAsset) GetLogo_URIs ¶
func (x *ChainAsset) GetLogo_URIs() *LogoURIs
func (*ChainAsset) GetName ¶
func (x *ChainAsset) GetName() string
func (*ChainAsset) GetSymbol ¶
func (x *ChainAsset) GetSymbol() string
func (*ChainAsset) ProtoMessage ¶
func (*ChainAsset) ProtoMessage()
func (*ChainAsset) ProtoReflect ¶
func (x *ChainAsset) ProtoReflect() protoreflect.Message
func (*ChainAsset) Reset ¶
func (x *ChainAsset) Reset()
func (*ChainAsset) String ¶
func (x *ChainAsset) String() string
type ChainRegistry ¶
type ChainRegistry struct { Schema string `protobuf:"bytes,1,opt,name=schema,json=$schema,proto3" json:"schema,omitempty"` ChainName string `protobuf:"bytes,2,opt,name=chain_name,proto3" json:"chain_name,omitempty"` ChainId string `protobuf:"bytes,3,opt,name=chain_id,proto3" json:"chain_id,omitempty"` PrettyName string `protobuf:"bytes,4,opt,name=pretty_name,proto3" json:"pretty_name,omitempty"` Status *string `protobuf:"bytes,5,opt,name=status,proto3,oneof" json:"status,omitempty"` NetworkType *string `protobuf:"bytes,6,opt,name=network_type,proto3,oneof" json:"network_type,omitempty"` Website *string `protobuf:"bytes,7,opt,name=website,proto3,oneof" json:"website,omitempty"` Bech32Prefix *string `protobuf:"bytes,8,opt,name=bech32_prefix,proto3,oneof" json:"bech32_prefix,omitempty"` DaemonName *string `protobuf:"bytes,9,opt,name=daemon_name,proto3,oneof" json:"daemon_name,omitempty"` NodeHome *string `protobuf:"bytes,10,opt,name=node_home,proto3,oneof" json:"node_home,omitempty"` KeyAlgos []string `protobuf:"bytes,11,rep,name=key_algos,proto3" json:"key_algos,omitempty"` Slip44 uint32 `protobuf:"varint,12,opt,name=slip44,proto3" json:"slip44,omitempty"` Fees *Fees `protobuf:"bytes,13,opt,name=fees,proto3,oneof" json:"fees,omitempty"` Staking *Staking `protobuf:"bytes,14,opt,name=staking,proto3,oneof" json:"staking,omitempty"` Codebase *Codebase `protobuf:"bytes,15,opt,name=codebase,proto3,oneof" json:"codebase,omitempty"` Logo_URIs *LogoURIs `protobuf:"bytes,16,opt,name=logo_URIs,proto3,oneof" json:"logo_URIs,omitempty"` Images []*Image `protobuf:"bytes,17,rep,name=images,proto3" json:"images,omitempty"` Peers *Peers `protobuf:"bytes,18,opt,name=peers,proto3,oneof" json:"peers,omitempty"` Apis *APIs `protobuf:"bytes,19,opt,name=apis,proto3,oneof" json:"apis,omitempty"` Explorers []*Explorer `protobuf:"bytes,20,rep,name=explorers,proto3" json:"explorers,omitempty"` Keywords []string `protobuf:"bytes,21,rep,name=keywords,proto3" json:"keywords,omitempty"` UpdateLink *string `protobuf:"bytes,22,opt,name=update_link,proto3,oneof" json:"update_link,omitempty"` // contains filtered or unexported fields }
func (*ChainRegistry) Descriptor
deprecated
func (*ChainRegistry) Descriptor() ([]byte, []int)
Deprecated: Use ChainRegistry.ProtoReflect.Descriptor instead.
func (*ChainRegistry) GetApis ¶
func (x *ChainRegistry) GetApis() *APIs
func (*ChainRegistry) GetBech32Prefix ¶
func (x *ChainRegistry) GetBech32Prefix() string
func (*ChainRegistry) GetChainId ¶
func (x *ChainRegistry) GetChainId() string
func (*ChainRegistry) GetChainName ¶
func (x *ChainRegistry) GetChainName() string
func (*ChainRegistry) GetCodebase ¶
func (x *ChainRegistry) GetCodebase() *Codebase
func (*ChainRegistry) GetDaemonName ¶
func (x *ChainRegistry) GetDaemonName() string
func (*ChainRegistry) GetExplorers ¶
func (x *ChainRegistry) GetExplorers() []*Explorer
func (*ChainRegistry) GetFees ¶
func (x *ChainRegistry) GetFees() *Fees
func (*ChainRegistry) GetImages ¶
func (x *ChainRegistry) GetImages() []*Image
func (*ChainRegistry) GetKeyAlgos ¶
func (x *ChainRegistry) GetKeyAlgos() []string
func (*ChainRegistry) GetKeywords ¶
func (x *ChainRegistry) GetKeywords() []string
func (*ChainRegistry) GetLogo_URIs ¶
func (x *ChainRegistry) GetLogo_URIs() *LogoURIs
func (*ChainRegistry) GetNetworkType ¶
func (x *ChainRegistry) GetNetworkType() string
func (*ChainRegistry) GetNodeHome ¶
func (x *ChainRegistry) GetNodeHome() string
func (*ChainRegistry) GetPeers ¶
func (x *ChainRegistry) GetPeers() *Peers
func (*ChainRegistry) GetPrettyName ¶
func (x *ChainRegistry) GetPrettyName() string
func (*ChainRegistry) GetSchema ¶
func (x *ChainRegistry) GetSchema() string
func (*ChainRegistry) GetSlip44 ¶
func (x *ChainRegistry) GetSlip44() uint32
func (*ChainRegistry) GetStaking ¶
func (x *ChainRegistry) GetStaking() *Staking
func (*ChainRegistry) GetStatus ¶
func (x *ChainRegistry) GetStatus() string
func (*ChainRegistry) GetUpdateLink ¶
func (x *ChainRegistry) GetUpdateLink() string
func (*ChainRegistry) GetWebsite ¶
func (x *ChainRegistry) GetWebsite() string
func (*ChainRegistry) ProtoMessage ¶
func (*ChainRegistry) ProtoMessage()
func (*ChainRegistry) ProtoReflect ¶
func (x *ChainRegistry) ProtoReflect() protoreflect.Message
func (*ChainRegistry) Reset ¶
func (x *ChainRegistry) Reset()
func (*ChainRegistry) String ¶
func (x *ChainRegistry) String() string
type ChannelData ¶
type ChannelData struct { Chain_1 *ChannelData_ChannelPort `protobuf:"bytes,1,opt,name=chain_1,proto3" json:"chain_1,omitempty"` Chain_2 *ChannelData_ChannelPort `protobuf:"bytes,2,opt,name=chain_2,proto3" json:"chain_2,omitempty"` Ordering string `protobuf:"bytes,3,opt,name=ordering,proto3" json:"ordering,omitempty"` Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` Tags *ChannelData_Tags `protobuf:"bytes,5,opt,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
func (*ChannelData) Descriptor
deprecated
func (*ChannelData) Descriptor() ([]byte, []int)
Deprecated: Use ChannelData.ProtoReflect.Descriptor instead.
func (*ChannelData) GetChain_1 ¶
func (x *ChannelData) GetChain_1() *ChannelData_ChannelPort
func (*ChannelData) GetChain_2 ¶
func (x *ChannelData) GetChain_2() *ChannelData_ChannelPort
func (*ChannelData) GetOrdering ¶
func (x *ChannelData) GetOrdering() string
func (*ChannelData) GetTags ¶
func (x *ChannelData) GetTags() *ChannelData_Tags
func (*ChannelData) GetVersion ¶
func (x *ChannelData) GetVersion() string
func (*ChannelData) ProtoMessage ¶
func (*ChannelData) ProtoMessage()
func (*ChannelData) ProtoReflect ¶
func (x *ChannelData) ProtoReflect() protoreflect.Message
func (*ChannelData) Reset ¶
func (x *ChannelData) Reset()
func (*ChannelData) String ¶
func (x *ChannelData) String() string
type ChannelData_ChannelPort ¶
type ChannelData_ChannelPort struct { ChannelId string `protobuf:"bytes,1,opt,name=channel_id,proto3" json:"channel_id,omitempty"` PortId string `protobuf:"bytes,2,opt,name=port_id,proto3" json:"port_id,omitempty"` // contains filtered or unexported fields }
func (*ChannelData_ChannelPort) Descriptor
deprecated
func (*ChannelData_ChannelPort) Descriptor() ([]byte, []int)
Deprecated: Use ChannelData_ChannelPort.ProtoReflect.Descriptor instead.
func (*ChannelData_ChannelPort) GetChannelId ¶
func (x *ChannelData_ChannelPort) GetChannelId() string
func (*ChannelData_ChannelPort) GetPortId ¶
func (x *ChannelData_ChannelPort) GetPortId() string
func (*ChannelData_ChannelPort) ProtoMessage ¶
func (*ChannelData_ChannelPort) ProtoMessage()
func (*ChannelData_ChannelPort) ProtoReflect ¶
func (x *ChannelData_ChannelPort) ProtoReflect() protoreflect.Message
func (*ChannelData_ChannelPort) Reset ¶
func (x *ChannelData_ChannelPort) Reset()
func (*ChannelData_ChannelPort) String ¶
func (x *ChannelData_ChannelPort) String() string
type ChannelData_Tags ¶
type ChannelData_Tags struct { Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` Perferred bool `protobuf:"varint,2,opt,name=perferred,proto3" json:"perferred,omitempty"` Dex string `protobuf:"bytes,3,opt,name=dex,proto3" json:"dex,omitempty"` // contains filtered or unexported fields }
func (*ChannelData_Tags) Descriptor
deprecated
func (*ChannelData_Tags) Descriptor() ([]byte, []int)
Deprecated: Use ChannelData_Tags.ProtoReflect.Descriptor instead.
func (*ChannelData_Tags) GetDex ¶
func (x *ChannelData_Tags) GetDex() string
func (*ChannelData_Tags) GetPerferred ¶
func (x *ChannelData_Tags) GetPerferred() bool
func (*ChannelData_Tags) GetStatus ¶
func (x *ChannelData_Tags) GetStatus() string
func (*ChannelData_Tags) ProtoMessage ¶
func (*ChannelData_Tags) ProtoMessage()
func (*ChannelData_Tags) ProtoReflect ¶
func (x *ChannelData_Tags) ProtoReflect() protoreflect.Message
func (*ChannelData_Tags) Reset ¶
func (x *ChannelData_Tags) Reset()
func (*ChannelData_Tags) String ¶
func (x *ChannelData_Tags) String() string
type Codebase ¶
type Codebase struct { GitRepo string `protobuf:"bytes,1,opt,name=git_repo,proto3" json:"git_repo,omitempty"` RecommendedVersion *string `protobuf:"bytes,2,opt,name=recommended_version,proto3,oneof" json:"recommended_version,omitempty"` CompatibleVersions []string `protobuf:"bytes,3,rep,name=compatible_versions,proto3" json:"compatible_versions,omitempty"` Binaries map[string]string `` /* 157-byte string literal not displayed */ CosmosSdkVersion *string `protobuf:"bytes,5,opt,name=cosmos_sdk_version,proto3,oneof" json:"cosmos_sdk_version,omitempty"` TendermintVersion *string `protobuf:"bytes,6,opt,name=tendermint_version,proto3,oneof" json:"tendermint_version,omitempty"` CosmwasmVersion *string `protobuf:"bytes,7,opt,name=cosmwasm_version,proto3,oneof" json:"cosmwasm_version,omitempty"` CosmwasmEnabled *bool `protobuf:"varint,8,opt,name=cosmwasm_enabled,proto3,oneof" json:"cosmwasm_enabled,omitempty"` IbcGoVersion *string `protobuf:"bytes,9,opt,name=ibc_go_version,proto3,oneof" json:"ibc_go_version,omitempty"` IcsEnabled []string `protobuf:"bytes,10,rep,name=ics_enabled,proto3" json:"ics_enabled,omitempty"` Genesis *Genesis `protobuf:"bytes,11,opt,name=genesis,proto3,oneof" json:"genesis,omitempty"` Versions []*Versions `protobuf:"bytes,12,rep,name=versions,proto3" json:"versions,omitempty"` Consensus map[string]string `` /* 160-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Codebase) Descriptor
deprecated
func (*Codebase) GetBinaries ¶
func (*Codebase) GetCompatibleVersions ¶
func (*Codebase) GetConsensus ¶
func (*Codebase) GetCosmosSdkVersion ¶
func (*Codebase) GetCosmwasmEnabled ¶
func (*Codebase) GetCosmwasmVersion ¶
func (*Codebase) GetGenesis ¶
func (*Codebase) GetGitRepo ¶
func (*Codebase) GetIbcGoVersion ¶
func (*Codebase) GetIcsEnabled ¶
func (*Codebase) GetRecommendedVersion ¶
func (*Codebase) GetTendermintVersion ¶
func (*Codebase) GetVersions ¶
func (*Codebase) ProtoMessage ¶
func (*Codebase) ProtoMessage()
func (*Codebase) ProtoReflect ¶
func (x *Codebase) ProtoReflect() protoreflect.Message
type DenomUnit ¶
type DenomUnit struct { Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` Exponent int32 `protobuf:"varint,2,opt,name=exponent,proto3" json:"exponent,omitempty"` Aliases []string `protobuf:"bytes,3,rep,name=aliases,proto3" json:"aliases,omitempty"` // contains filtered or unexported fields }
func (*DenomUnit) Descriptor
deprecated
func (*DenomUnit) GetAliases ¶
func (*DenomUnit) GetExponent ¶
func (*DenomUnit) ProtoMessage ¶
func (*DenomUnit) ProtoMessage()
func (*DenomUnit) ProtoReflect ¶
func (x *DenomUnit) ProtoReflect() protoreflect.Message
type Explorer ¶
type Explorer struct { Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"` Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` TxPage *string `protobuf:"bytes,3,opt,name=tx_page,proto3,oneof" json:"tx_page,omitempty"` AccountPage *string `protobuf:"bytes,4,opt,name=account_page,proto3,oneof" json:"account_page,omitempty"` // contains filtered or unexported fields }
func (*Explorer) Descriptor
deprecated
func (*Explorer) GetAccountPage ¶
func (*Explorer) ProtoMessage ¶
func (*Explorer) ProtoMessage()
func (*Explorer) ProtoReflect ¶
func (x *Explorer) ProtoReflect() protoreflect.Message
type FeeTokens ¶
type FeeTokens struct { Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` FixedMinGasPrice float64 `protobuf:"fixed64,2,opt,name=fixed_min_gas_price,proto3" json:"fixed_min_gas_price,omitempty"` LowGasPrice float64 `protobuf:"fixed64,3,opt,name=low_gas_price,proto3" json:"low_gas_price,omitempty"` AverageGasPrice float64 `protobuf:"fixed64,4,opt,name=average_gas_price,proto3" json:"average_gas_price,omitempty"` HighGasPrice float64 `protobuf:"fixed64,5,opt,name=high_gas_price,proto3" json:"high_gas_price,omitempty"` // contains filtered or unexported fields }
func (*FeeTokens) Descriptor
deprecated
func (*FeeTokens) GetAverageGasPrice ¶
func (*FeeTokens) GetFixedMinGasPrice ¶
func (*FeeTokens) GetHighGasPrice ¶
func (*FeeTokens) GetLowGasPrice ¶
func (*FeeTokens) ProtoMessage ¶
func (*FeeTokens) ProtoMessage()
func (*FeeTokens) ProtoReflect ¶
func (x *FeeTokens) ProtoReflect() protoreflect.Message
type Fees ¶
type Fees struct { FeeTokens []*FeeTokens `protobuf:"bytes,1,rep,name=fee_tokens,proto3" json:"fee_tokens,omitempty"` // contains filtered or unexported fields }
func (*Fees) Descriptor
deprecated
func (*Fees) GetFeeTokens ¶
func (*Fees) ProtoMessage ¶
func (*Fees) ProtoMessage()
func (*Fees) ProtoReflect ¶
func (x *Fees) ProtoReflect() protoreflect.Message
type Genesis ¶
type Genesis struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` GenesisUrl string `protobuf:"bytes,2,opt,name=genesis_url,proto3" json:"genesis_url,omitempty"` // contains filtered or unexported fields }
func (*Genesis) Descriptor
deprecated
func (*Genesis) GetGenesisUrl ¶
func (*Genesis) ProtoMessage ¶
func (*Genesis) ProtoMessage()
func (*Genesis) ProtoReflect ¶
func (x *Genesis) ProtoReflect() protoreflect.Message
type IBCChain ¶
type IBCChain struct { ChainName string `protobuf:"bytes,1,opt,name=chain_name,proto3" json:"chain_name,omitempty"` ClientId string `protobuf:"bytes,2,opt,name=client_id,proto3" json:"client_id,omitempty"` ConnectionId string `protobuf:"bytes,3,opt,name=connection_id,proto3" json:"connection_id,omitempty"` // contains filtered or unexported fields }
func (*IBCChain) Descriptor
deprecated
func (*IBCChain) GetChainName ¶
func (*IBCChain) GetClientId ¶
func (*IBCChain) GetConnectionId ¶
func (*IBCChain) ProtoMessage ¶
func (*IBCChain) ProtoMessage()
func (*IBCChain) ProtoReflect ¶
func (x *IBCChain) ProtoReflect() protoreflect.Message
type IBCData ¶
type IBCData struct { Schema string `protobuf:"bytes,1,opt,name=schema,json=$schema,proto3" json:"schema,omitempty"` Chain_1 *IBCChain `protobuf:"bytes,2,opt,name=chain_1,proto3" json:"chain_1,omitempty"` Chain_2 *IBCChain `protobuf:"bytes,3,opt,name=chain_2,proto3" json:"chain_2,omitempty"` Channels []*ChannelData `protobuf:"bytes,4,rep,name=channels,proto3" json:"channels,omitempty"` // contains filtered or unexported fields }
func (*IBCData) Descriptor
deprecated
func (*IBCData) GetChain_1 ¶
func (*IBCData) GetChain_2 ¶
func (*IBCData) GetChannels ¶
func (x *IBCData) GetChannels() []*ChannelData
func (*IBCData) ProtoMessage ¶
func (*IBCData) ProtoMessage()
func (*IBCData) ProtoReflect ¶
func (x *IBCData) ProtoReflect() protoreflect.Message
type Image ¶
type Image struct { Png *string `protobuf:"bytes,1,opt,name=png,proto3,oneof" json:"png,omitempty"` Theme map[string]string `` /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Image) Descriptor
deprecated
func (*Image) ProtoMessage ¶
func (*Image) ProtoMessage()
func (*Image) ProtoReflect ¶
func (x *Image) ProtoReflect() protoreflect.Message
type Keys ¶
type Keys struct { Genesis []*Mnemonic `protobuf:"bytes,1,rep,name=genesis,proto3" json:"genesis,omitempty"` Validators []*Mnemonic `protobuf:"bytes,2,rep,name=validators,proto3" json:"validators,omitempty"` Keys []*Mnemonic `protobuf:"bytes,3,rep,name=keys,proto3" json:"keys,omitempty"` Relayers []*Mnemonic `protobuf:"bytes,4,rep,name=relayers,proto3" json:"relayers,omitempty"` Faucet []*Mnemonic `protobuf:"bytes,5,rep,name=faucet,proto3" json:"faucet,omitempty"` RelayersCli []*Mnemonic `protobuf:"bytes,6,rep,name=relayers_cli,json=relayersCli,proto3" json:"relayers_cli,omitempty"` // contains filtered or unexported fields }
func (*Keys) Descriptor
deprecated
func (*Keys) GetGenesis ¶
func (*Keys) GetRelayers ¶
func (*Keys) GetRelayersCli ¶
func (*Keys) GetValidators ¶
func (*Keys) ProtoMessage ¶
func (*Keys) ProtoMessage()
func (*Keys) ProtoReflect ¶
func (x *Keys) ProtoReflect() protoreflect.Message
type LockDuration ¶
type LockDuration struct { Time string `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
func (*LockDuration) Descriptor
deprecated
func (*LockDuration) Descriptor() ([]byte, []int)
Deprecated: Use LockDuration.ProtoReflect.Descriptor instead.
func (*LockDuration) GetTime ¶
func (x *LockDuration) GetTime() string
func (*LockDuration) ProtoMessage ¶
func (*LockDuration) ProtoMessage()
func (*LockDuration) ProtoReflect ¶
func (x *LockDuration) ProtoReflect() protoreflect.Message
func (*LockDuration) Reset ¶
func (x *LockDuration) Reset()
func (*LockDuration) String ¶
func (x *LockDuration) String() string
type LogoURIs ¶
type LogoURIs struct { Png string `protobuf:"bytes,1,opt,name=png,proto3" json:"png,omitempty"` Svg string `protobuf:"bytes,2,opt,name=svg,proto3" json:"svg,omitempty"` // contains filtered or unexported fields }
func (*LogoURIs) Descriptor
deprecated
func (*LogoURIs) ProtoMessage ¶
func (*LogoURIs) ProtoMessage()
func (*LogoURIs) ProtoReflect ¶
func (x *LogoURIs) ProtoReflect() protoreflect.Message
type Mnemonic ¶
type Mnemonic struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` Mnemonic string `protobuf:"bytes,3,opt,name=mnemonic,proto3" json:"mnemonic,omitempty"` // contains filtered or unexported fields }
func (*Mnemonic) Descriptor
deprecated
func (*Mnemonic) GetMnemonic ¶
func (*Mnemonic) ProtoMessage ¶
func (*Mnemonic) ProtoMessage()
func (*Mnemonic) ProtoReflect ¶
func (x *Mnemonic) ProtoReflect() protoreflect.Message
type Peer ¶
type Peer struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` Provider *string `protobuf:"bytes,3,opt,name=provider,proto3,oneof" json:"provider,omitempty"` // contains filtered or unexported fields }
func (*Peer) Descriptor
deprecated
func (*Peer) GetAddress ¶
func (*Peer) GetProvider ¶
func (*Peer) ProtoMessage ¶
func (*Peer) ProtoMessage()
func (*Peer) ProtoReflect ¶
func (x *Peer) ProtoReflect() protoreflect.Message
type Peers ¶
type Peers struct { Seeds []*Peer `protobuf:"bytes,1,rep,name=seeds,proto3" json:"seeds,omitempty"` PersistentPeers []*Peer `protobuf:"bytes,2,rep,name=persistent_peers,proto3" json:"persistent_peers,omitempty"` // contains filtered or unexported fields }
func (*Peers) Descriptor
deprecated
func (*Peers) GetPersistentPeers ¶
func (*Peers) ProtoMessage ¶
func (*Peers) ProtoMessage()
func (*Peers) ProtoReflect ¶
func (x *Peers) ProtoReflect() protoreflect.Message
type PrivValidatorKey ¶
type PrivValidatorKey struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` PubKey *TypeKey `protobuf:"bytes,2,opt,name=pub_key,proto3" json:"pub_key,omitempty"` PrivKey *TypeKey `protobuf:"bytes,3,opt,name=priv_key,proto3" json:"priv_key,omitempty"` // contains filtered or unexported fields }
func (*PrivValidatorKey) Descriptor
deprecated
func (*PrivValidatorKey) Descriptor() ([]byte, []int)
Deprecated: Use PrivValidatorKey.ProtoReflect.Descriptor instead.
func (*PrivValidatorKey) GetAddress ¶
func (x *PrivValidatorKey) GetAddress() string
func (*PrivValidatorKey) GetPrivKey ¶
func (x *PrivValidatorKey) GetPrivKey() *TypeKey
func (*PrivValidatorKey) GetPubKey ¶
func (x *PrivValidatorKey) GetPubKey() *TypeKey
func (*PrivValidatorKey) ProtoMessage ¶
func (*PrivValidatorKey) ProtoMessage()
func (*PrivValidatorKey) ProtoReflect ¶
func (x *PrivValidatorKey) ProtoReflect() protoreflect.Message
func (*PrivValidatorKey) Reset ¶
func (x *PrivValidatorKey) Reset()
func (*PrivValidatorKey) String ¶
func (x *PrivValidatorKey) String() string
type RegistryClient ¶
type RegistryClient interface { // ListChainIDs will return all the ids for registered chains ListChainIDs(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ResponseChainIDs, error) // ListChains will fetch all the current chain.json for // the registered chains in registry ListChains(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ResponseChains, error) GetChain(ctx context.Context, in *RequestChain, opts ...grpc.CallOption) (*ChainRegistry, error) GetChainKeys(ctx context.Context, in *RequestChain, opts ...grpc.CallOption) (*Keys, error) // ListChainPeers will fetch all the nodes and addresses ListChainPeers(ctx context.Context, in *RequestChain, opts ...grpc.CallOption) (*Peers, error) // ListChainAPIs will fetch all the nodes and addresses ListChainAPIs(ctx context.Context, in *RequestChain, opts ...grpc.CallOption) (*APIs, error) GetChainAssets(ctx context.Context, in *RequestChain, opts ...grpc.CallOption) (*ResponseChainAssets, error) // ListIBCs will fetch all the current IBC connections ListIBC(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ResponseListIBC, error) // ListChainIBC will fetch all the current IBC connections for the chain ListChainIBC(ctx context.Context, in *RequestChain, opts ...grpc.CallOption) (*ResponseListIBC, error) // GetIBCInfo will fetch all the current IBC connections GetIBCInfo(ctx context.Context, in *RequestIBCInfo, opts ...grpc.CallOption) (*IBCData, error) }
RegistryClient is the client API for Registry service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.golang.ir/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewRegistryClient ¶
func NewRegistryClient(cc grpc.ClientConnInterface) RegistryClient
type RegistryServer ¶
type RegistryServer interface { // ListChainIDs will return all the ids for registered chains ListChainIDs(context.Context, *emptypb.Empty) (*ResponseChainIDs, error) // ListChains will fetch all the current chain.json for // the registered chains in registry ListChains(context.Context, *emptypb.Empty) (*ResponseChains, error) GetChain(context.Context, *RequestChain) (*ChainRegistry, error) GetChainKeys(context.Context, *RequestChain) (*Keys, error) // ListChainPeers will fetch all the nodes and addresses ListChainPeers(context.Context, *RequestChain) (*Peers, error) // ListChainAPIs will fetch all the nodes and addresses ListChainAPIs(context.Context, *RequestChain) (*APIs, error) GetChainAssets(context.Context, *RequestChain) (*ResponseChainAssets, error) // ListIBCs will fetch all the current IBC connections ListIBC(context.Context, *emptypb.Empty) (*ResponseListIBC, error) // ListChainIBC will fetch all the current IBC connections for the chain ListChainIBC(context.Context, *RequestChain) (*ResponseListIBC, error) // GetIBCInfo will fetch all the current IBC connections GetIBCInfo(context.Context, *RequestIBCInfo) (*IBCData, error) // contains filtered or unexported methods }
RegistryServer is the server API for Registry service. All implementations must embed UnimplementedRegistryServer for forward compatibility
type RequestChain ¶
type RequestChain struct { Chain string `protobuf:"bytes,1,opt,name=chain,proto3" json:"chain,omitempty"` // contains filtered or unexported fields }
func (*RequestChain) Descriptor
deprecated
func (*RequestChain) Descriptor() ([]byte, []int)
Deprecated: Use RequestChain.ProtoReflect.Descriptor instead.
func (*RequestChain) GetChain ¶
func (x *RequestChain) GetChain() string
func (*RequestChain) ProtoMessage ¶
func (*RequestChain) ProtoMessage()
func (*RequestChain) ProtoReflect ¶
func (x *RequestChain) ProtoReflect() protoreflect.Message
func (*RequestChain) Reset ¶
func (x *RequestChain) Reset()
func (*RequestChain) String ¶
func (x *RequestChain) String() string
type RequestIBCInfo ¶
type RequestIBCInfo struct { Chain_1 string `protobuf:"bytes,1,opt,name=chain_1,proto3" json:"chain_1,omitempty"` Chain_2 string `protobuf:"bytes,2,opt,name=chain_2,proto3" json:"chain_2,omitempty"` // contains filtered or unexported fields }
func (*RequestIBCInfo) Descriptor
deprecated
func (*RequestIBCInfo) Descriptor() ([]byte, []int)
Deprecated: Use RequestIBCInfo.ProtoReflect.Descriptor instead.
func (*RequestIBCInfo) GetChain_1 ¶
func (x *RequestIBCInfo) GetChain_1() string
func (*RequestIBCInfo) GetChain_2 ¶
func (x *RequestIBCInfo) GetChain_2() string
func (*RequestIBCInfo) ProtoMessage ¶
func (*RequestIBCInfo) ProtoMessage()
func (*RequestIBCInfo) ProtoReflect ¶
func (x *RequestIBCInfo) ProtoReflect() protoreflect.Message
func (*RequestIBCInfo) Reset ¶
func (x *RequestIBCInfo) Reset()
func (*RequestIBCInfo) String ¶
func (x *RequestIBCInfo) String() string
type ResponseChainAssets ¶
type ResponseChainAssets struct { Schema string `protobuf:"bytes,1,opt,name=schema,json=$schema,proto3" json:"schema,omitempty"` ChainName string `protobuf:"bytes,2,opt,name=chain_name,proto3" json:"chain_name,omitempty"` Assets []*ChainAsset `protobuf:"bytes,3,rep,name=assets,proto3" json:"assets,omitempty"` // contains filtered or unexported fields }
func (*ResponseChainAssets) Descriptor
deprecated
func (*ResponseChainAssets) Descriptor() ([]byte, []int)
Deprecated: Use ResponseChainAssets.ProtoReflect.Descriptor instead.
func (*ResponseChainAssets) GetAssets ¶
func (x *ResponseChainAssets) GetAssets() []*ChainAsset
func (*ResponseChainAssets) GetChainName ¶
func (x *ResponseChainAssets) GetChainName() string
func (*ResponseChainAssets) GetSchema ¶
func (x *ResponseChainAssets) GetSchema() string
func (*ResponseChainAssets) ProtoMessage ¶
func (*ResponseChainAssets) ProtoMessage()
func (*ResponseChainAssets) ProtoReflect ¶
func (x *ResponseChainAssets) ProtoReflect() protoreflect.Message
func (*ResponseChainAssets) Reset ¶
func (x *ResponseChainAssets) Reset()
func (*ResponseChainAssets) String ¶
func (x *ResponseChainAssets) String() string
type ResponseChainIDs ¶
type ResponseChainIDs struct { ChainIds []string `protobuf:"bytes,1,rep,name=chain_ids,proto3" json:"chain_ids,omitempty"` // contains filtered or unexported fields }
func (*ResponseChainIDs) Descriptor
deprecated
func (*ResponseChainIDs) Descriptor() ([]byte, []int)
Deprecated: Use ResponseChainIDs.ProtoReflect.Descriptor instead.
func (*ResponseChainIDs) GetChainIds ¶
func (x *ResponseChainIDs) GetChainIds() []string
func (*ResponseChainIDs) ProtoMessage ¶
func (*ResponseChainIDs) ProtoMessage()
func (*ResponseChainIDs) ProtoReflect ¶
func (x *ResponseChainIDs) ProtoReflect() protoreflect.Message
func (*ResponseChainIDs) Reset ¶
func (x *ResponseChainIDs) Reset()
func (*ResponseChainIDs) String ¶
func (x *ResponseChainIDs) String() string
type ResponseChains ¶
type ResponseChains struct { Chains []*ChainRegistry `protobuf:"bytes,1,rep,name=chains,proto3" json:"chains,omitempty"` // contains filtered or unexported fields }
func (*ResponseChains) Descriptor
deprecated
func (*ResponseChains) Descriptor() ([]byte, []int)
Deprecated: Use ResponseChains.ProtoReflect.Descriptor instead.
func (*ResponseChains) GetChains ¶
func (x *ResponseChains) GetChains() []*ChainRegistry
func (*ResponseChains) ProtoMessage ¶
func (*ResponseChains) ProtoMessage()
func (*ResponseChains) ProtoReflect ¶
func (x *ResponseChains) ProtoReflect() protoreflect.Message
func (*ResponseChains) Reset ¶
func (x *ResponseChains) Reset()
func (*ResponseChains) String ¶
func (x *ResponseChains) String() string
type ResponseListIBC ¶
type ResponseListIBC struct { Data []*IBCData `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ResponseListIBC) Descriptor
deprecated
func (*ResponseListIBC) Descriptor() ([]byte, []int)
Deprecated: Use ResponseListIBC.ProtoReflect.Descriptor instead.
func (*ResponseListIBC) GetData ¶
func (x *ResponseListIBC) GetData() []*IBCData
func (*ResponseListIBC) ProtoMessage ¶
func (*ResponseListIBC) ProtoMessage()
func (*ResponseListIBC) ProtoReflect ¶
func (x *ResponseListIBC) ProtoReflect() protoreflect.Message
func (*ResponseListIBC) Reset ¶
func (x *ResponseListIBC) Reset()
func (*ResponseListIBC) String ¶
func (x *ResponseListIBC) String() string
type Staking ¶
type Staking struct { StakingTokens []*StakingTokens `protobuf:"bytes,1,rep,name=staking_tokens,proto3" json:"staking_tokens,omitempty"` LockDuration *LockDuration `protobuf:"bytes,2,opt,name=lock_duration,proto3,oneof" json:"lock_duration,omitempty"` // contains filtered or unexported fields }
func (*Staking) Descriptor
deprecated
func (*Staking) GetLockDuration ¶
func (x *Staking) GetLockDuration() *LockDuration
func (*Staking) GetStakingTokens ¶
func (x *Staking) GetStakingTokens() []*StakingTokens
func (*Staking) ProtoMessage ¶
func (*Staking) ProtoMessage()
func (*Staking) ProtoReflect ¶
func (x *Staking) ProtoReflect() protoreflect.Message
type StakingTokens ¶
type StakingTokens struct { Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` // contains filtered or unexported fields }
func (*StakingTokens) Descriptor
deprecated
func (*StakingTokens) Descriptor() ([]byte, []int)
Deprecated: Use StakingTokens.ProtoReflect.Descriptor instead.
func (*StakingTokens) GetDenom ¶
func (x *StakingTokens) GetDenom() string
func (*StakingTokens) ProtoMessage ¶
func (*StakingTokens) ProtoMessage()
func (*StakingTokens) ProtoReflect ¶
func (x *StakingTokens) ProtoReflect() protoreflect.Message
func (*StakingTokens) Reset ¶
func (x *StakingTokens) Reset()
func (*StakingTokens) String ¶
func (x *StakingTokens) String() string
type TypeKey ¶
type TypeKey struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*TypeKey) Descriptor
deprecated
func (*TypeKey) ProtoMessage ¶
func (*TypeKey) ProtoMessage()
func (*TypeKey) ProtoReflect ¶
func (x *TypeKey) ProtoReflect() protoreflect.Message
type UnimplementedRegistryServer ¶
type UnimplementedRegistryServer struct { }
UnimplementedRegistryServer must be embedded to have forward compatible implementations.
func (UnimplementedRegistryServer) GetChain ¶
func (UnimplementedRegistryServer) GetChain(context.Context, *RequestChain) (*ChainRegistry, error)
func (UnimplementedRegistryServer) GetChainAssets ¶
func (UnimplementedRegistryServer) GetChainAssets(context.Context, *RequestChain) (*ResponseChainAssets, error)
func (UnimplementedRegistryServer) GetChainKeys ¶
func (UnimplementedRegistryServer) GetChainKeys(context.Context, *RequestChain) (*Keys, error)
func (UnimplementedRegistryServer) GetIBCInfo ¶
func (UnimplementedRegistryServer) GetIBCInfo(context.Context, *RequestIBCInfo) (*IBCData, error)
func (UnimplementedRegistryServer) ListChainAPIs ¶
func (UnimplementedRegistryServer) ListChainAPIs(context.Context, *RequestChain) (*APIs, error)
func (UnimplementedRegistryServer) ListChainIBC ¶
func (UnimplementedRegistryServer) ListChainIBC(context.Context, *RequestChain) (*ResponseListIBC, error)
func (UnimplementedRegistryServer) ListChainIDs ¶
func (UnimplementedRegistryServer) ListChainIDs(context.Context, *emptypb.Empty) (*ResponseChainIDs, error)
func (UnimplementedRegistryServer) ListChainPeers ¶
func (UnimplementedRegistryServer) ListChainPeers(context.Context, *RequestChain) (*Peers, error)
func (UnimplementedRegistryServer) ListChains ¶
func (UnimplementedRegistryServer) ListChains(context.Context, *emptypb.Empty) (*ResponseChains, error)
func (UnimplementedRegistryServer) ListIBC ¶
func (UnimplementedRegistryServer) ListIBC(context.Context, *emptypb.Empty) (*ResponseListIBC, error)
type UnsafeRegistryServer ¶
type UnsafeRegistryServer interface {
// contains filtered or unexported methods
}
UnsafeRegistryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RegistryServer will result in compilation errors.
type Versions ¶
type Versions struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"` Height uint32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` NextVersionName *string `protobuf:"bytes,4,opt,name=next_version_name,proto3,oneof" json:"next_version_name,omitempty"` // contains filtered or unexported fields }
func (*Versions) Descriptor
deprecated
func (*Versions) GetNextVersionName ¶
func (*Versions) ProtoMessage ¶
func (*Versions) ProtoMessage()
func (*Versions) ProtoReflect ¶
func (x *Versions) ProtoReflect() protoreflect.Message