Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProposalReplacePoolIncentivesRESTHandler ¶
func ProposalReplacePoolIncentivesRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler
func ProposalUpdatePoolIncentivesRESTHandler ¶
func ProposalUpdatePoolIncentivesRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler
ProposalUpdatePoolIncentivesRESTHandler returns pool incentives update governance proposal handler.
Types ¶
type ReplacePoolIncentivesRequest ¶
type ReplacePoolIncentivesRequest struct { BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"` Title string `json:"title" yaml:"title"` Description string `json:"description" yaml:"description"` Deposit sdk.Coins `json:"deposit" yaml:"deposit"` Records []types.DistrRecord `json:"records" yaml:"records"` }
type UpdatePoolIncentivesRequest ¶
type UpdatePoolIncentivesRequest struct { BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"` Title string `json:"title" yaml:"title"` Description string `json:"description" yaml:"description"` Deposit sdk.Coins `json:"deposit" yaml:"deposit"` Records []types.DistrRecord `json:"records" yaml:"records"` }
Click to show internal directories.
Click to hide internal directories.