Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func KeyPrefix(p string) []byte
- func ParamKeyTable() paramtypes.KeyTable
- func RegisterCodec(cdc *codec.LegacyAmino)
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- type AccountKeeper
- type BankKeeper
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (gs GenesisState) Validate() error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgInitStation
- func (*MsgInitStation) Descriptor() ([]byte, []int)
- func (m *MsgInitStation) GetCreator() string
- func (msg *MsgInitStation) GetSignBytes() []byte
- func (msg *MsgInitStation) GetSigners() []sdk.AccAddress
- func (m *MsgInitStation) GetStationId() string
- func (m *MsgInitStation) GetStationInfo() string
- func (m *MsgInitStation) GetVerificationKey() []byte
- func (m *MsgInitStation) Marshal() (dAtA []byte, err error)
- func (m *MsgInitStation) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgInitStation) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgInitStation) ProtoMessage()
- func (m *MsgInitStation) Reset()
- func (msg *MsgInitStation) Route() string
- func (m *MsgInitStation) Size() (n int)
- func (m *MsgInitStation) String() string
- func (msg *MsgInitStation) Type() string
- func (m *MsgInitStation) Unmarshal(dAtA []byte) error
- func (msg *MsgInitStation) ValidateBasic() error
- func (m *MsgInitStation) XXX_DiscardUnknown()
- func (m *MsgInitStation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgInitStation) XXX_Merge(src proto.Message)
- func (m *MsgInitStation) XXX_Size() int
- func (m *MsgInitStation) XXX_Unmarshal(b []byte) error
- type MsgInitStationResponse
- func (*MsgInitStationResponse) Descriptor() ([]byte, []int)
- func (m *MsgInitStationResponse) GetStationId() string
- func (m *MsgInitStationResponse) GetStatus() bool
- func (m *MsgInitStationResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgInitStationResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgInitStationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgInitStationResponse) ProtoMessage()
- func (m *MsgInitStationResponse) Reset()
- func (m *MsgInitStationResponse) Size() (n int)
- func (m *MsgInitStationResponse) String() string
- func (m *MsgInitStationResponse) Unmarshal(dAtA []byte) error
- func (m *MsgInitStationResponse) XXX_DiscardUnknown()
- func (m *MsgInitStationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgInitStationResponse) XXX_Merge(src proto.Message)
- func (m *MsgInitStationResponse) XXX_Size() int
- func (m *MsgInitStationResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgSubmitPod
- func (*MsgSubmitPod) Descriptor() ([]byte, []int)
- func (m *MsgSubmitPod) GetCreator() string
- func (m *MsgSubmitPod) GetMerkleRootHash() string
- func (m *MsgSubmitPod) GetPodNumber() uint64
- func (m *MsgSubmitPod) GetPreviousMerkleRootHash() string
- func (m *MsgSubmitPod) GetPublicWitness() []byte
- func (msg *MsgSubmitPod) GetSignBytes() []byte
- func (msg *MsgSubmitPod) GetSigners() []sdk.AccAddress
- func (m *MsgSubmitPod) GetStationId() string
- func (m *MsgSubmitPod) GetTimestamp() uint64
- func (m *MsgSubmitPod) Marshal() (dAtA []byte, err error)
- func (m *MsgSubmitPod) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSubmitPod) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSubmitPod) ProtoMessage()
- func (m *MsgSubmitPod) Reset()
- func (msg *MsgSubmitPod) Route() string
- func (m *MsgSubmitPod) Size() (n int)
- func (m *MsgSubmitPod) String() string
- func (msg *MsgSubmitPod) Type() string
- func (m *MsgSubmitPod) Unmarshal(dAtA []byte) error
- func (msg *MsgSubmitPod) ValidateBasic() error
- func (m *MsgSubmitPod) XXX_DiscardUnknown()
- func (m *MsgSubmitPod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSubmitPod) XXX_Merge(src proto.Message)
- func (m *MsgSubmitPod) XXX_Size() int
- func (m *MsgSubmitPod) XXX_Unmarshal(b []byte) error
- type MsgSubmitPodResponse
- func (*MsgSubmitPodResponse) Descriptor() ([]byte, []int)
- func (m *MsgSubmitPodResponse) GetPodStatus() bool
- func (m *MsgSubmitPodResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSubmitPodResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSubmitPodResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSubmitPodResponse) ProtoMessage()
- func (m *MsgSubmitPodResponse) Reset()
- func (m *MsgSubmitPodResponse) Size() (n int)
- func (m *MsgSubmitPodResponse) String() string
- func (m *MsgSubmitPodResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSubmitPodResponse) XXX_DiscardUnknown()
- func (m *MsgSubmitPodResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSubmitPodResponse) XXX_Merge(src proto.Message)
- func (m *MsgSubmitPodResponse) XXX_Size() int
- func (m *MsgSubmitPodResponse) XXX_Unmarshal(b []byte) error
- type MsgVerifyPod
- func (*MsgVerifyPod) Descriptor() ([]byte, []int)
- func (m *MsgVerifyPod) GetCreator() string
- func (m *MsgVerifyPod) GetMerkleRootHash() string
- func (m *MsgVerifyPod) GetPodNumber() uint64
- func (m *MsgVerifyPod) GetPreviousMerkleRootHash() string
- func (msg *MsgVerifyPod) GetSignBytes() []byte
- func (msg *MsgVerifyPod) GetSigners() []sdk.AccAddress
- func (m *MsgVerifyPod) GetStationId() string
- func (m *MsgVerifyPod) GetZkProof() []byte
- func (m *MsgVerifyPod) Marshal() (dAtA []byte, err error)
- func (m *MsgVerifyPod) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgVerifyPod) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgVerifyPod) ProtoMessage()
- func (m *MsgVerifyPod) Reset()
- func (msg *MsgVerifyPod) Route() string
- func (m *MsgVerifyPod) Size() (n int)
- func (m *MsgVerifyPod) String() string
- func (msg *MsgVerifyPod) Type() string
- func (m *MsgVerifyPod) Unmarshal(dAtA []byte) error
- func (msg *MsgVerifyPod) ValidateBasic() error
- func (m *MsgVerifyPod) XXX_DiscardUnknown()
- func (m *MsgVerifyPod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgVerifyPod) XXX_Merge(src proto.Message)
- func (m *MsgVerifyPod) XXX_Size() int
- func (m *MsgVerifyPod) XXX_Unmarshal(b []byte) error
- type MsgVerifyPodResponse
- func (*MsgVerifyPodResponse) Descriptor() ([]byte, []int)
- func (m *MsgVerifyPodResponse) GetIsVerified() bool
- func (m *MsgVerifyPodResponse) GetMessage() string
- func (m *MsgVerifyPodResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgVerifyPodResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgVerifyPodResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgVerifyPodResponse) ProtoMessage()
- func (m *MsgVerifyPodResponse) Reset()
- func (m *MsgVerifyPodResponse) Size() (n int)
- func (m *MsgVerifyPodResponse) String() string
- func (m *MsgVerifyPodResponse) Unmarshal(dAtA []byte) error
- func (m *MsgVerifyPodResponse) XXX_DiscardUnknown()
- func (m *MsgVerifyPodResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgVerifyPodResponse) XXX_Merge(src proto.Message)
- func (m *MsgVerifyPodResponse) XXX_Size() int
- func (m *MsgVerifyPodResponse) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (p Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p Params) Validate() error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type Pods
- func (*Pods) Descriptor() ([]byte, []int)
- func (m *Pods) GetIsVerified() bool
- func (m *Pods) GetMerkleRootHash() string
- func (m *Pods) GetPodNumber() uint64
- func (m *Pods) GetPreviousMerkleRootHash() string
- func (m *Pods) GetTimestamp() uint64
- func (m *Pods) GetWitness() []byte
- func (m *Pods) GetZkProof() []byte
- func (m *Pods) Marshal() (dAtA []byte, err error)
- func (m *Pods) MarshalTo(dAtA []byte) (int, error)
- func (m *Pods) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Pods) ProtoMessage()
- func (m *Pods) Reset()
- func (m *Pods) Size() (n int)
- func (m *Pods) String() string
- func (m *Pods) Unmarshal(dAtA []byte) error
- func (m *Pods) XXX_DiscardUnknown()
- func (m *Pods) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Pods) XXX_Merge(src proto.Message)
- func (m *Pods) XXX_Size() int
- func (m *Pods) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryConfirmPodVerificationRequest
- func (*QueryConfirmPodVerificationRequest) Descriptor() ([]byte, []int)
- func (m *QueryConfirmPodVerificationRequest) GetMerkleRootHash() string
- func (m *QueryConfirmPodVerificationRequest) GetPodNumber() uint64
- func (m *QueryConfirmPodVerificationRequest) GetPreviousMerkleRootHash() string
- func (m *QueryConfirmPodVerificationRequest) GetStationId() string
- func (m *QueryConfirmPodVerificationRequest) GetZkProof() []byte
- func (m *QueryConfirmPodVerificationRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryConfirmPodVerificationRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryConfirmPodVerificationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryConfirmPodVerificationRequest) ProtoMessage()
- func (m *QueryConfirmPodVerificationRequest) Reset()
- func (m *QueryConfirmPodVerificationRequest) Size() (n int)
- func (m *QueryConfirmPodVerificationRequest) String() string
- func (m *QueryConfirmPodVerificationRequest) Unmarshal(dAtA []byte) error
- func (m *QueryConfirmPodVerificationRequest) XXX_DiscardUnknown()
- func (m *QueryConfirmPodVerificationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryConfirmPodVerificationRequest) XXX_Merge(src proto.Message)
- func (m *QueryConfirmPodVerificationRequest) XXX_Size() int
- func (m *QueryConfirmPodVerificationRequest) XXX_Unmarshal(b []byte) error
- type QueryConfirmPodVerificationResponse
- func (*QueryConfirmPodVerificationResponse) Descriptor() ([]byte, []int)
- func (m *QueryConfirmPodVerificationResponse) GetIsVerified() bool
- func (m *QueryConfirmPodVerificationResponse) GetMessage() string
- func (m *QueryConfirmPodVerificationResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryConfirmPodVerificationResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryConfirmPodVerificationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryConfirmPodVerificationResponse) ProtoMessage()
- func (m *QueryConfirmPodVerificationResponse) Reset()
- func (m *QueryConfirmPodVerificationResponse) Size() (n int)
- func (m *QueryConfirmPodVerificationResponse) String() string
- func (m *QueryConfirmPodVerificationResponse) Unmarshal(dAtA []byte) error
- func (m *QueryConfirmPodVerificationResponse) XXX_DiscardUnknown()
- func (m *QueryConfirmPodVerificationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryConfirmPodVerificationResponse) XXX_Merge(src proto.Message)
- func (m *QueryConfirmPodVerificationResponse) XXX_Size() int
- func (m *QueryConfirmPodVerificationResponse) XXX_Unmarshal(b []byte) error
- type QueryGetLatestSubmittedPodNumberRequest
- func (*QueryGetLatestSubmittedPodNumberRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetLatestSubmittedPodNumberRequest) GetStationId() string
- func (m *QueryGetLatestSubmittedPodNumberRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetLatestSubmittedPodNumberRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetLatestSubmittedPodNumberRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetLatestSubmittedPodNumberRequest) ProtoMessage()
- func (m *QueryGetLatestSubmittedPodNumberRequest) Reset()
- func (m *QueryGetLatestSubmittedPodNumberRequest) Size() (n int)
- func (m *QueryGetLatestSubmittedPodNumberRequest) String() string
- func (m *QueryGetLatestSubmittedPodNumberRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetLatestSubmittedPodNumberRequest) XXX_DiscardUnknown()
- func (m *QueryGetLatestSubmittedPodNumberRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetLatestSubmittedPodNumberRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetLatestSubmittedPodNumberRequest) XXX_Size() int
- func (m *QueryGetLatestSubmittedPodNumberRequest) XXX_Unmarshal(b []byte) error
- type QueryGetLatestSubmittedPodNumberResponse
- func (*QueryGetLatestSubmittedPodNumberResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetLatestSubmittedPodNumberResponse) GetMessage() string
- func (m *QueryGetLatestSubmittedPodNumberResponse) GetPodNumber() uint64
- func (m *QueryGetLatestSubmittedPodNumberResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetLatestSubmittedPodNumberResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetLatestSubmittedPodNumberResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetLatestSubmittedPodNumberResponse) ProtoMessage()
- func (m *QueryGetLatestSubmittedPodNumberResponse) Reset()
- func (m *QueryGetLatestSubmittedPodNumberResponse) Size() (n int)
- func (m *QueryGetLatestSubmittedPodNumberResponse) String() string
- func (m *QueryGetLatestSubmittedPodNumberResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetLatestSubmittedPodNumberResponse) XXX_DiscardUnknown()
- func (m *QueryGetLatestSubmittedPodNumberResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetLatestSubmittedPodNumberResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetLatestSubmittedPodNumberResponse) XXX_Size() int
- func (m *QueryGetLatestSubmittedPodNumberResponse) XXX_Unmarshal(b []byte) error
- type QueryGetLatestVerifiedPodNumberRequest
- func (*QueryGetLatestVerifiedPodNumberRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetLatestVerifiedPodNumberRequest) GetStationId() string
- func (m *QueryGetLatestVerifiedPodNumberRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetLatestVerifiedPodNumberRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetLatestVerifiedPodNumberRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetLatestVerifiedPodNumberRequest) ProtoMessage()
- func (m *QueryGetLatestVerifiedPodNumberRequest) Reset()
- func (m *QueryGetLatestVerifiedPodNumberRequest) Size() (n int)
- func (m *QueryGetLatestVerifiedPodNumberRequest) String() string
- func (m *QueryGetLatestVerifiedPodNumberRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetLatestVerifiedPodNumberRequest) XXX_DiscardUnknown()
- func (m *QueryGetLatestVerifiedPodNumberRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetLatestVerifiedPodNumberRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetLatestVerifiedPodNumberRequest) XXX_Size() int
- func (m *QueryGetLatestVerifiedPodNumberRequest) XXX_Unmarshal(b []byte) error
- type QueryGetLatestVerifiedPodNumberResponse
- func (*QueryGetLatestVerifiedPodNumberResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetLatestVerifiedPodNumberResponse) GetMessage() string
- func (m *QueryGetLatestVerifiedPodNumberResponse) GetPodNumber() uint64
- func (m *QueryGetLatestVerifiedPodNumberResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetLatestVerifiedPodNumberResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetLatestVerifiedPodNumberResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetLatestVerifiedPodNumberResponse) ProtoMessage()
- func (m *QueryGetLatestVerifiedPodNumberResponse) Reset()
- func (m *QueryGetLatestVerifiedPodNumberResponse) Size() (n int)
- func (m *QueryGetLatestVerifiedPodNumberResponse) String() string
- func (m *QueryGetLatestVerifiedPodNumberResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetLatestVerifiedPodNumberResponse) XXX_DiscardUnknown()
- func (m *QueryGetLatestVerifiedPodNumberResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetLatestVerifiedPodNumberResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetLatestVerifiedPodNumberResponse) XXX_Size() int
- func (m *QueryGetLatestVerifiedPodNumberResponse) XXX_Unmarshal(b []byte) error
- type QueryGetPodRequest
- func (*QueryGetPodRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetPodRequest) GetPodNumber() uint64
- func (m *QueryGetPodRequest) GetStationId() string
- func (m *QueryGetPodRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetPodRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetPodRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetPodRequest) ProtoMessage()
- func (m *QueryGetPodRequest) Reset()
- func (m *QueryGetPodRequest) Size() (n int)
- func (m *QueryGetPodRequest) String() string
- func (m *QueryGetPodRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetPodRequest) XXX_DiscardUnknown()
- func (m *QueryGetPodRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetPodRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetPodRequest) XXX_Size() int
- func (m *QueryGetPodRequest) XXX_Unmarshal(b []byte) error
- type QueryGetPodResponse
- func (*QueryGetPodResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetPodResponse) GetPod() *Pods
- func (m *QueryGetPodResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetPodResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetPodResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetPodResponse) ProtoMessage()
- func (m *QueryGetPodResponse) Reset()
- func (m *QueryGetPodResponse) Size() (n int)
- func (m *QueryGetPodResponse) String() string
- func (m *QueryGetPodResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetPodResponse) XXX_DiscardUnknown()
- func (m *QueryGetPodResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetPodResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetPodResponse) XXX_Size() int
- func (m *QueryGetPodResponse) XXX_Unmarshal(b []byte) error
- type QueryGetStationDetailsByAddressRequest
- func (*QueryGetStationDetailsByAddressRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetStationDetailsByAddressRequest) GetAddress() string
- func (m *QueryGetStationDetailsByAddressRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetStationDetailsByAddressRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetStationDetailsByAddressRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetStationDetailsByAddressRequest) ProtoMessage()
- func (m *QueryGetStationDetailsByAddressRequest) Reset()
- func (m *QueryGetStationDetailsByAddressRequest) Size() (n int)
- func (m *QueryGetStationDetailsByAddressRequest) String() string
- func (m *QueryGetStationDetailsByAddressRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetStationDetailsByAddressRequest) XXX_DiscardUnknown()
- func (m *QueryGetStationDetailsByAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetStationDetailsByAddressRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetStationDetailsByAddressRequest) XXX_Size() int
- func (m *QueryGetStationDetailsByAddressRequest) XXX_Unmarshal(b []byte) error
- type QueryGetStationDetailsByAddressResponse
- func (*QueryGetStationDetailsByAddressResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetStationDetailsByAddressResponse) GetStation() *Stations
- func (m *QueryGetStationDetailsByAddressResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetStationDetailsByAddressResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetStationDetailsByAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetStationDetailsByAddressResponse) ProtoMessage()
- func (m *QueryGetStationDetailsByAddressResponse) Reset()
- func (m *QueryGetStationDetailsByAddressResponse) Size() (n int)
- func (m *QueryGetStationDetailsByAddressResponse) String() string
- func (m *QueryGetStationDetailsByAddressResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetStationDetailsByAddressResponse) XXX_DiscardUnknown()
- func (m *QueryGetStationDetailsByAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetStationDetailsByAddressResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetStationDetailsByAddressResponse) XXX_Size() int
- func (m *QueryGetStationDetailsByAddressResponse) XXX_Unmarshal(b []byte) error
- type QueryGetStationRequest
- func (*QueryGetStationRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetStationRequest) GetId() string
- func (m *QueryGetStationRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetStationRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetStationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetStationRequest) ProtoMessage()
- func (m *QueryGetStationRequest) Reset()
- func (m *QueryGetStationRequest) Size() (n int)
- func (m *QueryGetStationRequest) String() string
- func (m *QueryGetStationRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetStationRequest) XXX_DiscardUnknown()
- func (m *QueryGetStationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetStationRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetStationRequest) XXX_Size() int
- func (m *QueryGetStationRequest) XXX_Unmarshal(b []byte) error
- type QueryGetStationResponse
- func (*QueryGetStationResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetStationResponse) GetStations() *Stations
- func (m *QueryGetStationResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetStationResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetStationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetStationResponse) ProtoMessage()
- func (m *QueryGetStationResponse) Reset()
- func (m *QueryGetStationResponse) Size() (n int)
- func (m *QueryGetStationResponse) String() string
- func (m *QueryGetStationResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetStationResponse) XXX_DiscardUnknown()
- func (m *QueryGetStationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetStationResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetStationResponse) XXX_Size() int
- func (m *QueryGetStationResponse) XXX_Unmarshal(b []byte) error
- type QueryListStationsRequest
- func (*QueryListStationsRequest) Descriptor() ([]byte, []int)
- func (m *QueryListStationsRequest) GetPagination() *query.PageRequest
- func (m *QueryListStationsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryListStationsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryListStationsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryListStationsRequest) ProtoMessage()
- func (m *QueryListStationsRequest) Reset()
- func (m *QueryListStationsRequest) Size() (n int)
- func (m *QueryListStationsRequest) String() string
- func (m *QueryListStationsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryListStationsRequest) XXX_DiscardUnknown()
- func (m *QueryListStationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryListStationsRequest) XXX_Merge(src proto.Message)
- func (m *QueryListStationsRequest) XXX_Size() int
- func (m *QueryListStationsRequest) XXX_Unmarshal(b []byte) error
- type QueryListStationsResponse
- func (*QueryListStationsResponse) Descriptor() ([]byte, []int)
- func (m *QueryListStationsResponse) GetPagination() *query.PageResponse
- func (m *QueryListStationsResponse) GetStationsList() []Stations
- func (m *QueryListStationsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryListStationsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryListStationsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryListStationsResponse) ProtoMessage()
- func (m *QueryListStationsResponse) Reset()
- func (m *QueryListStationsResponse) Size() (n int)
- func (m *QueryListStationsResponse) String() string
- func (m *QueryListStationsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryListStationsResponse) XXX_DiscardUnknown()
- func (m *QueryListStationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryListStationsResponse) XXX_Merge(src proto.Message)
- func (m *QueryListStationsResponse) XXX_Size() int
- func (m *QueryListStationsResponse) XXX_Unmarshal(b []byte) error
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type StationVerificationKey
- func (*StationVerificationKey) Descriptor() ([]byte, []int)
- func (m *StationVerificationKey) GetStationId() string
- func (m *StationVerificationKey) GetVerificationKey() []byte
- func (m *StationVerificationKey) Marshal() (dAtA []byte, err error)
- func (m *StationVerificationKey) MarshalTo(dAtA []byte) (int, error)
- func (m *StationVerificationKey) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StationVerificationKey) ProtoMessage()
- func (m *StationVerificationKey) Reset()
- func (m *StationVerificationKey) Size() (n int)
- func (m *StationVerificationKey) String() string
- func (m *StationVerificationKey) Unmarshal(dAtA []byte) error
- func (m *StationVerificationKey) XXX_DiscardUnknown()
- func (m *StationVerificationKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StationVerificationKey) XXX_Merge(src proto.Message)
- func (m *StationVerificationKey) XXX_Size() int
- func (m *StationVerificationKey) XXX_Unmarshal(b []byte) error
- type Stations
- func (*Stations) Descriptor() ([]byte, []int)
- func (m *Stations) GetCreator() string
- func (m *Stations) GetId() string
- func (m *Stations) GetLatestMerkleRootHash() string
- func (m *Stations) GetLatestPod() uint64
- func (m *Stations) GetStationInfo() string
- func (m *Stations) GetTracks() []string
- func (m *Stations) GetVerificationKey() []byte
- func (m *Stations) GetVotingPower() []uint64
- func (m *Stations) Marshal() (dAtA []byte, err error)
- func (m *Stations) MarshalTo(dAtA []byte) (int, error)
- func (m *Stations) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Stations) ProtoMessage()
- func (m *Stations) Reset()
- func (m *Stations) Size() (n int)
- func (m *Stations) String() string
- func (m *Stations) Unmarshal(dAtA []byte) error
- func (m *Stations) XXX_DiscardUnknown()
- func (m *Stations) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Stations) XXX_Merge(src proto.Message)
- func (m *Stations) XXX_Size() int
- func (m *Stations) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) InitStation(ctx context.Context, req *MsgInitStation) (*MsgInitStationResponse, error)
- func (*UnimplementedMsgServer) SubmitPod(ctx context.Context, req *MsgSubmitPod) (*MsgSubmitPodResponse, error)
- func (*UnimplementedMsgServer) VerifyPod(ctx context.Context, req *MsgVerifyPod) (*MsgVerifyPodResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) ConfirmPodVerification(ctx context.Context, req *QueryConfirmPodVerificationRequest) (*QueryConfirmPodVerificationResponse, error)
- func (*UnimplementedQueryServer) GetLatestSubmittedPodNumber(ctx context.Context, req *QueryGetLatestSubmittedPodNumberRequest) (*QueryGetLatestSubmittedPodNumberResponse, error)
- func (*UnimplementedQueryServer) GetLatestVerifiedPodNumber(ctx context.Context, req *QueryGetLatestVerifiedPodNumberRequest) (*QueryGetLatestVerifiedPodNumberResponse, error)
- func (*UnimplementedQueryServer) GetPod(ctx context.Context, req *QueryGetPodRequest) (*QueryGetPodResponse, error)
- func (*UnimplementedQueryServer) GetStation(ctx context.Context, req *QueryGetStationRequest) (*QueryGetStationResponse, error)
- func (*UnimplementedQueryServer) GetStationDetailsByAddress(ctx context.Context, req *QueryGetStationDetailsByAddressRequest) (*QueryGetStationDetailsByAddressResponse, error)
- func (*UnimplementedQueryServer) ListStations(ctx context.Context, req *QueryListStationsRequest) (*QueryListStationsResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
Constants ¶
const ( // ModuleName defines the module name ModuleName = "junction" // StoreKey defines the primary module store key StoreKey = ModuleName // RouterKey defines the module's message routing key RouterKey = ModuleName // MemStoreKey defines the in-memory store key MemStoreKey = "mem_junction" // our custom keys // StationRegistryKeys StationRegistryKeys = "Station/StationRegistry/" //StationVerificationKeyKeys = "Station/VerificationKey/" StationDataKey = "Station/Data/" FiguresDBPath = "Figure/Data/" )
const DefaultIndex uint64 = 1
DefaultIndex is the default global index
const TypeMsgInitStation = "init_station"
const TypeMsgSubmitPod = "submit_pod"
const TypeMsgVerifyPod = "verify_pod"
Variables ¶
var ( Amino = codec.NewLegacyAmino() ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) )
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthPods = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowPods = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupPods = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthStationVerificationKey = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowStationVerificationKey = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupStationVerificationKey = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthStations = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowStations = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupStations = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var (
ErrSample = sdkerrors.Register(ModuleName, 1100, "sample error")
)
x/junction module sentinel errors
Functions ¶
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable the param key table for launch module
func RegisterCodec ¶
func RegisterCodec(cdc *codec.LegacyAmino)
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
func RegisterMsgServer ¶
func RegisterQueryHandler ¶
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶
func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.
func RegisterQueryHandlerFromEndpoint ¶
func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryHandlerServer ¶
func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer 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 RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
Types ¶
type AccountKeeper ¶
AccountKeeper defines the expected account keeper used for simulations (noalias)
type BankKeeper ¶
BankKeeper defines the expected interface needed to retrieve account balances.
type GenesisState ¶
type GenesisState struct {
Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}
GenesisState defines the junction module's genesis state.
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
DefaultGenesis returns the default genesis state
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (GenesisState) Validate ¶
func (gs GenesisState) Validate() error
Validate performs basic genesis state validation returning an error upon any failure.
func (*GenesisState) XXX_DiscardUnknown ¶
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { InitStation(ctx context.Context, in *MsgInitStation, opts ...grpc.CallOption) (*MsgInitStationResponse, error) SubmitPod(ctx context.Context, in *MsgSubmitPod, opts ...grpc.CallOption) (*MsgSubmitPodResponse, error) VerifyPod(ctx context.Context, in *MsgVerifyPod, opts ...grpc.CallOption) (*MsgVerifyPodResponse, error) }
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc1.ClientConn) MsgClient
type MsgInitStation ¶
type MsgInitStation struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` VerificationKey []byte `protobuf:"bytes,2,opt,name=verificationKey,proto3" json:"verificationKey,omitempty"` StationId string `protobuf:"bytes,3,opt,name=stationId,proto3" json:"stationId,omitempty"` StationInfo string `protobuf:"bytes,4,opt,name=stationInfo,proto3" json:"stationInfo,omitempty"` }
func NewMsgInitStation ¶
func NewMsgInitStation(creator string, verificationKey []byte, stationId string, stationInfo string) *MsgInitStation
func (*MsgInitStation) Descriptor ¶
func (*MsgInitStation) Descriptor() ([]byte, []int)
func (*MsgInitStation) GetCreator ¶
func (m *MsgInitStation) GetCreator() string
func (*MsgInitStation) GetSignBytes ¶
func (msg *MsgInitStation) GetSignBytes() []byte
func (*MsgInitStation) GetSigners ¶
func (msg *MsgInitStation) GetSigners() []sdk.AccAddress
func (*MsgInitStation) GetStationId ¶
func (m *MsgInitStation) GetStationId() string
func (*MsgInitStation) GetStationInfo ¶
func (m *MsgInitStation) GetStationInfo() string
func (*MsgInitStation) GetVerificationKey ¶
func (m *MsgInitStation) GetVerificationKey() []byte
func (*MsgInitStation) Marshal ¶
func (m *MsgInitStation) Marshal() (dAtA []byte, err error)
func (*MsgInitStation) MarshalToSizedBuffer ¶
func (m *MsgInitStation) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgInitStation) ProtoMessage ¶
func (*MsgInitStation) ProtoMessage()
func (*MsgInitStation) Reset ¶
func (m *MsgInitStation) Reset()
func (*MsgInitStation) Route ¶
func (msg *MsgInitStation) Route() string
func (*MsgInitStation) Size ¶
func (m *MsgInitStation) Size() (n int)
func (*MsgInitStation) String ¶
func (m *MsgInitStation) String() string
func (*MsgInitStation) Type ¶
func (msg *MsgInitStation) Type() string
func (*MsgInitStation) Unmarshal ¶
func (m *MsgInitStation) Unmarshal(dAtA []byte) error
func (*MsgInitStation) ValidateBasic ¶
func (msg *MsgInitStation) ValidateBasic() error
func (*MsgInitStation) XXX_DiscardUnknown ¶
func (m *MsgInitStation) XXX_DiscardUnknown()
func (*MsgInitStation) XXX_Marshal ¶
func (m *MsgInitStation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgInitStation) XXX_Merge ¶
func (m *MsgInitStation) XXX_Merge(src proto.Message)
func (*MsgInitStation) XXX_Size ¶
func (m *MsgInitStation) XXX_Size() int
func (*MsgInitStation) XXX_Unmarshal ¶
func (m *MsgInitStation) XXX_Unmarshal(b []byte) error
type MsgInitStationResponse ¶
type MsgInitStationResponse struct { Status bool `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` StationId string `protobuf:"bytes,2,opt,name=stationId,proto3" json:"stationId,omitempty"` }
func (*MsgInitStationResponse) Descriptor ¶
func (*MsgInitStationResponse) Descriptor() ([]byte, []int)
func (*MsgInitStationResponse) GetStationId ¶
func (m *MsgInitStationResponse) GetStationId() string
func (*MsgInitStationResponse) GetStatus ¶
func (m *MsgInitStationResponse) GetStatus() bool
func (*MsgInitStationResponse) Marshal ¶
func (m *MsgInitStationResponse) Marshal() (dAtA []byte, err error)
func (*MsgInitStationResponse) MarshalTo ¶
func (m *MsgInitStationResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgInitStationResponse) MarshalToSizedBuffer ¶
func (m *MsgInitStationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgInitStationResponse) ProtoMessage ¶
func (*MsgInitStationResponse) ProtoMessage()
func (*MsgInitStationResponse) Reset ¶
func (m *MsgInitStationResponse) Reset()
func (*MsgInitStationResponse) Size ¶
func (m *MsgInitStationResponse) Size() (n int)
func (*MsgInitStationResponse) String ¶
func (m *MsgInitStationResponse) String() string
func (*MsgInitStationResponse) Unmarshal ¶
func (m *MsgInitStationResponse) Unmarshal(dAtA []byte) error
func (*MsgInitStationResponse) XXX_DiscardUnknown ¶
func (m *MsgInitStationResponse) XXX_DiscardUnknown()
func (*MsgInitStationResponse) XXX_Marshal ¶
func (m *MsgInitStationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgInitStationResponse) XXX_Merge ¶
func (m *MsgInitStationResponse) XXX_Merge(src proto.Message)
func (*MsgInitStationResponse) XXX_Size ¶
func (m *MsgInitStationResponse) XXX_Size() int
func (*MsgInitStationResponse) XXX_Unmarshal ¶
func (m *MsgInitStationResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { InitStation(context.Context, *MsgInitStation) (*MsgInitStationResponse, error) SubmitPod(context.Context, *MsgSubmitPod) (*MsgSubmitPodResponse, error) VerifyPod(context.Context, *MsgVerifyPod) (*MsgVerifyPodResponse, error) }
MsgServer is the server API for Msg service.
type MsgSubmitPod ¶
type MsgSubmitPod struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` StationId string `protobuf:"bytes,2,opt,name=stationId,proto3" json:"stationId,omitempty"` PodNumber uint64 `protobuf:"varint,3,opt,name=podNumber,proto3" json:"podNumber,omitempty"` MerkleRootHash string `protobuf:"bytes,4,opt,name=merkleRootHash,proto3" json:"merkleRootHash,omitempty"` PreviousMerkleRootHash string `protobuf:"bytes,5,opt,name=previousMerkleRootHash,proto3" json:"previousMerkleRootHash,omitempty"` PublicWitness []byte `protobuf:"bytes,6,opt,name=publicWitness,proto3" json:"publicWitness,omitempty"` Timestamp uint64 `protobuf:"varint,7,opt,name=timestamp,proto3" json:"timestamp,omitempty"` }
func NewMsgSubmitPod ¶
func (*MsgSubmitPod) Descriptor ¶
func (*MsgSubmitPod) Descriptor() ([]byte, []int)
func (*MsgSubmitPod) GetCreator ¶
func (m *MsgSubmitPod) GetCreator() string
func (*MsgSubmitPod) GetMerkleRootHash ¶
func (m *MsgSubmitPod) GetMerkleRootHash() string
func (*MsgSubmitPod) GetPodNumber ¶
func (m *MsgSubmitPod) GetPodNumber() uint64
func (*MsgSubmitPod) GetPreviousMerkleRootHash ¶
func (m *MsgSubmitPod) GetPreviousMerkleRootHash() string
func (*MsgSubmitPod) GetPublicWitness ¶
func (m *MsgSubmitPod) GetPublicWitness() []byte
func (*MsgSubmitPod) GetSignBytes ¶
func (msg *MsgSubmitPod) GetSignBytes() []byte
func (*MsgSubmitPod) GetSigners ¶
func (msg *MsgSubmitPod) GetSigners() []sdk.AccAddress
func (*MsgSubmitPod) GetStationId ¶
func (m *MsgSubmitPod) GetStationId() string
func (*MsgSubmitPod) GetTimestamp ¶
func (m *MsgSubmitPod) GetTimestamp() uint64
func (*MsgSubmitPod) Marshal ¶
func (m *MsgSubmitPod) Marshal() (dAtA []byte, err error)
func (*MsgSubmitPod) MarshalToSizedBuffer ¶
func (m *MsgSubmitPod) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSubmitPod) ProtoMessage ¶
func (*MsgSubmitPod) ProtoMessage()
func (*MsgSubmitPod) Reset ¶
func (m *MsgSubmitPod) Reset()
func (*MsgSubmitPod) Route ¶
func (msg *MsgSubmitPod) Route() string
func (*MsgSubmitPod) Size ¶
func (m *MsgSubmitPod) Size() (n int)
func (*MsgSubmitPod) String ¶
func (m *MsgSubmitPod) String() string
func (*MsgSubmitPod) Type ¶
func (msg *MsgSubmitPod) Type() string
func (*MsgSubmitPod) Unmarshal ¶
func (m *MsgSubmitPod) Unmarshal(dAtA []byte) error
func (*MsgSubmitPod) ValidateBasic ¶
func (msg *MsgSubmitPod) ValidateBasic() error
func (*MsgSubmitPod) XXX_DiscardUnknown ¶
func (m *MsgSubmitPod) XXX_DiscardUnknown()
func (*MsgSubmitPod) XXX_Marshal ¶
func (m *MsgSubmitPod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSubmitPod) XXX_Merge ¶
func (m *MsgSubmitPod) XXX_Merge(src proto.Message)
func (*MsgSubmitPod) XXX_Size ¶
func (m *MsgSubmitPod) XXX_Size() int
func (*MsgSubmitPod) XXX_Unmarshal ¶
func (m *MsgSubmitPod) XXX_Unmarshal(b []byte) error
type MsgSubmitPodResponse ¶
type MsgSubmitPodResponse struct {
PodStatus bool `protobuf:"varint,1,opt,name=podStatus,proto3" json:"podStatus,omitempty"`
}
func (*MsgSubmitPodResponse) Descriptor ¶
func (*MsgSubmitPodResponse) Descriptor() ([]byte, []int)
func (*MsgSubmitPodResponse) GetPodStatus ¶
func (m *MsgSubmitPodResponse) GetPodStatus() bool
func (*MsgSubmitPodResponse) Marshal ¶
func (m *MsgSubmitPodResponse) Marshal() (dAtA []byte, err error)
func (*MsgSubmitPodResponse) MarshalTo ¶
func (m *MsgSubmitPodResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgSubmitPodResponse) MarshalToSizedBuffer ¶
func (m *MsgSubmitPodResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSubmitPodResponse) ProtoMessage ¶
func (*MsgSubmitPodResponse) ProtoMessage()
func (*MsgSubmitPodResponse) Reset ¶
func (m *MsgSubmitPodResponse) Reset()
func (*MsgSubmitPodResponse) Size ¶
func (m *MsgSubmitPodResponse) Size() (n int)
func (*MsgSubmitPodResponse) String ¶
func (m *MsgSubmitPodResponse) String() string
func (*MsgSubmitPodResponse) Unmarshal ¶
func (m *MsgSubmitPodResponse) Unmarshal(dAtA []byte) error
func (*MsgSubmitPodResponse) XXX_DiscardUnknown ¶
func (m *MsgSubmitPodResponse) XXX_DiscardUnknown()
func (*MsgSubmitPodResponse) XXX_Marshal ¶
func (m *MsgSubmitPodResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSubmitPodResponse) XXX_Merge ¶
func (m *MsgSubmitPodResponse) XXX_Merge(src proto.Message)
func (*MsgSubmitPodResponse) XXX_Size ¶
func (m *MsgSubmitPodResponse) XXX_Size() int
func (*MsgSubmitPodResponse) XXX_Unmarshal ¶
func (m *MsgSubmitPodResponse) XXX_Unmarshal(b []byte) error
type MsgVerifyPod ¶
type MsgVerifyPod struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` StationId string `protobuf:"bytes,2,opt,name=stationId,proto3" json:"stationId,omitempty"` PodNumber uint64 `protobuf:"varint,3,opt,name=podNumber,proto3" json:"podNumber,omitempty"` MerkleRootHash string `protobuf:"bytes,4,opt,name=merkleRootHash,proto3" json:"merkleRootHash,omitempty"` PreviousMerkleRootHash string `protobuf:"bytes,5,opt,name=previousMerkleRootHash,proto3" json:"previousMerkleRootHash,omitempty"` ZkProof []byte `protobuf:"bytes,6,opt,name=zkProof,proto3" json:"zkProof,omitempty"` }
func NewMsgVerifyPod ¶
func (*MsgVerifyPod) Descriptor ¶
func (*MsgVerifyPod) Descriptor() ([]byte, []int)
func (*MsgVerifyPod) GetCreator ¶
func (m *MsgVerifyPod) GetCreator() string
func (*MsgVerifyPod) GetMerkleRootHash ¶
func (m *MsgVerifyPod) GetMerkleRootHash() string
func (*MsgVerifyPod) GetPodNumber ¶
func (m *MsgVerifyPod) GetPodNumber() uint64
func (*MsgVerifyPod) GetPreviousMerkleRootHash ¶
func (m *MsgVerifyPod) GetPreviousMerkleRootHash() string
func (*MsgVerifyPod) GetSignBytes ¶
func (msg *MsgVerifyPod) GetSignBytes() []byte
func (*MsgVerifyPod) GetSigners ¶
func (msg *MsgVerifyPod) GetSigners() []sdk.AccAddress
func (*MsgVerifyPod) GetStationId ¶
func (m *MsgVerifyPod) GetStationId() string
func (*MsgVerifyPod) GetZkProof ¶
func (m *MsgVerifyPod) GetZkProof() []byte
func (*MsgVerifyPod) Marshal ¶
func (m *MsgVerifyPod) Marshal() (dAtA []byte, err error)
func (*MsgVerifyPod) MarshalToSizedBuffer ¶
func (m *MsgVerifyPod) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgVerifyPod) ProtoMessage ¶
func (*MsgVerifyPod) ProtoMessage()
func (*MsgVerifyPod) Reset ¶
func (m *MsgVerifyPod) Reset()
func (*MsgVerifyPod) Route ¶
func (msg *MsgVerifyPod) Route() string
func (*MsgVerifyPod) Size ¶
func (m *MsgVerifyPod) Size() (n int)
func (*MsgVerifyPod) String ¶
func (m *MsgVerifyPod) String() string
func (*MsgVerifyPod) Type ¶
func (msg *MsgVerifyPod) Type() string
func (*MsgVerifyPod) Unmarshal ¶
func (m *MsgVerifyPod) Unmarshal(dAtA []byte) error
func (*MsgVerifyPod) ValidateBasic ¶
func (msg *MsgVerifyPod) ValidateBasic() error
func (*MsgVerifyPod) XXX_DiscardUnknown ¶
func (m *MsgVerifyPod) XXX_DiscardUnknown()
func (*MsgVerifyPod) XXX_Marshal ¶
func (m *MsgVerifyPod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgVerifyPod) XXX_Merge ¶
func (m *MsgVerifyPod) XXX_Merge(src proto.Message)
func (*MsgVerifyPod) XXX_Size ¶
func (m *MsgVerifyPod) XXX_Size() int
func (*MsgVerifyPod) XXX_Unmarshal ¶
func (m *MsgVerifyPod) XXX_Unmarshal(b []byte) error
type MsgVerifyPodResponse ¶
type MsgVerifyPodResponse struct { IsVerified bool `protobuf:"varint,1,opt,name=isVerified,proto3" json:"isVerified,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` }
func (*MsgVerifyPodResponse) Descriptor ¶
func (*MsgVerifyPodResponse) Descriptor() ([]byte, []int)
func (*MsgVerifyPodResponse) GetIsVerified ¶
func (m *MsgVerifyPodResponse) GetIsVerified() bool
func (*MsgVerifyPodResponse) GetMessage ¶
func (m *MsgVerifyPodResponse) GetMessage() string
func (*MsgVerifyPodResponse) Marshal ¶
func (m *MsgVerifyPodResponse) Marshal() (dAtA []byte, err error)
func (*MsgVerifyPodResponse) MarshalTo ¶
func (m *MsgVerifyPodResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgVerifyPodResponse) MarshalToSizedBuffer ¶
func (m *MsgVerifyPodResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgVerifyPodResponse) ProtoMessage ¶
func (*MsgVerifyPodResponse) ProtoMessage()
func (*MsgVerifyPodResponse) Reset ¶
func (m *MsgVerifyPodResponse) Reset()
func (*MsgVerifyPodResponse) Size ¶
func (m *MsgVerifyPodResponse) Size() (n int)
func (*MsgVerifyPodResponse) String ¶
func (m *MsgVerifyPodResponse) String() string
func (*MsgVerifyPodResponse) Unmarshal ¶
func (m *MsgVerifyPodResponse) Unmarshal(dAtA []byte) error
func (*MsgVerifyPodResponse) XXX_DiscardUnknown ¶
func (m *MsgVerifyPodResponse) XXX_DiscardUnknown()
func (*MsgVerifyPodResponse) XXX_Marshal ¶
func (m *MsgVerifyPodResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgVerifyPodResponse) XXX_Merge ¶
func (m *MsgVerifyPodResponse) XXX_Merge(src proto.Message)
func (*MsgVerifyPodResponse) XXX_Size ¶
func (m *MsgVerifyPodResponse) XXX_Size() int
func (*MsgVerifyPodResponse) XXX_Unmarshal ¶
func (m *MsgVerifyPodResponse) XXX_Unmarshal(b []byte) error
type Params ¶
type Params struct { }
Params defines the parameters for the module.
func (*Params) Descriptor ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs get the params.ParamSet
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type Pods ¶
type Pods struct { PodNumber uint64 `protobuf:"varint,1,opt,name=podNumber,proto3" json:"podNumber,omitempty"` MerkleRootHash string `protobuf:"bytes,2,opt,name=merkleRootHash,proto3" json:"merkleRootHash,omitempty"` PreviousMerkleRootHash string `protobuf:"bytes,3,opt,name=previousMerkleRootHash,proto3" json:"previousMerkleRootHash,omitempty"` ZkProof []byte `protobuf:"bytes,4,opt,name=zkProof,proto3" json:"zkProof,omitempty"` Witness []byte `protobuf:"bytes,5,opt,name=witness,proto3" json:"witness,omitempty"` Timestamp uint64 `protobuf:"varint,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"` IsVerified bool `protobuf:"varint,7,opt,name=isVerified,proto3" json:"isVerified,omitempty"` }
func (*Pods) Descriptor ¶
func (*Pods) GetIsVerified ¶
func (*Pods) GetMerkleRootHash ¶
func (*Pods) GetPodNumber ¶
func (*Pods) GetPreviousMerkleRootHash ¶
func (*Pods) GetTimestamp ¶
func (*Pods) GetWitness ¶
func (*Pods) GetZkProof ¶
func (*Pods) ProtoMessage ¶
func (*Pods) ProtoMessage()
func (*Pods) XXX_DiscardUnknown ¶
func (m *Pods) XXX_DiscardUnknown()
func (*Pods) XXX_Unmarshal ¶
type QueryClient ¶
type QueryClient interface { // Parameters queries the parameters of the module. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // Queries a list of ListStations items. ListStations(ctx context.Context, in *QueryListStationsRequest, opts ...grpc.CallOption) (*QueryListStationsResponse, error) // Queries a list of GetStation items. GetStation(ctx context.Context, in *QueryGetStationRequest, opts ...grpc.CallOption) (*QueryGetStationResponse, error) // Queries a list of GetStationDetailsByAddress items. GetStationDetailsByAddress(ctx context.Context, in *QueryGetStationDetailsByAddressRequest, opts ...grpc.CallOption) (*QueryGetStationDetailsByAddressResponse, error) // Queries a list of GetPod items. GetPod(ctx context.Context, in *QueryGetPodRequest, opts ...grpc.CallOption) (*QueryGetPodResponse, error) // Queries a list of GetLatestSubmittedPodNumber items. GetLatestSubmittedPodNumber(ctx context.Context, in *QueryGetLatestSubmittedPodNumberRequest, opts ...grpc.CallOption) (*QueryGetLatestSubmittedPodNumberResponse, error) // Queries a list of GetLatestVerifiedPodNumber items. GetLatestVerifiedPodNumber(ctx context.Context, in *QueryGetLatestVerifiedPodNumberRequest, opts ...grpc.CallOption) (*QueryGetLatestVerifiedPodNumberResponse, error) // Queries a list of ConfirmPodVerification items. ConfirmPodVerification(ctx context.Context, in *QueryConfirmPodVerificationRequest, opts ...grpc.CallOption) (*QueryConfirmPodVerificationResponse, error) }
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewQueryClient ¶
func NewQueryClient(cc grpc1.ClientConn) QueryClient
type QueryConfirmPodVerificationRequest ¶
type QueryConfirmPodVerificationRequest struct { StationId string `protobuf:"bytes,1,opt,name=stationId,proto3" json:"stationId,omitempty"` PodNumber uint64 `protobuf:"varint,2,opt,name=podNumber,proto3" json:"podNumber,omitempty"` MerkleRootHash string `protobuf:"bytes,3,opt,name=merkleRootHash,proto3" json:"merkleRootHash,omitempty"` PreviousMerkleRootHash string `protobuf:"bytes,4,opt,name=previousMerkleRootHash,proto3" json:"previousMerkleRootHash,omitempty"` ZkProof []byte `protobuf:"bytes,5,opt,name=zkProof,proto3" json:"zkProof,omitempty"` }
func (*QueryConfirmPodVerificationRequest) Descriptor ¶
func (*QueryConfirmPodVerificationRequest) Descriptor() ([]byte, []int)
func (*QueryConfirmPodVerificationRequest) GetMerkleRootHash ¶
func (m *QueryConfirmPodVerificationRequest) GetMerkleRootHash() string
func (*QueryConfirmPodVerificationRequest) GetPodNumber ¶
func (m *QueryConfirmPodVerificationRequest) GetPodNumber() uint64
func (*QueryConfirmPodVerificationRequest) GetPreviousMerkleRootHash ¶
func (m *QueryConfirmPodVerificationRequest) GetPreviousMerkleRootHash() string
func (*QueryConfirmPodVerificationRequest) GetStationId ¶
func (m *QueryConfirmPodVerificationRequest) GetStationId() string
func (*QueryConfirmPodVerificationRequest) GetZkProof ¶
func (m *QueryConfirmPodVerificationRequest) GetZkProof() []byte
func (*QueryConfirmPodVerificationRequest) Marshal ¶
func (m *QueryConfirmPodVerificationRequest) Marshal() (dAtA []byte, err error)
func (*QueryConfirmPodVerificationRequest) MarshalTo ¶
func (m *QueryConfirmPodVerificationRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryConfirmPodVerificationRequest) MarshalToSizedBuffer ¶
func (m *QueryConfirmPodVerificationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryConfirmPodVerificationRequest) ProtoMessage ¶
func (*QueryConfirmPodVerificationRequest) ProtoMessage()
func (*QueryConfirmPodVerificationRequest) Reset ¶
func (m *QueryConfirmPodVerificationRequest) Reset()
func (*QueryConfirmPodVerificationRequest) Size ¶
func (m *QueryConfirmPodVerificationRequest) Size() (n int)
func (*QueryConfirmPodVerificationRequest) String ¶
func (m *QueryConfirmPodVerificationRequest) String() string
func (*QueryConfirmPodVerificationRequest) Unmarshal ¶
func (m *QueryConfirmPodVerificationRequest) Unmarshal(dAtA []byte) error
func (*QueryConfirmPodVerificationRequest) XXX_DiscardUnknown ¶
func (m *QueryConfirmPodVerificationRequest) XXX_DiscardUnknown()
func (*QueryConfirmPodVerificationRequest) XXX_Marshal ¶
func (m *QueryConfirmPodVerificationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryConfirmPodVerificationRequest) XXX_Merge ¶
func (m *QueryConfirmPodVerificationRequest) XXX_Merge(src proto.Message)
func (*QueryConfirmPodVerificationRequest) XXX_Size ¶
func (m *QueryConfirmPodVerificationRequest) XXX_Size() int
func (*QueryConfirmPodVerificationRequest) XXX_Unmarshal ¶
func (m *QueryConfirmPodVerificationRequest) XXX_Unmarshal(b []byte) error
type QueryConfirmPodVerificationResponse ¶
type QueryConfirmPodVerificationResponse struct { IsVerified bool `protobuf:"varint,1,opt,name=isVerified,proto3" json:"isVerified,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` }
func (*QueryConfirmPodVerificationResponse) Descriptor ¶
func (*QueryConfirmPodVerificationResponse) Descriptor() ([]byte, []int)
func (*QueryConfirmPodVerificationResponse) GetIsVerified ¶
func (m *QueryConfirmPodVerificationResponse) GetIsVerified() bool
func (*QueryConfirmPodVerificationResponse) GetMessage ¶
func (m *QueryConfirmPodVerificationResponse) GetMessage() string
func (*QueryConfirmPodVerificationResponse) Marshal ¶
func (m *QueryConfirmPodVerificationResponse) Marshal() (dAtA []byte, err error)
func (*QueryConfirmPodVerificationResponse) MarshalTo ¶
func (m *QueryConfirmPodVerificationResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryConfirmPodVerificationResponse) MarshalToSizedBuffer ¶
func (m *QueryConfirmPodVerificationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryConfirmPodVerificationResponse) ProtoMessage ¶
func (*QueryConfirmPodVerificationResponse) ProtoMessage()
func (*QueryConfirmPodVerificationResponse) Reset ¶
func (m *QueryConfirmPodVerificationResponse) Reset()
func (*QueryConfirmPodVerificationResponse) Size ¶
func (m *QueryConfirmPodVerificationResponse) Size() (n int)
func (*QueryConfirmPodVerificationResponse) String ¶
func (m *QueryConfirmPodVerificationResponse) String() string
func (*QueryConfirmPodVerificationResponse) Unmarshal ¶
func (m *QueryConfirmPodVerificationResponse) Unmarshal(dAtA []byte) error
func (*QueryConfirmPodVerificationResponse) XXX_DiscardUnknown ¶
func (m *QueryConfirmPodVerificationResponse) XXX_DiscardUnknown()
func (*QueryConfirmPodVerificationResponse) XXX_Marshal ¶
func (m *QueryConfirmPodVerificationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryConfirmPodVerificationResponse) XXX_Merge ¶
func (m *QueryConfirmPodVerificationResponse) XXX_Merge(src proto.Message)
func (*QueryConfirmPodVerificationResponse) XXX_Size ¶
func (m *QueryConfirmPodVerificationResponse) XXX_Size() int
func (*QueryConfirmPodVerificationResponse) XXX_Unmarshal ¶
func (m *QueryConfirmPodVerificationResponse) XXX_Unmarshal(b []byte) error
type QueryGetLatestSubmittedPodNumberRequest ¶
type QueryGetLatestSubmittedPodNumberRequest struct {
StationId string `protobuf:"bytes,1,opt,name=stationId,proto3" json:"stationId,omitempty"`
}
func (*QueryGetLatestSubmittedPodNumberRequest) Descriptor ¶
func (*QueryGetLatestSubmittedPodNumberRequest) Descriptor() ([]byte, []int)
func (*QueryGetLatestSubmittedPodNumberRequest) GetStationId ¶
func (m *QueryGetLatestSubmittedPodNumberRequest) GetStationId() string
func (*QueryGetLatestSubmittedPodNumberRequest) Marshal ¶
func (m *QueryGetLatestSubmittedPodNumberRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetLatestSubmittedPodNumberRequest) MarshalTo ¶
func (m *QueryGetLatestSubmittedPodNumberRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetLatestSubmittedPodNumberRequest) MarshalToSizedBuffer ¶
func (m *QueryGetLatestSubmittedPodNumberRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetLatestSubmittedPodNumberRequest) ProtoMessage ¶
func (*QueryGetLatestSubmittedPodNumberRequest) ProtoMessage()
func (*QueryGetLatestSubmittedPodNumberRequest) Reset ¶
func (m *QueryGetLatestSubmittedPodNumberRequest) Reset()
func (*QueryGetLatestSubmittedPodNumberRequest) Size ¶
func (m *QueryGetLatestSubmittedPodNumberRequest) Size() (n int)
func (*QueryGetLatestSubmittedPodNumberRequest) String ¶
func (m *QueryGetLatestSubmittedPodNumberRequest) String() string
func (*QueryGetLatestSubmittedPodNumberRequest) Unmarshal ¶
func (m *QueryGetLatestSubmittedPodNumberRequest) Unmarshal(dAtA []byte) error
func (*QueryGetLatestSubmittedPodNumberRequest) XXX_DiscardUnknown ¶
func (m *QueryGetLatestSubmittedPodNumberRequest) XXX_DiscardUnknown()
func (*QueryGetLatestSubmittedPodNumberRequest) XXX_Marshal ¶
func (m *QueryGetLatestSubmittedPodNumberRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetLatestSubmittedPodNumberRequest) XXX_Merge ¶
func (m *QueryGetLatestSubmittedPodNumberRequest) XXX_Merge(src proto.Message)
func (*QueryGetLatestSubmittedPodNumberRequest) XXX_Size ¶
func (m *QueryGetLatestSubmittedPodNumberRequest) XXX_Size() int
func (*QueryGetLatestSubmittedPodNumberRequest) XXX_Unmarshal ¶
func (m *QueryGetLatestSubmittedPodNumberRequest) XXX_Unmarshal(b []byte) error
type QueryGetLatestSubmittedPodNumberResponse ¶
type QueryGetLatestSubmittedPodNumberResponse struct { PodNumber uint64 `protobuf:"varint,1,opt,name=podNumber,proto3" json:"podNumber,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` }
func (*QueryGetLatestSubmittedPodNumberResponse) Descriptor ¶
func (*QueryGetLatestSubmittedPodNumberResponse) Descriptor() ([]byte, []int)
func (*QueryGetLatestSubmittedPodNumberResponse) GetMessage ¶
func (m *QueryGetLatestSubmittedPodNumberResponse) GetMessage() string
func (*QueryGetLatestSubmittedPodNumberResponse) GetPodNumber ¶
func (m *QueryGetLatestSubmittedPodNumberResponse) GetPodNumber() uint64
func (*QueryGetLatestSubmittedPodNumberResponse) Marshal ¶
func (m *QueryGetLatestSubmittedPodNumberResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetLatestSubmittedPodNumberResponse) MarshalTo ¶
func (m *QueryGetLatestSubmittedPodNumberResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetLatestSubmittedPodNumberResponse) MarshalToSizedBuffer ¶
func (m *QueryGetLatestSubmittedPodNumberResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetLatestSubmittedPodNumberResponse) ProtoMessage ¶
func (*QueryGetLatestSubmittedPodNumberResponse) ProtoMessage()
func (*QueryGetLatestSubmittedPodNumberResponse) Reset ¶
func (m *QueryGetLatestSubmittedPodNumberResponse) Reset()
func (*QueryGetLatestSubmittedPodNumberResponse) Size ¶
func (m *QueryGetLatestSubmittedPodNumberResponse) Size() (n int)
func (*QueryGetLatestSubmittedPodNumberResponse) String ¶
func (m *QueryGetLatestSubmittedPodNumberResponse) String() string
func (*QueryGetLatestSubmittedPodNumberResponse) Unmarshal ¶
func (m *QueryGetLatestSubmittedPodNumberResponse) Unmarshal(dAtA []byte) error
func (*QueryGetLatestSubmittedPodNumberResponse) XXX_DiscardUnknown ¶
func (m *QueryGetLatestSubmittedPodNumberResponse) XXX_DiscardUnknown()
func (*QueryGetLatestSubmittedPodNumberResponse) XXX_Marshal ¶
func (m *QueryGetLatestSubmittedPodNumberResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetLatestSubmittedPodNumberResponse) XXX_Merge ¶
func (m *QueryGetLatestSubmittedPodNumberResponse) XXX_Merge(src proto.Message)
func (*QueryGetLatestSubmittedPodNumberResponse) XXX_Size ¶
func (m *QueryGetLatestSubmittedPodNumberResponse) XXX_Size() int
func (*QueryGetLatestSubmittedPodNumberResponse) XXX_Unmarshal ¶
func (m *QueryGetLatestSubmittedPodNumberResponse) XXX_Unmarshal(b []byte) error
type QueryGetLatestVerifiedPodNumberRequest ¶
type QueryGetLatestVerifiedPodNumberRequest struct {
StationId string `protobuf:"bytes,1,opt,name=stationId,proto3" json:"stationId,omitempty"`
}
func (*QueryGetLatestVerifiedPodNumberRequest) Descriptor ¶
func (*QueryGetLatestVerifiedPodNumberRequest) Descriptor() ([]byte, []int)
func (*QueryGetLatestVerifiedPodNumberRequest) GetStationId ¶
func (m *QueryGetLatestVerifiedPodNumberRequest) GetStationId() string
func (*QueryGetLatestVerifiedPodNumberRequest) Marshal ¶
func (m *QueryGetLatestVerifiedPodNumberRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetLatestVerifiedPodNumberRequest) MarshalTo ¶
func (m *QueryGetLatestVerifiedPodNumberRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetLatestVerifiedPodNumberRequest) MarshalToSizedBuffer ¶
func (m *QueryGetLatestVerifiedPodNumberRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetLatestVerifiedPodNumberRequest) ProtoMessage ¶
func (*QueryGetLatestVerifiedPodNumberRequest) ProtoMessage()
func (*QueryGetLatestVerifiedPodNumberRequest) Reset ¶
func (m *QueryGetLatestVerifiedPodNumberRequest) Reset()
func (*QueryGetLatestVerifiedPodNumberRequest) Size ¶
func (m *QueryGetLatestVerifiedPodNumberRequest) Size() (n int)
func (*QueryGetLatestVerifiedPodNumberRequest) String ¶
func (m *QueryGetLatestVerifiedPodNumberRequest) String() string
func (*QueryGetLatestVerifiedPodNumberRequest) Unmarshal ¶
func (m *QueryGetLatestVerifiedPodNumberRequest) Unmarshal(dAtA []byte) error
func (*QueryGetLatestVerifiedPodNumberRequest) XXX_DiscardUnknown ¶
func (m *QueryGetLatestVerifiedPodNumberRequest) XXX_DiscardUnknown()
func (*QueryGetLatestVerifiedPodNumberRequest) XXX_Marshal ¶
func (m *QueryGetLatestVerifiedPodNumberRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetLatestVerifiedPodNumberRequest) XXX_Merge ¶
func (m *QueryGetLatestVerifiedPodNumberRequest) XXX_Merge(src proto.Message)
func (*QueryGetLatestVerifiedPodNumberRequest) XXX_Size ¶
func (m *QueryGetLatestVerifiedPodNumberRequest) XXX_Size() int
func (*QueryGetLatestVerifiedPodNumberRequest) XXX_Unmarshal ¶
func (m *QueryGetLatestVerifiedPodNumberRequest) XXX_Unmarshal(b []byte) error
type QueryGetLatestVerifiedPodNumberResponse ¶
type QueryGetLatestVerifiedPodNumberResponse struct { PodNumber uint64 `protobuf:"varint,1,opt,name=podNumber,proto3" json:"podNumber,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` }
func (*QueryGetLatestVerifiedPodNumberResponse) Descriptor ¶
func (*QueryGetLatestVerifiedPodNumberResponse) Descriptor() ([]byte, []int)
func (*QueryGetLatestVerifiedPodNumberResponse) GetMessage ¶
func (m *QueryGetLatestVerifiedPodNumberResponse) GetMessage() string
func (*QueryGetLatestVerifiedPodNumberResponse) GetPodNumber ¶
func (m *QueryGetLatestVerifiedPodNumberResponse) GetPodNumber() uint64
func (*QueryGetLatestVerifiedPodNumberResponse) Marshal ¶
func (m *QueryGetLatestVerifiedPodNumberResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetLatestVerifiedPodNumberResponse) MarshalTo ¶
func (m *QueryGetLatestVerifiedPodNumberResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetLatestVerifiedPodNumberResponse) MarshalToSizedBuffer ¶
func (m *QueryGetLatestVerifiedPodNumberResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetLatestVerifiedPodNumberResponse) ProtoMessage ¶
func (*QueryGetLatestVerifiedPodNumberResponse) ProtoMessage()
func (*QueryGetLatestVerifiedPodNumberResponse) Reset ¶
func (m *QueryGetLatestVerifiedPodNumberResponse) Reset()
func (*QueryGetLatestVerifiedPodNumberResponse) Size ¶
func (m *QueryGetLatestVerifiedPodNumberResponse) Size() (n int)
func (*QueryGetLatestVerifiedPodNumberResponse) String ¶
func (m *QueryGetLatestVerifiedPodNumberResponse) String() string
func (*QueryGetLatestVerifiedPodNumberResponse) Unmarshal ¶
func (m *QueryGetLatestVerifiedPodNumberResponse) Unmarshal(dAtA []byte) error
func (*QueryGetLatestVerifiedPodNumberResponse) XXX_DiscardUnknown ¶
func (m *QueryGetLatestVerifiedPodNumberResponse) XXX_DiscardUnknown()
func (*QueryGetLatestVerifiedPodNumberResponse) XXX_Marshal ¶
func (m *QueryGetLatestVerifiedPodNumberResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetLatestVerifiedPodNumberResponse) XXX_Merge ¶
func (m *QueryGetLatestVerifiedPodNumberResponse) XXX_Merge(src proto.Message)
func (*QueryGetLatestVerifiedPodNumberResponse) XXX_Size ¶
func (m *QueryGetLatestVerifiedPodNumberResponse) XXX_Size() int
func (*QueryGetLatestVerifiedPodNumberResponse) XXX_Unmarshal ¶
func (m *QueryGetLatestVerifiedPodNumberResponse) XXX_Unmarshal(b []byte) error
type QueryGetPodRequest ¶
type QueryGetPodRequest struct { StationId string `protobuf:"bytes,1,opt,name=stationId,proto3" json:"stationId,omitempty"` PodNumber uint64 `protobuf:"varint,2,opt,name=podNumber,proto3" json:"podNumber,omitempty"` }
func (*QueryGetPodRequest) Descriptor ¶
func (*QueryGetPodRequest) Descriptor() ([]byte, []int)
func (*QueryGetPodRequest) GetPodNumber ¶
func (m *QueryGetPodRequest) GetPodNumber() uint64
func (*QueryGetPodRequest) GetStationId ¶
func (m *QueryGetPodRequest) GetStationId() string
func (*QueryGetPodRequest) Marshal ¶
func (m *QueryGetPodRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetPodRequest) MarshalTo ¶
func (m *QueryGetPodRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetPodRequest) MarshalToSizedBuffer ¶
func (m *QueryGetPodRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetPodRequest) ProtoMessage ¶
func (*QueryGetPodRequest) ProtoMessage()
func (*QueryGetPodRequest) Reset ¶
func (m *QueryGetPodRequest) Reset()
func (*QueryGetPodRequest) Size ¶
func (m *QueryGetPodRequest) Size() (n int)
func (*QueryGetPodRequest) String ¶
func (m *QueryGetPodRequest) String() string
func (*QueryGetPodRequest) Unmarshal ¶
func (m *QueryGetPodRequest) Unmarshal(dAtA []byte) error
func (*QueryGetPodRequest) XXX_DiscardUnknown ¶
func (m *QueryGetPodRequest) XXX_DiscardUnknown()
func (*QueryGetPodRequest) XXX_Marshal ¶
func (m *QueryGetPodRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetPodRequest) XXX_Merge ¶
func (m *QueryGetPodRequest) XXX_Merge(src proto.Message)
func (*QueryGetPodRequest) XXX_Size ¶
func (m *QueryGetPodRequest) XXX_Size() int
func (*QueryGetPodRequest) XXX_Unmarshal ¶
func (m *QueryGetPodRequest) XXX_Unmarshal(b []byte) error
type QueryGetPodResponse ¶
type QueryGetPodResponse struct {
Pod *Pods `protobuf:"bytes,1,opt,name=pod,proto3" json:"pod,omitempty"`
}
func (*QueryGetPodResponse) Descriptor ¶
func (*QueryGetPodResponse) Descriptor() ([]byte, []int)
func (*QueryGetPodResponse) GetPod ¶
func (m *QueryGetPodResponse) GetPod() *Pods
func (*QueryGetPodResponse) Marshal ¶
func (m *QueryGetPodResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetPodResponse) MarshalTo ¶
func (m *QueryGetPodResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetPodResponse) MarshalToSizedBuffer ¶
func (m *QueryGetPodResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetPodResponse) ProtoMessage ¶
func (*QueryGetPodResponse) ProtoMessage()
func (*QueryGetPodResponse) Reset ¶
func (m *QueryGetPodResponse) Reset()
func (*QueryGetPodResponse) Size ¶
func (m *QueryGetPodResponse) Size() (n int)
func (*QueryGetPodResponse) String ¶
func (m *QueryGetPodResponse) String() string
func (*QueryGetPodResponse) Unmarshal ¶
func (m *QueryGetPodResponse) Unmarshal(dAtA []byte) error
func (*QueryGetPodResponse) XXX_DiscardUnknown ¶
func (m *QueryGetPodResponse) XXX_DiscardUnknown()
func (*QueryGetPodResponse) XXX_Marshal ¶
func (m *QueryGetPodResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetPodResponse) XXX_Merge ¶
func (m *QueryGetPodResponse) XXX_Merge(src proto.Message)
func (*QueryGetPodResponse) XXX_Size ¶
func (m *QueryGetPodResponse) XXX_Size() int
func (*QueryGetPodResponse) XXX_Unmarshal ¶
func (m *QueryGetPodResponse) XXX_Unmarshal(b []byte) error
type QueryGetStationDetailsByAddressRequest ¶
type QueryGetStationDetailsByAddressRequest struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}
func (*QueryGetStationDetailsByAddressRequest) Descriptor ¶
func (*QueryGetStationDetailsByAddressRequest) Descriptor() ([]byte, []int)
func (*QueryGetStationDetailsByAddressRequest) GetAddress ¶
func (m *QueryGetStationDetailsByAddressRequest) GetAddress() string
func (*QueryGetStationDetailsByAddressRequest) Marshal ¶
func (m *QueryGetStationDetailsByAddressRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetStationDetailsByAddressRequest) MarshalTo ¶
func (m *QueryGetStationDetailsByAddressRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetStationDetailsByAddressRequest) MarshalToSizedBuffer ¶
func (m *QueryGetStationDetailsByAddressRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetStationDetailsByAddressRequest) ProtoMessage ¶
func (*QueryGetStationDetailsByAddressRequest) ProtoMessage()
func (*QueryGetStationDetailsByAddressRequest) Reset ¶
func (m *QueryGetStationDetailsByAddressRequest) Reset()
func (*QueryGetStationDetailsByAddressRequest) Size ¶
func (m *QueryGetStationDetailsByAddressRequest) Size() (n int)
func (*QueryGetStationDetailsByAddressRequest) String ¶
func (m *QueryGetStationDetailsByAddressRequest) String() string
func (*QueryGetStationDetailsByAddressRequest) Unmarshal ¶
func (m *QueryGetStationDetailsByAddressRequest) Unmarshal(dAtA []byte) error
func (*QueryGetStationDetailsByAddressRequest) XXX_DiscardUnknown ¶
func (m *QueryGetStationDetailsByAddressRequest) XXX_DiscardUnknown()
func (*QueryGetStationDetailsByAddressRequest) XXX_Marshal ¶
func (m *QueryGetStationDetailsByAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetStationDetailsByAddressRequest) XXX_Merge ¶
func (m *QueryGetStationDetailsByAddressRequest) XXX_Merge(src proto.Message)
func (*QueryGetStationDetailsByAddressRequest) XXX_Size ¶
func (m *QueryGetStationDetailsByAddressRequest) XXX_Size() int
func (*QueryGetStationDetailsByAddressRequest) XXX_Unmarshal ¶
func (m *QueryGetStationDetailsByAddressRequest) XXX_Unmarshal(b []byte) error
type QueryGetStationDetailsByAddressResponse ¶
type QueryGetStationDetailsByAddressResponse struct {
Station *Stations `protobuf:"bytes,1,opt,name=station,proto3" json:"station,omitempty"`
}
func (*QueryGetStationDetailsByAddressResponse) Descriptor ¶
func (*QueryGetStationDetailsByAddressResponse) Descriptor() ([]byte, []int)
func (*QueryGetStationDetailsByAddressResponse) GetStation ¶
func (m *QueryGetStationDetailsByAddressResponse) GetStation() *Stations
func (*QueryGetStationDetailsByAddressResponse) Marshal ¶
func (m *QueryGetStationDetailsByAddressResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetStationDetailsByAddressResponse) MarshalTo ¶
func (m *QueryGetStationDetailsByAddressResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetStationDetailsByAddressResponse) MarshalToSizedBuffer ¶
func (m *QueryGetStationDetailsByAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetStationDetailsByAddressResponse) ProtoMessage ¶
func (*QueryGetStationDetailsByAddressResponse) ProtoMessage()
func (*QueryGetStationDetailsByAddressResponse) Reset ¶
func (m *QueryGetStationDetailsByAddressResponse) Reset()
func (*QueryGetStationDetailsByAddressResponse) Size ¶
func (m *QueryGetStationDetailsByAddressResponse) Size() (n int)
func (*QueryGetStationDetailsByAddressResponse) String ¶
func (m *QueryGetStationDetailsByAddressResponse) String() string
func (*QueryGetStationDetailsByAddressResponse) Unmarshal ¶
func (m *QueryGetStationDetailsByAddressResponse) Unmarshal(dAtA []byte) error
func (*QueryGetStationDetailsByAddressResponse) XXX_DiscardUnknown ¶
func (m *QueryGetStationDetailsByAddressResponse) XXX_DiscardUnknown()
func (*QueryGetStationDetailsByAddressResponse) XXX_Marshal ¶
func (m *QueryGetStationDetailsByAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetStationDetailsByAddressResponse) XXX_Merge ¶
func (m *QueryGetStationDetailsByAddressResponse) XXX_Merge(src proto.Message)
func (*QueryGetStationDetailsByAddressResponse) XXX_Size ¶
func (m *QueryGetStationDetailsByAddressResponse) XXX_Size() int
func (*QueryGetStationDetailsByAddressResponse) XXX_Unmarshal ¶
func (m *QueryGetStationDetailsByAddressResponse) XXX_Unmarshal(b []byte) error
type QueryGetStationRequest ¶
type QueryGetStationRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}
func (*QueryGetStationRequest) Descriptor ¶
func (*QueryGetStationRequest) Descriptor() ([]byte, []int)
func (*QueryGetStationRequest) GetId ¶
func (m *QueryGetStationRequest) GetId() string
func (*QueryGetStationRequest) Marshal ¶
func (m *QueryGetStationRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetStationRequest) MarshalTo ¶
func (m *QueryGetStationRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetStationRequest) MarshalToSizedBuffer ¶
func (m *QueryGetStationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetStationRequest) ProtoMessage ¶
func (*QueryGetStationRequest) ProtoMessage()
func (*QueryGetStationRequest) Reset ¶
func (m *QueryGetStationRequest) Reset()
func (*QueryGetStationRequest) Size ¶
func (m *QueryGetStationRequest) Size() (n int)
func (*QueryGetStationRequest) String ¶
func (m *QueryGetStationRequest) String() string
func (*QueryGetStationRequest) Unmarshal ¶
func (m *QueryGetStationRequest) Unmarshal(dAtA []byte) error
func (*QueryGetStationRequest) XXX_DiscardUnknown ¶
func (m *QueryGetStationRequest) XXX_DiscardUnknown()
func (*QueryGetStationRequest) XXX_Marshal ¶
func (m *QueryGetStationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetStationRequest) XXX_Merge ¶
func (m *QueryGetStationRequest) XXX_Merge(src proto.Message)
func (*QueryGetStationRequest) XXX_Size ¶
func (m *QueryGetStationRequest) XXX_Size() int
func (*QueryGetStationRequest) XXX_Unmarshal ¶
func (m *QueryGetStationRequest) XXX_Unmarshal(b []byte) error
type QueryGetStationResponse ¶
type QueryGetStationResponse struct {
Stations *Stations `protobuf:"bytes,1,opt,name=stations,proto3" json:"stations,omitempty"`
}
func (*QueryGetStationResponse) Descriptor ¶
func (*QueryGetStationResponse) Descriptor() ([]byte, []int)
func (*QueryGetStationResponse) GetStations ¶
func (m *QueryGetStationResponse) GetStations() *Stations
func (*QueryGetStationResponse) Marshal ¶
func (m *QueryGetStationResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetStationResponse) MarshalTo ¶
func (m *QueryGetStationResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetStationResponse) MarshalToSizedBuffer ¶
func (m *QueryGetStationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetStationResponse) ProtoMessage ¶
func (*QueryGetStationResponse) ProtoMessage()
func (*QueryGetStationResponse) Reset ¶
func (m *QueryGetStationResponse) Reset()
func (*QueryGetStationResponse) Size ¶
func (m *QueryGetStationResponse) Size() (n int)
func (*QueryGetStationResponse) String ¶
func (m *QueryGetStationResponse) String() string
func (*QueryGetStationResponse) Unmarshal ¶
func (m *QueryGetStationResponse) Unmarshal(dAtA []byte) error
func (*QueryGetStationResponse) XXX_DiscardUnknown ¶
func (m *QueryGetStationResponse) XXX_DiscardUnknown()
func (*QueryGetStationResponse) XXX_Marshal ¶
func (m *QueryGetStationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetStationResponse) XXX_Merge ¶
func (m *QueryGetStationResponse) XXX_Merge(src proto.Message)
func (*QueryGetStationResponse) XXX_Size ¶
func (m *QueryGetStationResponse) XXX_Size() int
func (*QueryGetStationResponse) XXX_Unmarshal ¶
func (m *QueryGetStationResponse) XXX_Unmarshal(b []byte) error
type QueryListStationsRequest ¶
type QueryListStationsRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryListStationsRequest) Descriptor ¶
func (*QueryListStationsRequest) Descriptor() ([]byte, []int)
func (*QueryListStationsRequest) GetPagination ¶
func (m *QueryListStationsRequest) GetPagination() *query.PageRequest
func (*QueryListStationsRequest) Marshal ¶
func (m *QueryListStationsRequest) Marshal() (dAtA []byte, err error)
func (*QueryListStationsRequest) MarshalTo ¶
func (m *QueryListStationsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryListStationsRequest) MarshalToSizedBuffer ¶
func (m *QueryListStationsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryListStationsRequest) ProtoMessage ¶
func (*QueryListStationsRequest) ProtoMessage()
func (*QueryListStationsRequest) Reset ¶
func (m *QueryListStationsRequest) Reset()
func (*QueryListStationsRequest) Size ¶
func (m *QueryListStationsRequest) Size() (n int)
func (*QueryListStationsRequest) String ¶
func (m *QueryListStationsRequest) String() string
func (*QueryListStationsRequest) Unmarshal ¶
func (m *QueryListStationsRequest) Unmarshal(dAtA []byte) error
func (*QueryListStationsRequest) XXX_DiscardUnknown ¶
func (m *QueryListStationsRequest) XXX_DiscardUnknown()
func (*QueryListStationsRequest) XXX_Marshal ¶
func (m *QueryListStationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryListStationsRequest) XXX_Merge ¶
func (m *QueryListStationsRequest) XXX_Merge(src proto.Message)
func (*QueryListStationsRequest) XXX_Size ¶
func (m *QueryListStationsRequest) XXX_Size() int
func (*QueryListStationsRequest) XXX_Unmarshal ¶
func (m *QueryListStationsRequest) XXX_Unmarshal(b []byte) error
type QueryListStationsResponse ¶
type QueryListStationsResponse struct { StationsList []Stations `protobuf:"bytes,1,rep,name=stationsList,proto3" json:"stationsList"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryListStationsResponse) Descriptor ¶
func (*QueryListStationsResponse) Descriptor() ([]byte, []int)
func (*QueryListStationsResponse) GetPagination ¶
func (m *QueryListStationsResponse) GetPagination() *query.PageResponse
func (*QueryListStationsResponse) GetStationsList ¶
func (m *QueryListStationsResponse) GetStationsList() []Stations
func (*QueryListStationsResponse) Marshal ¶
func (m *QueryListStationsResponse) Marshal() (dAtA []byte, err error)
func (*QueryListStationsResponse) MarshalTo ¶
func (m *QueryListStationsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryListStationsResponse) MarshalToSizedBuffer ¶
func (m *QueryListStationsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryListStationsResponse) ProtoMessage ¶
func (*QueryListStationsResponse) ProtoMessage()
func (*QueryListStationsResponse) Reset ¶
func (m *QueryListStationsResponse) Reset()
func (*QueryListStationsResponse) Size ¶
func (m *QueryListStationsResponse) Size() (n int)
func (*QueryListStationsResponse) String ¶
func (m *QueryListStationsResponse) String() string
func (*QueryListStationsResponse) Unmarshal ¶
func (m *QueryListStationsResponse) Unmarshal(dAtA []byte) error
func (*QueryListStationsResponse) XXX_DiscardUnknown ¶
func (m *QueryListStationsResponse) XXX_DiscardUnknown()
func (*QueryListStationsResponse) XXX_Marshal ¶
func (m *QueryListStationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryListStationsResponse) XXX_Merge ¶
func (m *QueryListStationsResponse) XXX_Merge(src proto.Message)
func (*QueryListStationsResponse) XXX_Size ¶
func (m *QueryListStationsResponse) XXX_Size() int
func (*QueryListStationsResponse) XXX_Unmarshal ¶
func (m *QueryListStationsResponse) XXX_Unmarshal(b []byte) error
type QueryParamsRequest ¶
type QueryParamsRequest struct { }
QueryParamsRequest is request type for the Query/Params RPC method.
func (*QueryParamsRequest) Descriptor ¶
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
func (*QueryParamsRequest) Marshal ¶
func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryParamsRequest) MarshalTo ¶
func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsRequest) MarshalToSizedBuffer ¶
func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) Reset ¶
func (m *QueryParamsRequest) Reset()
func (*QueryParamsRequest) Size ¶
func (m *QueryParamsRequest) Size() (n int)
func (*QueryParamsRequest) String ¶
func (m *QueryParamsRequest) String() string
func (*QueryParamsRequest) Unmarshal ¶
func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryParamsRequest) XXX_DiscardUnknown ¶
func (m *QueryParamsRequest) XXX_DiscardUnknown()
func (*QueryParamsRequest) XXX_Marshal ¶
func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsRequest) XXX_Merge ¶
func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
func (*QueryParamsRequest) XXX_Size ¶
func (m *QueryParamsRequest) XXX_Size() int
func (*QueryParamsRequest) XXX_Unmarshal ¶
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
type QueryParamsResponse ¶
type QueryParamsResponse struct { // params holds all the parameters of this module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` }
QueryParamsResponse is response type for the Query/Params RPC method.
func (*QueryParamsResponse) Descriptor ¶
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) GetParams ¶
func (m *QueryParamsResponse) GetParams() Params
func (*QueryParamsResponse) Marshal ¶
func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryParamsResponse) MarshalTo ¶
func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) Reset ¶
func (m *QueryParamsResponse) Reset()
func (*QueryParamsResponse) Size ¶
func (m *QueryParamsResponse) Size() (n int)
func (*QueryParamsResponse) String ¶
func (m *QueryParamsResponse) String() string
func (*QueryParamsResponse) Unmarshal ¶
func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryParamsResponse) XXX_DiscardUnknown()
func (*QueryParamsResponse) XXX_Marshal ¶
func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsResponse) XXX_Merge ¶
func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
func (*QueryParamsResponse) XXX_Size ¶
func (m *QueryParamsResponse) XXX_Size() int
func (*QueryParamsResponse) XXX_Unmarshal ¶
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // Parameters queries the parameters of the module. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // Queries a list of ListStations items. ListStations(context.Context, *QueryListStationsRequest) (*QueryListStationsResponse, error) // Queries a list of GetStation items. GetStation(context.Context, *QueryGetStationRequest) (*QueryGetStationResponse, error) // Queries a list of GetStationDetailsByAddress items. GetStationDetailsByAddress(context.Context, *QueryGetStationDetailsByAddressRequest) (*QueryGetStationDetailsByAddressResponse, error) // Queries a list of GetPod items. GetPod(context.Context, *QueryGetPodRequest) (*QueryGetPodResponse, error) // Queries a list of GetLatestSubmittedPodNumber items. GetLatestSubmittedPodNumber(context.Context, *QueryGetLatestSubmittedPodNumberRequest) (*QueryGetLatestSubmittedPodNumberResponse, error) // Queries a list of GetLatestVerifiedPodNumber items. GetLatestVerifiedPodNumber(context.Context, *QueryGetLatestVerifiedPodNumberRequest) (*QueryGetLatestVerifiedPodNumberResponse, error) // Queries a list of ConfirmPodVerification items. ConfirmPodVerification(context.Context, *QueryConfirmPodVerificationRequest) (*QueryConfirmPodVerificationResponse, error) }
QueryServer is the server API for Query service.
type StationVerificationKey ¶
type StationVerificationKey struct { StationId string `protobuf:"bytes,1,opt,name=stationId,proto3" json:"stationId,omitempty"` VerificationKey []byte `protobuf:"bytes,2,opt,name=verificationKey,proto3" json:"verificationKey,omitempty"` }
func (*StationVerificationKey) Descriptor ¶
func (*StationVerificationKey) Descriptor() ([]byte, []int)
func (*StationVerificationKey) GetStationId ¶
func (m *StationVerificationKey) GetStationId() string
func (*StationVerificationKey) GetVerificationKey ¶
func (m *StationVerificationKey) GetVerificationKey() []byte
func (*StationVerificationKey) Marshal ¶
func (m *StationVerificationKey) Marshal() (dAtA []byte, err error)
func (*StationVerificationKey) MarshalTo ¶
func (m *StationVerificationKey) MarshalTo(dAtA []byte) (int, error)
func (*StationVerificationKey) MarshalToSizedBuffer ¶
func (m *StationVerificationKey) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StationVerificationKey) ProtoMessage ¶
func (*StationVerificationKey) ProtoMessage()
func (*StationVerificationKey) Reset ¶
func (m *StationVerificationKey) Reset()
func (*StationVerificationKey) Size ¶
func (m *StationVerificationKey) Size() (n int)
func (*StationVerificationKey) String ¶
func (m *StationVerificationKey) String() string
func (*StationVerificationKey) Unmarshal ¶
func (m *StationVerificationKey) Unmarshal(dAtA []byte) error
func (*StationVerificationKey) XXX_DiscardUnknown ¶
func (m *StationVerificationKey) XXX_DiscardUnknown()
func (*StationVerificationKey) XXX_Marshal ¶
func (m *StationVerificationKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StationVerificationKey) XXX_Merge ¶
func (m *StationVerificationKey) XXX_Merge(src proto.Message)
func (*StationVerificationKey) XXX_Size ¶
func (m *StationVerificationKey) XXX_Size() int
func (*StationVerificationKey) XXX_Unmarshal ¶
func (m *StationVerificationKey) XXX_Unmarshal(b []byte) error
type Stations ¶
type Stations struct { Tracks []string `protobuf:"bytes,1,rep,name=tracks,proto3" json:"tracks,omitempty"` VotingPower []uint64 `protobuf:"varint,2,rep,packed,name=votingPower,proto3" json:"votingPower,omitempty"` LatestPod uint64 `protobuf:"varint,3,opt,name=latestPod,proto3" json:"latestPod,omitempty"` LatestMerkleRootHash string `protobuf:"bytes,4,opt,name=latestMerkleRootHash,proto3" json:"latestMerkleRootHash,omitempty"` VerificationKey []byte `protobuf:"bytes,5,opt,name=verificationKey,proto3" json:"verificationKey,omitempty"` StationInfo string `protobuf:"bytes,6,opt,name=stationInfo,proto3" json:"stationInfo,omitempty"` Id string `protobuf:"bytes,7,opt,name=id,proto3" json:"id,omitempty"` Creator string `protobuf:"bytes,8,opt,name=creator,proto3" json:"creator,omitempty"` }
func (*Stations) Descriptor ¶
func (*Stations) GetCreator ¶
func (*Stations) GetLatestMerkleRootHash ¶
func (*Stations) GetLatestPod ¶
func (*Stations) GetStationInfo ¶
func (*Stations) GetVerificationKey ¶
func (*Stations) GetVotingPower ¶
func (*Stations) MarshalToSizedBuffer ¶
func (*Stations) ProtoMessage ¶
func (*Stations) ProtoMessage()
func (*Stations) XXX_DiscardUnknown ¶
func (m *Stations) XXX_DiscardUnknown()
func (*Stations) XXX_Marshal ¶
func (*Stations) XXX_Unmarshal ¶
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) InitStation ¶
func (*UnimplementedMsgServer) InitStation(ctx context.Context, req *MsgInitStation) (*MsgInitStationResponse, error)
func (*UnimplementedMsgServer) SubmitPod ¶
func (*UnimplementedMsgServer) SubmitPod(ctx context.Context, req *MsgSubmitPod) (*MsgSubmitPodResponse, error)
func (*UnimplementedMsgServer) VerifyPod ¶
func (*UnimplementedMsgServer) VerifyPod(ctx context.Context, req *MsgVerifyPod) (*MsgVerifyPodResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) ConfirmPodVerification ¶
func (*UnimplementedQueryServer) ConfirmPodVerification(ctx context.Context, req *QueryConfirmPodVerificationRequest) (*QueryConfirmPodVerificationResponse, error)
func (*UnimplementedQueryServer) GetLatestSubmittedPodNumber ¶
func (*UnimplementedQueryServer) GetLatestSubmittedPodNumber(ctx context.Context, req *QueryGetLatestSubmittedPodNumberRequest) (*QueryGetLatestSubmittedPodNumberResponse, error)
func (*UnimplementedQueryServer) GetLatestVerifiedPodNumber ¶
func (*UnimplementedQueryServer) GetLatestVerifiedPodNumber(ctx context.Context, req *QueryGetLatestVerifiedPodNumberRequest) (*QueryGetLatestVerifiedPodNumberResponse, error)
func (*UnimplementedQueryServer) GetPod ¶
func (*UnimplementedQueryServer) GetPod(ctx context.Context, req *QueryGetPodRequest) (*QueryGetPodResponse, error)
func (*UnimplementedQueryServer) GetStation ¶
func (*UnimplementedQueryServer) GetStation(ctx context.Context, req *QueryGetStationRequest) (*QueryGetStationResponse, error)
func (*UnimplementedQueryServer) GetStationDetailsByAddress ¶
func (*UnimplementedQueryServer) GetStationDetailsByAddress(ctx context.Context, req *QueryGetStationDetailsByAddressRequest) (*QueryGetStationDetailsByAddressResponse, error)
func (*UnimplementedQueryServer) ListStations ¶
func (*UnimplementedQueryServer) ListStations(ctx context.Context, req *QueryListStationsRequest) (*QueryListStationsResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)