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.
Index ¶
- Constants
- Variables
- func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
- func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
- type ContinuousFund
- func (*ContinuousFund) Descriptor() ([]byte, []int)deprecated
- func (x *ContinuousFund) GetExpiry() *timestamppb.Timestamp
- func (x *ContinuousFund) GetPercentage() string
- func (x *ContinuousFund) GetRecipient() string
- func (*ContinuousFund) ProtoMessage()
- func (x *ContinuousFund) ProtoReflect() protoreflect.Message
- func (x *ContinuousFund) Reset()
- func (x *ContinuousFund) String() string
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)deprecated
- func (x *GenesisState) GetContinuousFunds() []*ContinuousFund
- func (x *GenesisState) GetParams() *Params
- func (*GenesisState) ProtoMessage()
- func (x *GenesisState) ProtoReflect() protoreflect.Message
- func (x *GenesisState) Reset()
- func (x *GenesisState) String() string
- type MsgCancelContinuousFund
- func (*MsgCancelContinuousFund) Descriptor() ([]byte, []int)deprecated
- func (x *MsgCancelContinuousFund) GetAuthority() string
- func (x *MsgCancelContinuousFund) GetRecipient() string
- func (*MsgCancelContinuousFund) ProtoMessage()
- func (x *MsgCancelContinuousFund) ProtoReflect() protoreflect.Message
- func (x *MsgCancelContinuousFund) Reset()
- func (x *MsgCancelContinuousFund) String() string
- type MsgCancelContinuousFundResponse
- func (*MsgCancelContinuousFundResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MsgCancelContinuousFundResponse) GetCanceledHeight() uint64
- func (x *MsgCancelContinuousFundResponse) GetCanceledTime() *timestamppb.Timestamp
- func (x *MsgCancelContinuousFundResponse) GetRecipient() string
- func (*MsgCancelContinuousFundResponse) ProtoMessage()
- func (x *MsgCancelContinuousFundResponse) ProtoReflect() protoreflect.Message
- func (x *MsgCancelContinuousFundResponse) Reset()
- func (x *MsgCancelContinuousFundResponse) String() string
- type MsgClient
- type MsgCommunityPoolSpend
- func (*MsgCommunityPoolSpend) Descriptor() ([]byte, []int)deprecated
- func (x *MsgCommunityPoolSpend) GetAmount() []*v1beta1.Coin
- func (x *MsgCommunityPoolSpend) GetAuthority() string
- func (x *MsgCommunityPoolSpend) GetRecipient() string
- func (*MsgCommunityPoolSpend) ProtoMessage()
- func (x *MsgCommunityPoolSpend) ProtoReflect() protoreflect.Message
- func (x *MsgCommunityPoolSpend) Reset()
- func (x *MsgCommunityPoolSpend) String() string
- type MsgCommunityPoolSpendResponse
- func (*MsgCommunityPoolSpendResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgCommunityPoolSpendResponse) ProtoMessage()
- func (x *MsgCommunityPoolSpendResponse) ProtoReflect() protoreflect.Message
- func (x *MsgCommunityPoolSpendResponse) Reset()
- func (x *MsgCommunityPoolSpendResponse) String() string
- type MsgCreateContinuousFund
- func (*MsgCreateContinuousFund) Descriptor() ([]byte, []int)deprecated
- func (x *MsgCreateContinuousFund) GetAuthority() string
- func (x *MsgCreateContinuousFund) GetExpiry() *timestamppb.Timestamp
- func (x *MsgCreateContinuousFund) GetPercentage() string
- func (x *MsgCreateContinuousFund) GetRecipient() string
- func (*MsgCreateContinuousFund) ProtoMessage()
- func (x *MsgCreateContinuousFund) ProtoReflect() protoreflect.Message
- func (x *MsgCreateContinuousFund) Reset()
- func (x *MsgCreateContinuousFund) String() string
- type MsgCreateContinuousFundResponse
- func (*MsgCreateContinuousFundResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgCreateContinuousFundResponse) ProtoMessage()
- func (x *MsgCreateContinuousFundResponse) ProtoReflect() protoreflect.Message
- func (x *MsgCreateContinuousFundResponse) Reset()
- func (x *MsgCreateContinuousFundResponse) String() string
- type MsgFundCommunityPool
- func (*MsgFundCommunityPool) Descriptor() ([]byte, []int)deprecated
- func (x *MsgFundCommunityPool) GetAmount() []*v1beta1.Coin
- func (x *MsgFundCommunityPool) GetDepositor() string
- func (*MsgFundCommunityPool) ProtoMessage()
- func (x *MsgFundCommunityPool) ProtoReflect() protoreflect.Message
- func (x *MsgFundCommunityPool) Reset()
- func (x *MsgFundCommunityPool) String() string
- type MsgFundCommunityPoolResponse
- func (*MsgFundCommunityPoolResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgFundCommunityPoolResponse) ProtoMessage()
- func (x *MsgFundCommunityPoolResponse) ProtoReflect() protoreflect.Message
- func (x *MsgFundCommunityPoolResponse) Reset()
- func (x *MsgFundCommunityPoolResponse) String() string
- 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
- func (*Params) Descriptor() ([]byte, []int)deprecated
- func (x *Params) GetDistributionFrequency() uint64
- func (x *Params) GetEnabledDistributionDenoms() []string
- func (*Params) ProtoMessage()
- func (x *Params) ProtoReflect() protoreflect.Message
- func (x *Params) Reset()
- func (x *Params) String() string
- type QueryClient
- type QueryCommunityPoolRequest
- type QueryCommunityPoolResponse
- func (*QueryCommunityPoolResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryCommunityPoolResponse) GetPool() []*v1beta1.Coin
- func (*QueryCommunityPoolResponse) ProtoMessage()
- func (x *QueryCommunityPoolResponse) ProtoReflect() protoreflect.Message
- func (x *QueryCommunityPoolResponse) Reset()
- func (x *QueryCommunityPoolResponse) String() string
- type QueryContinuousFundRequest
- func (*QueryContinuousFundRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryContinuousFundRequest) GetRecipient() string
- func (*QueryContinuousFundRequest) ProtoMessage()
- func (x *QueryContinuousFundRequest) ProtoReflect() protoreflect.Message
- func (x *QueryContinuousFundRequest) Reset()
- func (x *QueryContinuousFundRequest) String() string
- type QueryContinuousFundResponse
- func (*QueryContinuousFundResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryContinuousFundResponse) GetContinuousFund() *ContinuousFund
- func (*QueryContinuousFundResponse) ProtoMessage()
- func (x *QueryContinuousFundResponse) ProtoReflect() protoreflect.Message
- func (x *QueryContinuousFundResponse) Reset()
- func (x *QueryContinuousFundResponse) String() string
- type QueryContinuousFundsRequest
- type QueryContinuousFundsResponse
- func (*QueryContinuousFundsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryContinuousFundsResponse) GetContinuousFunds() []*ContinuousFund
- func (*QueryContinuousFundsResponse) ProtoMessage()
- func (x *QueryContinuousFundsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryContinuousFundsResponse) Reset()
- func (x *QueryContinuousFundsResponse) 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
- type QueryServer
- type UnimplementedMsgServer
- func (UnimplementedMsgServer) CancelContinuousFund(context.Context, *MsgCancelContinuousFund) (*MsgCancelContinuousFundResponse, error)
- func (UnimplementedMsgServer) CommunityPoolSpend(context.Context, *MsgCommunityPoolSpend) (*MsgCommunityPoolSpendResponse, error)
- func (UnimplementedMsgServer) CreateContinuousFund(context.Context, *MsgCreateContinuousFund) (*MsgCreateContinuousFundResponse, error)
- func (UnimplementedMsgServer) FundCommunityPool(context.Context, *MsgFundCommunityPool) (*MsgFundCommunityPoolResponse, error)
- func (UnimplementedMsgServer) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
- type UnimplementedQueryServer
- func (UnimplementedQueryServer) CommunityPool(context.Context, *QueryCommunityPoolRequest) (*QueryCommunityPoolResponse, error)
- func (UnimplementedQueryServer) ContinuousFund(context.Context, *QueryContinuousFundRequest) (*QueryContinuousFundResponse, error)
- func (UnimplementedQueryServer) ContinuousFunds(context.Context, *QueryContinuousFundsRequest) (*QueryContinuousFundsResponse, error)
- func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
- type UnsafeMsgServer
- type UnsafeQueryServer
Constants ¶
const ( Query_CommunityPool_FullMethodName = "/cosmos.protocolpool.v1.Query/CommunityPool" Query_ContinuousFund_FullMethodName = "/cosmos.protocolpool.v1.Query/ContinuousFund" Query_ContinuousFunds_FullMethodName = "/cosmos.protocolpool.v1.Query/ContinuousFunds" Query_Params_FullMethodName = "/cosmos.protocolpool.v1.Query/Params" )
const ( Msg_FundCommunityPool_FullMethodName = "/cosmos.protocolpool.v1.Msg/FundCommunityPool" Msg_CommunityPoolSpend_FullMethodName = "/cosmos.protocolpool.v1.Msg/CommunityPoolSpend" Msg_CreateContinuousFund_FullMethodName = "/cosmos.protocolpool.v1.Msg/CreateContinuousFund" Msg_CancelContinuousFund_FullMethodName = "/cosmos.protocolpool.v1.Msg/CancelContinuousFund" Msg_UpdateParams_FullMethodName = "/cosmos.protocolpool.v1.Msg/UpdateParams" )
Variables ¶
var File_cosmos_protocolpool_v1_genesis_proto protoreflect.FileDescriptor
var File_cosmos_protocolpool_v1_query_proto protoreflect.FileDescriptor
var File_cosmos_protocolpool_v1_tx_proto protoreflect.FileDescriptor
var File_cosmos_protocolpool_v1_types_proto protoreflect.FileDescriptor
var Msg_ServiceDesc = grpc.ServiceDesc{ ServiceName: "cosmos.protocolpool.v1.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "FundCommunityPool", Handler: _Msg_FundCommunityPool_Handler, }, { MethodName: "CommunityPoolSpend", Handler: _Msg_CommunityPoolSpend_Handler, }, { MethodName: "CreateContinuousFund", Handler: _Msg_CreateContinuousFund_Handler, }, { MethodName: "CancelContinuousFund", Handler: _Msg_CancelContinuousFund_Handler, }, { MethodName: "UpdateParams", Handler: _Msg_UpdateParams_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "cosmos/protocolpool/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: "cosmos.protocolpool.v1.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CommunityPool", Handler: _Query_CommunityPool_Handler, }, { MethodName: "ContinuousFund", Handler: _Query_ContinuousFund_Handler, }, { MethodName: "ContinuousFunds", Handler: _Query_ContinuousFunds_Handler, }, { MethodName: "Params", Handler: _Query_Params_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "cosmos/protocolpool/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 ContinuousFund ¶ added in v0.8.0
type ContinuousFund struct { // Recipient is the address string of the account receiving funds. Recipient string `protobuf:"bytes,1,opt,name=recipient,proto3" json:"recipient,omitempty"` // Percentage is the percentage of funds to be allocated from Community pool. Percentage string `protobuf:"bytes,2,opt,name=percentage,proto3" json:"percentage,omitempty"` // Optional, if expiry is set, removes the state object when expired. Expiry *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expiry,proto3" json:"expiry,omitempty"` // contains filtered or unexported fields }
ContinuousFund defines the fields of continuous fund proposal.
func (*ContinuousFund) Descriptor
deprecated
added in
v0.8.0
func (*ContinuousFund) Descriptor() ([]byte, []int)
Deprecated: Use ContinuousFund.ProtoReflect.Descriptor instead.
func (*ContinuousFund) GetExpiry ¶ added in v0.8.0
func (x *ContinuousFund) GetExpiry() *timestamppb.Timestamp
func (*ContinuousFund) GetPercentage ¶ added in v0.8.0
func (x *ContinuousFund) GetPercentage() string
func (*ContinuousFund) GetRecipient ¶ added in v0.8.0
func (x *ContinuousFund) GetRecipient() string
func (*ContinuousFund) ProtoMessage ¶ added in v0.8.0
func (*ContinuousFund) ProtoMessage()
func (*ContinuousFund) ProtoReflect ¶ added in v0.8.0
func (x *ContinuousFund) ProtoReflect() protoreflect.Message
func (*ContinuousFund) Reset ¶ added in v0.8.0
func (x *ContinuousFund) Reset()
func (*ContinuousFund) String ¶ added in v0.8.0
func (x *ContinuousFund) String() string
type GenesisState ¶ added in v0.8.0
type GenesisState struct { // ContinuousFunds defines the continuous funds at genesis. ContinuousFunds []*ContinuousFund `protobuf:"bytes,1,rep,name=continuous_funds,json=continuousFunds,proto3" json:"continuous_funds,omitempty"` // Params defines the parameters of this module, currently only contains the // denoms that will be used for continuous fund distributions. Params *Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
GenesisState defines the protocolpool module's genesis state.
func (*GenesisState) Descriptor
deprecated
added in
v0.8.0
func (*GenesisState) Descriptor() ([]byte, []int)
Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.
func (*GenesisState) GetContinuousFunds ¶ added in v0.9.0
func (x *GenesisState) GetContinuousFunds() []*ContinuousFund
func (*GenesisState) GetParams ¶ added in v0.8.0
func (x *GenesisState) GetParams() *Params
func (*GenesisState) ProtoMessage ¶ added in v0.8.0
func (*GenesisState) ProtoMessage()
func (*GenesisState) ProtoReflect ¶ added in v0.8.0
func (x *GenesisState) ProtoReflect() protoreflect.Message
func (*GenesisState) Reset ¶ added in v0.8.0
func (x *GenesisState) Reset()
func (*GenesisState) String ¶ added in v0.8.0
func (x *GenesisState) String() string
type MsgCancelContinuousFund ¶ added in v0.8.0
type MsgCancelContinuousFund struct { // Authority is the account address of authority. Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // Recipient is the account address string of the recipient whose funds are to be cancelled. Recipient string `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty"` // contains filtered or unexported fields }
MsgCancelContinuousFund defines a message to cancel continuous funds for a specific recipient.
func (*MsgCancelContinuousFund) Descriptor
deprecated
added in
v0.8.0
func (*MsgCancelContinuousFund) Descriptor() ([]byte, []int)
Deprecated: Use MsgCancelContinuousFund.ProtoReflect.Descriptor instead.
func (*MsgCancelContinuousFund) GetAuthority ¶ added in v0.8.0
func (x *MsgCancelContinuousFund) GetAuthority() string
func (*MsgCancelContinuousFund) GetRecipient ¶ added in v0.9.0
func (x *MsgCancelContinuousFund) GetRecipient() string
func (*MsgCancelContinuousFund) ProtoMessage ¶ added in v0.8.0
func (*MsgCancelContinuousFund) ProtoMessage()
func (*MsgCancelContinuousFund) ProtoReflect ¶ added in v0.8.0
func (x *MsgCancelContinuousFund) ProtoReflect() protoreflect.Message
func (*MsgCancelContinuousFund) Reset ¶ added in v0.8.0
func (x *MsgCancelContinuousFund) Reset()
func (*MsgCancelContinuousFund) String ¶ added in v0.8.0
func (x *MsgCancelContinuousFund) String() string
type MsgCancelContinuousFundResponse ¶ added in v0.8.0
type MsgCancelContinuousFundResponse struct { // CanceledTime is the canceled time. CanceledTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=canceled_time,json=canceledTime,proto3" json:"canceled_time,omitempty"` // CanceledHeight defines the canceled block height. CanceledHeight uint64 `protobuf:"varint,2,opt,name=canceled_height,json=canceledHeight,proto3" json:"canceled_height,omitempty"` // Recipient is the account address string of the recipient whose funds are cancelled. Recipient string `protobuf:"bytes,3,opt,name=recipient,proto3" json:"recipient,omitempty"` // contains filtered or unexported fields }
MsgCancelContinuousFundResponse defines the response to executing a MsgCancelContinuousFund message.
func (*MsgCancelContinuousFundResponse) Descriptor
deprecated
added in
v0.8.0
func (*MsgCancelContinuousFundResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgCancelContinuousFundResponse.ProtoReflect.Descriptor instead.
func (*MsgCancelContinuousFundResponse) GetCanceledHeight ¶ added in v0.8.0
func (x *MsgCancelContinuousFundResponse) GetCanceledHeight() uint64
func (*MsgCancelContinuousFundResponse) GetCanceledTime ¶ added in v0.8.0
func (x *MsgCancelContinuousFundResponse) GetCanceledTime() *timestamppb.Timestamp
func (*MsgCancelContinuousFundResponse) GetRecipient ¶ added in v0.9.0
func (x *MsgCancelContinuousFundResponse) GetRecipient() string
func (*MsgCancelContinuousFundResponse) ProtoMessage ¶ added in v0.8.0
func (*MsgCancelContinuousFundResponse) ProtoMessage()
func (*MsgCancelContinuousFundResponse) ProtoReflect ¶ added in v0.8.0
func (x *MsgCancelContinuousFundResponse) ProtoReflect() protoreflect.Message
func (*MsgCancelContinuousFundResponse) Reset ¶ added in v0.8.0
func (x *MsgCancelContinuousFundResponse) Reset()
func (*MsgCancelContinuousFundResponse) String ¶ added in v0.8.0
func (x *MsgCancelContinuousFundResponse) String() string
type MsgClient ¶
type MsgClient interface { // FundCommunityPool defines a method to allow an account to directly // fund the community pool. FundCommunityPool(ctx context.Context, in *MsgFundCommunityPool, opts ...grpc.CallOption) (*MsgFundCommunityPoolResponse, error) // CommunityPoolSpend defines a governance operation for sending tokens from // the community pool in the x/protocolpool module to another account, which // could be the governance module itself. The authority is defined in the // keeper. CommunityPoolSpend(ctx context.Context, in *MsgCommunityPoolSpend, opts ...grpc.CallOption) (*MsgCommunityPoolSpendResponse, error) // CreateContinuousFund defines a method to distribute a percentage of funds to an address continuously. // This ContinuousFund can be indefinite or run until a given expiry time. // Funds come from validator block rewards from x/distribution, but may also come from // any user who funds the ProtocolPoolEscrow module account directly through x/bank. CreateContinuousFund(ctx context.Context, in *MsgCreateContinuousFund, opts ...grpc.CallOption) (*MsgCreateContinuousFundResponse, error) // CancelContinuousFund defines a method for cancelling continuous fund. CancelContinuousFund(ctx context.Context, in *MsgCancelContinuousFund, opts ...grpc.CallOption) (*MsgCancelContinuousFundResponse, error) // UpdateParams defines a governance operation for updating the x/protocolpool module parameters. // The authority is defined in the keeper. UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, 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.
Msg defines the pool Msg service.
func NewMsgClient ¶
func NewMsgClient(cc grpc.ClientConnInterface) MsgClient
type MsgCommunityPoolSpend ¶
type MsgCommunityPoolSpend 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"` Recipient string `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty"` Amount []*v1beta1.Coin `protobuf:"bytes,3,rep,name=amount,proto3" json:"amount,omitempty"` // contains filtered or unexported fields }
MsgCommunityPoolSpend defines a message for sending tokens from the community pool to another account. This message is typically executed via a governance proposal with the governance module being the executing authority.
func (*MsgCommunityPoolSpend) Descriptor
deprecated
func (*MsgCommunityPoolSpend) Descriptor() ([]byte, []int)
Deprecated: Use MsgCommunityPoolSpend.ProtoReflect.Descriptor instead.
func (*MsgCommunityPoolSpend) GetAmount ¶
func (x *MsgCommunityPoolSpend) GetAmount() []*v1beta1.Coin
func (*MsgCommunityPoolSpend) GetAuthority ¶
func (x *MsgCommunityPoolSpend) GetAuthority() string
func (*MsgCommunityPoolSpend) GetRecipient ¶
func (x *MsgCommunityPoolSpend) GetRecipient() string
func (*MsgCommunityPoolSpend) ProtoMessage ¶
func (*MsgCommunityPoolSpend) ProtoMessage()
func (*MsgCommunityPoolSpend) ProtoReflect ¶
func (x *MsgCommunityPoolSpend) ProtoReflect() protoreflect.Message
func (*MsgCommunityPoolSpend) Reset ¶
func (x *MsgCommunityPoolSpend) Reset()
func (*MsgCommunityPoolSpend) String ¶
func (x *MsgCommunityPoolSpend) String() string
type MsgCommunityPoolSpendResponse ¶
type MsgCommunityPoolSpendResponse struct {
// contains filtered or unexported fields
}
MsgCommunityPoolSpendResponse defines the response to executing a MsgCommunityPoolSpend message.
func (*MsgCommunityPoolSpendResponse) Descriptor
deprecated
func (*MsgCommunityPoolSpendResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgCommunityPoolSpendResponse.ProtoReflect.Descriptor instead.
func (*MsgCommunityPoolSpendResponse) ProtoMessage ¶
func (*MsgCommunityPoolSpendResponse) ProtoMessage()
func (*MsgCommunityPoolSpendResponse) ProtoReflect ¶
func (x *MsgCommunityPoolSpendResponse) ProtoReflect() protoreflect.Message
func (*MsgCommunityPoolSpendResponse) Reset ¶
func (x *MsgCommunityPoolSpendResponse) Reset()
func (*MsgCommunityPoolSpendResponse) String ¶
func (x *MsgCommunityPoolSpendResponse) String() string
type MsgCreateContinuousFund ¶ added in v0.8.0
type MsgCreateContinuousFund 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"` // Recipient address of the account receiving funds. Recipient string `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty"` // Percentage is the percentage of funds to be allocated from Community pool. Percentage string `protobuf:"bytes,3,opt,name=percentage,proto3" json:"percentage,omitempty"` // Optional, if expiry is set, removes the state object when expired. Expiry *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=expiry,proto3" json:"expiry,omitempty"` // contains filtered or unexported fields }
MsgCreateContinuousFund defines a message for adding continuous funds.
func (*MsgCreateContinuousFund) Descriptor
deprecated
added in
v0.8.0
func (*MsgCreateContinuousFund) Descriptor() ([]byte, []int)
Deprecated: Use MsgCreateContinuousFund.ProtoReflect.Descriptor instead.
func (*MsgCreateContinuousFund) GetAuthority ¶ added in v0.8.0
func (x *MsgCreateContinuousFund) GetAuthority() string
func (*MsgCreateContinuousFund) GetExpiry ¶ added in v0.8.0
func (x *MsgCreateContinuousFund) GetExpiry() *timestamppb.Timestamp
func (*MsgCreateContinuousFund) GetPercentage ¶ added in v0.8.0
func (x *MsgCreateContinuousFund) GetPercentage() string
func (*MsgCreateContinuousFund) GetRecipient ¶ added in v0.8.0
func (x *MsgCreateContinuousFund) GetRecipient() string
func (*MsgCreateContinuousFund) ProtoMessage ¶ added in v0.8.0
func (*MsgCreateContinuousFund) ProtoMessage()
func (*MsgCreateContinuousFund) ProtoReflect ¶ added in v0.8.0
func (x *MsgCreateContinuousFund) ProtoReflect() protoreflect.Message
func (*MsgCreateContinuousFund) Reset ¶ added in v0.8.0
func (x *MsgCreateContinuousFund) Reset()
func (*MsgCreateContinuousFund) String ¶ added in v0.8.0
func (x *MsgCreateContinuousFund) String() string
type MsgCreateContinuousFundResponse ¶ added in v0.8.0
type MsgCreateContinuousFundResponse struct {
// contains filtered or unexported fields
}
MsgCreateContinuousFundResponse defines the response to executing a MsgCreateContinuousFund message.
func (*MsgCreateContinuousFundResponse) Descriptor
deprecated
added in
v0.8.0
func (*MsgCreateContinuousFundResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgCreateContinuousFundResponse.ProtoReflect.Descriptor instead.
func (*MsgCreateContinuousFundResponse) ProtoMessage ¶ added in v0.8.0
func (*MsgCreateContinuousFundResponse) ProtoMessage()
func (*MsgCreateContinuousFundResponse) ProtoReflect ¶ added in v0.8.0
func (x *MsgCreateContinuousFundResponse) ProtoReflect() protoreflect.Message
func (*MsgCreateContinuousFundResponse) Reset ¶ added in v0.8.0
func (x *MsgCreateContinuousFundResponse) Reset()
func (*MsgCreateContinuousFundResponse) String ¶ added in v0.8.0
func (x *MsgCreateContinuousFundResponse) String() string
type MsgFundCommunityPool ¶
type MsgFundCommunityPool struct { Depositor string `protobuf:"bytes,1,opt,name=depositor,proto3" json:"depositor,omitempty"` Amount []*v1beta1.Coin `protobuf:"bytes,2,rep,name=amount,proto3" json:"amount,omitempty"` // contains filtered or unexported fields }
MsgFundCommunityPool allows an account to directly fund the community pool.
func (*MsgFundCommunityPool) Descriptor
deprecated
func (*MsgFundCommunityPool) Descriptor() ([]byte, []int)
Deprecated: Use MsgFundCommunityPool.ProtoReflect.Descriptor instead.
func (*MsgFundCommunityPool) GetAmount ¶
func (x *MsgFundCommunityPool) GetAmount() []*v1beta1.Coin
func (*MsgFundCommunityPool) GetDepositor ¶
func (x *MsgFundCommunityPool) GetDepositor() string
func (*MsgFundCommunityPool) ProtoMessage ¶
func (*MsgFundCommunityPool) ProtoMessage()
func (*MsgFundCommunityPool) ProtoReflect ¶
func (x *MsgFundCommunityPool) ProtoReflect() protoreflect.Message
func (*MsgFundCommunityPool) Reset ¶
func (x *MsgFundCommunityPool) Reset()
func (*MsgFundCommunityPool) String ¶
func (x *MsgFundCommunityPool) String() string
type MsgFundCommunityPoolResponse ¶
type MsgFundCommunityPoolResponse struct {
// contains filtered or unexported fields
}
MsgFundCommunityPoolResponse defines the Msg/FundCommunityPool response type.
func (*MsgFundCommunityPoolResponse) Descriptor
deprecated
func (*MsgFundCommunityPoolResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgFundCommunityPoolResponse.ProtoReflect.Descriptor instead.
func (*MsgFundCommunityPoolResponse) ProtoMessage ¶
func (*MsgFundCommunityPoolResponse) ProtoMessage()
func (*MsgFundCommunityPoolResponse) ProtoReflect ¶
func (x *MsgFundCommunityPoolResponse) ProtoReflect() protoreflect.Message
func (*MsgFundCommunityPoolResponse) Reset ¶
func (x *MsgFundCommunityPoolResponse) Reset()
func (*MsgFundCommunityPoolResponse) String ¶
func (x *MsgFundCommunityPoolResponse) String() string
type MsgServer ¶
type MsgServer interface { // FundCommunityPool defines a method to allow an account to directly // fund the community pool. FundCommunityPool(context.Context, *MsgFundCommunityPool) (*MsgFundCommunityPoolResponse, error) // CommunityPoolSpend defines a governance operation for sending tokens from // the community pool in the x/protocolpool module to another account, which // could be the governance module itself. The authority is defined in the // keeper. CommunityPoolSpend(context.Context, *MsgCommunityPoolSpend) (*MsgCommunityPoolSpendResponse, error) // CreateContinuousFund defines a method to distribute a percentage of funds to an address continuously. // This ContinuousFund can be indefinite or run until a given expiry time. // Funds come from validator block rewards from x/distribution, but may also come from // any user who funds the ProtocolPoolEscrow module account directly through x/bank. CreateContinuousFund(context.Context, *MsgCreateContinuousFund) (*MsgCreateContinuousFundResponse, error) // CancelContinuousFund defines a method for cancelling continuous fund. CancelContinuousFund(context.Context, *MsgCancelContinuousFund) (*MsgCancelContinuousFundResponse, error) // UpdateParams defines a governance operation for updating the x/protocolpool module parameters. // The authority is defined in the keeper. UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) // contains filtered or unexported methods }
MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility.
Msg defines the pool Msg service.
type MsgUpdateParams ¶ added in v0.8.0
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/protocolpool 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
added in
v0.8.0
func (*MsgUpdateParams) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateParams.ProtoReflect.Descriptor instead.
func (*MsgUpdateParams) GetAuthority ¶ added in v0.8.0
func (x *MsgUpdateParams) GetAuthority() string
func (*MsgUpdateParams) GetParams ¶ added in v0.8.0
func (x *MsgUpdateParams) GetParams() *Params
func (*MsgUpdateParams) ProtoMessage ¶ added in v0.8.0
func (*MsgUpdateParams) ProtoMessage()
func (*MsgUpdateParams) ProtoReflect ¶ added in v0.8.0
func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message
func (*MsgUpdateParams) Reset ¶ added in v0.8.0
func (x *MsgUpdateParams) Reset()
func (*MsgUpdateParams) String ¶ added in v0.8.0
func (x *MsgUpdateParams) String() string
type MsgUpdateParamsResponse ¶ added in v0.8.0
type MsgUpdateParamsResponse struct {
// contains filtered or unexported fields
}
MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.
func (*MsgUpdateParamsResponse) Descriptor
deprecated
added in
v0.8.0
func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateParamsResponse.ProtoReflect.Descriptor instead.
func (*MsgUpdateParamsResponse) ProtoMessage ¶ added in v0.8.0
func (*MsgUpdateParamsResponse) ProtoMessage()
func (*MsgUpdateParamsResponse) ProtoReflect ¶ added in v0.8.0
func (x *MsgUpdateParamsResponse) ProtoReflect() protoreflect.Message
func (*MsgUpdateParamsResponse) Reset ¶ added in v0.8.0
func (x *MsgUpdateParamsResponse) Reset()
func (*MsgUpdateParamsResponse) String ¶ added in v0.8.0
func (x *MsgUpdateParamsResponse) String() string
type Params ¶ added in v0.8.0
type Params struct { // EnabledDistributionDenoms lists the denoms that are allowed to be distributed. // This is to avoid spending time distributing undesired tokens to continuous funds and budgets. EnabledDistributionDenoms []string `` /* 138-byte string literal not displayed */ // DistributionFrequency is the frequency (in terms of blocks) that funds are distributed out from the // x/protocolpool module. DistributionFrequency uint64 `protobuf:"varint,2,opt,name=distribution_frequency,json=distributionFrequency,proto3" json:"distribution_frequency,omitempty"` // contains filtered or unexported fields }
Params defines the parameters for the protocolpool module.
func (*Params) Descriptor
deprecated
added in
v0.8.0
func (*Params) GetDistributionFrequency ¶ added in v0.9.0
func (*Params) GetEnabledDistributionDenoms ¶ added in v0.8.0
func (*Params) ProtoMessage ¶ added in v0.8.0
func (*Params) ProtoMessage()
func (*Params) ProtoReflect ¶ added in v0.8.0
func (x *Params) ProtoReflect() protoreflect.Message
type QueryClient ¶
type QueryClient interface { // CommunityPool queries the community pool coins. CommunityPool(ctx context.Context, in *QueryCommunityPoolRequest, opts ...grpc.CallOption) (*QueryCommunityPoolResponse, error) // ContinuousFund queries a continuous fund by the recipient is is associated with. ContinuousFund(ctx context.Context, in *QueryContinuousFundRequest, opts ...grpc.CallOption) (*QueryContinuousFundResponse, error) // ContinuousFunds queries all continuous funds in the store. ContinuousFunds(ctx context.Context, in *QueryContinuousFundsRequest, opts ...grpc.CallOption) (*QueryContinuousFundsResponse, error) // Params returns the total set of x/protocolpool parameters. 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.
Query defines the gRPC querier service for community pool module.
func NewQueryClient ¶
func NewQueryClient(cc grpc.ClientConnInterface) QueryClient
type QueryCommunityPoolRequest ¶
type QueryCommunityPoolRequest struct {
// contains filtered or unexported fields
}
QueryCommunityPoolRequest is the request type for the Query/CommunityPool RPC method.
func (*QueryCommunityPoolRequest) Descriptor
deprecated
func (*QueryCommunityPoolRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryCommunityPoolRequest.ProtoReflect.Descriptor instead.
func (*QueryCommunityPoolRequest) ProtoMessage ¶
func (*QueryCommunityPoolRequest) ProtoMessage()
func (*QueryCommunityPoolRequest) ProtoReflect ¶
func (x *QueryCommunityPoolRequest) ProtoReflect() protoreflect.Message
func (*QueryCommunityPoolRequest) Reset ¶
func (x *QueryCommunityPoolRequest) Reset()
func (*QueryCommunityPoolRequest) String ¶
func (x *QueryCommunityPoolRequest) String() string
type QueryCommunityPoolResponse ¶
type QueryCommunityPoolResponse struct { // pool defines community pool's coins. Pool []*v1beta1.Coin `protobuf:"bytes,1,rep,name=pool,proto3" json:"pool,omitempty"` // contains filtered or unexported fields }
QueryCommunityPoolResponse is the response type for the Query/CommunityPool RPC method.
func (*QueryCommunityPoolResponse) Descriptor
deprecated
func (*QueryCommunityPoolResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryCommunityPoolResponse.ProtoReflect.Descriptor instead.
func (*QueryCommunityPoolResponse) GetPool ¶
func (x *QueryCommunityPoolResponse) GetPool() []*v1beta1.Coin
func (*QueryCommunityPoolResponse) ProtoMessage ¶
func (*QueryCommunityPoolResponse) ProtoMessage()
func (*QueryCommunityPoolResponse) ProtoReflect ¶
func (x *QueryCommunityPoolResponse) ProtoReflect() protoreflect.Message
func (*QueryCommunityPoolResponse) Reset ¶
func (x *QueryCommunityPoolResponse) Reset()
func (*QueryCommunityPoolResponse) String ¶
func (x *QueryCommunityPoolResponse) String() string
type QueryContinuousFundRequest ¶ added in v0.9.0
type QueryContinuousFundRequest struct { // recipient is the recipient address to query unclaimed budget amount for. Recipient string `protobuf:"bytes,1,opt,name=recipient,proto3" json:"recipient,omitempty"` // contains filtered or unexported fields }
QueryContinuousFundRequest is the request type for the Query/ContinuousFund RPC method.
func (*QueryContinuousFundRequest) Descriptor
deprecated
added in
v0.9.0
func (*QueryContinuousFundRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryContinuousFundRequest.ProtoReflect.Descriptor instead.
func (*QueryContinuousFundRequest) GetRecipient ¶ added in v0.9.0
func (x *QueryContinuousFundRequest) GetRecipient() string
func (*QueryContinuousFundRequest) ProtoMessage ¶ added in v0.9.0
func (*QueryContinuousFundRequest) ProtoMessage()
func (*QueryContinuousFundRequest) ProtoReflect ¶ added in v0.9.0
func (x *QueryContinuousFundRequest) ProtoReflect() protoreflect.Message
func (*QueryContinuousFundRequest) Reset ¶ added in v0.9.0
func (x *QueryContinuousFundRequest) Reset()
func (*QueryContinuousFundRequest) String ¶ added in v0.9.0
func (x *QueryContinuousFundRequest) String() string
type QueryContinuousFundResponse ¶ added in v0.9.0
type QueryContinuousFundResponse struct { // ContinuousFunds is the given continuous fund returned in the query. ContinuousFund *ContinuousFund `protobuf:"bytes,1,opt,name=continuous_fund,json=continuousFund,proto3" json:"continuous_fund,omitempty"` // contains filtered or unexported fields }
QueryUnclaimedBudgetResponse is the response type for the Query/ContinuousFund RPC method.
func (*QueryContinuousFundResponse) Descriptor
deprecated
added in
v0.9.0
func (*QueryContinuousFundResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryContinuousFundResponse.ProtoReflect.Descriptor instead.
func (*QueryContinuousFundResponse) GetContinuousFund ¶ added in v0.9.0
func (x *QueryContinuousFundResponse) GetContinuousFund() *ContinuousFund
func (*QueryContinuousFundResponse) ProtoMessage ¶ added in v0.9.0
func (*QueryContinuousFundResponse) ProtoMessage()
func (*QueryContinuousFundResponse) ProtoReflect ¶ added in v0.9.0
func (x *QueryContinuousFundResponse) ProtoReflect() protoreflect.Message
func (*QueryContinuousFundResponse) Reset ¶ added in v0.9.0
func (x *QueryContinuousFundResponse) Reset()
func (*QueryContinuousFundResponse) String ¶ added in v0.9.0
func (x *QueryContinuousFundResponse) String() string
type QueryContinuousFundsRequest ¶ added in v0.9.0
type QueryContinuousFundsRequest struct {
// contains filtered or unexported fields
}
QueryContinuousFundRequest is the request type for the Query/ContinuousFunds RPC method.
func (*QueryContinuousFundsRequest) Descriptor
deprecated
added in
v0.9.0
func (*QueryContinuousFundsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryContinuousFundsRequest.ProtoReflect.Descriptor instead.
func (*QueryContinuousFundsRequest) ProtoMessage ¶ added in v0.9.0
func (*QueryContinuousFundsRequest) ProtoMessage()
func (*QueryContinuousFundsRequest) ProtoReflect ¶ added in v0.9.0
func (x *QueryContinuousFundsRequest) ProtoReflect() protoreflect.Message
func (*QueryContinuousFundsRequest) Reset ¶ added in v0.9.0
func (x *QueryContinuousFundsRequest) Reset()
func (*QueryContinuousFundsRequest) String ¶ added in v0.9.0
func (x *QueryContinuousFundsRequest) String() string
type QueryContinuousFundsResponse ¶ added in v0.9.0
type QueryContinuousFundsResponse struct { // ContinuousFunds defines all continuous funds in state. ContinuousFunds []*ContinuousFund `protobuf:"bytes,1,rep,name=continuous_funds,json=continuousFunds,proto3" json:"continuous_funds,omitempty"` // contains filtered or unexported fields }
QueryUnclaimedBudgetResponse is the response type for the Query/ContinuousFunds RPC method.
func (*QueryContinuousFundsResponse) Descriptor
deprecated
added in
v0.9.0
func (*QueryContinuousFundsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryContinuousFundsResponse.ProtoReflect.Descriptor instead.
func (*QueryContinuousFundsResponse) GetContinuousFunds ¶ added in v0.9.0
func (x *QueryContinuousFundsResponse) GetContinuousFunds() []*ContinuousFund
func (*QueryContinuousFundsResponse) ProtoMessage ¶ added in v0.9.0
func (*QueryContinuousFundsResponse) ProtoMessage()
func (*QueryContinuousFundsResponse) ProtoReflect ¶ added in v0.9.0
func (x *QueryContinuousFundsResponse) ProtoReflect() protoreflect.Message
func (*QueryContinuousFundsResponse) Reset ¶ added in v0.9.0
func (x *QueryContinuousFundsResponse) Reset()
func (*QueryContinuousFundsResponse) String ¶ added in v0.9.0
func (x *QueryContinuousFundsResponse) String() string
type QueryParamsRequest ¶ added in v0.9.0
type QueryParamsRequest struct {
// contains filtered or unexported fields
}
QueryParamsRequest is the response type for the Query/Params RPC method.
func (*QueryParamsRequest) Descriptor
deprecated
added in
v0.9.0
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryParamsRequest.ProtoReflect.Descriptor instead.
func (*QueryParamsRequest) ProtoMessage ¶ added in v0.9.0
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) ProtoReflect ¶ added in v0.9.0
func (x *QueryParamsRequest) ProtoReflect() protoreflect.Message
func (*QueryParamsRequest) Reset ¶ added in v0.9.0
func (x *QueryParamsRequest) Reset()
func (*QueryParamsRequest) String ¶ added in v0.9.0
func (x *QueryParamsRequest) String() string
type QueryParamsResponse ¶ added in v0.9.0
type QueryParamsResponse struct { 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
added in
v0.9.0
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryParamsResponse.ProtoReflect.Descriptor instead.
func (*QueryParamsResponse) GetParams ¶ added in v0.9.0
func (x *QueryParamsResponse) GetParams() *Params
func (*QueryParamsResponse) ProtoMessage ¶ added in v0.9.0
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) ProtoReflect ¶ added in v0.9.0
func (x *QueryParamsResponse) ProtoReflect() protoreflect.Message
func (*QueryParamsResponse) Reset ¶ added in v0.9.0
func (x *QueryParamsResponse) Reset()
func (*QueryParamsResponse) String ¶ added in v0.9.0
func (x *QueryParamsResponse) String() string
type QueryServer ¶
type QueryServer interface { // CommunityPool queries the community pool coins. CommunityPool(context.Context, *QueryCommunityPoolRequest) (*QueryCommunityPoolResponse, error) // ContinuousFund queries a continuous fund by the recipient is is associated with. ContinuousFund(context.Context, *QueryContinuousFundRequest) (*QueryContinuousFundResponse, error) // ContinuousFunds queries all continuous funds in the store. ContinuousFunds(context.Context, *QueryContinuousFundsRequest) (*QueryContinuousFundsResponse, error) // Params returns the total set of x/protocolpool parameters. 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.
Query defines the gRPC querier service for community pool module.
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct{}
UnimplementedMsgServer 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 (UnimplementedMsgServer) CancelContinuousFund ¶ added in v0.8.0
func (UnimplementedMsgServer) CancelContinuousFund(context.Context, *MsgCancelContinuousFund) (*MsgCancelContinuousFundResponse, error)
func (UnimplementedMsgServer) CommunityPoolSpend ¶
func (UnimplementedMsgServer) CommunityPoolSpend(context.Context, *MsgCommunityPoolSpend) (*MsgCommunityPoolSpendResponse, error)
func (UnimplementedMsgServer) CreateContinuousFund ¶ added in v0.8.0
func (UnimplementedMsgServer) CreateContinuousFund(context.Context, *MsgCreateContinuousFund) (*MsgCreateContinuousFundResponse, error)
func (UnimplementedMsgServer) FundCommunityPool ¶
func (UnimplementedMsgServer) FundCommunityPool(context.Context, *MsgFundCommunityPool) (*MsgFundCommunityPoolResponse, error)
func (UnimplementedMsgServer) UpdateParams ¶ added in v0.8.0
func (UnimplementedMsgServer) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct{}
UnimplementedQueryServer 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 (UnimplementedQueryServer) CommunityPool ¶
func (UnimplementedQueryServer) CommunityPool(context.Context, *QueryCommunityPoolRequest) (*QueryCommunityPoolResponse, error)
func (UnimplementedQueryServer) ContinuousFund ¶ added in v0.9.0
func (UnimplementedQueryServer) ContinuousFund(context.Context, *QueryContinuousFundRequest) (*QueryContinuousFundResponse, error)
func (UnimplementedQueryServer) ContinuousFunds ¶ added in v0.9.0
func (UnimplementedQueryServer) ContinuousFunds(context.Context, *QueryContinuousFundsRequest) (*QueryContinuousFundsResponse, error)
func (UnimplementedQueryServer) Params ¶ added in v0.9.0
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.