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.
Index ¶
- Constants
- Variables
- func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
- func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
- type GenesisState
- type MsgBurnHeldBalance
- func (*MsgBurnHeldBalance) Descriptor() ([]byte, []int)deprecated
- func (x *MsgBurnHeldBalance) GetAuthority() string
- func (x *MsgBurnHeldBalance) GetBurnCoins() []*types.Coin
- func (*MsgBurnHeldBalance) ProtoMessage()
- func (x *MsgBurnHeldBalance) ProtoReflect() protoreflect.Message
- func (x *MsgBurnHeldBalance) Reset()
- func (x *MsgBurnHeldBalance) String() string
- type MsgBurnHeldBalanceResponse
- type MsgClient
- type MsgPayout
- func (*MsgPayout) Descriptor() ([]byte, []int)deprecated
- func (x *MsgPayout) GetAuthority() string
- func (x *MsgPayout) GetPayoutPairs() []*PayoutPair
- func (*MsgPayout) ProtoMessage()
- func (x *MsgPayout) ProtoReflect() protoreflect.Message
- func (x *MsgPayout) Reset()
- func (x *MsgPayout) String() string
- type MsgPayoutResponse
- type MsgServer
- 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 PayoutPair
- type QueryClient
- 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
- type QueryServer
- type UnimplementedMsgServer
- func (UnimplementedMsgServer) BurnHeldBalance(context.Context, *MsgBurnHeldBalance) (*MsgBurnHeldBalanceResponse, error)
- func (UnimplementedMsgServer) Payout(context.Context, *MsgPayout) (*MsgPayoutResponse, error)
- func (UnimplementedMsgServer) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
- type UnimplementedQueryServer
- type UnsafeMsgServer
- type UnsafeQueryServer
Constants ¶
const ( Msg_UpdateParams_FullMethodName = "/manifest.v1.Msg/UpdateParams" Msg_Payout_FullMethodName = "/manifest.v1.Msg/Payout" Msg_BurnHeldBalance_FullMethodName = "/manifest.v1.Msg/BurnHeldBalance" )
const (
Query_Params_FullMethodName = "/manifest.v1.Query/Params"
)
Variables ¶
var File_manifest_v1_genesis_proto protoreflect.FileDescriptor
var File_manifest_v1_query_proto protoreflect.FileDescriptor
var File_manifest_v1_tx_proto protoreflect.FileDescriptor
var Msg_ServiceDesc = grpc.ServiceDesc{ ServiceName: "manifest.v1.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "UpdateParams", Handler: _Msg_UpdateParams_Handler, }, { MethodName: "Payout", Handler: _Msg_Payout_Handler, }, { MethodName: "BurnHeldBalance", Handler: _Msg_BurnHeldBalance_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "manifest/v1/tx.proto", }
Msg_ServiceDesc is the grpc.ServiceDesc for Msg service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Query_ServiceDesc = grpc.ServiceDesc{ ServiceName: "manifest.v1.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Params", Handler: _Query_Params_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "manifest/v1/query.proto", }
Query_ServiceDesc is the grpc.ServiceDesc for Query service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterMsgServer ¶
func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
Types ¶
type GenesisState ¶
type GenesisState struct { // Params defines all the paramaters of the module. Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
GenesisState defines the module 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 MsgBurnHeldBalance ¶
type MsgBurnHeldBalance struct { // sender is the address of the tokenholder. Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // burn_coins are the coins to be burned by the tokenholder. BurnCoins []*types.Coin `protobuf:"bytes,2,rep,name=burn_coins,json=burnCoins,proto3" json:"burn_coins,omitempty"` // contains filtered or unexported fields }
MsgPayout is the Msg/BurnHeldBalance request type.
func (*MsgBurnHeldBalance) Descriptor
deprecated
func (*MsgBurnHeldBalance) Descriptor() ([]byte, []int)
Deprecated: Use MsgBurnHeldBalance.ProtoReflect.Descriptor instead.
func (*MsgBurnHeldBalance) GetAuthority ¶
func (x *MsgBurnHeldBalance) GetAuthority() string
func (*MsgBurnHeldBalance) GetBurnCoins ¶
func (x *MsgBurnHeldBalance) GetBurnCoins() []*types.Coin
func (*MsgBurnHeldBalance) ProtoMessage ¶
func (*MsgBurnHeldBalance) ProtoMessage()
func (*MsgBurnHeldBalance) ProtoReflect ¶
func (x *MsgBurnHeldBalance) ProtoReflect() protoreflect.Message
func (*MsgBurnHeldBalance) Reset ¶
func (x *MsgBurnHeldBalance) Reset()
func (*MsgBurnHeldBalance) String ¶
func (x *MsgBurnHeldBalance) String() string
type MsgBurnHeldBalanceResponse ¶
type MsgBurnHeldBalanceResponse struct {
// contains filtered or unexported fields
}
MsgBurnHeldBalanceResponse defines the response structure for executing a MsgBurnHeldBalance message.
func (*MsgBurnHeldBalanceResponse) Descriptor
deprecated
func (*MsgBurnHeldBalanceResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgBurnHeldBalanceResponse.ProtoReflect.Descriptor instead.
func (*MsgBurnHeldBalanceResponse) ProtoMessage ¶
func (*MsgBurnHeldBalanceResponse) ProtoMessage()
func (*MsgBurnHeldBalanceResponse) ProtoReflect ¶
func (x *MsgBurnHeldBalanceResponse) ProtoReflect() protoreflect.Message
func (*MsgBurnHeldBalanceResponse) Reset ¶
func (x *MsgBurnHeldBalanceResponse) Reset()
func (*MsgBurnHeldBalanceResponse) String ¶
func (x *MsgBurnHeldBalanceResponse) String() string
type MsgClient ¶
type MsgClient interface { // UpdateParams defines a governance operation for updating the parameters. // // Since: cosmos-sdk 0.47 UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) // Payout allows the authority to manually pay out stakeholders. Payout(ctx context.Context, in *MsgPayout, opts ...grpc.CallOption) (*MsgPayoutResponse, error) // BurnHeldBalance allows a tokenholder to burn coins they own. BurnHeldBalance(ctx context.Context, in *MsgBurnHeldBalance, opts ...grpc.CallOption) (*MsgBurnHeldBalanceResponse, error) }
MsgClient is the client API for Msg 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.
func NewMsgClient ¶
func NewMsgClient(cc grpc.ClientConnInterface) MsgClient
type MsgPayout ¶
type MsgPayout struct { // authority is the address of the controlling account. Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // payout_pairs are the pairs of addresses and coins to be paid out. PayoutPairs []*PayoutPair `protobuf:"bytes,2,rep,name=payout_pairs,json=payoutPairs,proto3" json:"payout_pairs,omitempty"` // contains filtered or unexported fields }
MsgPayout is the Msg/Payout request type.
func (*MsgPayout) Descriptor
deprecated
func (*MsgPayout) GetAuthority ¶
func (*MsgPayout) GetPayoutPairs ¶
func (x *MsgPayout) GetPayoutPairs() []*PayoutPair
func (*MsgPayout) ProtoMessage ¶
func (*MsgPayout) ProtoMessage()
func (*MsgPayout) ProtoReflect ¶
func (x *MsgPayout) ProtoReflect() protoreflect.Message
type MsgPayoutResponse ¶
type MsgPayoutResponse struct {
// contains filtered or unexported fields
}
MsgPayoutResponse defines the response structure for executing a MsgPayout message.
func (*MsgPayoutResponse) Descriptor
deprecated
func (*MsgPayoutResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgPayoutResponse.ProtoReflect.Descriptor instead.
func (*MsgPayoutResponse) ProtoMessage ¶
func (*MsgPayoutResponse) ProtoMessage()
func (*MsgPayoutResponse) ProtoReflect ¶
func (x *MsgPayoutResponse) ProtoReflect() protoreflect.Message
func (*MsgPayoutResponse) Reset ¶
func (x *MsgPayoutResponse) Reset()
func (*MsgPayoutResponse) String ¶
func (x *MsgPayoutResponse) String() string
type MsgServer ¶
type MsgServer interface { // UpdateParams defines a governance operation for updating the parameters. // // Since: cosmos-sdk 0.47 UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) // Payout allows the authority to manually pay out stakeholders. Payout(context.Context, *MsgPayout) (*MsgPayoutResponse, error) // BurnHeldBalance allows a tokenholder to burn coins they own. BurnHeldBalance(context.Context, *MsgBurnHeldBalance) (*MsgBurnHeldBalanceResponse, error) // contains filtered or unexported methods }
MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility
type MsgUpdateParams ¶
type MsgUpdateParams struct { // authority is the address of the controlling account. Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // params defines the 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.
Since: cosmos-sdk 0.47
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.
Since: cosmos-sdk 0.47
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 {
// contains filtered or unexported fields
}
Params defines the set of module parameters.
func (*Params) Descriptor
deprecated
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) ProtoReflect ¶
func (x *Params) ProtoReflect() protoreflect.Message
type PayoutPair ¶
type PayoutPair struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Coin *types.Coin `protobuf:"bytes,2,opt,name=coin,proto3" json:"coin,omitempty"` // contains filtered or unexported fields }
PayoutPair is the object that pairs an address with a coin to be paid out.
func (*PayoutPair) Descriptor
deprecated
func (*PayoutPair) Descriptor() ([]byte, []int)
Deprecated: Use PayoutPair.ProtoReflect.Descriptor instead.
func (*PayoutPair) GetAddress ¶
func (x *PayoutPair) GetAddress() string
func (*PayoutPair) GetCoin ¶
func (x *PayoutPair) GetCoin() *types.Coin
func (*PayoutPair) ProtoMessage ¶
func (*PayoutPair) ProtoMessage()
func (*PayoutPair) ProtoReflect ¶
func (x *PayoutPair) ProtoReflect() protoreflect.Message
func (*PayoutPair) Reset ¶
func (x *PayoutPair) Reset()
func (*PayoutPair) String ¶
func (x *PayoutPair) String() string
type QueryClient ¶
type QueryClient interface { // Params queries all parameters of the module. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) }
QueryClient is the client API for Query 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.
func NewQueryClient ¶
func NewQueryClient(cc grpc.ClientConnInterface) QueryClient
type QueryParamsRequest ¶
type QueryParamsRequest struct {
// contains filtered or unexported fields
}
QueryParamsRequest is the 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 defines the parameters of the module. Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
QueryParamsResponse is the 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
type QueryServer ¶
type QueryServer interface { // Params queries all parameters of the module. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // contains filtered or unexported methods }
QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer must be embedded to have forward compatible implementations.
func (UnimplementedMsgServer) BurnHeldBalance ¶
func (UnimplementedMsgServer) BurnHeldBalance(context.Context, *MsgBurnHeldBalance) (*MsgBurnHeldBalanceResponse, error)
func (UnimplementedMsgServer) Payout ¶
func (UnimplementedMsgServer) Payout(context.Context, *MsgPayout) (*MsgPayoutResponse, error)
func (UnimplementedMsgServer) UpdateParams ¶
func (UnimplementedMsgServer) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer must be embedded to have forward compatible implementations.
func (UnimplementedQueryServer) Params ¶
func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
type UnsafeMsgServer ¶
type UnsafeMsgServer interface {
// contains filtered or unexported methods
}
UnsafeMsgServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MsgServer will result in compilation errors.
type UnsafeQueryServer ¶
type UnsafeQueryServer interface {
// contains filtered or unexported methods
}
UnsafeQueryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to QueryServer will result in compilation errors.