github.com/cosmos/cosmos-sdk@v0.50.10/x/crisis/exported/exported.go (about)

     1  package exported
     2  
     3  import (
     4  	sdk "github.com/cosmos/cosmos-sdk/types"
     5  	paramtypes "github.com/cosmos/cosmos-sdk/x/params/types"
     6  )
     7  
     8  type (
     9  	ParamSet = paramtypes.ParamSet
    10  
    11  	// Subspace defines an interface that implements the legacy x/params Subspace
    12  	// type.
    13  	//
    14  	// NOTE: This is used solely for migration of x/params managed parameters.
    15  	Subspace interface {
    16  		Get(ctx sdk.Context, key []byte, ptr interface{})
    17  	}
    18  )