Documentation ¶
Index ¶
- func CreateModifyInflationHandleFn(cliContext context.CLIContext) func(http.ResponseWriter, *http.Request)
- func CreateParamsChangeHandleFn(cliContext context.CLIContext) func(http.ResponseWriter, *http.Request)
- func CreateSoftwareUpgradeHandleFn(cliContext context.CLIContext) func(http.ResponseWriter, *http.Request)
- func CreateTaxUsageHandleFn(cliContext context.CLIContext) func(http.ResponseWriter, *http.Request)
- func CreateTextProposalHandleFn(cliContext context.CLIContext) func(http.ResponseWriter, *http.Request)
- func DepositCmd(cdc *amino.Codec) *cobra.Command
- func DepositProposalHandleFn(cliContext context.CLIContext) func(http.ResponseWriter, *http.Request)
- func GetDepositHandleFn(cliContext context.CLIContext) func(http.ResponseWriter, *http.Request)
- func GetModuleKeyHandleFn(cliContext context.CLIContext) func(http.ResponseWriter, *http.Request)
- func GetModulesHandleFn(cliContext context.CLIContext) func(http.ResponseWriter, *http.Request)
- func GetParamsKeyHandleFn(cliContext context.CLIContext) func(http.ResponseWriter, *http.Request)
- func GetProposalHandleFn(cliContext context.CLIContext) func(http.ResponseWriter, *http.Request)
- func GetProposalTallyHandleFn(cliContext context.CLIContext) func(http.ResponseWriter, *http.Request)
- func GetVoteHandleFn(cliContext context.CLIContext) func(http.ResponseWriter, *http.Request)
- func ProposalCmd(cdc *amino.Codec) *cobra.Command
- func QueryAllDepositsHandleFn(cliContext context.CLIContext) func(http.ResponseWriter, *http.Request)
- func QueryAllProposalsHandleFn(cliContext context.CLIContext) func(http.ResponseWriter, *http.Request)
- func QueryAllVotesHandleFn(cliContext context.CLIContext) func(http.ResponseWriter, *http.Request)
- func QueryCommands(cdc *amino.Codec) []*cobra.Command
- func RegisterRoutes(ctx context.CLIContext, r *mux.Router)
- func TxCommands(cdc *amino.Codec) []*cobra.Command
- func VoteCmd(cdc *amino.Codec) *cobra.Command
- func VoteProposalHandleFn(cliContext context.CLIContext) func(http.ResponseWriter, *http.Request)
- type CreateModifyInflationProposalReq
- type CreateParamChangeProposalReq
- type CreateSoftwareUpgradeProposalReq
- type CreateTaxUsageProposalReq
- type CreateTextProposalReq
- type DepositProposalReq
- type VoteProposalReq
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateModifyInflationHandleFn ¶ added in v0.0.8
func CreateModifyInflationHandleFn(cliContext context.CLIContext) func(http.ResponseWriter, *http.Request)
func CreateParamsChangeHandleFn ¶ added in v0.0.8
func CreateParamsChangeHandleFn(cliContext context.CLIContext) func(http.ResponseWriter, *http.Request)
func CreateSoftwareUpgradeHandleFn ¶ added in v0.0.8
func CreateSoftwareUpgradeHandleFn(cliContext context.CLIContext) func(http.ResponseWriter, *http.Request)
func CreateTaxUsageHandleFn ¶ added in v0.0.8
func CreateTaxUsageHandleFn(cliContext context.CLIContext) func(http.ResponseWriter, *http.Request)
func CreateTextProposalHandleFn ¶ added in v0.0.8
func CreateTextProposalHandleFn(cliContext context.CLIContext) func(http.ResponseWriter, *http.Request)
func DepositCmd ¶
func DepositProposalHandleFn ¶ added in v0.0.8
func DepositProposalHandleFn(cliContext context.CLIContext) func(http.ResponseWriter, *http.Request)
func GetDepositHandleFn ¶ added in v0.0.8
func GetDepositHandleFn(cliContext context.CLIContext) func(http.ResponseWriter, *http.Request)
func GetModuleKeyHandleFn ¶ added in v0.0.9
func GetModuleKeyHandleFn(cliContext context.CLIContext) func(http.ResponseWriter, *http.Request)
func GetModulesHandleFn ¶ added in v0.0.9
func GetModulesHandleFn(cliContext context.CLIContext) func(http.ResponseWriter, *http.Request)
func GetParamsKeyHandleFn ¶ added in v0.0.8
func GetParamsKeyHandleFn(cliContext context.CLIContext) func(http.ResponseWriter, *http.Request)
func GetProposalHandleFn ¶ added in v0.0.8
func GetProposalHandleFn(cliContext context.CLIContext) func(http.ResponseWriter, *http.Request)
func GetProposalTallyHandleFn ¶ added in v0.0.8
func GetProposalTallyHandleFn(cliContext context.CLIContext) func(http.ResponseWriter, *http.Request)
func GetVoteHandleFn ¶ added in v0.0.8
func GetVoteHandleFn(cliContext context.CLIContext) func(http.ResponseWriter, *http.Request)
func ProposalCmd ¶
func QueryAllDepositsHandleFn ¶ added in v0.0.8
func QueryAllDepositsHandleFn(cliContext context.CLIContext) func(http.ResponseWriter, *http.Request)
func QueryAllProposalsHandleFn ¶ added in v0.0.8
func QueryAllProposalsHandleFn(cliContext context.CLIContext) func(http.ResponseWriter, *http.Request)
func QueryAllVotesHandleFn ¶ added in v0.0.8
func QueryAllVotesHandleFn(cliContext context.CLIContext) func(http.ResponseWriter, *http.Request)
func QueryCommands ¶
func RegisterRoutes ¶ added in v0.0.8
func RegisterRoutes(ctx context.CLIContext, r *mux.Router)
func TxCommands ¶
func VoteProposalHandleFn ¶ added in v0.0.8
func VoteProposalHandleFn(cliContext context.CLIContext) func(http.ResponseWriter, *http.Request)
Types ¶
type CreateModifyInflationProposalReq ¶ added in v0.0.8
type CreateParamChangeProposalReq ¶ added in v0.0.8
type CreateSoftwareUpgradeProposalReq ¶ added in v0.0.8
type CreateSoftwareUpgradeProposalReq struct { rpc.BaseRequest `json:"base"` Title string `json:"title"` Description string `json:"description"` Deposit btypes.BigInt `json:"deposit"` Version string `json:"version"` DataHeight int64 `json:"data_height"` GenesisFile string `json:"genesis_file"` GenesisMD5 string `json:"genesis_md5"` ForZeroHeight bool `json:"for_zero_height"` }
type CreateTaxUsageProposalReq ¶ added in v0.0.8
type CreateTextProposalReq ¶ added in v0.0.8
type DepositProposalReq ¶ added in v0.0.8
type DepositProposalReq struct { rpc.BaseRequest `json:"base"` Amount btypes.BigInt `json:"amount"` }
type VoteProposalReq ¶ added in v0.0.8
type VoteProposalReq struct { rpc.BaseRequest `json:"base"` Option string `json:"option"` }
Click to show internal directories.
Click to hide internal directories.