Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddProposalRESTHandler ¶
func AddProposalRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler
AddProposalRESTHandler returns a ProposalRESTHandler that exposes add managed cellar IDs REST handler with a given sub-route.
func RemoveProposalRESTHandler ¶
func RemoveProposalRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler
RemoveProposalRESTHandler returns a ProposalRESTHandler that exposes remove managed cellar IDs REST handler with a given sub-route.
Types ¶
type AddManagedCellarIDsProposalReq ¶
type AddManagedCellarIDsProposalReq struct { BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"` Title string `json:"title" yaml:"title"` Description string `json:"description" yaml:"description"` CellarIDs []string `json:"cellar_ids" yaml:"cellar_ids"` Proposer sdk.AccAddress `json:"proposer" yaml:"proposer"` Deposit sdk.Coins `json:"deposit" yaml:"deposit"` }
AddManagedCellarIDsProposalReq defines a managed cellar ID addition proposal request body.
type RemoveManagedCellarIDsProposalReq ¶
type RemoveManagedCellarIDsProposalReq struct { BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"` Title string `json:"title" yaml:"title"` Description string `json:"description" yaml:"description"` CellarIDs []string `json:"cellar_ids" yaml:"cellar_ids"` Proposer sdk.AccAddress `json:"proposer" yaml:"proposer"` Deposit sdk.Coins `json:"deposit" yaml:"deposit"` }
RemoveManagedCellarIDsProposalReq defines a managed cellar ID removal proposal request body.
Click to show internal directories.
Click to hide internal directories.