Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CancelIncentiveProposalRequestRESTHandler ¶
func CancelIncentiveProposalRequestRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler
func RegisterIncentiveProposalRESTHandler ¶
func RegisterIncentiveProposalRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler
Types ¶
type CancelIncentiveProposalRequest ¶
type CancelIncentiveProposalRequest 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"`
ContractAddress string `json:"contract_address" yaml:"contract_address"`
}
CancelIncentiveProposalRequest defines a request for a new register a contract incentive.
type RegisterIncentiveProposalRequest ¶
type RegisterIncentiveProposalRequest 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"`
ContractAddress string `json:"contract_address" yaml:"contract_address"`
Allocation sdk.DecCoins `json:"allocation" yaml:"allocation"`
Epochs uint32 `json:"epochs" yaml:"epochs"`
}
RegisterIncentiveProposalRequest defines a request for a new register a contract incentive.
Click to show internal directories.
Click to hide internal directories.