Documentation ¶
Index ¶
- func AddTokenProposalRESTHandler(cliCtx context.CLIContext) govrest.ProposalRESTHandler
- func RegisterRoutes(cliCtx context.CLIContext, r *mux.Router)
- func TokenParamsChangeProposalRESTHandler(cliCtx context.CLIContext) govrest.ProposalRESTHandler
- type AddTokenProposalReq
- type TokenParamsChangeProposalReq
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddTokenProposalRESTHandler ¶
func AddTokenProposalRESTHandler(cliCtx context.CLIContext) govrest.ProposalRESTHandler
func RegisterRoutes ¶
func RegisterRoutes(cliCtx context.CLIContext, r *mux.Router)
func TokenParamsChangeProposalRESTHandler ¶
func TokenParamsChangeProposalRESTHandler(cliCtx context.CLIContext) govrest.ProposalRESTHandler
Types ¶
type AddTokenProposalReq ¶
type AddTokenProposalReq struct { BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"` Title string `json:"title" yaml:"title"` Description string `json:"description" yaml:"description"` TokenInfo *sdk.IBCToken `json:"token_info" yaml:"token_info"` Deposit sdk.Coins `json:"deposit" yaml:"deposit"` Proposer sdk.CUAddress `json:"proposer" yaml:"proposer"` }
AddTokenProposalReq defines a add token proposal request body.
type TokenParamsChangeProposalReq ¶
type TokenParamsChangeProposalReq struct { BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"` Title string `json:"title" yaml:"title"` Description string `json:"description" yaml:"description"` Symbol string `json:"symbol" yaml:"symbol"` Changes cli.ParamChangesJSON `json:"changes" yaml:"changes"` Deposit sdk.Coins `json:"deposit" yaml:"deposit"` Proposer sdk.CUAddress `json:"proposer" yaml:"proposer"` }
TokenParamsChangeProposalReq defines a token params change request body.
Click to show internal directories.
Click to hide internal directories.