Documentation ¶
Overview ¶
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Index ¶
- Constants
- Variables
- func RegisterMsgServiceServer(s grpc.ServiceRegistrar, srv MsgServiceServer)
- type EventEcosystemTokenMintSet
- func (*EventEcosystemTokenMintSet) Descriptor() ([]byte, []int)deprecated
- func (x *EventEcosystemTokenMintSet) GetBlockHeight() uint64
- func (x *EventEcosystemTokenMintSet) GetTokenAmount() string
- func (*EventEcosystemTokenMintSet) ProtoMessage()
- func (x *EventEcosystemTokenMintSet) ProtoReflect() protoreflect.Message
- func (x *EventEcosystemTokenMintSet) Reset()
- func (x *EventEcosystemTokenMintSet) String() string
- type EventTokenomicsSet
- func (*EventTokenomicsSet) Descriptor() ([]byte, []int)deprecated
- func (x *EventTokenomicsSet) GetCirculatingSupply() string
- func (x *EventTokenomicsSet) GetEmissionsAmount() string
- func (x *EventTokenomicsSet) GetStakedTokenAmount() string
- func (*EventTokenomicsSet) ProtoMessage()
- func (x *EventTokenomicsSet) ProtoReflect() protoreflect.Message
- func (x *EventTokenomicsSet) Reset()
- func (x *EventTokenomicsSet) String() string
- type MsgServiceClient
- type MsgServiceServer
- type RecalculateTargetEmissionRequest
- func (*RecalculateTargetEmissionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RecalculateTargetEmissionRequest) GetSender() string
- func (*RecalculateTargetEmissionRequest) ProtoMessage()
- func (x *RecalculateTargetEmissionRequest) ProtoReflect() protoreflect.Message
- func (x *RecalculateTargetEmissionRequest) Reset()
- func (x *RecalculateTargetEmissionRequest) String() string
- type RecalculateTargetEmissionResponse
- func (*RecalculateTargetEmissionResponse) Descriptor() ([]byte, []int)deprecated
- func (*RecalculateTargetEmissionResponse) ProtoMessage()
- func (x *RecalculateTargetEmissionResponse) ProtoReflect() protoreflect.Message
- func (x *RecalculateTargetEmissionResponse) Reset()
- func (x *RecalculateTargetEmissionResponse) String() string
- type UnimplementedMsgServiceServer
- type UnsafeMsgServiceServer
- type UpdateParamsRequest
- func (*UpdateParamsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateParamsRequest) GetBlocksPerMonth() uint64
- func (x *UpdateParamsRequest) GetParams() *v1beta1.Params
- func (x *UpdateParamsRequest) GetRecalculateTargetEmission() bool
- func (x *UpdateParamsRequest) GetSender() string
- func (*UpdateParamsRequest) ProtoMessage()
- func (x *UpdateParamsRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateParamsRequest) Reset()
- func (x *UpdateParamsRequest) String() string
- type UpdateParamsResponse
Constants ¶
const ( MsgService_UpdateParams_FullMethodName = "/mint.v2.MsgService/UpdateParams" MsgService_RecalculateTargetEmission_FullMethodName = "/mint.v2.MsgService/RecalculateTargetEmission" )
Variables ¶
var File_mint_v2_events_proto protoreflect.FileDescriptor
var File_mint_v2_tx_proto protoreflect.FileDescriptor
var MsgService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "mint.v2.MsgService", HandlerType: (*MsgServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "UpdateParams", Handler: _MsgService_UpdateParams_Handler, }, { MethodName: "RecalculateTargetEmission", Handler: _MsgService_RecalculateTargetEmission_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "mint/v2/tx.proto", }
MsgService_ServiceDesc is the grpc.ServiceDesc for MsgService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterMsgServiceServer ¶
func RegisterMsgServiceServer(s grpc.ServiceRegistrar, srv MsgServiceServer)
Types ¶
type EventEcosystemTokenMintSet ¶
type EventEcosystemTokenMintSet struct { BlockHeight uint64 `protobuf:"varint,1,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` TokenAmount string `protobuf:"bytes,2,opt,name=token_amount,json=tokenAmount,proto3" json:"token_amount,omitempty"` // contains filtered or unexported fields }
func (*EventEcosystemTokenMintSet) Descriptor
deprecated
func (*EventEcosystemTokenMintSet) Descriptor() ([]byte, []int)
Deprecated: Use EventEcosystemTokenMintSet.ProtoReflect.Descriptor instead.
func (*EventEcosystemTokenMintSet) GetBlockHeight ¶
func (x *EventEcosystemTokenMintSet) GetBlockHeight() uint64
func (*EventEcosystemTokenMintSet) GetTokenAmount ¶
func (x *EventEcosystemTokenMintSet) GetTokenAmount() string
func (*EventEcosystemTokenMintSet) ProtoMessage ¶
func (*EventEcosystemTokenMintSet) ProtoMessage()
func (*EventEcosystemTokenMintSet) ProtoReflect ¶
func (x *EventEcosystemTokenMintSet) ProtoReflect() protoreflect.Message
func (*EventEcosystemTokenMintSet) Reset ¶
func (x *EventEcosystemTokenMintSet) Reset()
func (*EventEcosystemTokenMintSet) String ¶
func (x *EventEcosystemTokenMintSet) String() string
type EventTokenomicsSet ¶
type EventTokenomicsSet struct { StakedTokenAmount string `protobuf:"bytes,1,opt,name=staked_token_amount,json=stakedTokenAmount,proto3" json:"staked_token_amount,omitempty"` CirculatingSupply string `protobuf:"bytes,2,opt,name=circulating_supply,json=circulatingSupply,proto3" json:"circulating_supply,omitempty"` EmissionsAmount string `protobuf:"bytes,3,opt,name=emissions_amount,json=emissionsAmount,proto3" json:"emissions_amount,omitempty"` // contains filtered or unexported fields }
func (*EventTokenomicsSet) Descriptor
deprecated
func (*EventTokenomicsSet) Descriptor() ([]byte, []int)
Deprecated: Use EventTokenomicsSet.ProtoReflect.Descriptor instead.
func (*EventTokenomicsSet) GetCirculatingSupply ¶
func (x *EventTokenomicsSet) GetCirculatingSupply() string
func (*EventTokenomicsSet) GetEmissionsAmount ¶
func (x *EventTokenomicsSet) GetEmissionsAmount() string
func (*EventTokenomicsSet) GetStakedTokenAmount ¶
func (x *EventTokenomicsSet) GetStakedTokenAmount() string
func (*EventTokenomicsSet) ProtoMessage ¶
func (*EventTokenomicsSet) ProtoMessage()
func (*EventTokenomicsSet) ProtoReflect ¶
func (x *EventTokenomicsSet) ProtoReflect() protoreflect.Message
func (*EventTokenomicsSet) Reset ¶
func (x *EventTokenomicsSet) Reset()
func (*EventTokenomicsSet) String ¶
func (x *EventTokenomicsSet) String() string
type MsgServiceClient ¶
type MsgServiceClient interface { // update params. Only callable by someone on the emissions module whitelist UpdateParams(ctx context.Context, in *UpdateParamsRequest, opts ...grpc.CallOption) (*UpdateParamsResponse, error) // force a target emission calculation right now. Otherwise waits until the // end of params.BlocksPerMonth RecalculateTargetEmission(ctx context.Context, in *RecalculateTargetEmissionRequest, opts ...grpc.CallOption) (*RecalculateTargetEmissionResponse, error) }
MsgServiceClient is the client API for MsgService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
Msg defines the x/mint Msg service.
func NewMsgServiceClient ¶
func NewMsgServiceClient(cc grpc.ClientConnInterface) MsgServiceClient
type MsgServiceServer ¶
type MsgServiceServer interface { // update params. Only callable by someone on the emissions module whitelist UpdateParams(context.Context, *UpdateParamsRequest) (*UpdateParamsResponse, error) // force a target emission calculation right now. Otherwise waits until the // end of params.BlocksPerMonth RecalculateTargetEmission(context.Context, *RecalculateTargetEmissionRequest) (*RecalculateTargetEmissionResponse, error) // contains filtered or unexported methods }
MsgServiceServer is the server API for MsgService service. All implementations must embed UnimplementedMsgServiceServer for forward compatibility.
Msg defines the x/mint Msg service.
type RecalculateTargetEmissionRequest ¶
type RecalculateTargetEmissionRequest struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` // contains filtered or unexported fields }
Force a recalculation of the target emission right now. This indirectly controls recalculating the inflation rate for the network and the stakers APY %.
func (*RecalculateTargetEmissionRequest) Descriptor
deprecated
func (*RecalculateTargetEmissionRequest) Descriptor() ([]byte, []int)
Deprecated: Use RecalculateTargetEmissionRequest.ProtoReflect.Descriptor instead.
func (*RecalculateTargetEmissionRequest) GetSender ¶
func (x *RecalculateTargetEmissionRequest) GetSender() string
func (*RecalculateTargetEmissionRequest) ProtoMessage ¶
func (*RecalculateTargetEmissionRequest) ProtoMessage()
func (*RecalculateTargetEmissionRequest) ProtoReflect ¶
func (x *RecalculateTargetEmissionRequest) ProtoReflect() protoreflect.Message
func (*RecalculateTargetEmissionRequest) Reset ¶
func (x *RecalculateTargetEmissionRequest) Reset()
func (*RecalculateTargetEmissionRequest) String ¶
func (x *RecalculateTargetEmissionRequest) String() string
type RecalculateTargetEmissionResponse ¶
type RecalculateTargetEmissionResponse struct {
// contains filtered or unexported fields
}
response from recalculating the target emission
func (*RecalculateTargetEmissionResponse) Descriptor
deprecated
func (*RecalculateTargetEmissionResponse) Descriptor() ([]byte, []int)
Deprecated: Use RecalculateTargetEmissionResponse.ProtoReflect.Descriptor instead.
func (*RecalculateTargetEmissionResponse) ProtoMessage ¶
func (*RecalculateTargetEmissionResponse) ProtoMessage()
func (*RecalculateTargetEmissionResponse) ProtoReflect ¶
func (x *RecalculateTargetEmissionResponse) ProtoReflect() protoreflect.Message
func (*RecalculateTargetEmissionResponse) Reset ¶
func (x *RecalculateTargetEmissionResponse) Reset()
func (*RecalculateTargetEmissionResponse) String ¶
func (x *RecalculateTargetEmissionResponse) String() string
type UnimplementedMsgServiceServer ¶
type UnimplementedMsgServiceServer struct{}
UnimplementedMsgServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedMsgServiceServer) RecalculateTargetEmission ¶
func (UnimplementedMsgServiceServer) RecalculateTargetEmission(context.Context, *RecalculateTargetEmissionRequest) (*RecalculateTargetEmissionResponse, error)
func (UnimplementedMsgServiceServer) UpdateParams ¶
func (UnimplementedMsgServiceServer) UpdateParams(context.Context, *UpdateParamsRequest) (*UpdateParamsResponse, error)
type UnsafeMsgServiceServer ¶
type UnsafeMsgServiceServer interface {
// contains filtered or unexported methods
}
UnsafeMsgServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MsgServiceServer will result in compilation errors.
type UpdateParamsRequest ¶
type UpdateParamsRequest struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` // params defines the x/mint parameters to update. // // NOTE: All parameters must be supplied. Params *v1beta1.Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"` // allow updating params to also force a recalculation of the target emission RecalculateTargetEmission bool `` /* 139-byte string literal not displayed */ // blocksPerMonth is used/updateable by both the mint and emissions module. BlocksPerMonth uint64 `protobuf:"varint,4,opt,name=blocks_per_month,json=blocksPerMonth,proto3" json:"blocks_per_month,omitempty"` // contains filtered or unexported fields }
UpdateParams allows an update to the minting parameters of the module.
func (*UpdateParamsRequest) Descriptor
deprecated
func (*UpdateParamsRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateParamsRequest.ProtoReflect.Descriptor instead.
func (*UpdateParamsRequest) GetBlocksPerMonth ¶
func (x *UpdateParamsRequest) GetBlocksPerMonth() uint64
func (*UpdateParamsRequest) GetParams ¶
func (x *UpdateParamsRequest) GetParams() *v1beta1.Params
func (*UpdateParamsRequest) GetRecalculateTargetEmission ¶
func (x *UpdateParamsRequest) GetRecalculateTargetEmission() bool
func (*UpdateParamsRequest) GetSender ¶
func (x *UpdateParamsRequest) GetSender() string
func (*UpdateParamsRequest) ProtoMessage ¶
func (*UpdateParamsRequest) ProtoMessage()
func (*UpdateParamsRequest) ProtoReflect ¶
func (x *UpdateParamsRequest) ProtoReflect() protoreflect.Message
func (*UpdateParamsRequest) Reset ¶
func (x *UpdateParamsRequest) Reset()
func (*UpdateParamsRequest) String ¶
func (x *UpdateParamsRequest) String() string
type UpdateParamsResponse ¶
type UpdateParamsResponse struct {
// contains filtered or unexported fields
}
MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.
func (*UpdateParamsResponse) Descriptor
deprecated
func (*UpdateParamsResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateParamsResponse.ProtoReflect.Descriptor instead.
func (*UpdateParamsResponse) ProtoMessage ¶
func (*UpdateParamsResponse) ProtoMessage()
func (*UpdateParamsResponse) ProtoReflect ¶
func (x *UpdateParamsResponse) ProtoReflect() protoreflect.Message
func (*UpdateParamsResponse) Reset ¶
func (x *UpdateParamsResponse) Reset()
func (*UpdateParamsResponse) String ¶
func (x *UpdateParamsResponse) String() string