Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProposalDemotePrivilegeContractHandler ¶
func ProposalDemotePrivilegeContractHandler(cliCtx client.Context) govrest.ProposalRESTHandler
func ProposalSetPrivilegeContractHandler ¶
func ProposalSetPrivilegeContractHandler(cliCtx client.Context) govrest.ProposalRESTHandler
Types ¶
type SetPrivilegeProposalJSONReq ¶
type SetPrivilegeProposalJSONReq struct { BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"` Title string `json:"title" yaml:"title"` Description string `json:"description" yaml:"description"` Proposer string `json:"proposer" yaml:"proposer"` Deposit sdk.Coins `json:"deposit" yaml:"deposit"` Contract string `json:"contract" yaml:"contract"` }
func (SetPrivilegeProposalJSONReq) Content ¶
func (s SetPrivilegeProposalJSONReq) Content() govtypes.Content
func (SetPrivilegeProposalJSONReq) GetBaseReq ¶
func (s SetPrivilegeProposalJSONReq) GetBaseReq() rest.BaseReq
func (SetPrivilegeProposalJSONReq) GetDeposit ¶
func (s SetPrivilegeProposalJSONReq) GetDeposit() sdk.Coins
func (SetPrivilegeProposalJSONReq) GetProposer ¶
func (s SetPrivilegeProposalJSONReq) GetProposer() string
type UnsetPrivilegeProposalJSONReq ¶
type UnsetPrivilegeProposalJSONReq struct { BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"` Title string `json:"title" yaml:"title"` Description string `json:"description" yaml:"description"` Proposer string `json:"proposer" yaml:"proposer"` Deposit sdk.Coins `json:"deposit" yaml:"deposit"` Contract string `json:"contract" yaml:"contract"` }
func (UnsetPrivilegeProposalJSONReq) Content ¶
func (s UnsetPrivilegeProposalJSONReq) Content() govtypes.Content
func (UnsetPrivilegeProposalJSONReq) GetBaseReq ¶
func (s UnsetPrivilegeProposalJSONReq) GetBaseReq() rest.BaseReq
func (UnsetPrivilegeProposalJSONReq) GetDeposit ¶
func (s UnsetPrivilegeProposalJSONReq) GetDeposit() sdk.Coins
func (UnsetPrivilegeProposalJSONReq) GetProposer ¶
func (s UnsetPrivilegeProposalJSONReq) GetProposer() string
Click to show internal directories.
Click to hide internal directories.