Versions in this module Expand all Collapse all v0 v0.1.10 Jun 19, 2024 Changes in this version + var ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") + func RegisterQueryServer(s grpc1.Server, srv QueryServer) + type NetworkRequest struct + Id uint64 + Latest bool + func (*NetworkRequest) Descriptor() ([]byte, []int) + func (*NetworkRequest) ProtoMessage() + func (m *NetworkRequest) GetId() uint64 + func (m *NetworkRequest) GetLatest() bool + func (m *NetworkRequest) Marshal() (dAtA []byte, err error) + func (m *NetworkRequest) MarshalTo(dAtA []byte) (int, error) + func (m *NetworkRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *NetworkRequest) Reset() + func (m *NetworkRequest) Size() (n int) + func (m *NetworkRequest) String() string + func (m *NetworkRequest) Unmarshal(dAtA []byte) error + func (m *NetworkRequest) XXX_DiscardUnknown() + func (m *NetworkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *NetworkRequest) XXX_Merge(src proto.Message) + func (m *NetworkRequest) XXX_Size() int + func (m *NetworkRequest) XXX_Unmarshal(b []byte) error + type NetworkResponse struct + CreatedHeight uint64 + Id uint64 + Portals []*Portal + func (*NetworkResponse) Descriptor() ([]byte, []int) + func (*NetworkResponse) ProtoMessage() + func (m *NetworkResponse) GetCreatedHeight() uint64 + func (m *NetworkResponse) GetId() uint64 + func (m *NetworkResponse) GetPortals() []*Portal + func (m *NetworkResponse) Marshal() (dAtA []byte, err error) + func (m *NetworkResponse) MarshalTo(dAtA []byte) (int, error) + func (m *NetworkResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *NetworkResponse) Reset() + func (m *NetworkResponse) Size() (n int) + func (m *NetworkResponse) String() string + func (m *NetworkResponse) Unmarshal(dAtA []byte) error + func (m *NetworkResponse) XXX_DiscardUnknown() + func (m *NetworkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *NetworkResponse) XXX_Merge(src proto.Message) + func (m *NetworkResponse) XXX_Size() int + func (m *NetworkResponse) XXX_Unmarshal(b []byte) error + type Portal struct + Address []byte + ChainId uint64 + DeployHeight uint64 + ShardIds []uint64 + func (*Portal) Descriptor() ([]byte, []int) + func (*Portal) ProtoMessage() + func (m *Portal) GetAddress() []byte + func (m *Portal) GetChainId() uint64 + func (m *Portal) GetDeployHeight() uint64 + func (m *Portal) GetShardIds() []uint64 + func (m *Portal) Marshal() (dAtA []byte, err error) + func (m *Portal) MarshalTo(dAtA []byte) (int, error) + func (m *Portal) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Portal) Reset() + func (m *Portal) Size() (n int) + func (m *Portal) String() string + func (m *Portal) Unmarshal(dAtA []byte) error + func (m *Portal) XXX_DiscardUnknown() + func (m *Portal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Portal) XXX_Merge(src proto.Message) + func (m *Portal) XXX_Size() int + func (m *Portal) XXX_Unmarshal(b []byte) error + type QueryClient interface + Network func(ctx context.Context, in *NetworkRequest, opts ...grpc.CallOption) (*NetworkResponse, error) + func NewQueryClient(cc grpc1.ClientConn) QueryClient + type QueryServer interface + Network func(context.Context, *NetworkRequest) (*NetworkResponse, error) + type UnimplementedQueryServer struct + func (*UnimplementedQueryServer) Network(ctx context.Context, req *NetworkRequest) (*NetworkResponse, error) v0.1.9 Jun 14, 2024 Changes in this version + const ModuleName + type PortalRegistry interface + SupportedChain func(ctx context.Context, chainID uint64) (bool, error)