Documentation ¶
Overview ¶
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Index ¶
- Variables
- type Claim
- func (*Claim) Descriptor() ([]byte, []int)deprecated
- func (x *Claim) GetRootHash() []byte
- func (x *Claim) GetSessionHeader() *session.SessionHeader
- func (x *Claim) GetSupplierAddress() string
- func (*Claim) ProtoMessage()
- func (x *Claim) ProtoReflect() protoreflect.Message
- func (x *Claim) Reset()
- func (x *Claim) String() string
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)deprecated
- func (x *GenesisState) GetClaimList() []*Claim
- func (x *GenesisState) GetParams() *Params
- func (x *GenesisState) GetProofList() []*Proof
- func (*GenesisState) ProtoMessage()
- func (x *GenesisState) ProtoReflect() protoreflect.Message
- func (x *GenesisState) Reset()
- func (x *GenesisState) String() string
- type MsgCreateClaim
- func (*MsgCreateClaim) Descriptor() ([]byte, []int)deprecated
- func (x *MsgCreateClaim) GetRootHash() []byte
- func (x *MsgCreateClaim) GetSessionHeader() *session.SessionHeader
- func (x *MsgCreateClaim) GetSupplierAddress() string
- func (*MsgCreateClaim) ProtoMessage()
- func (x *MsgCreateClaim) ProtoReflect() protoreflect.Message
- func (x *MsgCreateClaim) Reset()
- func (x *MsgCreateClaim) String() string
- type MsgCreateClaimResponse
- type MsgSubmitProof
- func (*MsgSubmitProof) Descriptor() ([]byte, []int)deprecated
- func (x *MsgSubmitProof) GetProof() []byte
- func (x *MsgSubmitProof) GetSessionHeader() *session.SessionHeader
- func (x *MsgSubmitProof) GetSupplierAddress() string
- func (*MsgSubmitProof) ProtoMessage()
- func (x *MsgSubmitProof) ProtoReflect() protoreflect.Message
- func (x *MsgSubmitProof) Reset()
- func (x *MsgSubmitProof) String() string
- type MsgSubmitProofResponse
- type MsgUpdateParam
- func (*MsgUpdateParam) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateParam) GetAsBytes() []byte
- func (x *MsgUpdateParam) GetAsInt64() int64
- func (x *MsgUpdateParam) GetAsString() string
- func (x *MsgUpdateParam) GetAsType() isMsgUpdateParam_AsType
- func (x *MsgUpdateParam) GetAuthority() string
- func (x *MsgUpdateParam) GetName() string
- func (*MsgUpdateParam) ProtoMessage()
- func (x *MsgUpdateParam) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateParam) Reset()
- func (x *MsgUpdateParam) String() string
- type MsgUpdateParamResponse
- func (*MsgUpdateParamResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateParamResponse) GetParams() *Params
- func (*MsgUpdateParamResponse) ProtoMessage()
- func (x *MsgUpdateParamResponse) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateParamResponse) Reset()
- func (x *MsgUpdateParamResponse) String() string
- type MsgUpdateParam_AsBytes
- type MsgUpdateParam_AsInt64
- type MsgUpdateParam_AsString
- type MsgUpdateParams
- func (*MsgUpdateParams) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateParams) GetAuthority() string
- func (x *MsgUpdateParams) GetParams() *Params
- func (*MsgUpdateParams) ProtoMessage()
- func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateParams) Reset()
- func (x *MsgUpdateParams) String() string
- type MsgUpdateParamsResponse
- type Params
- type Proof
- func (*Proof) Descriptor() ([]byte, []int)deprecated
- func (x *Proof) GetClosestMerkleProof() []byte
- func (x *Proof) GetSessionHeader() *session.SessionHeader
- func (x *Proof) GetSupplierAddress() string
- func (*Proof) ProtoMessage()
- func (x *Proof) ProtoReflect() protoreflect.Message
- func (x *Proof) Reset()
- func (x *Proof) String() string
- type QueryAllClaimsRequest
- func (*QueryAllClaimsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAllClaimsRequest) GetFilter() isQueryAllClaimsRequest_Filter
- func (x *QueryAllClaimsRequest) GetPagination() *v1beta1.PageRequest
- func (x *QueryAllClaimsRequest) GetSessionEndHeight() uint64
- func (x *QueryAllClaimsRequest) GetSessionId() string
- func (x *QueryAllClaimsRequest) GetSupplierAddress() string
- func (*QueryAllClaimsRequest) ProtoMessage()
- func (x *QueryAllClaimsRequest) ProtoReflect() protoreflect.Message
- func (x *QueryAllClaimsRequest) Reset()
- func (x *QueryAllClaimsRequest) String() string
- type QueryAllClaimsRequest_SessionEndHeight
- type QueryAllClaimsRequest_SessionId
- type QueryAllClaimsRequest_SupplierAddress
- type QueryAllClaimsResponse
- func (*QueryAllClaimsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAllClaimsResponse) GetClaims() []*Claim
- func (x *QueryAllClaimsResponse) GetPagination() *v1beta1.PageResponse
- func (*QueryAllClaimsResponse) ProtoMessage()
- func (x *QueryAllClaimsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryAllClaimsResponse) Reset()
- func (x *QueryAllClaimsResponse) String() string
- type QueryAllProofsRequest
- func (*QueryAllProofsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAllProofsRequest) GetFilter() isQueryAllProofsRequest_Filter
- func (x *QueryAllProofsRequest) GetPagination() *v1beta1.PageRequest
- func (x *QueryAllProofsRequest) GetSessionEndHeight() uint64
- func (x *QueryAllProofsRequest) GetSessionId() string
- func (x *QueryAllProofsRequest) GetSupplierAddress() string
- func (*QueryAllProofsRequest) ProtoMessage()
- func (x *QueryAllProofsRequest) ProtoReflect() protoreflect.Message
- func (x *QueryAllProofsRequest) Reset()
- func (x *QueryAllProofsRequest) String() string
- type QueryAllProofsRequest_SessionEndHeight
- type QueryAllProofsRequest_SessionId
- type QueryAllProofsRequest_SupplierAddress
- type QueryAllProofsResponse
- func (*QueryAllProofsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAllProofsResponse) GetPagination() *v1beta1.PageResponse
- func (x *QueryAllProofsResponse) GetProofs() []*Proof
- func (*QueryAllProofsResponse) ProtoMessage()
- func (x *QueryAllProofsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryAllProofsResponse) Reset()
- func (x *QueryAllProofsResponse) String() string
- type QueryGetClaimRequest
- func (*QueryGetClaimRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryGetClaimRequest) GetSessionId() string
- func (x *QueryGetClaimRequest) GetSupplierAddress() string
- func (*QueryGetClaimRequest) ProtoMessage()
- func (x *QueryGetClaimRequest) ProtoReflect() protoreflect.Message
- func (x *QueryGetClaimRequest) Reset()
- func (x *QueryGetClaimRequest) String() string
- type QueryGetClaimResponse
- func (*QueryGetClaimResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryGetClaimResponse) GetClaim() *Claim
- func (*QueryGetClaimResponse) ProtoMessage()
- func (x *QueryGetClaimResponse) ProtoReflect() protoreflect.Message
- func (x *QueryGetClaimResponse) Reset()
- func (x *QueryGetClaimResponse) String() string
- type QueryGetProofRequest
- func (*QueryGetProofRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryGetProofRequest) GetSessionId() string
- func (x *QueryGetProofRequest) GetSupplierAddress() string
- func (*QueryGetProofRequest) ProtoMessage()
- func (x *QueryGetProofRequest) ProtoReflect() protoreflect.Message
- func (x *QueryGetProofRequest) Reset()
- func (x *QueryGetProofRequest) String() string
- type QueryGetProofResponse
- func (*QueryGetProofResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryGetProofResponse) GetProof() *Proof
- func (*QueryGetProofResponse) ProtoMessage()
- func (x *QueryGetProofResponse) ProtoReflect() protoreflect.Message
- func (x *QueryGetProofResponse) Reset()
- func (x *QueryGetProofResponse) String() string
- type QueryParamsRequest
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryParamsResponse) GetParams() *Params
- func (*QueryParamsResponse) ProtoMessage()
- func (x *QueryParamsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryParamsResponse) Reset()
- func (x *QueryParamsResponse) String() string
Constants ¶
This section is empty.
Variables ¶
var File_poktroll_proof_claim_proto protoreflect.FileDescriptor
var File_poktroll_proof_genesis_proto protoreflect.FileDescriptor
var File_poktroll_proof_params_proto protoreflect.FileDescriptor
var File_poktroll_proof_proof_proto protoreflect.FileDescriptor
var File_poktroll_proof_query_proto protoreflect.FileDescriptor
var File_poktroll_proof_tx_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Claim ¶
type Claim struct { SupplierAddress string `protobuf:"bytes,1,opt,name=supplier_address,json=supplierAddress,proto3" json:"supplier_address,omitempty"` // the address of the supplier that submitted this claim // The session header of the session that this claim is for. SessionHeader *session.SessionHeader `protobuf:"bytes,2,opt,name=session_header,json=sessionHeader,proto3" json:"session_header,omitempty"` // Root hash returned from smt.SMST#Root(). RootHash []byte `protobuf:"bytes,3,opt,name=root_hash,json=rootHash,proto3" json:"root_hash,omitempty"` // contains filtered or unexported fields }
Claim is the serialized object stored on-chain for claims pending to be proven
func (*Claim) Descriptor
deprecated
func (*Claim) GetRootHash ¶
func (*Claim) GetSessionHeader ¶
func (x *Claim) GetSessionHeader() *session.SessionHeader
func (*Claim) GetSupplierAddress ¶
func (*Claim) ProtoMessage ¶
func (*Claim) ProtoMessage()
func (*Claim) ProtoReflect ¶
func (x *Claim) ProtoReflect() protoreflect.Message
type GenesisState ¶
type GenesisState struct { // params defines all the parameters of the module. Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` ClaimList []*Claim `protobuf:"bytes,2,rep,name=claim_list,json=claimList,proto3" json:"claim_list,omitempty"` ProofList []*Proof `protobuf:"bytes,3,rep,name=proof_list,json=proofList,proto3" json:"proof_list,omitempty"` // contains filtered or unexported fields }
GenesisState defines the proof module's genesis state.
func (*GenesisState) Descriptor
deprecated
func (*GenesisState) Descriptor() ([]byte, []int)
Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.
func (*GenesisState) GetClaimList ¶
func (x *GenesisState) GetClaimList() []*Claim
func (*GenesisState) GetParams ¶
func (x *GenesisState) GetParams() *Params
func (*GenesisState) GetProofList ¶
func (x *GenesisState) GetProofList() []*Proof
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) ProtoReflect ¶
func (x *GenesisState) ProtoReflect() protoreflect.Message
func (*GenesisState) Reset ¶
func (x *GenesisState) Reset()
func (*GenesisState) String ¶
func (x *GenesisState) String() string
type MsgCreateClaim ¶
type MsgCreateClaim struct { SupplierAddress string `protobuf:"bytes,1,opt,name=supplier_address,json=supplierAddress,proto3" json:"supplier_address,omitempty"` SessionHeader *session.SessionHeader `protobuf:"bytes,2,opt,name=session_header,json=sessionHeader,proto3" json:"session_header,omitempty"` // root returned from smt.SMST#Root() RootHash []byte `protobuf:"bytes,3,opt,name=root_hash,json=rootHash,proto3" json:"root_hash,omitempty"` // contains filtered or unexported fields }
func (*MsgCreateClaim) Descriptor
deprecated
func (*MsgCreateClaim) Descriptor() ([]byte, []int)
Deprecated: Use MsgCreateClaim.ProtoReflect.Descriptor instead.
func (*MsgCreateClaim) GetRootHash ¶
func (x *MsgCreateClaim) GetRootHash() []byte
func (*MsgCreateClaim) GetSessionHeader ¶
func (x *MsgCreateClaim) GetSessionHeader() *session.SessionHeader
func (*MsgCreateClaim) GetSupplierAddress ¶
func (x *MsgCreateClaim) GetSupplierAddress() string
func (*MsgCreateClaim) ProtoMessage ¶
func (*MsgCreateClaim) ProtoMessage()
func (*MsgCreateClaim) ProtoReflect ¶
func (x *MsgCreateClaim) ProtoReflect() protoreflect.Message
func (*MsgCreateClaim) Reset ¶
func (x *MsgCreateClaim) Reset()
func (*MsgCreateClaim) String ¶
func (x *MsgCreateClaim) String() string
type MsgCreateClaimResponse ¶
type MsgCreateClaimResponse struct {
// contains filtered or unexported fields
}
func (*MsgCreateClaimResponse) Descriptor
deprecated
func (*MsgCreateClaimResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgCreateClaimResponse.ProtoReflect.Descriptor instead.
func (*MsgCreateClaimResponse) ProtoMessage ¶
func (*MsgCreateClaimResponse) ProtoMessage()
func (*MsgCreateClaimResponse) ProtoReflect ¶
func (x *MsgCreateClaimResponse) ProtoReflect() protoreflect.Message
func (*MsgCreateClaimResponse) Reset ¶
func (x *MsgCreateClaimResponse) Reset()
func (*MsgCreateClaimResponse) String ¶
func (x *MsgCreateClaimResponse) String() string
type MsgSubmitProof ¶
type MsgSubmitProof struct { SupplierAddress string `protobuf:"bytes,1,opt,name=supplier_address,json=supplierAddress,proto3" json:"supplier_address,omitempty"` SessionHeader *session.SessionHeader `protobuf:"bytes,2,opt,name=session_header,json=sessionHeader,proto3" json:"session_header,omitempty"` // serialized version of *smt.SparseMerkleClosestProof Proof []byte `protobuf:"bytes,3,opt,name=proof,proto3" json:"proof,omitempty"` // contains filtered or unexported fields }
func (*MsgSubmitProof) Descriptor
deprecated
func (*MsgSubmitProof) Descriptor() ([]byte, []int)
Deprecated: Use MsgSubmitProof.ProtoReflect.Descriptor instead.
func (*MsgSubmitProof) GetProof ¶
func (x *MsgSubmitProof) GetProof() []byte
func (*MsgSubmitProof) GetSessionHeader ¶
func (x *MsgSubmitProof) GetSessionHeader() *session.SessionHeader
func (*MsgSubmitProof) GetSupplierAddress ¶
func (x *MsgSubmitProof) GetSupplierAddress() string
func (*MsgSubmitProof) ProtoMessage ¶
func (*MsgSubmitProof) ProtoMessage()
func (*MsgSubmitProof) ProtoReflect ¶
func (x *MsgSubmitProof) ProtoReflect() protoreflect.Message
func (*MsgSubmitProof) Reset ¶
func (x *MsgSubmitProof) Reset()
func (*MsgSubmitProof) String ¶
func (x *MsgSubmitProof) String() string
type MsgSubmitProofResponse ¶
type MsgSubmitProofResponse struct {
// contains filtered or unexported fields
}
func (*MsgSubmitProofResponse) Descriptor
deprecated
func (*MsgSubmitProofResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgSubmitProofResponse.ProtoReflect.Descriptor instead.
func (*MsgSubmitProofResponse) ProtoMessage ¶
func (*MsgSubmitProofResponse) ProtoMessage()
func (*MsgSubmitProofResponse) ProtoReflect ¶
func (x *MsgSubmitProofResponse) ProtoReflect() protoreflect.Message
func (*MsgSubmitProofResponse) Reset ¶
func (x *MsgSubmitProofResponse) Reset()
func (*MsgSubmitProofResponse) String ¶
func (x *MsgSubmitProofResponse) String() string
type MsgUpdateParam ¶ added in v0.0.2
type MsgUpdateParam struct { // authority is the address that controls the module (defaults to x/gov unless overwritten). Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // The (name, as_type) tuple must match the corresponding name and type as // specified in the `Params“ message in `proof/params.proto.` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Types that are assignable to AsType: // // *MsgUpdateParam_AsString // *MsgUpdateParam_AsInt64 // *MsgUpdateParam_AsBytes AsType isMsgUpdateParam_AsType `protobuf_oneof:"as_type"` // contains filtered or unexported fields }
MsgUpdateParam is the Msg/UpdateParam request type to update a single param.
func (*MsgUpdateParam) Descriptor
deprecated
added in
v0.0.2
func (*MsgUpdateParam) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateParam.ProtoReflect.Descriptor instead.
func (*MsgUpdateParam) GetAsBytes ¶ added in v0.0.2
func (x *MsgUpdateParam) GetAsBytes() []byte
func (*MsgUpdateParam) GetAsInt64 ¶ added in v0.0.2
func (x *MsgUpdateParam) GetAsInt64() int64
func (*MsgUpdateParam) GetAsString ¶ added in v0.0.2
func (x *MsgUpdateParam) GetAsString() string
func (*MsgUpdateParam) GetAsType ¶ added in v0.0.2
func (x *MsgUpdateParam) GetAsType() isMsgUpdateParam_AsType
func (*MsgUpdateParam) GetAuthority ¶ added in v0.0.2
func (x *MsgUpdateParam) GetAuthority() string
func (*MsgUpdateParam) GetName ¶ added in v0.0.2
func (x *MsgUpdateParam) GetName() string
func (*MsgUpdateParam) ProtoMessage ¶ added in v0.0.2
func (*MsgUpdateParam) ProtoMessage()
func (*MsgUpdateParam) ProtoReflect ¶ added in v0.0.2
func (x *MsgUpdateParam) ProtoReflect() protoreflect.Message
func (*MsgUpdateParam) Reset ¶ added in v0.0.2
func (x *MsgUpdateParam) Reset()
func (*MsgUpdateParam) String ¶ added in v0.0.2
func (x *MsgUpdateParam) String() string
type MsgUpdateParamResponse ¶ added in v0.0.2
type MsgUpdateParamResponse struct { Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
MsgUpdateParamResponse defines the response structure for executing a MsgUpdateParam message after a single param update.
func (*MsgUpdateParamResponse) Descriptor
deprecated
added in
v0.0.2
func (*MsgUpdateParamResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateParamResponse.ProtoReflect.Descriptor instead.
func (*MsgUpdateParamResponse) GetParams ¶ added in v0.0.2
func (x *MsgUpdateParamResponse) GetParams() *Params
func (*MsgUpdateParamResponse) ProtoMessage ¶ added in v0.0.2
func (*MsgUpdateParamResponse) ProtoMessage()
func (*MsgUpdateParamResponse) ProtoReflect ¶ added in v0.0.2
func (x *MsgUpdateParamResponse) ProtoReflect() protoreflect.Message
func (*MsgUpdateParamResponse) Reset ¶ added in v0.0.2
func (x *MsgUpdateParamResponse) Reset()
func (*MsgUpdateParamResponse) String ¶ added in v0.0.2
func (x *MsgUpdateParamResponse) String() string
type MsgUpdateParam_AsBytes ¶ added in v0.0.2
type MsgUpdateParam_AsBytes struct {
AsBytes []byte `protobuf:"bytes,7,opt,name=as_bytes,json=asBytes,proto3,oneof"`
}
type MsgUpdateParam_AsInt64 ¶ added in v0.0.2
type MsgUpdateParam_AsInt64 struct {
AsInt64 int64 `protobuf:"varint,6,opt,name=as_int64,json=asInt64,proto3,oneof"`
}
type MsgUpdateParam_AsString ¶ added in v0.0.2
type MsgUpdateParam_AsString struct {
AsString string `protobuf:"bytes,3,opt,name=as_string,json=asString,proto3,oneof"`
}
type MsgUpdateParams ¶
type MsgUpdateParams struct { // authority is the address that controls the module (defaults to x/gov unless overwritten). Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // params defines the x/proof parameters to update. // NOTE: All parameters must be supplied. Params *Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
MsgUpdateParams is the Msg/UpdateParams request type to update all params at once.
func (*MsgUpdateParams) Descriptor
deprecated
func (*MsgUpdateParams) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateParams.ProtoReflect.Descriptor instead.
func (*MsgUpdateParams) GetAuthority ¶
func (x *MsgUpdateParams) GetAuthority() string
func (*MsgUpdateParams) GetParams ¶
func (x *MsgUpdateParams) GetParams() *Params
func (*MsgUpdateParams) ProtoMessage ¶
func (*MsgUpdateParams) ProtoMessage()
func (*MsgUpdateParams) ProtoReflect ¶
func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message
func (*MsgUpdateParams) Reset ¶
func (x *MsgUpdateParams) Reset()
func (*MsgUpdateParams) String ¶
func (x *MsgUpdateParams) String() string
type MsgUpdateParamsResponse ¶
type MsgUpdateParamsResponse struct {
// contains filtered or unexported fields
}
MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.
func (*MsgUpdateParamsResponse) Descriptor
deprecated
func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateParamsResponse.ProtoReflect.Descriptor instead.
func (*MsgUpdateParamsResponse) ProtoMessage ¶
func (*MsgUpdateParamsResponse) ProtoMessage()
func (*MsgUpdateParamsResponse) ProtoReflect ¶
func (x *MsgUpdateParamsResponse) ProtoReflect() protoreflect.Message
func (*MsgUpdateParamsResponse) Reset ¶
func (x *MsgUpdateParamsResponse) Reset()
func (*MsgUpdateParamsResponse) String ¶
func (x *MsgUpdateParamsResponse) String() string
type Params ¶
type Params struct { // The minimum difficulty in bits for a relay to be included in a Merkle proof. MinRelayDifficultyBits uint64 `` /* 132-byte string literal not displayed */ // contains filtered or unexported fields }
Params defines the parameters for the module.
func (*Params) Descriptor
deprecated
func (*Params) GetMinRelayDifficultyBits ¶
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) ProtoReflect ¶
func (x *Params) ProtoReflect() protoreflect.Message
type Proof ¶
type Proof struct { SupplierAddress string `protobuf:"bytes,1,opt,name=supplier_address,json=supplierAddress,proto3" json:"supplier_address,omitempty"` // The session header of the session that this claim is for. SessionHeader *session.SessionHeader `protobuf:"bytes,2,opt,name=session_header,json=sessionHeader,proto3" json:"session_header,omitempty"` // The serialized SMST proof from the `#ClosestProof()` method. ClosestMerkleProof []byte `protobuf:"bytes,3,opt,name=closest_merkle_proof,json=closestMerkleProof,proto3" json:"closest_merkle_proof,omitempty"` // contains filtered or unexported fields }
func (*Proof) Descriptor
deprecated
func (*Proof) GetClosestMerkleProof ¶
func (*Proof) GetSessionHeader ¶
func (x *Proof) GetSessionHeader() *session.SessionHeader
func (*Proof) GetSupplierAddress ¶
func (*Proof) ProtoMessage ¶
func (*Proof) ProtoMessage()
func (*Proof) ProtoReflect ¶
func (x *Proof) ProtoReflect() protoreflect.Message
type QueryAllClaimsRequest ¶
type QueryAllClaimsRequest struct { Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` // Types that are assignable to Filter: // // *QueryAllClaimsRequest_SupplierAddress // *QueryAllClaimsRequest_SessionId // *QueryAllClaimsRequest_SessionEndHeight Filter isQueryAllClaimsRequest_Filter `protobuf_oneof:"filter"` // contains filtered or unexported fields }
func (*QueryAllClaimsRequest) Descriptor
deprecated
func (*QueryAllClaimsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryAllClaimsRequest.ProtoReflect.Descriptor instead.
func (*QueryAllClaimsRequest) GetFilter ¶
func (x *QueryAllClaimsRequest) GetFilter() isQueryAllClaimsRequest_Filter
func (*QueryAllClaimsRequest) GetPagination ¶
func (x *QueryAllClaimsRequest) GetPagination() *v1beta1.PageRequest
func (*QueryAllClaimsRequest) GetSessionEndHeight ¶
func (x *QueryAllClaimsRequest) GetSessionEndHeight() uint64
func (*QueryAllClaimsRequest) GetSessionId ¶
func (x *QueryAllClaimsRequest) GetSessionId() string
func (*QueryAllClaimsRequest) GetSupplierAddress ¶
func (x *QueryAllClaimsRequest) GetSupplierAddress() string
func (*QueryAllClaimsRequest) ProtoMessage ¶
func (*QueryAllClaimsRequest) ProtoMessage()
func (*QueryAllClaimsRequest) ProtoReflect ¶
func (x *QueryAllClaimsRequest) ProtoReflect() protoreflect.Message
func (*QueryAllClaimsRequest) Reset ¶
func (x *QueryAllClaimsRequest) Reset()
func (*QueryAllClaimsRequest) String ¶
func (x *QueryAllClaimsRequest) String() string
type QueryAllClaimsRequest_SessionEndHeight ¶
type QueryAllClaimsRequest_SessionEndHeight struct {
SessionEndHeight uint64 `protobuf:"varint,4,opt,name=session_end_height,json=sessionEndHeight,proto3,oneof"`
}
type QueryAllClaimsRequest_SessionId ¶
type QueryAllClaimsRequest_SessionId struct {
SessionId string `protobuf:"bytes,3,opt,name=session_id,json=sessionId,proto3,oneof"`
}
type QueryAllClaimsRequest_SupplierAddress ¶
type QueryAllClaimsRequest_SupplierAddress struct {
SupplierAddress string `protobuf:"bytes,2,opt,name=supplier_address,json=supplierAddress,proto3,oneof"`
}
type QueryAllClaimsResponse ¶
type QueryAllClaimsResponse struct { Claims []*Claim `protobuf:"bytes,1,rep,name=claims,proto3" json:"claims,omitempty"` Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*QueryAllClaimsResponse) Descriptor
deprecated
func (*QueryAllClaimsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryAllClaimsResponse.ProtoReflect.Descriptor instead.
func (*QueryAllClaimsResponse) GetClaims ¶
func (x *QueryAllClaimsResponse) GetClaims() []*Claim
func (*QueryAllClaimsResponse) GetPagination ¶
func (x *QueryAllClaimsResponse) GetPagination() *v1beta1.PageResponse
func (*QueryAllClaimsResponse) ProtoMessage ¶
func (*QueryAllClaimsResponse) ProtoMessage()
func (*QueryAllClaimsResponse) ProtoReflect ¶
func (x *QueryAllClaimsResponse) ProtoReflect() protoreflect.Message
func (*QueryAllClaimsResponse) Reset ¶
func (x *QueryAllClaimsResponse) Reset()
func (*QueryAllClaimsResponse) String ¶
func (x *QueryAllClaimsResponse) String() string
type QueryAllProofsRequest ¶
type QueryAllProofsRequest struct { Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` // Types that are assignable to Filter: // // *QueryAllProofsRequest_SupplierAddress // *QueryAllProofsRequest_SessionId // *QueryAllProofsRequest_SessionEndHeight Filter isQueryAllProofsRequest_Filter `protobuf_oneof:"filter"` // contains filtered or unexported fields }
func (*QueryAllProofsRequest) Descriptor
deprecated
func (*QueryAllProofsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryAllProofsRequest.ProtoReflect.Descriptor instead.
func (*QueryAllProofsRequest) GetFilter ¶
func (x *QueryAllProofsRequest) GetFilter() isQueryAllProofsRequest_Filter
func (*QueryAllProofsRequest) GetPagination ¶
func (x *QueryAllProofsRequest) GetPagination() *v1beta1.PageRequest
func (*QueryAllProofsRequest) GetSessionEndHeight ¶
func (x *QueryAllProofsRequest) GetSessionEndHeight() uint64
func (*QueryAllProofsRequest) GetSessionId ¶
func (x *QueryAllProofsRequest) GetSessionId() string
func (*QueryAllProofsRequest) GetSupplierAddress ¶
func (x *QueryAllProofsRequest) GetSupplierAddress() string
func (*QueryAllProofsRequest) ProtoMessage ¶
func (*QueryAllProofsRequest) ProtoMessage()
func (*QueryAllProofsRequest) ProtoReflect ¶
func (x *QueryAllProofsRequest) ProtoReflect() protoreflect.Message
func (*QueryAllProofsRequest) Reset ¶
func (x *QueryAllProofsRequest) Reset()
func (*QueryAllProofsRequest) String ¶
func (x *QueryAllProofsRequest) String() string
type QueryAllProofsRequest_SessionEndHeight ¶
type QueryAllProofsRequest_SessionEndHeight struct {
SessionEndHeight uint64 `protobuf:"varint,4,opt,name=session_end_height,json=sessionEndHeight,proto3,oneof"`
}
type QueryAllProofsRequest_SessionId ¶
type QueryAllProofsRequest_SessionId struct {
SessionId string `protobuf:"bytes,3,opt,name=session_id,json=sessionId,proto3,oneof"`
}
type QueryAllProofsRequest_SupplierAddress ¶
type QueryAllProofsRequest_SupplierAddress struct {
SupplierAddress string `protobuf:"bytes,2,opt,name=supplier_address,json=supplierAddress,proto3,oneof"`
}
type QueryAllProofsResponse ¶
type QueryAllProofsResponse struct { Proofs []*Proof `protobuf:"bytes,1,rep,name=proofs,proto3" json:"proofs,omitempty"` Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*QueryAllProofsResponse) Descriptor
deprecated
func (*QueryAllProofsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryAllProofsResponse.ProtoReflect.Descriptor instead.
func (*QueryAllProofsResponse) GetPagination ¶
func (x *QueryAllProofsResponse) GetPagination() *v1beta1.PageResponse
func (*QueryAllProofsResponse) GetProofs ¶
func (x *QueryAllProofsResponse) GetProofs() []*Proof
func (*QueryAllProofsResponse) ProtoMessage ¶
func (*QueryAllProofsResponse) ProtoMessage()
func (*QueryAllProofsResponse) ProtoReflect ¶
func (x *QueryAllProofsResponse) ProtoReflect() protoreflect.Message
func (*QueryAllProofsResponse) Reset ¶
func (x *QueryAllProofsResponse) Reset()
func (*QueryAllProofsResponse) String ¶
func (x *QueryAllProofsResponse) String() string
type QueryGetClaimRequest ¶
type QueryGetClaimRequest struct { SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` SupplierAddress string `protobuf:"bytes,2,opt,name=supplier_address,json=supplierAddress,proto3" json:"supplier_address,omitempty"` // contains filtered or unexported fields }
func (*QueryGetClaimRequest) Descriptor
deprecated
func (*QueryGetClaimRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryGetClaimRequest.ProtoReflect.Descriptor instead.
func (*QueryGetClaimRequest) GetSessionId ¶
func (x *QueryGetClaimRequest) GetSessionId() string
func (*QueryGetClaimRequest) GetSupplierAddress ¶
func (x *QueryGetClaimRequest) GetSupplierAddress() string
func (*QueryGetClaimRequest) ProtoMessage ¶
func (*QueryGetClaimRequest) ProtoMessage()
func (*QueryGetClaimRequest) ProtoReflect ¶
func (x *QueryGetClaimRequest) ProtoReflect() protoreflect.Message
func (*QueryGetClaimRequest) Reset ¶
func (x *QueryGetClaimRequest) Reset()
func (*QueryGetClaimRequest) String ¶
func (x *QueryGetClaimRequest) String() string
type QueryGetClaimResponse ¶
type QueryGetClaimResponse struct { Claim *Claim `protobuf:"bytes,1,opt,name=claim,proto3" json:"claim,omitempty"` // contains filtered or unexported fields }
func (*QueryGetClaimResponse) Descriptor
deprecated
func (*QueryGetClaimResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryGetClaimResponse.ProtoReflect.Descriptor instead.
func (*QueryGetClaimResponse) GetClaim ¶
func (x *QueryGetClaimResponse) GetClaim() *Claim
func (*QueryGetClaimResponse) ProtoMessage ¶
func (*QueryGetClaimResponse) ProtoMessage()
func (*QueryGetClaimResponse) ProtoReflect ¶
func (x *QueryGetClaimResponse) ProtoReflect() protoreflect.Message
func (*QueryGetClaimResponse) Reset ¶
func (x *QueryGetClaimResponse) Reset()
func (*QueryGetClaimResponse) String ¶
func (x *QueryGetClaimResponse) String() string
type QueryGetProofRequest ¶
type QueryGetProofRequest struct { SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` SupplierAddress string `protobuf:"bytes,2,opt,name=supplier_address,json=supplierAddress,proto3" json:"supplier_address,omitempty"` // contains filtered or unexported fields }
func (*QueryGetProofRequest) Descriptor
deprecated
func (*QueryGetProofRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryGetProofRequest.ProtoReflect.Descriptor instead.
func (*QueryGetProofRequest) GetSessionId ¶
func (x *QueryGetProofRequest) GetSessionId() string
func (*QueryGetProofRequest) GetSupplierAddress ¶
func (x *QueryGetProofRequest) GetSupplierAddress() string
func (*QueryGetProofRequest) ProtoMessage ¶
func (*QueryGetProofRequest) ProtoMessage()
func (*QueryGetProofRequest) ProtoReflect ¶
func (x *QueryGetProofRequest) ProtoReflect() protoreflect.Message
func (*QueryGetProofRequest) Reset ¶
func (x *QueryGetProofRequest) Reset()
func (*QueryGetProofRequest) String ¶
func (x *QueryGetProofRequest) String() string
type QueryGetProofResponse ¶
type QueryGetProofResponse struct { Proof *Proof `protobuf:"bytes,1,opt,name=proof,proto3" json:"proof,omitempty"` // contains filtered or unexported fields }
func (*QueryGetProofResponse) Descriptor
deprecated
func (*QueryGetProofResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryGetProofResponse.ProtoReflect.Descriptor instead.
func (*QueryGetProofResponse) GetProof ¶
func (x *QueryGetProofResponse) GetProof() *Proof
func (*QueryGetProofResponse) ProtoMessage ¶
func (*QueryGetProofResponse) ProtoMessage()
func (*QueryGetProofResponse) ProtoReflect ¶
func (x *QueryGetProofResponse) ProtoReflect() protoreflect.Message
func (*QueryGetProofResponse) Reset ¶
func (x *QueryGetProofResponse) Reset()
func (*QueryGetProofResponse) String ¶
func (x *QueryGetProofResponse) String() string
type QueryParamsRequest ¶
type QueryParamsRequest struct {
// contains filtered or unexported fields
}
QueryParamsRequest is request type for the Query/Params RPC method.
func (*QueryParamsRequest) Descriptor
deprecated
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryParamsRequest.ProtoReflect.Descriptor instead.
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) ProtoReflect ¶
func (x *QueryParamsRequest) ProtoReflect() protoreflect.Message
func (*QueryParamsRequest) Reset ¶
func (x *QueryParamsRequest) Reset()
func (*QueryParamsRequest) String ¶
func (x *QueryParamsRequest) String() string
type QueryParamsResponse ¶
type QueryParamsResponse struct { // params holds all the parameters of this module. Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
QueryParamsResponse is response type for the Query/Params RPC method.
func (*QueryParamsResponse) Descriptor
deprecated
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryParamsResponse.ProtoReflect.Descriptor instead.
func (*QueryParamsResponse) GetParams ¶
func (x *QueryParamsResponse) GetParams() *Params
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) ProtoReflect ¶
func (x *QueryParamsResponse) ProtoReflect() protoreflect.Message
func (*QueryParamsResponse) Reset ¶
func (x *QueryParamsResponse) Reset()
func (*QueryParamsResponse) String ¶
func (x *QueryParamsResponse) String() string