Documentation ¶
Index ¶
- Constants
- func MakeAppliedMsg(appliedMsg types.AppliedMsg) (upgradetypes.QueryAppliedPlanRequest, error)
- func MakeCancelSoftwareUpgradeMsg(cancelSoftwareUpgradeMsg types.CancelSoftwareUpgradeMsg, ...) (govtypes.MsgSubmitProposal, error)
- func MakePlanMsg() (upgradetypes.QueryCurrentPlanRequest, error)
- func MakeProposalSoftwareUpgradeMsg(softwareUpgradeMsg types.SoftwareUpgradeMsg, privKey key.PrivateKey) (govtypes.MsgSubmitProposal, error)
- func MakeQueryAllModuleVersionMsg() (upgradetypes.QueryModuleVersionsRequest, error)
- func MakeQueryModuleVersionMsg(queryModulesVersionMsg types.QueryModulesVersionMsg) (upgradetypes.QueryModuleVersionsRequest, error)
Constants ¶
View Source
const ( UpgradeModule = "upgrade" UpgradeProposalSoftwareUpgradeMsgType = "proposal-software-upgrade" UpgradeCancelSoftwareUpgradeMsgType = "cancel-software-upgrade" UpgradeAppliedMsgType = "applied" UpgradeQueryModuleVersionsMsgType = "upgrade-module-versions" UpgradeQueryAllModuleVersionsMsgType = "upgrade-all-module-versions" UpgradePlanMsgType = "upgrade-plan" )
Variables ¶
This section is empty.
Functions ¶
func MakeAppliedMsg ¶
func MakeAppliedMsg(appliedMsg types.AppliedMsg) (upgradetypes.QueryAppliedPlanRequest, error)
(Query) make msg - applied
func MakeCancelSoftwareUpgradeMsg ¶
func MakeCancelSoftwareUpgradeMsg(cancelSoftwareUpgradeMsg types.CancelSoftwareUpgradeMsg, privKey key.PrivateKey) (govtypes.MsgSubmitProposal, error)
(Tx) make msg - cancel software upgrade
func MakePlanMsg ¶
func MakePlanMsg() (upgradetypes.QueryCurrentPlanRequest, error)
(Query) make msg - plan
func MakeProposalSoftwareUpgradeMsg ¶
func MakeProposalSoftwareUpgradeMsg(softwareUpgradeMsg types.SoftwareUpgradeMsg, privKey key.PrivateKey) (govtypes.MsgSubmitProposal, error)
(Tx) make msg - software upgrade
func MakeQueryAllModuleVersionMsg ¶
func MakeQueryAllModuleVersionMsg() (upgradetypes.QueryModuleVersionsRequest, error)
(Query) make msg - all module versions
func MakeQueryModuleVersionMsg ¶
func MakeQueryModuleVersionMsg(queryModulesVersionMsg types.QueryModulesVersionMsg) (upgradetypes.QueryModuleVersionsRequest, error)
(Query) make msg - module version
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.