Versions in this module Expand all Collapse all v0 v0.1.3 Nov 25, 2021 v0.1.1 Nov 25, 2021 Changes in this version + const DoneByte + const ModuleName + const PlanByte + const ProposalTypeCancelSoftwareUpgrade + const ProposalTypeSoftwareUpgrade + const QuerierKey + const QueryApplied + const QueryCurrent + const RouterKey + const StoreKey + var ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group") + func NewCancelSoftwareUpgradeProposal(title, description string) gov.Content + func NewSoftwareUpgradeProposal(title, description string, plan Plan) gov.Content + func PlanKey() []byte + func RegisterCodec(cdc *codec.Codec) + func RegisterInterfaces(registry types.InterfaceRegistry) + func UpgradeStoreLoader(upgradeHeight int64, storeUpgrades *store.StoreUpgrades) baseapp.StoreLoader + type CancelSoftwareUpgradeProposal struct + Description string + Title string + func (*CancelSoftwareUpgradeProposal) Descriptor() ([]byte, []int) + func (*CancelSoftwareUpgradeProposal) ProtoMessage() + func (m *CancelSoftwareUpgradeProposal) Marshal() (dAtA []byte, err error) + func (m *CancelSoftwareUpgradeProposal) MarshalTo(dAtA []byte) (int, error) + func (m *CancelSoftwareUpgradeProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *CancelSoftwareUpgradeProposal) Reset() + func (m *CancelSoftwareUpgradeProposal) Size() (n int) + func (m *CancelSoftwareUpgradeProposal) Unmarshal(dAtA []byte) error + func (m *CancelSoftwareUpgradeProposal) XXX_DiscardUnknown() + func (m *CancelSoftwareUpgradeProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *CancelSoftwareUpgradeProposal) XXX_Merge(src proto.Message) + func (m *CancelSoftwareUpgradeProposal) XXX_Size() int + func (m *CancelSoftwareUpgradeProposal) XXX_Unmarshal(b []byte) error + func (sup *CancelSoftwareUpgradeProposal) GetDescription() string + func (sup *CancelSoftwareUpgradeProposal) GetTitle() string + func (sup *CancelSoftwareUpgradeProposal) ProposalRoute() string + func (sup *CancelSoftwareUpgradeProposal) ProposalType() string + func (sup *CancelSoftwareUpgradeProposal) ValidateBasic() error + func (sup CancelSoftwareUpgradeProposal) String() string + func (this *CancelSoftwareUpgradeProposal) Equal(that interface{}) bool + type Plan struct + Height int64 + Info string + Name string + Time time.Time + func (*Plan) Descriptor() ([]byte, []int) + func (*Plan) ProtoMessage() + func (m *Plan) Marshal() (dAtA []byte, err error) + func (m *Plan) MarshalTo(dAtA []byte) (int, error) + func (m *Plan) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Plan) Reset() + func (m *Plan) Size() (n int) + func (m *Plan) Unmarshal(dAtA []byte) error + func (m *Plan) XXX_DiscardUnknown() + func (m *Plan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Plan) XXX_Merge(src proto.Message) + func (m *Plan) XXX_Size() int + func (m *Plan) XXX_Unmarshal(b []byte) error + func (p Plan) DueAt() string + func (p Plan) ShouldExecute(ctx sdk.Context) bool + func (p Plan) String() string + func (p Plan) ValidateBasic() error + func (this *Plan) Equal(that interface{}) bool + type QueryAppliedParams struct + Name string + func NewQueryAppliedParams(name string) QueryAppliedParams + type SoftwareUpgradeProposal struct + Description string + Plan Plan + Title string + func (*SoftwareUpgradeProposal) Descriptor() ([]byte, []int) + func (*SoftwareUpgradeProposal) ProtoMessage() + func (m *SoftwareUpgradeProposal) Marshal() (dAtA []byte, err error) + func (m *SoftwareUpgradeProposal) MarshalTo(dAtA []byte) (int, error) + func (m *SoftwareUpgradeProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *SoftwareUpgradeProposal) Reset() + func (m *SoftwareUpgradeProposal) Size() (n int) + func (m *SoftwareUpgradeProposal) Unmarshal(dAtA []byte) error + func (m *SoftwareUpgradeProposal) XXX_DiscardUnknown() + func (m *SoftwareUpgradeProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *SoftwareUpgradeProposal) XXX_Merge(src proto.Message) + func (m *SoftwareUpgradeProposal) XXX_Size() int + func (m *SoftwareUpgradeProposal) XXX_Unmarshal(b []byte) error + func (sup *SoftwareUpgradeProposal) GetDescription() string + func (sup *SoftwareUpgradeProposal) GetTitle() string + func (sup *SoftwareUpgradeProposal) ProposalRoute() string + func (sup *SoftwareUpgradeProposal) ProposalType() string + func (sup *SoftwareUpgradeProposal) ValidateBasic() error + func (sup SoftwareUpgradeProposal) String() string + func (this *SoftwareUpgradeProposal) Equal(that interface{}) bool + type UpgradeHandler func(ctx sdk.Context, plan Plan)