Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterInterfaces(registrar registry.InterfaceRegistrar)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- func ValidateGenesis(gs *GenesisState) error
- type AccountKeeper
- type BankKeeper
- type Budget
- func (*Budget) Descriptor() ([]byte, []int)
- func (m *Budget) GetClaimedAmount() *types.Coin
- func (m *Budget) GetNextClaimFrom() *time.Time
- func (m *Budget) GetPeriod() *time.Duration
- func (m *Budget) GetRecipientAddress() string
- func (m *Budget) GetStartTime() *time.Time
- func (m *Budget) GetTotalBudget() *types.Coin
- func (m *Budget) GetTranches() uint64
- func (m *Budget) GetTranchesLeft() uint64
- func (m *Budget) Marshal() (dAtA []byte, err error)
- func (m *Budget) MarshalTo(dAtA []byte) (int, error)
- func (m *Budget) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Budget) ProtoMessage()
- func (m *Budget) Reset()
- func (m *Budget) Size() (n int)
- func (m *Budget) String() string
- func (m *Budget) Unmarshal(dAtA []byte) error
- func (m *Budget) XXX_DiscardUnknown()
- func (m *Budget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Budget) XXX_Merge(src proto.Message)
- func (m *Budget) XXX_Size() int
- func (m *Budget) XXX_Unmarshal(b []byte) error
- type ContinuousFund
- func (*ContinuousFund) Descriptor() ([]byte, []int)
- func (m *ContinuousFund) GetExpiry() *time.Time
- func (m *ContinuousFund) GetRecipient() string
- func (m *ContinuousFund) Marshal() (dAtA []byte, err error)
- func (m *ContinuousFund) MarshalTo(dAtA []byte) (int, error)
- func (m *ContinuousFund) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ContinuousFund) ProtoMessage()
- func (m *ContinuousFund) Reset()
- func (m *ContinuousFund) Size() (n int)
- func (m *ContinuousFund) String() string
- func (m *ContinuousFund) Unmarshal(dAtA []byte) error
- func (m *ContinuousFund) XXX_DiscardUnknown()
- func (m *ContinuousFund) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ContinuousFund) XXX_Merge(src proto.Message)
- func (m *ContinuousFund) XXX_Size() int
- func (m *ContinuousFund) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetBudget() []*Budget
- func (m *GenesisState) GetContinuousFund() []*ContinuousFund
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type MsgCancelContinuousFund
- func (*MsgCancelContinuousFund) Descriptor() ([]byte, []int)
- func (m *MsgCancelContinuousFund) GetAuthority() string
- func (m *MsgCancelContinuousFund) GetRecipientAddress() string
- func (m *MsgCancelContinuousFund) Marshal() (dAtA []byte, err error)
- func (m *MsgCancelContinuousFund) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCancelContinuousFund) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCancelContinuousFund) ProtoMessage()
- func (m *MsgCancelContinuousFund) Reset()
- func (m *MsgCancelContinuousFund) Size() (n int)
- func (m *MsgCancelContinuousFund) String() string
- func (m *MsgCancelContinuousFund) Unmarshal(dAtA []byte) error
- func (m *MsgCancelContinuousFund) XXX_DiscardUnknown()
- func (m *MsgCancelContinuousFund) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCancelContinuousFund) XXX_Merge(src proto.Message)
- func (m *MsgCancelContinuousFund) XXX_Size() int
- func (m *MsgCancelContinuousFund) XXX_Unmarshal(b []byte) error
- type MsgCancelContinuousFundResponse
- func (*MsgCancelContinuousFundResponse) Descriptor() ([]byte, []int)
- func (m *MsgCancelContinuousFundResponse) GetCanceledHeight() uint64
- func (m *MsgCancelContinuousFundResponse) GetCanceledTime() time.Time
- func (m *MsgCancelContinuousFundResponse) GetRecipientAddress() string
- func (m *MsgCancelContinuousFundResponse) GetWithdrawnAllocatedFund() types.Coin
- func (m *MsgCancelContinuousFundResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCancelContinuousFundResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCancelContinuousFundResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCancelContinuousFundResponse) ProtoMessage()
- func (m *MsgCancelContinuousFundResponse) Reset()
- func (m *MsgCancelContinuousFundResponse) Size() (n int)
- func (m *MsgCancelContinuousFundResponse) String() string
- func (m *MsgCancelContinuousFundResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCancelContinuousFundResponse) XXX_DiscardUnknown()
- func (m *MsgCancelContinuousFundResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCancelContinuousFundResponse) XXX_Merge(src proto.Message)
- func (m *MsgCancelContinuousFundResponse) XXX_Size() int
- func (m *MsgCancelContinuousFundResponse) XXX_Unmarshal(b []byte) error
- type MsgClaimBudget
- func (*MsgClaimBudget) Descriptor() ([]byte, []int)
- func (m *MsgClaimBudget) GetRecipientAddress() string
- func (m *MsgClaimBudget) Marshal() (dAtA []byte, err error)
- func (m *MsgClaimBudget) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgClaimBudget) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgClaimBudget) ProtoMessage()
- func (m *MsgClaimBudget) Reset()
- func (m *MsgClaimBudget) Size() (n int)
- func (m *MsgClaimBudget) String() string
- func (m *MsgClaimBudget) Unmarshal(dAtA []byte) error
- func (m *MsgClaimBudget) XXX_DiscardUnknown()
- func (m *MsgClaimBudget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgClaimBudget) XXX_Merge(src proto.Message)
- func (m *MsgClaimBudget) XXX_Size() int
- func (m *MsgClaimBudget) XXX_Unmarshal(b []byte) error
- type MsgClaimBudgetResponse
- func (*MsgClaimBudgetResponse) Descriptor() ([]byte, []int)
- func (m *MsgClaimBudgetResponse) GetAmount() types.Coin
- func (m *MsgClaimBudgetResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgClaimBudgetResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgClaimBudgetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgClaimBudgetResponse) ProtoMessage()
- func (m *MsgClaimBudgetResponse) Reset()
- func (m *MsgClaimBudgetResponse) Size() (n int)
- func (m *MsgClaimBudgetResponse) String() string
- func (m *MsgClaimBudgetResponse) Unmarshal(dAtA []byte) error
- func (m *MsgClaimBudgetResponse) XXX_DiscardUnknown()
- func (m *MsgClaimBudgetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgClaimBudgetResponse) XXX_Merge(src proto.Message)
- func (m *MsgClaimBudgetResponse) XXX_Size() int
- func (m *MsgClaimBudgetResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgCommunityPoolSpend
- func (*MsgCommunityPoolSpend) Descriptor() ([]byte, []int)
- func (m *MsgCommunityPoolSpend) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *MsgCommunityPoolSpend) GetAuthority() string
- func (m *MsgCommunityPoolSpend) GetRecipient() string
- func (m *MsgCommunityPoolSpend) Marshal() (dAtA []byte, err error)
- func (m *MsgCommunityPoolSpend) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCommunityPoolSpend) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCommunityPoolSpend) ProtoMessage()
- func (m *MsgCommunityPoolSpend) Reset()
- func (m *MsgCommunityPoolSpend) Size() (n int)
- func (m *MsgCommunityPoolSpend) String() string
- func (m *MsgCommunityPoolSpend) Unmarshal(dAtA []byte) error
- func (m *MsgCommunityPoolSpend) XXX_DiscardUnknown()
- func (m *MsgCommunityPoolSpend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCommunityPoolSpend) XXX_Merge(src proto.Message)
- func (m *MsgCommunityPoolSpend) XXX_Size() int
- func (m *MsgCommunityPoolSpend) XXX_Unmarshal(b []byte) error
- type MsgCommunityPoolSpendResponse
- func (*MsgCommunityPoolSpendResponse) Descriptor() ([]byte, []int)
- func (m *MsgCommunityPoolSpendResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCommunityPoolSpendResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCommunityPoolSpendResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCommunityPoolSpendResponse) ProtoMessage()
- func (m *MsgCommunityPoolSpendResponse) Reset()
- func (m *MsgCommunityPoolSpendResponse) Size() (n int)
- func (m *MsgCommunityPoolSpendResponse) String() string
- func (m *MsgCommunityPoolSpendResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCommunityPoolSpendResponse) XXX_DiscardUnknown()
- func (m *MsgCommunityPoolSpendResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCommunityPoolSpendResponse) XXX_Merge(src proto.Message)
- func (m *MsgCommunityPoolSpendResponse) XXX_Size() int
- func (m *MsgCommunityPoolSpendResponse) XXX_Unmarshal(b []byte) error
- type MsgCreateContinuousFund
- func (*MsgCreateContinuousFund) Descriptor() ([]byte, []int)
- func (m *MsgCreateContinuousFund) GetAuthority() string
- func (m *MsgCreateContinuousFund) GetExpiry() *time.Time
- func (m *MsgCreateContinuousFund) GetRecipient() string
- func (m *MsgCreateContinuousFund) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateContinuousFund) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateContinuousFund) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateContinuousFund) ProtoMessage()
- func (m *MsgCreateContinuousFund) Reset()
- func (m *MsgCreateContinuousFund) Size() (n int)
- func (m *MsgCreateContinuousFund) String() string
- func (m *MsgCreateContinuousFund) Unmarshal(dAtA []byte) error
- func (m *MsgCreateContinuousFund) XXX_DiscardUnknown()
- func (m *MsgCreateContinuousFund) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateContinuousFund) XXX_Merge(src proto.Message)
- func (m *MsgCreateContinuousFund) XXX_Size() int
- func (m *MsgCreateContinuousFund) XXX_Unmarshal(b []byte) error
- type MsgCreateContinuousFundResponse
- func (*MsgCreateContinuousFundResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateContinuousFundResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateContinuousFundResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateContinuousFundResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateContinuousFundResponse) ProtoMessage()
- func (m *MsgCreateContinuousFundResponse) Reset()
- func (m *MsgCreateContinuousFundResponse) Size() (n int)
- func (m *MsgCreateContinuousFundResponse) String() string
- func (m *MsgCreateContinuousFundResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateContinuousFundResponse) XXX_DiscardUnknown()
- func (m *MsgCreateContinuousFundResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateContinuousFundResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateContinuousFundResponse) XXX_Size() int
- func (m *MsgCreateContinuousFundResponse) XXX_Unmarshal(b []byte) error
- type MsgFundCommunityPool
- func (*MsgFundCommunityPool) Descriptor() ([]byte, []int)
- func (m *MsgFundCommunityPool) Marshal() (dAtA []byte, err error)
- func (m *MsgFundCommunityPool) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgFundCommunityPool) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgFundCommunityPool) ProtoMessage()
- func (m *MsgFundCommunityPool) Reset()
- func (m *MsgFundCommunityPool) Size() (n int)
- func (m *MsgFundCommunityPool) String() string
- func (m *MsgFundCommunityPool) Unmarshal(dAtA []byte) error
- func (m *MsgFundCommunityPool) XXX_DiscardUnknown()
- func (m *MsgFundCommunityPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgFundCommunityPool) XXX_Merge(src proto.Message)
- func (m *MsgFundCommunityPool) XXX_Size() int
- func (m *MsgFundCommunityPool) XXX_Unmarshal(b []byte) error
- type MsgFundCommunityPoolResponse
- func (*MsgFundCommunityPoolResponse) Descriptor() ([]byte, []int)
- func (m *MsgFundCommunityPoolResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgFundCommunityPoolResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgFundCommunityPoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgFundCommunityPoolResponse) ProtoMessage()
- func (m *MsgFundCommunityPoolResponse) Reset()
- func (m *MsgFundCommunityPoolResponse) Size() (n int)
- func (m *MsgFundCommunityPoolResponse) String() string
- func (m *MsgFundCommunityPoolResponse) Unmarshal(dAtA []byte) error
- func (m *MsgFundCommunityPoolResponse) XXX_DiscardUnknown()
- func (m *MsgFundCommunityPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgFundCommunityPoolResponse) XXX_Merge(src proto.Message)
- func (m *MsgFundCommunityPoolResponse) XXX_Size() int
- func (m *MsgFundCommunityPoolResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgSubmitBudgetProposal
- func (*MsgSubmitBudgetProposal) Descriptor() ([]byte, []int)
- func (m *MsgSubmitBudgetProposal) GetAuthority() string
- func (m *MsgSubmitBudgetProposal) GetPeriod() *time.Duration
- func (m *MsgSubmitBudgetProposal) GetRecipientAddress() string
- func (m *MsgSubmitBudgetProposal) GetStartTime() *time.Time
- func (m *MsgSubmitBudgetProposal) GetTotalBudget() *types.Coin
- func (m *MsgSubmitBudgetProposal) GetTranches() uint64
- func (m *MsgSubmitBudgetProposal) Marshal() (dAtA []byte, err error)
- func (m *MsgSubmitBudgetProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSubmitBudgetProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSubmitBudgetProposal) ProtoMessage()
- func (m *MsgSubmitBudgetProposal) Reset()
- func (m *MsgSubmitBudgetProposal) Size() (n int)
- func (m *MsgSubmitBudgetProposal) String() string
- func (m *MsgSubmitBudgetProposal) Unmarshal(dAtA []byte) error
- func (m *MsgSubmitBudgetProposal) XXX_DiscardUnknown()
- func (m *MsgSubmitBudgetProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSubmitBudgetProposal) XXX_Merge(src proto.Message)
- func (m *MsgSubmitBudgetProposal) XXX_Size() int
- func (m *MsgSubmitBudgetProposal) XXX_Unmarshal(b []byte) error
- type MsgSubmitBudgetProposalResponse
- func (*MsgSubmitBudgetProposalResponse) Descriptor() ([]byte, []int)
- func (m *MsgSubmitBudgetProposalResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSubmitBudgetProposalResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSubmitBudgetProposalResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSubmitBudgetProposalResponse) ProtoMessage()
- func (m *MsgSubmitBudgetProposalResponse) Reset()
- func (m *MsgSubmitBudgetProposalResponse) Size() (n int)
- func (m *MsgSubmitBudgetProposalResponse) String() string
- func (m *MsgSubmitBudgetProposalResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSubmitBudgetProposalResponse) XXX_DiscardUnknown()
- func (m *MsgSubmitBudgetProposalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSubmitBudgetProposalResponse) XXX_Merge(src proto.Message)
- func (m *MsgSubmitBudgetProposalResponse) XXX_Size() int
- func (m *MsgSubmitBudgetProposalResponse) XXX_Unmarshal(b []byte) error
- type MsgWithdrawContinuousFund
- func (*MsgWithdrawContinuousFund) Descriptor() ([]byte, []int)
- func (m *MsgWithdrawContinuousFund) GetRecipientAddress() string
- func (m *MsgWithdrawContinuousFund) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdrawContinuousFund) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdrawContinuousFund) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdrawContinuousFund) ProtoMessage()
- func (m *MsgWithdrawContinuousFund) Reset()
- func (m *MsgWithdrawContinuousFund) Size() (n int)
- func (m *MsgWithdrawContinuousFund) String() string
- func (m *MsgWithdrawContinuousFund) Unmarshal(dAtA []byte) error
- func (m *MsgWithdrawContinuousFund) XXX_DiscardUnknown()
- func (m *MsgWithdrawContinuousFund) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdrawContinuousFund) XXX_Merge(src proto.Message)
- func (m *MsgWithdrawContinuousFund) XXX_Size() int
- func (m *MsgWithdrawContinuousFund) XXX_Unmarshal(b []byte) error
- type MsgWithdrawContinuousFundResponse
- func (*MsgWithdrawContinuousFundResponse) Descriptor() ([]byte, []int)
- func (m *MsgWithdrawContinuousFundResponse) GetAmount() types.Coin
- func (m *MsgWithdrawContinuousFundResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdrawContinuousFundResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdrawContinuousFundResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdrawContinuousFundResponse) ProtoMessage()
- func (m *MsgWithdrawContinuousFundResponse) Reset()
- func (m *MsgWithdrawContinuousFundResponse) Size() (n int)
- func (m *MsgWithdrawContinuousFundResponse) String() string
- func (m *MsgWithdrawContinuousFundResponse) Unmarshal(dAtA []byte) error
- func (m *MsgWithdrawContinuousFundResponse) XXX_DiscardUnknown()
- func (m *MsgWithdrawContinuousFundResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdrawContinuousFundResponse) XXX_Merge(src proto.Message)
- func (m *MsgWithdrawContinuousFundResponse) XXX_Size() int
- func (m *MsgWithdrawContinuousFundResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryCommunityPoolRequest
- func (*QueryCommunityPoolRequest) Descriptor() ([]byte, []int)
- func (m *QueryCommunityPoolRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryCommunityPoolRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCommunityPoolRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCommunityPoolRequest) ProtoMessage()
- func (m *QueryCommunityPoolRequest) Reset()
- func (m *QueryCommunityPoolRequest) Size() (n int)
- func (m *QueryCommunityPoolRequest) String() string
- func (m *QueryCommunityPoolRequest) Unmarshal(dAtA []byte) error
- func (m *QueryCommunityPoolRequest) XXX_DiscardUnknown()
- func (m *QueryCommunityPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCommunityPoolRequest) XXX_Merge(src proto.Message)
- func (m *QueryCommunityPoolRequest) XXX_Size() int
- func (m *QueryCommunityPoolRequest) XXX_Unmarshal(b []byte) error
- type QueryCommunityPoolResponse
- func (*QueryCommunityPoolResponse) Descriptor() ([]byte, []int)
- func (m *QueryCommunityPoolResponse) GetPool() github_com_cosmos_cosmos_sdk_types.DecCoins
- func (m *QueryCommunityPoolResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryCommunityPoolResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCommunityPoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCommunityPoolResponse) ProtoMessage()
- func (m *QueryCommunityPoolResponse) Reset()
- func (m *QueryCommunityPoolResponse) Size() (n int)
- func (m *QueryCommunityPoolResponse) String() string
- func (m *QueryCommunityPoolResponse) Unmarshal(dAtA []byte) error
- func (m *QueryCommunityPoolResponse) XXX_DiscardUnknown()
- func (m *QueryCommunityPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCommunityPoolResponse) XXX_Merge(src proto.Message)
- func (m *QueryCommunityPoolResponse) XXX_Size() int
- func (m *QueryCommunityPoolResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type QueryUnclaimedBudgetRequest
- func (*QueryUnclaimedBudgetRequest) Descriptor() ([]byte, []int)
- func (m *QueryUnclaimedBudgetRequest) GetAddress() string
- func (m *QueryUnclaimedBudgetRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryUnclaimedBudgetRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryUnclaimedBudgetRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryUnclaimedBudgetRequest) ProtoMessage()
- func (m *QueryUnclaimedBudgetRequest) Reset()
- func (m *QueryUnclaimedBudgetRequest) Size() (n int)
- func (m *QueryUnclaimedBudgetRequest) String() string
- func (m *QueryUnclaimedBudgetRequest) Unmarshal(dAtA []byte) error
- func (m *QueryUnclaimedBudgetRequest) XXX_DiscardUnknown()
- func (m *QueryUnclaimedBudgetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryUnclaimedBudgetRequest) XXX_Merge(src proto.Message)
- func (m *QueryUnclaimedBudgetRequest) XXX_Size() int
- func (m *QueryUnclaimedBudgetRequest) XXX_Unmarshal(b []byte) error
- type QueryUnclaimedBudgetResponse
- func (*QueryUnclaimedBudgetResponse) Descriptor() ([]byte, []int)
- func (m *QueryUnclaimedBudgetResponse) GetClaimedAmount() *types.Coin
- func (m *QueryUnclaimedBudgetResponse) GetNextClaimFrom() *time.Time
- func (m *QueryUnclaimedBudgetResponse) GetPeriod() *time.Duration
- func (m *QueryUnclaimedBudgetResponse) GetTotalBudget() *types.Coin
- func (m *QueryUnclaimedBudgetResponse) GetTranchesLeft() uint64
- func (m *QueryUnclaimedBudgetResponse) GetUnclaimedAmount() *types.Coin
- func (m *QueryUnclaimedBudgetResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryUnclaimedBudgetResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryUnclaimedBudgetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryUnclaimedBudgetResponse) ProtoMessage()
- func (m *QueryUnclaimedBudgetResponse) Reset()
- func (m *QueryUnclaimedBudgetResponse) Size() (n int)
- func (m *QueryUnclaimedBudgetResponse) String() string
- func (m *QueryUnclaimedBudgetResponse) Unmarshal(dAtA []byte) error
- func (m *QueryUnclaimedBudgetResponse) XXX_DiscardUnknown()
- func (m *QueryUnclaimedBudgetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryUnclaimedBudgetResponse) XXX_Merge(src proto.Message)
- func (m *QueryUnclaimedBudgetResponse) XXX_Size() int
- func (m *QueryUnclaimedBudgetResponse) XXX_Unmarshal(b []byte) error
- type StakingKeeper
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) CancelContinuousFund(ctx context.Context, req *MsgCancelContinuousFund) (*MsgCancelContinuousFundResponse, error)
- func (*UnimplementedMsgServer) ClaimBudget(ctx context.Context, req *MsgClaimBudget) (*MsgClaimBudgetResponse, error)
- func (*UnimplementedMsgServer) CommunityPoolSpend(ctx context.Context, req *MsgCommunityPoolSpend) (*MsgCommunityPoolSpendResponse, error)
- func (*UnimplementedMsgServer) CreateContinuousFund(ctx context.Context, req *MsgCreateContinuousFund) (*MsgCreateContinuousFundResponse, error)
- func (*UnimplementedMsgServer) FundCommunityPool(ctx context.Context, req *MsgFundCommunityPool) (*MsgFundCommunityPoolResponse, error)
- func (*UnimplementedMsgServer) SubmitBudgetProposal(ctx context.Context, req *MsgSubmitBudgetProposal) (*MsgSubmitBudgetProposalResponse, error)
- func (*UnimplementedMsgServer) WithdrawContinuousFund(ctx context.Context, req *MsgWithdrawContinuousFund) (*MsgWithdrawContinuousFundResponse, error)
- type UnimplementedQueryServer
Constants ¶
const ( // ModuleName is the module name constant used in many places ModuleName = "protocolpool" // StreamAccount is the name constant used for stream account StreamAccount = "stream_acc" // StoreKey is the store key string for protocolpool StoreKey = ModuleName // RouterKey is the message route for protocolpool RouterKey = ModuleName // GovModuleName duplicates the gov module's name to avoid a cyclic dependency with x/gov. // It should be synced with the gov module's name if it is ever changed. // See: https://github.com/cosmos/cosmos-sdk/blob/b62a28aac041829da5ded4aeacfcd7a42873d1c8/x/gov/types/keys.go#L9 GovModuleName = "gov" // TODO this should be distribution )
Variables ¶
var ( ErrInvalidSigner = errors.Register(ModuleName, 2, "expected authority account as only signer for community pool spend message") ErrNoRecipientFund = errors.Register(ModuleName, 3, "no recipient fund found for recipient") )
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( BudgetKey = collections.NewPrefix(2) ContinuousFundKey = collections.NewPrefix(3) RecipientFundPercentageKey = collections.NewPrefix(4) RecipientFundDistributionKey = collections.NewPrefix(5) ToDistributeKey = collections.NewPrefix(6) )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
Functions ¶
func RegisterInterfaces ¶
func RegisterInterfaces(registrar registry.InterfaceRegistrar)
func RegisterQueryHandler ¶
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶
func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.
func RegisterQueryHandlerFromEndpoint ¶
func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryHandlerServer ¶
func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
func ValidateGenesis ¶
func ValidateGenesis(gs *GenesisState) error
ValidateGenesis validates the genesis state of protocolpool genesis input
Types ¶
type AccountKeeper ¶
type BankKeeper ¶
type BankKeeper interface { MintCoins(ctx context.Context, moduleName string, amt sdk.Coins) error GetAllBalances(ctx context.Context, addr sdk.AccAddress) sdk.Coins SpendableCoins(ctx context.Context, addr sdk.AccAddress) sdk.Coins SendCoinsFromModuleToAccount(ctx context.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error SendCoinsFromAccountToModule(ctx context.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error SendCoinsFromModuleToModule(ctx context.Context, senderModule, recipientModule string, amt sdk.Coins) error }
BankKeeper defines the expected interface needed to retrieve account balances.
type Budget ¶
type Budget struct { // recipient_address is the address of the recipient who can claim the budget. RecipientAddress string `protobuf:"bytes,1,opt,name=recipient_address,json=recipientAddress,proto3" json:"recipient_address,omitempty"` // total_budget is the total amount allocated for the budget. TotalBudget *types.Coin `protobuf:"bytes,2,opt,name=total_budget,json=totalBudget,proto3" json:"total_budget,omitempty"` // claimed_amount is the total amount claimed from the total budget amount requested. ClaimedAmount *types.Coin `protobuf:"bytes,3,opt,name=claimed_amount,json=claimedAmount,proto3" json:"claimed_amount,omitempty"` // start_time is the time when the budget becomes claimable. StartTime *time.Time `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3,stdtime" json:"start_time,omitempty"` // next_claim_from is the time when the budget was last successfully claimed or distributed. // It is used to track the next starting claim time for fund distribution. If set, it cannot be less than start_time. NextClaimFrom *time.Time `protobuf:"bytes,5,opt,name=next_claim_from,json=nextClaimFrom,proto3,stdtime" json:"next_claim_from,omitempty"` // tranches is the number of times the total budget amount is to be distributed. Tranches uint64 `protobuf:"varint,6,opt,name=tranches,proto3" json:"tranches,omitempty"` // tranches_left is the number of tranches left for the amount to be distributed. TranchesLeft uint64 `protobuf:"varint,7,opt,name=tranches_left,json=tranchesLeft,proto3" json:"tranches_left,omitempty"` // Period is the time interval(number of seconds) at which funds distribution should be performed. // For example, if a period is set to 3600, it represents an action that // should occur every hour (3600 seconds). Period *time.Duration `protobuf:"bytes,8,opt,name=period,proto3,stdduration" json:"period,omitempty"` }
Budget defines the fields of a budget proposal.
func (*Budget) MarshalToSizedBuffer ¶
func (*Budget) XXX_Marshal ¶
type ContinuousFund ¶
type ContinuousFund struct { // Recipient address 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 cosmossdk_io_math.LegacyDec `protobuf:"bytes,2,opt,name=percentage,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"percentage"` // Optional, if expiry is set, removes the state object when expired. Expiry *time.Time `protobuf:"bytes,3,opt,name=expiry,proto3,stdtime" json:"expiry,omitempty"` }
ContinuousFund defines the fields of continuous fund proposal.
func (*ContinuousFund) Descriptor ¶
func (*ContinuousFund) Descriptor() ([]byte, []int)
func (*ContinuousFund) GetExpiry ¶
func (m *ContinuousFund) GetExpiry() *time.Time
func (*ContinuousFund) GetRecipient ¶
func (m *ContinuousFund) GetRecipient() string
func (*ContinuousFund) Marshal ¶
func (m *ContinuousFund) Marshal() (dAtA []byte, err error)
func (*ContinuousFund) MarshalTo ¶
func (m *ContinuousFund) MarshalTo(dAtA []byte) (int, error)
func (*ContinuousFund) MarshalToSizedBuffer ¶
func (m *ContinuousFund) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ContinuousFund) ProtoMessage ¶
func (*ContinuousFund) ProtoMessage()
func (*ContinuousFund) Reset ¶
func (m *ContinuousFund) Reset()
func (*ContinuousFund) Size ¶
func (m *ContinuousFund) Size() (n int)
func (*ContinuousFund) String ¶
func (m *ContinuousFund) String() string
func (*ContinuousFund) Unmarshal ¶
func (m *ContinuousFund) Unmarshal(dAtA []byte) error
func (*ContinuousFund) XXX_DiscardUnknown ¶
func (m *ContinuousFund) XXX_DiscardUnknown()
func (*ContinuousFund) XXX_Marshal ¶
func (m *ContinuousFund) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ContinuousFund) XXX_Merge ¶
func (m *ContinuousFund) XXX_Merge(src proto.Message)
func (*ContinuousFund) XXX_Size ¶
func (m *ContinuousFund) XXX_Size() int
func (*ContinuousFund) XXX_Unmarshal ¶
func (m *ContinuousFund) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct { // ContinuousFund defines the continuous funds at genesis. ContinuousFund []*ContinuousFund `protobuf:"bytes,1,rep,name=continuous_fund,json=continuousFund,proto3" json:"continuous_fund,omitempty"` // Budget defines the budget proposals at genesis. Budget []*Budget `protobuf:"bytes,2,rep,name=budget,proto3" json:"budget,omitempty"` ToDistribute cosmossdk_io_math.Int `protobuf:"bytes,3,opt,name=to_distribute,json=toDistribute,proto3,customtype=cosmossdk.io/math.Int" json:"to_distribute"` }
GenesisState defines the protocolpool module's genesis state.
func DefaultGenesisState ¶
func DefaultGenesisState() *GenesisState
func NewGenesisState ¶
func NewGenesisState(cf []*ContinuousFund, budget []*Budget) *GenesisState
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetBudget ¶
func (m *GenesisState) GetBudget() []*Budget
func (*GenesisState) GetContinuousFund ¶
func (m *GenesisState) GetContinuousFund() []*ContinuousFund
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalTo ¶
func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (*GenesisState) XXX_DiscardUnknown ¶
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type MsgCancelContinuousFund ¶
type MsgCancelContinuousFund struct { // Authority is the account address of authority. Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // RecipientAddress is the account address of recipient whose funds are to be cancelled. RecipientAddress string `protobuf:"bytes,2,opt,name=recipient_address,json=recipientAddress,proto3" json:"recipient_address,omitempty"` }
MsgCancelContinuousFund defines a message to cancel continuous funds for a specific recipient.
func (*MsgCancelContinuousFund) Descriptor ¶
func (*MsgCancelContinuousFund) Descriptor() ([]byte, []int)
func (*MsgCancelContinuousFund) GetAuthority ¶
func (m *MsgCancelContinuousFund) GetAuthority() string
func (*MsgCancelContinuousFund) GetRecipientAddress ¶
func (m *MsgCancelContinuousFund) GetRecipientAddress() string
func (*MsgCancelContinuousFund) Marshal ¶
func (m *MsgCancelContinuousFund) Marshal() (dAtA []byte, err error)
func (*MsgCancelContinuousFund) MarshalTo ¶
func (m *MsgCancelContinuousFund) MarshalTo(dAtA []byte) (int, error)
func (*MsgCancelContinuousFund) MarshalToSizedBuffer ¶
func (m *MsgCancelContinuousFund) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCancelContinuousFund) ProtoMessage ¶
func (*MsgCancelContinuousFund) ProtoMessage()
func (*MsgCancelContinuousFund) Reset ¶
func (m *MsgCancelContinuousFund) Reset()
func (*MsgCancelContinuousFund) Size ¶
func (m *MsgCancelContinuousFund) Size() (n int)
func (*MsgCancelContinuousFund) String ¶
func (m *MsgCancelContinuousFund) String() string
func (*MsgCancelContinuousFund) Unmarshal ¶
func (m *MsgCancelContinuousFund) Unmarshal(dAtA []byte) error
func (*MsgCancelContinuousFund) XXX_DiscardUnknown ¶
func (m *MsgCancelContinuousFund) XXX_DiscardUnknown()
func (*MsgCancelContinuousFund) XXX_Marshal ¶
func (m *MsgCancelContinuousFund) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCancelContinuousFund) XXX_Merge ¶
func (m *MsgCancelContinuousFund) XXX_Merge(src proto.Message)
func (*MsgCancelContinuousFund) XXX_Size ¶
func (m *MsgCancelContinuousFund) XXX_Size() int
func (*MsgCancelContinuousFund) XXX_Unmarshal ¶
func (m *MsgCancelContinuousFund) XXX_Unmarshal(b []byte) error
type MsgCancelContinuousFundResponse ¶
type MsgCancelContinuousFundResponse struct { // CanceledTime is the canceled time. CanceledTime time.Time `protobuf:"bytes,1,opt,name=canceled_time,json=canceledTime,proto3,stdtime" json:"canceled_time"` // CanceledHeight defines the canceled block height. CanceledHeight uint64 `protobuf:"varint,2,opt,name=canceled_height,json=canceledHeight,proto3" json:"canceled_height,omitempty"` // RecipientAddress is the account address of recipient whose funds are cancelled. RecipientAddress string `protobuf:"bytes,3,opt,name=recipient_address,json=recipientAddress,proto3" json:"recipient_address,omitempty"` // withdrawnAllocatedFund represents the fund allocated to this recipient (if any) that have not been withdrawn yet, // before a cancellation request has been initiated. // It involves first withdrawing the funds and then canceling the request. WithdrawnAllocatedFund types.Coin `` /* 173-byte string literal not displayed */ }
MsgCancelContinuousFundResponse defines the response to executing a MsgCancelContinuousFund message.
func (*MsgCancelContinuousFundResponse) Descriptor ¶
func (*MsgCancelContinuousFundResponse) Descriptor() ([]byte, []int)
func (*MsgCancelContinuousFundResponse) GetCanceledHeight ¶
func (m *MsgCancelContinuousFundResponse) GetCanceledHeight() uint64
func (*MsgCancelContinuousFundResponse) GetCanceledTime ¶
func (m *MsgCancelContinuousFundResponse) GetCanceledTime() time.Time
func (*MsgCancelContinuousFundResponse) GetRecipientAddress ¶
func (m *MsgCancelContinuousFundResponse) GetRecipientAddress() string
func (*MsgCancelContinuousFundResponse) GetWithdrawnAllocatedFund ¶
func (m *MsgCancelContinuousFundResponse) GetWithdrawnAllocatedFund() types.Coin
func (*MsgCancelContinuousFundResponse) Marshal ¶
func (m *MsgCancelContinuousFundResponse) Marshal() (dAtA []byte, err error)
func (*MsgCancelContinuousFundResponse) MarshalTo ¶
func (m *MsgCancelContinuousFundResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCancelContinuousFundResponse) MarshalToSizedBuffer ¶
func (m *MsgCancelContinuousFundResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCancelContinuousFundResponse) ProtoMessage ¶
func (*MsgCancelContinuousFundResponse) ProtoMessage()
func (*MsgCancelContinuousFundResponse) Reset ¶
func (m *MsgCancelContinuousFundResponse) Reset()
func (*MsgCancelContinuousFundResponse) Size ¶
func (m *MsgCancelContinuousFundResponse) Size() (n int)
func (*MsgCancelContinuousFundResponse) String ¶
func (m *MsgCancelContinuousFundResponse) String() string
func (*MsgCancelContinuousFundResponse) Unmarshal ¶
func (m *MsgCancelContinuousFundResponse) Unmarshal(dAtA []byte) error
func (*MsgCancelContinuousFundResponse) XXX_DiscardUnknown ¶
func (m *MsgCancelContinuousFundResponse) XXX_DiscardUnknown()
func (*MsgCancelContinuousFundResponse) XXX_Marshal ¶
func (m *MsgCancelContinuousFundResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCancelContinuousFundResponse) XXX_Merge ¶
func (m *MsgCancelContinuousFundResponse) XXX_Merge(src proto.Message)
func (*MsgCancelContinuousFundResponse) XXX_Size ¶
func (m *MsgCancelContinuousFundResponse) XXX_Size() int
func (*MsgCancelContinuousFundResponse) XXX_Unmarshal ¶
func (m *MsgCancelContinuousFundResponse) XXX_Unmarshal(b []byte) error
type MsgClaimBudget ¶
type MsgClaimBudget struct {
RecipientAddress string `protobuf:"bytes,1,opt,name=recipient_address,json=recipientAddress,proto3" json:"recipient_address,omitempty"`
}
MsgClaimBudget defines a message for claiming the distributed budget.
func (*MsgClaimBudget) Descriptor ¶
func (*MsgClaimBudget) Descriptor() ([]byte, []int)
func (*MsgClaimBudget) GetRecipientAddress ¶
func (m *MsgClaimBudget) GetRecipientAddress() string
func (*MsgClaimBudget) Marshal ¶
func (m *MsgClaimBudget) Marshal() (dAtA []byte, err error)
func (*MsgClaimBudget) MarshalTo ¶
func (m *MsgClaimBudget) MarshalTo(dAtA []byte) (int, error)
func (*MsgClaimBudget) MarshalToSizedBuffer ¶
func (m *MsgClaimBudget) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgClaimBudget) ProtoMessage ¶
func (*MsgClaimBudget) ProtoMessage()
func (*MsgClaimBudget) Reset ¶
func (m *MsgClaimBudget) Reset()
func (*MsgClaimBudget) Size ¶
func (m *MsgClaimBudget) Size() (n int)
func (*MsgClaimBudget) String ¶
func (m *MsgClaimBudget) String() string
func (*MsgClaimBudget) Unmarshal ¶
func (m *MsgClaimBudget) Unmarshal(dAtA []byte) error
func (*MsgClaimBudget) XXX_DiscardUnknown ¶
func (m *MsgClaimBudget) XXX_DiscardUnknown()
func (*MsgClaimBudget) XXX_Marshal ¶
func (m *MsgClaimBudget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgClaimBudget) XXX_Merge ¶
func (m *MsgClaimBudget) XXX_Merge(src proto.Message)
func (*MsgClaimBudget) XXX_Size ¶
func (m *MsgClaimBudget) XXX_Size() int
func (*MsgClaimBudget) XXX_Unmarshal ¶
func (m *MsgClaimBudget) XXX_Unmarshal(b []byte) error
type MsgClaimBudgetResponse ¶
type MsgClaimBudgetResponse struct {
Amount types.Coin `protobuf:"bytes,1,opt,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"`
}
MsgClaimBudgetResponse defines the response to executing a MsgClaimBudget message.
func (*MsgClaimBudgetResponse) Descriptor ¶
func (*MsgClaimBudgetResponse) Descriptor() ([]byte, []int)
func (*MsgClaimBudgetResponse) GetAmount ¶
func (m *MsgClaimBudgetResponse) GetAmount() types.Coin
func (*MsgClaimBudgetResponse) Marshal ¶
func (m *MsgClaimBudgetResponse) Marshal() (dAtA []byte, err error)
func (*MsgClaimBudgetResponse) MarshalTo ¶
func (m *MsgClaimBudgetResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgClaimBudgetResponse) MarshalToSizedBuffer ¶
func (m *MsgClaimBudgetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgClaimBudgetResponse) ProtoMessage ¶
func (*MsgClaimBudgetResponse) ProtoMessage()
func (*MsgClaimBudgetResponse) Reset ¶
func (m *MsgClaimBudgetResponse) Reset()
func (*MsgClaimBudgetResponse) Size ¶
func (m *MsgClaimBudgetResponse) Size() (n int)
func (*MsgClaimBudgetResponse) String ¶
func (m *MsgClaimBudgetResponse) String() string
func (*MsgClaimBudgetResponse) Unmarshal ¶
func (m *MsgClaimBudgetResponse) Unmarshal(dAtA []byte) error
func (*MsgClaimBudgetResponse) XXX_DiscardUnknown ¶
func (m *MsgClaimBudgetResponse) XXX_DiscardUnknown()
func (*MsgClaimBudgetResponse) XXX_Marshal ¶
func (m *MsgClaimBudgetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgClaimBudgetResponse) XXX_Merge ¶
func (m *MsgClaimBudgetResponse) XXX_Merge(src proto.Message)
func (*MsgClaimBudgetResponse) XXX_Size ¶
func (m *MsgClaimBudgetResponse) XXX_Size() int
func (*MsgClaimBudgetResponse) XXX_Unmarshal ¶
func (m *MsgClaimBudgetResponse) XXX_Unmarshal(b []byte) error
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) // SubmitBudgetProposal defines a method to set a budget proposal. SubmitBudgetProposal(ctx context.Context, in *MsgSubmitBudgetProposal, opts ...grpc.CallOption) (*MsgSubmitBudgetProposalResponse, error) // ClaimBudget defines a method to claim the distributed budget. ClaimBudget(ctx context.Context, in *MsgClaimBudget, opts ...grpc.CallOption) (*MsgClaimBudgetResponse, error) // CreateContinuousFund defines a method to add funds continuously. CreateContinuousFund(ctx context.Context, in *MsgCreateContinuousFund, opts ...grpc.CallOption) (*MsgCreateContinuousFundResponse, error) // WithdrawContinuousFund defines a method to withdraw continuous fund allocated. WithdrawContinuousFund(ctx context.Context, in *MsgWithdrawContinuousFund, opts ...grpc.CallOption) (*MsgWithdrawContinuousFundResponse, error) // CancelContinuousFund defines a method for cancelling continuous fund. CancelContinuousFund(ctx context.Context, in *MsgCancelContinuousFund, opts ...grpc.CallOption) (*MsgCancelContinuousFundResponse, error) }
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc1.ClientConn) 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 github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"` }
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 NewCommunityPoolSpend ¶
func NewCommunityPoolSpend(amount sdk.Coins, authority, recipient string) *MsgCommunityPoolSpend
NewCommunityPoolSpend returns a new CommunityPoolSpend with authority, recipient and a spending amount.
func (*MsgCommunityPoolSpend) Descriptor ¶
func (*MsgCommunityPoolSpend) Descriptor() ([]byte, []int)
func (*MsgCommunityPoolSpend) GetAmount ¶
func (m *MsgCommunityPoolSpend) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins
func (*MsgCommunityPoolSpend) GetAuthority ¶
func (m *MsgCommunityPoolSpend) GetAuthority() string
func (*MsgCommunityPoolSpend) GetRecipient ¶
func (m *MsgCommunityPoolSpend) GetRecipient() string
func (*MsgCommunityPoolSpend) Marshal ¶
func (m *MsgCommunityPoolSpend) Marshal() (dAtA []byte, err error)
func (*MsgCommunityPoolSpend) MarshalTo ¶
func (m *MsgCommunityPoolSpend) MarshalTo(dAtA []byte) (int, error)
func (*MsgCommunityPoolSpend) MarshalToSizedBuffer ¶
func (m *MsgCommunityPoolSpend) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCommunityPoolSpend) ProtoMessage ¶
func (*MsgCommunityPoolSpend) ProtoMessage()
func (*MsgCommunityPoolSpend) Reset ¶
func (m *MsgCommunityPoolSpend) Reset()
func (*MsgCommunityPoolSpend) Size ¶
func (m *MsgCommunityPoolSpend) Size() (n int)
func (*MsgCommunityPoolSpend) String ¶
func (m *MsgCommunityPoolSpend) String() string
func (*MsgCommunityPoolSpend) Unmarshal ¶
func (m *MsgCommunityPoolSpend) Unmarshal(dAtA []byte) error
func (*MsgCommunityPoolSpend) XXX_DiscardUnknown ¶
func (m *MsgCommunityPoolSpend) XXX_DiscardUnknown()
func (*MsgCommunityPoolSpend) XXX_Marshal ¶
func (m *MsgCommunityPoolSpend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCommunityPoolSpend) XXX_Merge ¶
func (m *MsgCommunityPoolSpend) XXX_Merge(src proto.Message)
func (*MsgCommunityPoolSpend) XXX_Size ¶
func (m *MsgCommunityPoolSpend) XXX_Size() int
func (*MsgCommunityPoolSpend) XXX_Unmarshal ¶
func (m *MsgCommunityPoolSpend) XXX_Unmarshal(b []byte) error
type MsgCommunityPoolSpendResponse ¶
type MsgCommunityPoolSpendResponse struct { }
MsgCommunityPoolSpendResponse defines the response to executing a MsgCommunityPoolSpend message.
func (*MsgCommunityPoolSpendResponse) Descriptor ¶
func (*MsgCommunityPoolSpendResponse) Descriptor() ([]byte, []int)
func (*MsgCommunityPoolSpendResponse) Marshal ¶
func (m *MsgCommunityPoolSpendResponse) Marshal() (dAtA []byte, err error)
func (*MsgCommunityPoolSpendResponse) MarshalTo ¶
func (m *MsgCommunityPoolSpendResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCommunityPoolSpendResponse) MarshalToSizedBuffer ¶
func (m *MsgCommunityPoolSpendResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCommunityPoolSpendResponse) ProtoMessage ¶
func (*MsgCommunityPoolSpendResponse) ProtoMessage()
func (*MsgCommunityPoolSpendResponse) Reset ¶
func (m *MsgCommunityPoolSpendResponse) Reset()
func (*MsgCommunityPoolSpendResponse) Size ¶
func (m *MsgCommunityPoolSpendResponse) Size() (n int)
func (*MsgCommunityPoolSpendResponse) String ¶
func (m *MsgCommunityPoolSpendResponse) String() string
func (*MsgCommunityPoolSpendResponse) Unmarshal ¶
func (m *MsgCommunityPoolSpendResponse) Unmarshal(dAtA []byte) error
func (*MsgCommunityPoolSpendResponse) XXX_DiscardUnknown ¶
func (m *MsgCommunityPoolSpendResponse) XXX_DiscardUnknown()
func (*MsgCommunityPoolSpendResponse) XXX_Marshal ¶
func (m *MsgCommunityPoolSpendResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCommunityPoolSpendResponse) XXX_Merge ¶
func (m *MsgCommunityPoolSpendResponse) XXX_Merge(src proto.Message)
func (*MsgCommunityPoolSpendResponse) XXX_Size ¶
func (m *MsgCommunityPoolSpendResponse) XXX_Size() int
func (*MsgCommunityPoolSpendResponse) XXX_Unmarshal ¶
func (m *MsgCommunityPoolSpendResponse) XXX_Unmarshal(b []byte) error
type MsgCreateContinuousFund ¶
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 cosmossdk_io_math.LegacyDec `protobuf:"bytes,3,opt,name=percentage,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"percentage"` // Optional, if expiry is set, removes the state object when expired. Expiry *time.Time `protobuf:"bytes,4,opt,name=expiry,proto3,stdtime" json:"expiry,omitempty"` }
MsgCreateContinuousFund defines a message for adding continuous funds.
func (*MsgCreateContinuousFund) Descriptor ¶
func (*MsgCreateContinuousFund) Descriptor() ([]byte, []int)
func (*MsgCreateContinuousFund) GetAuthority ¶
func (m *MsgCreateContinuousFund) GetAuthority() string
func (*MsgCreateContinuousFund) GetExpiry ¶
func (m *MsgCreateContinuousFund) GetExpiry() *time.Time
func (*MsgCreateContinuousFund) GetRecipient ¶
func (m *MsgCreateContinuousFund) GetRecipient() string
func (*MsgCreateContinuousFund) Marshal ¶
func (m *MsgCreateContinuousFund) Marshal() (dAtA []byte, err error)
func (*MsgCreateContinuousFund) MarshalTo ¶
func (m *MsgCreateContinuousFund) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateContinuousFund) MarshalToSizedBuffer ¶
func (m *MsgCreateContinuousFund) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateContinuousFund) ProtoMessage ¶
func (*MsgCreateContinuousFund) ProtoMessage()
func (*MsgCreateContinuousFund) Reset ¶
func (m *MsgCreateContinuousFund) Reset()
func (*MsgCreateContinuousFund) Size ¶
func (m *MsgCreateContinuousFund) Size() (n int)
func (*MsgCreateContinuousFund) String ¶
func (m *MsgCreateContinuousFund) String() string
func (*MsgCreateContinuousFund) Unmarshal ¶
func (m *MsgCreateContinuousFund) Unmarshal(dAtA []byte) error
func (*MsgCreateContinuousFund) XXX_DiscardUnknown ¶
func (m *MsgCreateContinuousFund) XXX_DiscardUnknown()
func (*MsgCreateContinuousFund) XXX_Marshal ¶
func (m *MsgCreateContinuousFund) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateContinuousFund) XXX_Merge ¶
func (m *MsgCreateContinuousFund) XXX_Merge(src proto.Message)
func (*MsgCreateContinuousFund) XXX_Size ¶
func (m *MsgCreateContinuousFund) XXX_Size() int
func (*MsgCreateContinuousFund) XXX_Unmarshal ¶
func (m *MsgCreateContinuousFund) XXX_Unmarshal(b []byte) error
type MsgCreateContinuousFundResponse ¶
type MsgCreateContinuousFundResponse struct { }
MsgCreateContinuousFundResponse defines the response to executing a MsgCreateContinuousFund message.
func (*MsgCreateContinuousFundResponse) Descriptor ¶
func (*MsgCreateContinuousFundResponse) Descriptor() ([]byte, []int)
func (*MsgCreateContinuousFundResponse) Marshal ¶
func (m *MsgCreateContinuousFundResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreateContinuousFundResponse) MarshalTo ¶
func (m *MsgCreateContinuousFundResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateContinuousFundResponse) MarshalToSizedBuffer ¶
func (m *MsgCreateContinuousFundResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateContinuousFundResponse) ProtoMessage ¶
func (*MsgCreateContinuousFundResponse) ProtoMessage()
func (*MsgCreateContinuousFundResponse) Reset ¶
func (m *MsgCreateContinuousFundResponse) Reset()
func (*MsgCreateContinuousFundResponse) Size ¶
func (m *MsgCreateContinuousFundResponse) Size() (n int)
func (*MsgCreateContinuousFundResponse) String ¶
func (m *MsgCreateContinuousFundResponse) String() string
func (*MsgCreateContinuousFundResponse) Unmarshal ¶
func (m *MsgCreateContinuousFundResponse) Unmarshal(dAtA []byte) error
func (*MsgCreateContinuousFundResponse) XXX_DiscardUnknown ¶
func (m *MsgCreateContinuousFundResponse) XXX_DiscardUnknown()
func (*MsgCreateContinuousFundResponse) XXX_Marshal ¶
func (m *MsgCreateContinuousFundResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateContinuousFundResponse) XXX_Merge ¶
func (m *MsgCreateContinuousFundResponse) XXX_Merge(src proto.Message)
func (*MsgCreateContinuousFundResponse) XXX_Size ¶
func (m *MsgCreateContinuousFundResponse) XXX_Size() int
func (*MsgCreateContinuousFundResponse) XXX_Unmarshal ¶
func (m *MsgCreateContinuousFundResponse) XXX_Unmarshal(b []byte) error
type MsgFundCommunityPool ¶
type MsgFundCommunityPool struct { Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"` Depositor string `protobuf:"bytes,2,opt,name=depositor,proto3" json:"depositor,omitempty"` }
MsgFundCommunityPool allows an account to directly fund the community pool.
func NewMsgFundCommunityPool ¶
func NewMsgFundCommunityPool(amount sdk.Coins, depositor string) *MsgFundCommunityPool
NewMsgFundCommunityPool returns a new MsgFundCommunityPool with a sender and a funding amount.
func (*MsgFundCommunityPool) Descriptor ¶
func (*MsgFundCommunityPool) Descriptor() ([]byte, []int)
func (*MsgFundCommunityPool) Marshal ¶
func (m *MsgFundCommunityPool) Marshal() (dAtA []byte, err error)
func (*MsgFundCommunityPool) MarshalTo ¶
func (m *MsgFundCommunityPool) MarshalTo(dAtA []byte) (int, error)
func (*MsgFundCommunityPool) MarshalToSizedBuffer ¶
func (m *MsgFundCommunityPool) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgFundCommunityPool) ProtoMessage ¶
func (*MsgFundCommunityPool) ProtoMessage()
func (*MsgFundCommunityPool) Reset ¶
func (m *MsgFundCommunityPool) Reset()
func (*MsgFundCommunityPool) Size ¶
func (m *MsgFundCommunityPool) Size() (n int)
func (*MsgFundCommunityPool) String ¶
func (m *MsgFundCommunityPool) String() string
func (*MsgFundCommunityPool) Unmarshal ¶
func (m *MsgFundCommunityPool) Unmarshal(dAtA []byte) error
func (*MsgFundCommunityPool) XXX_DiscardUnknown ¶
func (m *MsgFundCommunityPool) XXX_DiscardUnknown()
func (*MsgFundCommunityPool) XXX_Marshal ¶
func (m *MsgFundCommunityPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgFundCommunityPool) XXX_Merge ¶
func (m *MsgFundCommunityPool) XXX_Merge(src proto.Message)
func (*MsgFundCommunityPool) XXX_Size ¶
func (m *MsgFundCommunityPool) XXX_Size() int
func (*MsgFundCommunityPool) XXX_Unmarshal ¶
func (m *MsgFundCommunityPool) XXX_Unmarshal(b []byte) error
type MsgFundCommunityPoolResponse ¶
type MsgFundCommunityPoolResponse struct { }
MsgFundCommunityPoolResponse defines the Msg/FundCommunityPool response type.
func (*MsgFundCommunityPoolResponse) Descriptor ¶
func (*MsgFundCommunityPoolResponse) Descriptor() ([]byte, []int)
func (*MsgFundCommunityPoolResponse) Marshal ¶
func (m *MsgFundCommunityPoolResponse) Marshal() (dAtA []byte, err error)
func (*MsgFundCommunityPoolResponse) MarshalTo ¶
func (m *MsgFundCommunityPoolResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgFundCommunityPoolResponse) MarshalToSizedBuffer ¶
func (m *MsgFundCommunityPoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgFundCommunityPoolResponse) ProtoMessage ¶
func (*MsgFundCommunityPoolResponse) ProtoMessage()
func (*MsgFundCommunityPoolResponse) Reset ¶
func (m *MsgFundCommunityPoolResponse) Reset()
func (*MsgFundCommunityPoolResponse) Size ¶
func (m *MsgFundCommunityPoolResponse) Size() (n int)
func (*MsgFundCommunityPoolResponse) String ¶
func (m *MsgFundCommunityPoolResponse) String() string
func (*MsgFundCommunityPoolResponse) Unmarshal ¶
func (m *MsgFundCommunityPoolResponse) Unmarshal(dAtA []byte) error
func (*MsgFundCommunityPoolResponse) XXX_DiscardUnknown ¶
func (m *MsgFundCommunityPoolResponse) XXX_DiscardUnknown()
func (*MsgFundCommunityPoolResponse) XXX_Marshal ¶
func (m *MsgFundCommunityPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgFundCommunityPoolResponse) XXX_Merge ¶
func (m *MsgFundCommunityPoolResponse) XXX_Merge(src proto.Message)
func (*MsgFundCommunityPoolResponse) XXX_Size ¶
func (m *MsgFundCommunityPoolResponse) XXX_Size() int
func (*MsgFundCommunityPoolResponse) XXX_Unmarshal ¶
func (m *MsgFundCommunityPoolResponse) XXX_Unmarshal(b []byte) error
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) // SubmitBudgetProposal defines a method to set a budget proposal. SubmitBudgetProposal(context.Context, *MsgSubmitBudgetProposal) (*MsgSubmitBudgetProposalResponse, error) // ClaimBudget defines a method to claim the distributed budget. ClaimBudget(context.Context, *MsgClaimBudget) (*MsgClaimBudgetResponse, error) // CreateContinuousFund defines a method to add funds continuously. CreateContinuousFund(context.Context, *MsgCreateContinuousFund) (*MsgCreateContinuousFundResponse, error) // WithdrawContinuousFund defines a method to withdraw continuous fund allocated. WithdrawContinuousFund(context.Context, *MsgWithdrawContinuousFund) (*MsgWithdrawContinuousFundResponse, error) // CancelContinuousFund defines a method for cancelling continuous fund. CancelContinuousFund(context.Context, *MsgCancelContinuousFund) (*MsgCancelContinuousFundResponse, error) }
MsgServer is the server API for Msg service.
type MsgSubmitBudgetProposal ¶
type MsgSubmitBudgetProposal 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"` // RecipientAddress is the address of the recipient who can claim the budget. RecipientAddress string `protobuf:"bytes,2,opt,name=recipient_address,json=recipientAddress,proto3" json:"recipient_address,omitempty"` // TotalBudget is the total amount allocated for the budget. TotalBudget *types.Coin `protobuf:"bytes,3,opt,name=total_budget,json=totalBudget,proto3" json:"total_budget,omitempty"` // StartTime is the time when the budget becomes claimable. // If StartTime is less than the current block time, proposal will not be accepted. StartTime *time.Time `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3,stdtime" json:"start_time,omitempty"` // Tranches is the number of times the total budget amount is to be distributed. Tranches uint64 `protobuf:"varint,5,opt,name=tranches,proto3" json:"tranches,omitempty"` // Period is the time interval(number of seconds) at which funds distribution should be performed. // For example, if a period is set to 3600, it represents an action that // should occur every hour (3600 seconds). Period *time.Duration `protobuf:"bytes,6,opt,name=period,proto3,stdduration" json:"period,omitempty"` }
MsgSubmitBudgetProposal defines budget proposal type.
func (*MsgSubmitBudgetProposal) Descriptor ¶
func (*MsgSubmitBudgetProposal) Descriptor() ([]byte, []int)
func (*MsgSubmitBudgetProposal) GetAuthority ¶
func (m *MsgSubmitBudgetProposal) GetAuthority() string
func (*MsgSubmitBudgetProposal) GetPeriod ¶
func (m *MsgSubmitBudgetProposal) GetPeriod() *time.Duration
func (*MsgSubmitBudgetProposal) GetRecipientAddress ¶
func (m *MsgSubmitBudgetProposal) GetRecipientAddress() string
func (*MsgSubmitBudgetProposal) GetStartTime ¶
func (m *MsgSubmitBudgetProposal) GetStartTime() *time.Time
func (*MsgSubmitBudgetProposal) GetTotalBudget ¶
func (m *MsgSubmitBudgetProposal) GetTotalBudget() *types.Coin
func (*MsgSubmitBudgetProposal) GetTranches ¶
func (m *MsgSubmitBudgetProposal) GetTranches() uint64
func (*MsgSubmitBudgetProposal) Marshal ¶
func (m *MsgSubmitBudgetProposal) Marshal() (dAtA []byte, err error)
func (*MsgSubmitBudgetProposal) MarshalTo ¶
func (m *MsgSubmitBudgetProposal) MarshalTo(dAtA []byte) (int, error)
func (*MsgSubmitBudgetProposal) MarshalToSizedBuffer ¶
func (m *MsgSubmitBudgetProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSubmitBudgetProposal) ProtoMessage ¶
func (*MsgSubmitBudgetProposal) ProtoMessage()
func (*MsgSubmitBudgetProposal) Reset ¶
func (m *MsgSubmitBudgetProposal) Reset()
func (*MsgSubmitBudgetProposal) Size ¶
func (m *MsgSubmitBudgetProposal) Size() (n int)
func (*MsgSubmitBudgetProposal) String ¶
func (m *MsgSubmitBudgetProposal) String() string
func (*MsgSubmitBudgetProposal) Unmarshal ¶
func (m *MsgSubmitBudgetProposal) Unmarshal(dAtA []byte) error
func (*MsgSubmitBudgetProposal) XXX_DiscardUnknown ¶
func (m *MsgSubmitBudgetProposal) XXX_DiscardUnknown()
func (*MsgSubmitBudgetProposal) XXX_Marshal ¶
func (m *MsgSubmitBudgetProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSubmitBudgetProposal) XXX_Merge ¶
func (m *MsgSubmitBudgetProposal) XXX_Merge(src proto.Message)
func (*MsgSubmitBudgetProposal) XXX_Size ¶
func (m *MsgSubmitBudgetProposal) XXX_Size() int
func (*MsgSubmitBudgetProposal) XXX_Unmarshal ¶
func (m *MsgSubmitBudgetProposal) XXX_Unmarshal(b []byte) error
type MsgSubmitBudgetProposalResponse ¶
type MsgSubmitBudgetProposalResponse struct { }
MsgSubmitBudgetProposalResponse defines the response to executing a MsgSubmitBudgetProposal message.
func (*MsgSubmitBudgetProposalResponse) Descriptor ¶
func (*MsgSubmitBudgetProposalResponse) Descriptor() ([]byte, []int)
func (*MsgSubmitBudgetProposalResponse) Marshal ¶
func (m *MsgSubmitBudgetProposalResponse) Marshal() (dAtA []byte, err error)
func (*MsgSubmitBudgetProposalResponse) MarshalTo ¶
func (m *MsgSubmitBudgetProposalResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgSubmitBudgetProposalResponse) MarshalToSizedBuffer ¶
func (m *MsgSubmitBudgetProposalResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSubmitBudgetProposalResponse) ProtoMessage ¶
func (*MsgSubmitBudgetProposalResponse) ProtoMessage()
func (*MsgSubmitBudgetProposalResponse) Reset ¶
func (m *MsgSubmitBudgetProposalResponse) Reset()
func (*MsgSubmitBudgetProposalResponse) Size ¶
func (m *MsgSubmitBudgetProposalResponse) Size() (n int)
func (*MsgSubmitBudgetProposalResponse) String ¶
func (m *MsgSubmitBudgetProposalResponse) String() string
func (*MsgSubmitBudgetProposalResponse) Unmarshal ¶
func (m *MsgSubmitBudgetProposalResponse) Unmarshal(dAtA []byte) error
func (*MsgSubmitBudgetProposalResponse) XXX_DiscardUnknown ¶
func (m *MsgSubmitBudgetProposalResponse) XXX_DiscardUnknown()
func (*MsgSubmitBudgetProposalResponse) XXX_Marshal ¶
func (m *MsgSubmitBudgetProposalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSubmitBudgetProposalResponse) XXX_Merge ¶
func (m *MsgSubmitBudgetProposalResponse) XXX_Merge(src proto.Message)
func (*MsgSubmitBudgetProposalResponse) XXX_Size ¶
func (m *MsgSubmitBudgetProposalResponse) XXX_Size() int
func (*MsgSubmitBudgetProposalResponse) XXX_Unmarshal ¶
func (m *MsgSubmitBudgetProposalResponse) XXX_Unmarshal(b []byte) error
type MsgWithdrawContinuousFund ¶
type MsgWithdrawContinuousFund struct {
RecipientAddress string `protobuf:"bytes,1,opt,name=recipient_address,json=recipientAddress,proto3" json:"recipient_address,omitempty"`
}
MsgWithdrawContinuousFund defines a message for withdrawing the continuous fund allocated to it.
func (*MsgWithdrawContinuousFund) Descriptor ¶
func (*MsgWithdrawContinuousFund) Descriptor() ([]byte, []int)
func (*MsgWithdrawContinuousFund) GetRecipientAddress ¶
func (m *MsgWithdrawContinuousFund) GetRecipientAddress() string
func (*MsgWithdrawContinuousFund) Marshal ¶
func (m *MsgWithdrawContinuousFund) Marshal() (dAtA []byte, err error)
func (*MsgWithdrawContinuousFund) MarshalTo ¶
func (m *MsgWithdrawContinuousFund) MarshalTo(dAtA []byte) (int, error)
func (*MsgWithdrawContinuousFund) MarshalToSizedBuffer ¶
func (m *MsgWithdrawContinuousFund) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdrawContinuousFund) ProtoMessage ¶
func (*MsgWithdrawContinuousFund) ProtoMessage()
func (*MsgWithdrawContinuousFund) Reset ¶
func (m *MsgWithdrawContinuousFund) Reset()
func (*MsgWithdrawContinuousFund) Size ¶
func (m *MsgWithdrawContinuousFund) Size() (n int)
func (*MsgWithdrawContinuousFund) String ¶
func (m *MsgWithdrawContinuousFund) String() string
func (*MsgWithdrawContinuousFund) Unmarshal ¶
func (m *MsgWithdrawContinuousFund) Unmarshal(dAtA []byte) error
func (*MsgWithdrawContinuousFund) XXX_DiscardUnknown ¶
func (m *MsgWithdrawContinuousFund) XXX_DiscardUnknown()
func (*MsgWithdrawContinuousFund) XXX_Marshal ¶
func (m *MsgWithdrawContinuousFund) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdrawContinuousFund) XXX_Merge ¶
func (m *MsgWithdrawContinuousFund) XXX_Merge(src proto.Message)
func (*MsgWithdrawContinuousFund) XXX_Size ¶
func (m *MsgWithdrawContinuousFund) XXX_Size() int
func (*MsgWithdrawContinuousFund) XXX_Unmarshal ¶
func (m *MsgWithdrawContinuousFund) XXX_Unmarshal(b []byte) error
type MsgWithdrawContinuousFundResponse ¶
type MsgWithdrawContinuousFundResponse struct {
Amount types.Coin `protobuf:"bytes,1,opt,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"`
}
MsgWithdrawContinuousFundResponse defines the response to executing a MsgWithdrawContinuousFund message.
func (*MsgWithdrawContinuousFundResponse) Descriptor ¶
func (*MsgWithdrawContinuousFundResponse) Descriptor() ([]byte, []int)
func (*MsgWithdrawContinuousFundResponse) GetAmount ¶
func (m *MsgWithdrawContinuousFundResponse) GetAmount() types.Coin
func (*MsgWithdrawContinuousFundResponse) Marshal ¶
func (m *MsgWithdrawContinuousFundResponse) Marshal() (dAtA []byte, err error)
func (*MsgWithdrawContinuousFundResponse) MarshalTo ¶
func (m *MsgWithdrawContinuousFundResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgWithdrawContinuousFundResponse) MarshalToSizedBuffer ¶
func (m *MsgWithdrawContinuousFundResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdrawContinuousFundResponse) ProtoMessage ¶
func (*MsgWithdrawContinuousFundResponse) ProtoMessage()
func (*MsgWithdrawContinuousFundResponse) Reset ¶
func (m *MsgWithdrawContinuousFundResponse) Reset()
func (*MsgWithdrawContinuousFundResponse) Size ¶
func (m *MsgWithdrawContinuousFundResponse) Size() (n int)
func (*MsgWithdrawContinuousFundResponse) String ¶
func (m *MsgWithdrawContinuousFundResponse) String() string
func (*MsgWithdrawContinuousFundResponse) Unmarshal ¶
func (m *MsgWithdrawContinuousFundResponse) Unmarshal(dAtA []byte) error
func (*MsgWithdrawContinuousFundResponse) XXX_DiscardUnknown ¶
func (m *MsgWithdrawContinuousFundResponse) XXX_DiscardUnknown()
func (*MsgWithdrawContinuousFundResponse) XXX_Marshal ¶
func (m *MsgWithdrawContinuousFundResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdrawContinuousFundResponse) XXX_Merge ¶
func (m *MsgWithdrawContinuousFundResponse) XXX_Merge(src proto.Message)
func (*MsgWithdrawContinuousFundResponse) XXX_Size ¶
func (m *MsgWithdrawContinuousFundResponse) XXX_Size() int
func (*MsgWithdrawContinuousFundResponse) XXX_Unmarshal ¶
func (m *MsgWithdrawContinuousFundResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { // CommunityPool queries the community pool coins. CommunityPool(ctx context.Context, in *QueryCommunityPoolRequest, opts ...grpc.CallOption) (*QueryCommunityPoolResponse, error) // UnclaimedBudget queries the remaining budget left to be claimed and it gives overall budget allocation view. UnclaimedBudget(ctx context.Context, in *QueryUnclaimedBudgetRequest, opts ...grpc.CallOption) (*QueryUnclaimedBudgetResponse, error) }
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewQueryClient ¶
func NewQueryClient(cc grpc1.ClientConn) QueryClient
type QueryCommunityPoolRequest ¶
type QueryCommunityPoolRequest struct { }
QueryCommunityPoolRequest is the request type for the Query/CommunityPool RPC method.
func (*QueryCommunityPoolRequest) Descriptor ¶
func (*QueryCommunityPoolRequest) Descriptor() ([]byte, []int)
func (*QueryCommunityPoolRequest) Marshal ¶
func (m *QueryCommunityPoolRequest) Marshal() (dAtA []byte, err error)
func (*QueryCommunityPoolRequest) MarshalTo ¶
func (m *QueryCommunityPoolRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryCommunityPoolRequest) MarshalToSizedBuffer ¶
func (m *QueryCommunityPoolRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCommunityPoolRequest) ProtoMessage ¶
func (*QueryCommunityPoolRequest) ProtoMessage()
func (*QueryCommunityPoolRequest) Reset ¶
func (m *QueryCommunityPoolRequest) Reset()
func (*QueryCommunityPoolRequest) Size ¶
func (m *QueryCommunityPoolRequest) Size() (n int)
func (*QueryCommunityPoolRequest) String ¶
func (m *QueryCommunityPoolRequest) String() string
func (*QueryCommunityPoolRequest) Unmarshal ¶
func (m *QueryCommunityPoolRequest) Unmarshal(dAtA []byte) error
func (*QueryCommunityPoolRequest) XXX_DiscardUnknown ¶
func (m *QueryCommunityPoolRequest) XXX_DiscardUnknown()
func (*QueryCommunityPoolRequest) XXX_Marshal ¶
func (m *QueryCommunityPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCommunityPoolRequest) XXX_Merge ¶
func (m *QueryCommunityPoolRequest) XXX_Merge(src proto.Message)
func (*QueryCommunityPoolRequest) XXX_Size ¶
func (m *QueryCommunityPoolRequest) XXX_Size() int
func (*QueryCommunityPoolRequest) XXX_Unmarshal ¶
func (m *QueryCommunityPoolRequest) XXX_Unmarshal(b []byte) error
type QueryCommunityPoolResponse ¶
type QueryCommunityPoolResponse struct { // pool defines community pool's coins. Pool github_com_cosmos_cosmos_sdk_types.DecCoins `protobuf:"bytes,1,rep,name=pool,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.DecCoins" json:"pool"` }
QueryCommunityPoolResponse is the response type for the Query/CommunityPool RPC method.
func (*QueryCommunityPoolResponse) Descriptor ¶
func (*QueryCommunityPoolResponse) Descriptor() ([]byte, []int)
func (*QueryCommunityPoolResponse) GetPool ¶
func (m *QueryCommunityPoolResponse) GetPool() github_com_cosmos_cosmos_sdk_types.DecCoins
func (*QueryCommunityPoolResponse) Marshal ¶
func (m *QueryCommunityPoolResponse) Marshal() (dAtA []byte, err error)
func (*QueryCommunityPoolResponse) MarshalTo ¶
func (m *QueryCommunityPoolResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryCommunityPoolResponse) MarshalToSizedBuffer ¶
func (m *QueryCommunityPoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCommunityPoolResponse) ProtoMessage ¶
func (*QueryCommunityPoolResponse) ProtoMessage()
func (*QueryCommunityPoolResponse) Reset ¶
func (m *QueryCommunityPoolResponse) Reset()
func (*QueryCommunityPoolResponse) Size ¶
func (m *QueryCommunityPoolResponse) Size() (n int)
func (*QueryCommunityPoolResponse) String ¶
func (m *QueryCommunityPoolResponse) String() string
func (*QueryCommunityPoolResponse) Unmarshal ¶
func (m *QueryCommunityPoolResponse) Unmarshal(dAtA []byte) error
func (*QueryCommunityPoolResponse) XXX_DiscardUnknown ¶
func (m *QueryCommunityPoolResponse) XXX_DiscardUnknown()
func (*QueryCommunityPoolResponse) XXX_Marshal ¶
func (m *QueryCommunityPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCommunityPoolResponse) XXX_Merge ¶
func (m *QueryCommunityPoolResponse) XXX_Merge(src proto.Message)
func (*QueryCommunityPoolResponse) XXX_Size ¶
func (m *QueryCommunityPoolResponse) XXX_Size() int
func (*QueryCommunityPoolResponse) XXX_Unmarshal ¶
func (m *QueryCommunityPoolResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // CommunityPool queries the community pool coins. CommunityPool(context.Context, *QueryCommunityPoolRequest) (*QueryCommunityPoolResponse, error) // UnclaimedBudget queries the remaining budget left to be claimed and it gives overall budget allocation view. UnclaimedBudget(context.Context, *QueryUnclaimedBudgetRequest) (*QueryUnclaimedBudgetResponse, error) }
QueryServer is the server API for Query service.
type QueryUnclaimedBudgetRequest ¶
type QueryUnclaimedBudgetRequest struct { // address is the recipient address to query unclaimed budget amount for. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` }
QueryUnclaimedBudgetRequest is the request type for the Query/UnclaimedBudgetRequest RPC method.
func (*QueryUnclaimedBudgetRequest) Descriptor ¶
func (*QueryUnclaimedBudgetRequest) Descriptor() ([]byte, []int)
func (*QueryUnclaimedBudgetRequest) GetAddress ¶
func (m *QueryUnclaimedBudgetRequest) GetAddress() string
func (*QueryUnclaimedBudgetRequest) Marshal ¶
func (m *QueryUnclaimedBudgetRequest) Marshal() (dAtA []byte, err error)
func (*QueryUnclaimedBudgetRequest) MarshalTo ¶
func (m *QueryUnclaimedBudgetRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryUnclaimedBudgetRequest) MarshalToSizedBuffer ¶
func (m *QueryUnclaimedBudgetRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryUnclaimedBudgetRequest) ProtoMessage ¶
func (*QueryUnclaimedBudgetRequest) ProtoMessage()
func (*QueryUnclaimedBudgetRequest) Reset ¶
func (m *QueryUnclaimedBudgetRequest) Reset()
func (*QueryUnclaimedBudgetRequest) Size ¶
func (m *QueryUnclaimedBudgetRequest) Size() (n int)
func (*QueryUnclaimedBudgetRequest) String ¶
func (m *QueryUnclaimedBudgetRequest) String() string
func (*QueryUnclaimedBudgetRequest) Unmarshal ¶
func (m *QueryUnclaimedBudgetRequest) Unmarshal(dAtA []byte) error
func (*QueryUnclaimedBudgetRequest) XXX_DiscardUnknown ¶
func (m *QueryUnclaimedBudgetRequest) XXX_DiscardUnknown()
func (*QueryUnclaimedBudgetRequest) XXX_Marshal ¶
func (m *QueryUnclaimedBudgetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryUnclaimedBudgetRequest) XXX_Merge ¶
func (m *QueryUnclaimedBudgetRequest) XXX_Merge(src proto.Message)
func (*QueryUnclaimedBudgetRequest) XXX_Size ¶
func (m *QueryUnclaimedBudgetRequest) XXX_Size() int
func (*QueryUnclaimedBudgetRequest) XXX_Unmarshal ¶
func (m *QueryUnclaimedBudgetRequest) XXX_Unmarshal(b []byte) error
type QueryUnclaimedBudgetResponse ¶
type QueryUnclaimedBudgetResponse struct { // total_budget is the total budget allocated to the recipient TotalBudget *types.Coin `protobuf:"bytes,1,opt,name=total_budget,json=totalBudget,proto3" json:"total_budget,omitempty"` // claimed_amount is the budget amount already claimed by the recipient ClaimedAmount *types.Coin `protobuf:"bytes,2,opt,name=claimed_amount,json=claimedAmount,proto3" json:"claimed_amount,omitempty"` // unclaimed_amount is the remaining budget amount that is unclaimed by the recipient UnclaimedAmount *types.Coin `protobuf:"bytes,3,opt,name=unclaimed_amount,json=unclaimedAmount,proto3" json:"unclaimed_amount,omitempty"` // next_claim_from is the next starting claim time for fund distribution. // It represents the time when we can claim funds after the period time interval has passed. NextClaimFrom *time.Time `protobuf:"bytes,4,opt,name=next_claim_from,json=nextClaimFrom,proto3,stdtime" json:"next_claim_from,omitempty"` // period is the time interval for fund distribution Period *time.Duration `protobuf:"bytes,5,opt,name=period,proto3,stdduration" json:"period,omitempty"` // tranches_left is the number of tranches left for the amount to be distributed TranchesLeft uint64 `protobuf:"varint,6,opt,name=tranches_left,json=tranchesLeft,proto3" json:"tranches_left,omitempty"` }
QueryUnclaimedBudgetResponse is the response type for the Query/UnclaimedBudget RPC method.
func (*QueryUnclaimedBudgetResponse) Descriptor ¶
func (*QueryUnclaimedBudgetResponse) Descriptor() ([]byte, []int)
func (*QueryUnclaimedBudgetResponse) GetClaimedAmount ¶
func (m *QueryUnclaimedBudgetResponse) GetClaimedAmount() *types.Coin
func (*QueryUnclaimedBudgetResponse) GetNextClaimFrom ¶
func (m *QueryUnclaimedBudgetResponse) GetNextClaimFrom() *time.Time
func (*QueryUnclaimedBudgetResponse) GetPeriod ¶
func (m *QueryUnclaimedBudgetResponse) GetPeriod() *time.Duration
func (*QueryUnclaimedBudgetResponse) GetTotalBudget ¶
func (m *QueryUnclaimedBudgetResponse) GetTotalBudget() *types.Coin
func (*QueryUnclaimedBudgetResponse) GetTranchesLeft ¶
func (m *QueryUnclaimedBudgetResponse) GetTranchesLeft() uint64
func (*QueryUnclaimedBudgetResponse) GetUnclaimedAmount ¶
func (m *QueryUnclaimedBudgetResponse) GetUnclaimedAmount() *types.Coin
func (*QueryUnclaimedBudgetResponse) Marshal ¶
func (m *QueryUnclaimedBudgetResponse) Marshal() (dAtA []byte, err error)
func (*QueryUnclaimedBudgetResponse) MarshalTo ¶
func (m *QueryUnclaimedBudgetResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryUnclaimedBudgetResponse) MarshalToSizedBuffer ¶
func (m *QueryUnclaimedBudgetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryUnclaimedBudgetResponse) ProtoMessage ¶
func (*QueryUnclaimedBudgetResponse) ProtoMessage()
func (*QueryUnclaimedBudgetResponse) Reset ¶
func (m *QueryUnclaimedBudgetResponse) Reset()
func (*QueryUnclaimedBudgetResponse) Size ¶
func (m *QueryUnclaimedBudgetResponse) Size() (n int)
func (*QueryUnclaimedBudgetResponse) String ¶
func (m *QueryUnclaimedBudgetResponse) String() string
func (*QueryUnclaimedBudgetResponse) Unmarshal ¶
func (m *QueryUnclaimedBudgetResponse) Unmarshal(dAtA []byte) error
func (*QueryUnclaimedBudgetResponse) XXX_DiscardUnknown ¶
func (m *QueryUnclaimedBudgetResponse) XXX_DiscardUnknown()
func (*QueryUnclaimedBudgetResponse) XXX_Marshal ¶
func (m *QueryUnclaimedBudgetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryUnclaimedBudgetResponse) XXX_Merge ¶
func (m *QueryUnclaimedBudgetResponse) XXX_Merge(src proto.Message)
func (*QueryUnclaimedBudgetResponse) XXX_Size ¶
func (m *QueryUnclaimedBudgetResponse) XXX_Size() int
func (*QueryUnclaimedBudgetResponse) XXX_Unmarshal ¶
func (m *QueryUnclaimedBudgetResponse) XXX_Unmarshal(b []byte) error
type StakingKeeper ¶
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) CancelContinuousFund ¶
func (*UnimplementedMsgServer) CancelContinuousFund(ctx context.Context, req *MsgCancelContinuousFund) (*MsgCancelContinuousFundResponse, error)
func (*UnimplementedMsgServer) ClaimBudget ¶
func (*UnimplementedMsgServer) ClaimBudget(ctx context.Context, req *MsgClaimBudget) (*MsgClaimBudgetResponse, error)
func (*UnimplementedMsgServer) CommunityPoolSpend ¶
func (*UnimplementedMsgServer) CommunityPoolSpend(ctx context.Context, req *MsgCommunityPoolSpend) (*MsgCommunityPoolSpendResponse, error)
func (*UnimplementedMsgServer) CreateContinuousFund ¶
func (*UnimplementedMsgServer) CreateContinuousFund(ctx context.Context, req *MsgCreateContinuousFund) (*MsgCreateContinuousFundResponse, error)
func (*UnimplementedMsgServer) FundCommunityPool ¶
func (*UnimplementedMsgServer) FundCommunityPool(ctx context.Context, req *MsgFundCommunityPool) (*MsgFundCommunityPoolResponse, error)
func (*UnimplementedMsgServer) SubmitBudgetProposal ¶
func (*UnimplementedMsgServer) SubmitBudgetProposal(ctx context.Context, req *MsgSubmitBudgetProposal) (*MsgSubmitBudgetProposalResponse, error)
func (*UnimplementedMsgServer) WithdrawContinuousFund ¶
func (*UnimplementedMsgServer) WithdrawContinuousFund(ctx context.Context, req *MsgWithdrawContinuousFund) (*MsgWithdrawContinuousFundResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) CommunityPool ¶
func (*UnimplementedQueryServer) CommunityPool(ctx context.Context, req *QueryCommunityPoolRequest) (*QueryCommunityPoolResponse, error)
func (*UnimplementedQueryServer) UnclaimedBudget ¶
func (*UnimplementedQueryServer) UnclaimedBudget(ctx context.Context, req *QueryUnclaimedBudgetRequest) (*QueryUnclaimedBudgetResponse, error)