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.
Index ¶
- Variables
- type EventClaimExpired
- func (*EventClaimExpired) Descriptor() ([]byte, []int)deprecated
- func (x *EventClaimExpired) GetClaim() *proof.Claim
- func (x *EventClaimExpired) GetComputeUnits() uint64
- func (*EventClaimExpired) ProtoMessage()
- func (x *EventClaimExpired) ProtoReflect() protoreflect.Message
- func (x *EventClaimExpired) Reset()
- func (x *EventClaimExpired) String() string
- type EventClaimSettled
- func (*EventClaimSettled) Descriptor() ([]byte, []int)deprecated
- func (x *EventClaimSettled) GetClaim() *proof.Claim
- func (x *EventClaimSettled) GetComputeUnits() uint64
- func (x *EventClaimSettled) GetProofRequired() bool
- func (*EventClaimSettled) ProtoMessage()
- func (x *EventClaimSettled) ProtoReflect() protoreflect.Message
- func (x *EventClaimSettled) Reset()
- func (x *EventClaimSettled) String() string
- type GenesisState
- 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 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_tokenomics_event_proto protoreflect.FileDescriptor
var File_poktroll_tokenomics_genesis_proto protoreflect.FileDescriptor
var File_poktroll_tokenomics_params_proto protoreflect.FileDescriptor
var File_poktroll_tokenomics_query_proto protoreflect.FileDescriptor
var File_poktroll_tokenomics_tx_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type EventClaimExpired ¶
type EventClaimExpired struct { Claim *proof.Claim `protobuf:"bytes,1,opt,name=claim,proto3" json:"claim,omitempty"` ComputeUnits uint64 `protobuf:"varint,2,opt,name=compute_units,json=computeUnits,proto3" json:"compute_units,omitempty"` // contains filtered or unexported fields }
EventClaimExpired is an event emitted during settlement whenever a claim requiring an on-chain proof doesn't have one. The claim cannot be settled, leading to that work never being rewarded.
func (*EventClaimExpired) Descriptor
deprecated
func (*EventClaimExpired) Descriptor() ([]byte, []int)
Deprecated: Use EventClaimExpired.ProtoReflect.Descriptor instead.
func (*EventClaimExpired) GetClaim ¶
func (x *EventClaimExpired) GetClaim() *proof.Claim
func (*EventClaimExpired) GetComputeUnits ¶
func (x *EventClaimExpired) GetComputeUnits() uint64
func (*EventClaimExpired) ProtoMessage ¶
func (*EventClaimExpired) ProtoMessage()
func (*EventClaimExpired) ProtoReflect ¶
func (x *EventClaimExpired) ProtoReflect() protoreflect.Message
func (*EventClaimExpired) Reset ¶
func (x *EventClaimExpired) Reset()
func (*EventClaimExpired) String ¶
func (x *EventClaimExpired) String() string
type EventClaimSettled ¶
type EventClaimSettled struct { Claim *proof.Claim `protobuf:"bytes,1,opt,name=claim,proto3" json:"claim,omitempty"` ComputeUnits uint64 `protobuf:"varint,2,opt,name=compute_units,json=computeUnits,proto3" json:"compute_units,omitempty"` ProofRequired bool `protobuf:"varint,3,opt,name=proof_required,json=proofRequired,proto3" json:"proof_required,omitempty"` // contains filtered or unexported fields }
EventClaimSettled is an event emitted whenever a claim is settled. The proof_required determines whether the claim requires a proof that has been submitted or not
func (*EventClaimSettled) Descriptor
deprecated
func (*EventClaimSettled) Descriptor() ([]byte, []int)
Deprecated: Use EventClaimSettled.ProtoReflect.Descriptor instead.
func (*EventClaimSettled) GetClaim ¶
func (x *EventClaimSettled) GetClaim() *proof.Claim
func (*EventClaimSettled) GetComputeUnits ¶
func (x *EventClaimSettled) GetComputeUnits() uint64
func (*EventClaimSettled) GetProofRequired ¶
func (x *EventClaimSettled) GetProofRequired() bool
func (*EventClaimSettled) ProtoMessage ¶
func (*EventClaimSettled) ProtoMessage()
func (*EventClaimSettled) ProtoReflect ¶
func (x *EventClaimSettled) ProtoReflect() protoreflect.Message
func (*EventClaimSettled) Reset ¶
func (x *EventClaimSettled) Reset()
func (*EventClaimSettled) String ¶
func (x *EventClaimSettled) String() string
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"` // contains filtered or unexported fields }
GenesisState defines the tokenomics module's genesis state.
func (*GenesisState) Descriptor
deprecated
func (*GenesisState) Descriptor() ([]byte, []int)
Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.
func (*GenesisState) GetParams ¶
func (x *GenesisState) GetParams() *Params
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 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/tokenomics 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.
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 amount of upokt that a compute unit should translate to when settling a session. // TODO_DOCUMENT(@Olshansk): Make sure to document the units of this parameter (or the map) once finalized. ComputeUnitsToTokensMultiplier uint64 `` /* 158-byte string literal not displayed */ // contains filtered or unexported fields }
TODO_DOCUMENT(@Olshansk): Document all of the on-chain governance parameters. Params defines the parameters for the tokenomics module.
func (*Params) Descriptor
deprecated
func (*Params) GetComputeUnitsToTokensMultiplier ¶
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) ProtoReflect ¶
func (x *Params) ProtoReflect() protoreflect.Message
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