Documentation ¶
Index ¶
- func RegisterHandlers(cliecntCtx client.Context, rtr *mux.Router)
- func RegisterVolunteerValidatorProposalRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler
- func UnregisterVolunteerValidatorProposalRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler
- type RegisterVolunteerValidatorProposalReq
- type UnregisterVolunteerValidatorProposalReq
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterVolunteerValidatorProposalRESTHandler ¶
func RegisterVolunteerValidatorProposalRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler
func UnregisterVolunteerValidatorProposalRESTHandler ¶
func UnregisterVolunteerValidatorProposalRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler
Types ¶
type RegisterVolunteerValidatorProposalReq ¶
type RegisterVolunteerValidatorProposalReq struct { BaseReq rest.BaseReq `json:"base_req,omitempty"` Title string `json:"title,omitempty"` Description string `json:"description,omitempty"` ValidatorDescription stakingtypes.Description `json:"validator_description,omitempty"` Pubkey string `json:"pubkey,omitempty"` Amount sdk.Coin `json:"amount,omitempty"` Proposer sdk.AccAddress `json:"proposer,omitempty" yaml:"proposer"` Deposit sdk.Coins `json:"deposit,omitempty"` }
type UnregisterVolunteerValidatorProposalReq ¶
type UnregisterVolunteerValidatorProposalReq struct { BaseReq rest.BaseReq `json:"base_req,omitempty"` Title string `json:"title,omitempty"` Description string `json:"description,omitempty"` ValidatorAddress sdk.ValAddress `json:"validator_address,omitempty"` Proposer sdk.AccAddress `json:"proposer,omitempty" yaml:"proposer"` Deposit sdk.Coins `json:"deposit,omitempty"` }
Click to show internal directories.
Click to hide internal directories.