Documentation ¶
Index ¶
- func BatchSetBackingProposalRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler
- func BatchSetCollateralProposalRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler
- func RegisterBackingProposalRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler
- func RegisterCollateralProposalRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler
- func SetBackingProposalRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler
- func SetCollateralProposalRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler
- type BatchSetBackingProposalRequest
- type BatchSetCollateralProposalRequest
- type RegisterBackingProposalRequest
- type RegisterCollateralProposalRequest
- type SetBackingProposalRequest
- type SetCollateralProposalRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BatchSetBackingProposalRESTHandler ¶
func BatchSetBackingProposalRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler
func BatchSetCollateralProposalRESTHandler ¶
func BatchSetCollateralProposalRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler
func RegisterBackingProposalRESTHandler ¶
func RegisterBackingProposalRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler
func RegisterCollateralProposalRESTHandler ¶
func RegisterCollateralProposalRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler
func SetBackingProposalRESTHandler ¶
func SetBackingProposalRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler
func SetCollateralProposalRESTHandler ¶
func SetCollateralProposalRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler
Types ¶
type BatchSetBackingProposalRequest ¶
type BatchSetBackingProposalRequest struct { BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"` Title string `json:"title" yaml:"title"` Description string `json:"description" yaml:"description"` Deposit sdk.Coins `json:"deposit" yaml:"deposit"` RiskParams []types.BackingRiskParams `json:"risk_params" yaml:"risk_params"` }
type BatchSetCollateralProposalRequest ¶
type BatchSetCollateralProposalRequest struct { BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"` Title string `json:"title" yaml:"title"` Description string `json:"description" yaml:"description"` Deposit sdk.Coins `json:"deposit" yaml:"deposit"` RiskParams []types.CollateralRiskParams `json:"risk_params" yaml:"risk_params"` }
type RegisterBackingProposalRequest ¶
type RegisterBackingProposalRequest struct { BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"` Title string `json:"title" yaml:"title"` Description string `json:"description" yaml:"description"` Deposit sdk.Coins `json:"deposit" yaml:"deposit"` RiskParams types.BackingRiskParams `json:"risk_params" yaml:"risk_params"` }
type RegisterCollateralProposalRequest ¶
type RegisterCollateralProposalRequest struct { BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"` Title string `json:"title" yaml:"title"` Description string `json:"description" yaml:"description"` Deposit sdk.Coins `json:"deposit" yaml:"deposit"` RiskParams types.CollateralRiskParams `json:"risk_params" yaml:"risk_params"` }
type SetBackingProposalRequest ¶
type SetBackingProposalRequest struct { BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"` Title string `json:"title" yaml:"title"` Description string `json:"description" yaml:"description"` Deposit sdk.Coins `json:"deposit" yaml:"deposit"` RiskParams types.BackingRiskParams `json:"risk_params" yaml:"risk_params"` }
type SetCollateralProposalRequest ¶
type SetCollateralProposalRequest struct { BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"` Title string `json:"title" yaml:"title"` Description string `json:"description" yaml:"description"` Deposit sdk.Coins `json:"deposit" yaml:"deposit"` RiskParams types.CollateralRiskParams `json:"risk_params" yaml:"risk_params"` }
Click to show internal directories.
Click to hide internal directories.