Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProposalRESTHandler ¶
func ProposalRESTHandler(cliCtx client.Context) govrest.ProposalRESTHandler
ProposalRESTHandler returns a ProposalRESTHandler that exposes the community pool multi-spend REST handler with a given sub-route.
Types ¶
type CommunityPoolMultiSpendProposalReq ¶
type CommunityPoolMultiSpendProposalReq struct { BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"` Title string `json:"title" yaml:"title"` Description string `json:"description" yaml:"description"` RecipientList []types.MultiSpendRecipient `json:"recipient_list" yaml:"recipient_list"` Deposit sdk.Coins `json:"deposit" yaml:"deposit"` Proposer sdk.AccAddress `json:"proposer" yaml:"proposer"` }
CommunityPoolMultiSpendProposalReq defines a community pool multi-spend proposal request body.
Click to show internal directories.
Click to hide internal directories.