Documentation ¶
Index ¶
- func ProposalRemoveCodeAuthorizationHandler(cliCtx client.Context) govrest.ProposalRESTHandler
- func ProposalRemoveContractAuthorizationHandler(cliCtx client.Context) govrest.ProposalRESTHandler
- func ProposalSetCodeAuthorizationHandler(cliCtx client.Context) govrest.ProposalRESTHandler
- func ProposalSetContractAuthorizationHandler(cliCtx client.Context) govrest.ProposalRESTHandler
- type RemoveCodeAuthorizationProposalJSONReq
- type RemoveContractAuthorizationProposalJSONReq
- func (s RemoveContractAuthorizationProposalJSONReq) Content() govtypes.Content
- func (s RemoveContractAuthorizationProposalJSONReq) GetBaseReq() rest.BaseReq
- func (s RemoveContractAuthorizationProposalJSONReq) GetDeposit() sdk.Coins
- func (s RemoveContractAuthorizationProposalJSONReq) GetProposer() string
- type SetCodeAuthorizationProposalJSONReq
- type SetContractAuthorizationProposalJSONReq
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProposalRemoveCodeAuthorizationHandler ¶
func ProposalRemoveCodeAuthorizationHandler(cliCtx client.Context) govrest.ProposalRESTHandler
func ProposalRemoveContractAuthorizationHandler ¶
func ProposalRemoveContractAuthorizationHandler(cliCtx client.Context) govrest.ProposalRESTHandler
func ProposalSetCodeAuthorizationHandler ¶
func ProposalSetCodeAuthorizationHandler(cliCtx client.Context) govrest.ProposalRESTHandler
func ProposalSetContractAuthorizationHandler ¶
func ProposalSetContractAuthorizationHandler(cliCtx client.Context) govrest.ProposalRESTHandler
Types ¶
type RemoveCodeAuthorizationProposalJSONReq ¶
type RemoveCodeAuthorizationProposalJSONReq 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"` CodeID uint64 `json:"code_id" yaml:"code_id"` }
func (RemoveCodeAuthorizationProposalJSONReq) Content ¶
func (s RemoveCodeAuthorizationProposalJSONReq) Content() govtypes.Content
func (RemoveCodeAuthorizationProposalJSONReq) GetBaseReq ¶
func (s RemoveCodeAuthorizationProposalJSONReq) GetBaseReq() rest.BaseReq
func (RemoveCodeAuthorizationProposalJSONReq) GetDeposit ¶
func (s RemoveCodeAuthorizationProposalJSONReq) GetDeposit() sdk.Coins
func (RemoveCodeAuthorizationProposalJSONReq) GetProposer ¶
func (s RemoveCodeAuthorizationProposalJSONReq) GetProposer() string
type RemoveContractAuthorizationProposalJSONReq ¶
type RemoveContractAuthorizationProposalJSONReq 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"` ContractAddress string `json:"contract_address" yaml:"contract_address"` }
func (RemoveContractAuthorizationProposalJSONReq) Content ¶
func (s RemoveContractAuthorizationProposalJSONReq) Content() govtypes.Content
func (RemoveContractAuthorizationProposalJSONReq) GetBaseReq ¶
func (s RemoveContractAuthorizationProposalJSONReq) GetBaseReq() rest.BaseReq
func (RemoveContractAuthorizationProposalJSONReq) GetDeposit ¶
func (s RemoveContractAuthorizationProposalJSONReq) GetDeposit() sdk.Coins
func (RemoveContractAuthorizationProposalJSONReq) GetProposer ¶
func (s RemoveContractAuthorizationProposalJSONReq) GetProposer() string
type SetCodeAuthorizationProposalJSONReq ¶
type SetCodeAuthorizationProposalJSONReq 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"` CodeID uint64 `json:"code_id" yaml:"code_id"` Methods []string `json:"methods" yaml:"methods"` }
func (SetCodeAuthorizationProposalJSONReq) Content ¶
func (s SetCodeAuthorizationProposalJSONReq) Content() govtypes.Content
func (SetCodeAuthorizationProposalJSONReq) GetBaseReq ¶
func (s SetCodeAuthorizationProposalJSONReq) GetBaseReq() rest.BaseReq
func (SetCodeAuthorizationProposalJSONReq) GetDeposit ¶
func (s SetCodeAuthorizationProposalJSONReq) GetDeposit() sdk.Coins
func (SetCodeAuthorizationProposalJSONReq) GetProposer ¶
func (s SetCodeAuthorizationProposalJSONReq) GetProposer() string
type SetContractAuthorizationProposalJSONReq ¶
type SetContractAuthorizationProposalJSONReq 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"` ContractAddress string `json:"contract_address" yaml:"contract_address"` Methods []string `json:"methods" yaml:"methods"` }
func (SetContractAuthorizationProposalJSONReq) Content ¶
func (s SetContractAuthorizationProposalJSONReq) Content() govtypes.Content
func (SetContractAuthorizationProposalJSONReq) GetBaseReq ¶
func (s SetContractAuthorizationProposalJSONReq) GetBaseReq() rest.BaseReq
func (SetContractAuthorizationProposalJSONReq) GetDeposit ¶
func (s SetContractAuthorizationProposalJSONReq) GetDeposit() sdk.Coins
func (SetContractAuthorizationProposalJSONReq) GetProposer ¶
func (s SetContractAuthorizationProposalJSONReq) GetProposer() string
Click to show internal directories.
Click to hide internal directories.