Documentation ¶
Index ¶
- Variables
- func RegisterMsgServiceServer(s grpc1.Server, srv MsgServiceServer)
- type MsgServiceClient
- type MsgServiceRecalculateTargetEmissionRequest
- func (*MsgServiceRecalculateTargetEmissionRequest) Descriptor() ([]byte, []int)
- func (m *MsgServiceRecalculateTargetEmissionRequest) GetSender() string
- func (m *MsgServiceRecalculateTargetEmissionRequest) Marshal() (dAtA []byte, err error)
- func (m *MsgServiceRecalculateTargetEmissionRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgServiceRecalculateTargetEmissionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgServiceRecalculateTargetEmissionRequest) ProtoMessage()
- func (m *MsgServiceRecalculateTargetEmissionRequest) Reset()
- func (m *MsgServiceRecalculateTargetEmissionRequest) Size() (n int)
- func (m *MsgServiceRecalculateTargetEmissionRequest) String() string
- func (m *MsgServiceRecalculateTargetEmissionRequest) Unmarshal(dAtA []byte) error
- func (m *MsgServiceRecalculateTargetEmissionRequest) XXX_DiscardUnknown()
- func (m *MsgServiceRecalculateTargetEmissionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgServiceRecalculateTargetEmissionRequest) XXX_Merge(src proto.Message)
- func (m *MsgServiceRecalculateTargetEmissionRequest) XXX_Size() int
- func (m *MsgServiceRecalculateTargetEmissionRequest) XXX_Unmarshal(b []byte) error
- type MsgServiceRecalculateTargetEmissionResponse
- func (*MsgServiceRecalculateTargetEmissionResponse) Descriptor() ([]byte, []int)
- func (m *MsgServiceRecalculateTargetEmissionResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgServiceRecalculateTargetEmissionResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgServiceRecalculateTargetEmissionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgServiceRecalculateTargetEmissionResponse) ProtoMessage()
- func (m *MsgServiceRecalculateTargetEmissionResponse) Reset()
- func (m *MsgServiceRecalculateTargetEmissionResponse) Size() (n int)
- func (m *MsgServiceRecalculateTargetEmissionResponse) String() string
- func (m *MsgServiceRecalculateTargetEmissionResponse) Unmarshal(dAtA []byte) error
- func (m *MsgServiceRecalculateTargetEmissionResponse) XXX_DiscardUnknown()
- func (m *MsgServiceRecalculateTargetEmissionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgServiceRecalculateTargetEmissionResponse) XXX_Merge(src proto.Message)
- func (m *MsgServiceRecalculateTargetEmissionResponse) XXX_Size() int
- func (m *MsgServiceRecalculateTargetEmissionResponse) XXX_Unmarshal(b []byte) error
- type MsgServiceServer
- type MsgServiceUpdateParamsRequest
- func (*MsgServiceUpdateParamsRequest) Descriptor() ([]byte, []int)
- func (m *MsgServiceUpdateParamsRequest) GetParams() types.Params
- func (m *MsgServiceUpdateParamsRequest) GetRecalculateTargetEmission() bool
- func (m *MsgServiceUpdateParamsRequest) GetSender() string
- func (m *MsgServiceUpdateParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *MsgServiceUpdateParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgServiceUpdateParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgServiceUpdateParamsRequest) ProtoMessage()
- func (m *MsgServiceUpdateParamsRequest) Reset()
- func (m *MsgServiceUpdateParamsRequest) Size() (n int)
- func (m *MsgServiceUpdateParamsRequest) String() string
- func (m *MsgServiceUpdateParamsRequest) Unmarshal(dAtA []byte) error
- func (m *MsgServiceUpdateParamsRequest) XXX_DiscardUnknown()
- func (m *MsgServiceUpdateParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgServiceUpdateParamsRequest) XXX_Merge(src proto.Message)
- func (m *MsgServiceUpdateParamsRequest) XXX_Size() int
- func (m *MsgServiceUpdateParamsRequest) XXX_Unmarshal(b []byte) error
- type MsgServiceUpdateParamsResponse
- func (*MsgServiceUpdateParamsResponse) Descriptor() ([]byte, []int)
- func (m *MsgServiceUpdateParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgServiceUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgServiceUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgServiceUpdateParamsResponse) ProtoMessage()
- func (m *MsgServiceUpdateParamsResponse) Reset()
- func (m *MsgServiceUpdateParamsResponse) Size() (n int)
- func (m *MsgServiceUpdateParamsResponse) String() string
- func (m *MsgServiceUpdateParamsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgServiceUpdateParamsResponse) XXX_DiscardUnknown()
- func (m *MsgServiceUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgServiceUpdateParamsResponse) XXX_Merge(src proto.Message)
- func (m *MsgServiceUpdateParamsResponse) XXX_Size() int
- func (m *MsgServiceUpdateParamsResponse) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServiceServer
- func (*UnimplementedMsgServiceServer) RecalculateTargetEmission(ctx context.Context, req *MsgServiceRecalculateTargetEmissionRequest) (*MsgServiceRecalculateTargetEmissionResponse, error)
- func (*UnimplementedMsgServiceServer) UpdateParams(ctx context.Context, req *MsgServiceUpdateParamsRequest) (*MsgServiceUpdateParamsResponse, error)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func RegisterMsgServiceServer ¶
func RegisterMsgServiceServer(s grpc1.Server, srv MsgServiceServer)
Types ¶
type MsgServiceClient ¶
type MsgServiceClient interface { // update params. Only callable by someone on the emissions module whitelist UpdateParams(ctx context.Context, in *MsgServiceUpdateParamsRequest, opts ...grpc.CallOption) (*MsgServiceUpdateParamsResponse, error) // force a target emission calculation right now. Otherwise waits until the // end of params.BlocksPerMonth RecalculateTargetEmission(ctx context.Context, in *MsgServiceRecalculateTargetEmissionRequest, opts ...grpc.CallOption) (*MsgServiceRecalculateTargetEmissionResponse, error) }
MsgServiceClient is the client API for MsgService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMsgServiceClient ¶
func NewMsgServiceClient(cc grpc1.ClientConn) MsgServiceClient
type MsgServiceRecalculateTargetEmissionRequest ¶
type MsgServiceRecalculateTargetEmissionRequest struct {
Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
}
Force a recalculation of the target emission right now. This indirectly controls recalculating the inflation rate for the network and the stakers APY %.
func (*MsgServiceRecalculateTargetEmissionRequest) Descriptor ¶
func (*MsgServiceRecalculateTargetEmissionRequest) Descriptor() ([]byte, []int)
func (*MsgServiceRecalculateTargetEmissionRequest) GetSender ¶
func (m *MsgServiceRecalculateTargetEmissionRequest) GetSender() string
func (*MsgServiceRecalculateTargetEmissionRequest) Marshal ¶
func (m *MsgServiceRecalculateTargetEmissionRequest) Marshal() (dAtA []byte, err error)
func (*MsgServiceRecalculateTargetEmissionRequest) MarshalTo ¶
func (m *MsgServiceRecalculateTargetEmissionRequest) MarshalTo(dAtA []byte) (int, error)
func (*MsgServiceRecalculateTargetEmissionRequest) MarshalToSizedBuffer ¶
func (m *MsgServiceRecalculateTargetEmissionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgServiceRecalculateTargetEmissionRequest) ProtoMessage ¶
func (*MsgServiceRecalculateTargetEmissionRequest) ProtoMessage()
func (*MsgServiceRecalculateTargetEmissionRequest) Reset ¶
func (m *MsgServiceRecalculateTargetEmissionRequest) Reset()
func (*MsgServiceRecalculateTargetEmissionRequest) Size ¶
func (m *MsgServiceRecalculateTargetEmissionRequest) Size() (n int)
func (*MsgServiceRecalculateTargetEmissionRequest) String ¶
func (m *MsgServiceRecalculateTargetEmissionRequest) String() string
func (*MsgServiceRecalculateTargetEmissionRequest) Unmarshal ¶
func (m *MsgServiceRecalculateTargetEmissionRequest) Unmarshal(dAtA []byte) error
func (*MsgServiceRecalculateTargetEmissionRequest) XXX_DiscardUnknown ¶
func (m *MsgServiceRecalculateTargetEmissionRequest) XXX_DiscardUnknown()
func (*MsgServiceRecalculateTargetEmissionRequest) XXX_Marshal ¶
func (m *MsgServiceRecalculateTargetEmissionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgServiceRecalculateTargetEmissionRequest) XXX_Merge ¶
func (m *MsgServiceRecalculateTargetEmissionRequest) XXX_Merge(src proto.Message)
func (*MsgServiceRecalculateTargetEmissionRequest) XXX_Size ¶
func (m *MsgServiceRecalculateTargetEmissionRequest) XXX_Size() int
func (*MsgServiceRecalculateTargetEmissionRequest) XXX_Unmarshal ¶
func (m *MsgServiceRecalculateTargetEmissionRequest) XXX_Unmarshal(b []byte) error
type MsgServiceRecalculateTargetEmissionResponse ¶
type MsgServiceRecalculateTargetEmissionResponse struct { }
response from recalculating the target emission
func (*MsgServiceRecalculateTargetEmissionResponse) Descriptor ¶
func (*MsgServiceRecalculateTargetEmissionResponse) Descriptor() ([]byte, []int)
func (*MsgServiceRecalculateTargetEmissionResponse) Marshal ¶
func (m *MsgServiceRecalculateTargetEmissionResponse) Marshal() (dAtA []byte, err error)
func (*MsgServiceRecalculateTargetEmissionResponse) MarshalTo ¶
func (m *MsgServiceRecalculateTargetEmissionResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgServiceRecalculateTargetEmissionResponse) MarshalToSizedBuffer ¶
func (m *MsgServiceRecalculateTargetEmissionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgServiceRecalculateTargetEmissionResponse) ProtoMessage ¶
func (*MsgServiceRecalculateTargetEmissionResponse) ProtoMessage()
func (*MsgServiceRecalculateTargetEmissionResponse) Reset ¶
func (m *MsgServiceRecalculateTargetEmissionResponse) Reset()
func (*MsgServiceRecalculateTargetEmissionResponse) Size ¶
func (m *MsgServiceRecalculateTargetEmissionResponse) Size() (n int)
func (*MsgServiceRecalculateTargetEmissionResponse) String ¶
func (m *MsgServiceRecalculateTargetEmissionResponse) String() string
func (*MsgServiceRecalculateTargetEmissionResponse) Unmarshal ¶
func (m *MsgServiceRecalculateTargetEmissionResponse) Unmarshal(dAtA []byte) error
func (*MsgServiceRecalculateTargetEmissionResponse) XXX_DiscardUnknown ¶
func (m *MsgServiceRecalculateTargetEmissionResponse) XXX_DiscardUnknown()
func (*MsgServiceRecalculateTargetEmissionResponse) XXX_Marshal ¶
func (m *MsgServiceRecalculateTargetEmissionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgServiceRecalculateTargetEmissionResponse) XXX_Merge ¶
func (m *MsgServiceRecalculateTargetEmissionResponse) XXX_Merge(src proto.Message)
func (*MsgServiceRecalculateTargetEmissionResponse) XXX_Size ¶
func (m *MsgServiceRecalculateTargetEmissionResponse) XXX_Size() int
func (*MsgServiceRecalculateTargetEmissionResponse) XXX_Unmarshal ¶
func (m *MsgServiceRecalculateTargetEmissionResponse) XXX_Unmarshal(b []byte) error
type MsgServiceServer ¶
type MsgServiceServer interface { // update params. Only callable by someone on the emissions module whitelist UpdateParams(context.Context, *MsgServiceUpdateParamsRequest) (*MsgServiceUpdateParamsResponse, error) // force a target emission calculation right now. Otherwise waits until the // end of params.BlocksPerMonth RecalculateTargetEmission(context.Context, *MsgServiceRecalculateTargetEmissionRequest) (*MsgServiceRecalculateTargetEmissionResponse, error) }
MsgServiceServer is the server API for MsgService service.
type MsgServiceUpdateParamsRequest ¶
type MsgServiceUpdateParamsRequest 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 types.Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"` RecalculateTargetEmission bool `` /* 139-byte string literal not displayed */ }
MsgUpdateParams allows an update to the minting parameters of the module.
func (*MsgServiceUpdateParamsRequest) Descriptor ¶
func (*MsgServiceUpdateParamsRequest) Descriptor() ([]byte, []int)
func (*MsgServiceUpdateParamsRequest) GetParams ¶
func (m *MsgServiceUpdateParamsRequest) GetParams() types.Params
func (*MsgServiceUpdateParamsRequest) GetRecalculateTargetEmission ¶
func (m *MsgServiceUpdateParamsRequest) GetRecalculateTargetEmission() bool
func (*MsgServiceUpdateParamsRequest) GetSender ¶
func (m *MsgServiceUpdateParamsRequest) GetSender() string
func (*MsgServiceUpdateParamsRequest) Marshal ¶
func (m *MsgServiceUpdateParamsRequest) Marshal() (dAtA []byte, err error)
func (*MsgServiceUpdateParamsRequest) MarshalTo ¶
func (m *MsgServiceUpdateParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*MsgServiceUpdateParamsRequest) MarshalToSizedBuffer ¶
func (m *MsgServiceUpdateParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgServiceUpdateParamsRequest) ProtoMessage ¶
func (*MsgServiceUpdateParamsRequest) ProtoMessage()
func (*MsgServiceUpdateParamsRequest) Reset ¶
func (m *MsgServiceUpdateParamsRequest) Reset()
func (*MsgServiceUpdateParamsRequest) Size ¶
func (m *MsgServiceUpdateParamsRequest) Size() (n int)
func (*MsgServiceUpdateParamsRequest) String ¶
func (m *MsgServiceUpdateParamsRequest) String() string
func (*MsgServiceUpdateParamsRequest) Unmarshal ¶
func (m *MsgServiceUpdateParamsRequest) Unmarshal(dAtA []byte) error
func (*MsgServiceUpdateParamsRequest) XXX_DiscardUnknown ¶
func (m *MsgServiceUpdateParamsRequest) XXX_DiscardUnknown()
func (*MsgServiceUpdateParamsRequest) XXX_Marshal ¶
func (m *MsgServiceUpdateParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgServiceUpdateParamsRequest) XXX_Merge ¶
func (m *MsgServiceUpdateParamsRequest) XXX_Merge(src proto.Message)
func (*MsgServiceUpdateParamsRequest) XXX_Size ¶
func (m *MsgServiceUpdateParamsRequest) XXX_Size() int
func (*MsgServiceUpdateParamsRequest) XXX_Unmarshal ¶
func (m *MsgServiceUpdateParamsRequest) XXX_Unmarshal(b []byte) error
type MsgServiceUpdateParamsResponse ¶
type MsgServiceUpdateParamsResponse struct { }
MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.
func (*MsgServiceUpdateParamsResponse) Descriptor ¶
func (*MsgServiceUpdateParamsResponse) Descriptor() ([]byte, []int)
func (*MsgServiceUpdateParamsResponse) Marshal ¶
func (m *MsgServiceUpdateParamsResponse) Marshal() (dAtA []byte, err error)
func (*MsgServiceUpdateParamsResponse) MarshalTo ¶
func (m *MsgServiceUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgServiceUpdateParamsResponse) MarshalToSizedBuffer ¶
func (m *MsgServiceUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgServiceUpdateParamsResponse) ProtoMessage ¶
func (*MsgServiceUpdateParamsResponse) ProtoMessage()
func (*MsgServiceUpdateParamsResponse) Reset ¶
func (m *MsgServiceUpdateParamsResponse) Reset()
func (*MsgServiceUpdateParamsResponse) Size ¶
func (m *MsgServiceUpdateParamsResponse) Size() (n int)
func (*MsgServiceUpdateParamsResponse) String ¶
func (m *MsgServiceUpdateParamsResponse) String() string
func (*MsgServiceUpdateParamsResponse) Unmarshal ¶
func (m *MsgServiceUpdateParamsResponse) Unmarshal(dAtA []byte) error
func (*MsgServiceUpdateParamsResponse) XXX_DiscardUnknown ¶
func (m *MsgServiceUpdateParamsResponse) XXX_DiscardUnknown()
func (*MsgServiceUpdateParamsResponse) XXX_Marshal ¶
func (m *MsgServiceUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgServiceUpdateParamsResponse) XXX_Merge ¶
func (m *MsgServiceUpdateParamsResponse) XXX_Merge(src proto.Message)
func (*MsgServiceUpdateParamsResponse) XXX_Size ¶
func (m *MsgServiceUpdateParamsResponse) XXX_Size() int
func (*MsgServiceUpdateParamsResponse) XXX_Unmarshal ¶
func (m *MsgServiceUpdateParamsResponse) XXX_Unmarshal(b []byte) error
type UnimplementedMsgServiceServer ¶
type UnimplementedMsgServiceServer struct { }
UnimplementedMsgServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServiceServer) RecalculateTargetEmission ¶
func (*UnimplementedMsgServiceServer) RecalculateTargetEmission(ctx context.Context, req *MsgServiceRecalculateTargetEmissionRequest) (*MsgServiceRecalculateTargetEmissionResponse, error)
func (*UnimplementedMsgServiceServer) UpdateParams ¶
func (*UnimplementedMsgServiceServer) UpdateParams(ctx context.Context, req *MsgServiceUpdateParamsRequest) (*MsgServiceUpdateParamsResponse, error)
Directories ¶
Path | Synopsis |
---|---|
api
|
|
mint/module/v1
Code generated by protoc-gen-go-pulsar.
|
Code generated by protoc-gen-go-pulsar. |
mint/v1beta1
Code generated by protoc-gen-go-pulsar.
|
Code generated by protoc-gen-go-pulsar. |
mint/v2
Code generated by protoc-gen-go-pulsar.
|
Code generated by protoc-gen-go-pulsar. |
Package testutil is a generated GoMock package.
|
Package testutil is a generated GoMock package. |
Package types is a reverse proxy.
|
Package types is a reverse proxy. |