github.com/fibonacci-chain/fbc@v0.0.0-20231124064014-c7636198c1e9/libs/cosmos-sdk/x/upgrade/alias.go (about)

     1  package upgrade
     2  
     3  // nolint
     4  
     5  import (
     6  	"github.com/fibonacci-chain/fbc/libs/cosmos-sdk/x/upgrade/internal/keeper"
     7  	"github.com/fibonacci-chain/fbc/libs/cosmos-sdk/x/upgrade/internal/types"
     8  )
     9  
    10  const (
    11  	ModuleName                        = types.ModuleName
    12  	RouterKey                         = types.RouterKey
    13  	StoreKey                          = types.StoreKey
    14  	QuerierKey                        = types.QuerierKey
    15  	PlanByte                          = types.PlanByte
    16  	DoneByte                          = types.DoneByte
    17  	ProposalTypeSoftwareUpgrade       = types.ProposalTypeSoftwareUpgrade
    18  	ProposalTypeCancelSoftwareUpgrade = types.ProposalTypeCancelSoftwareUpgrade
    19  	QueryCurrent                      = types.QueryCurrent
    20  	QueryApplied                      = types.QueryApplied
    21  )
    22  
    23  var (
    24  	// functions aliases
    25  	RegisterCodec                    = types.RegisterCodec
    26  	PlanKey                          = types.PlanKey
    27  	NewSoftwareUpgradeProposal       = types.NewSoftwareUpgradeProposal
    28  	NewCancelSoftwareUpgradeProposal = types.NewCancelSoftwareUpgradeProposal
    29  	NewQueryAppliedParams            = types.NewQueryAppliedParams
    30  	NewKeeper                        = keeper.NewKeeper
    31  	NewQuerier                       = keeper.NewQuerier
    32  )
    33  
    34  type (
    35  	UpgradeHandler                = types.UpgradeHandler //nolint:golint
    36  	Plan                          = types.Plan
    37  	SoftwareUpgradeProposal       = types.SoftwareUpgradeProposal
    38  	CancelSoftwareUpgradeProposal = types.CancelSoftwareUpgradeProposal
    39  	QueryAppliedParams            = types.QueryAppliedParams
    40  	Keeper                        = keeper.Keeper
    41  )