-
Notifications
You must be signed in to change notification settings - Fork 182
/
alias.go
41 lines (37 loc) · 1.22 KB
/
alias.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
package params
import (
sdkparams "github.com/cosmos/cosmos-sdk/x/params"
"github.com/okex/exchain/x/params/types"
)
// const
const (
ModuleName = sdkparams.ModuleName
DefaultCodespace = types.DefaultCodespace
DefaultParamspace = sdkparams.ModuleName
StoreKey = sdkparams.StoreKey
TStoreKey = sdkparams.TStoreKey
RouterKey = sdkparams.RouterKey
)
type (
// KeyTable is the type alias of the one in cmsdk
KeyTable = sdkparams.KeyTable
// ParamSetPairs is the type alias of the one in cmsdk
ParamSetPair = sdkparams.ParamSetPair
// ParamSetPairs is the type alias of the one in cmsdk
ParamSetPairs = sdkparams.ParamSetPairs
// Subspace is the type alias of the one in cmsdk
Subspace = sdkparams.Subspace
// ParamSet is the type alias of the one in cmsdk
ParamSet = sdkparams.ParamSet
// ParamChange is the type alias of the one in cmsdk
ParamChange = sdkparams.ParamChange
// ParameterChangeProposal is alias of ParameterChangeProposal in types
ParameterChangeProposal = types.ParameterChangeProposal
)
var (
// nolint
NewKeyTable = sdkparams.NewKeyTable
NewParamChange = sdkparams.NewParamChange
DefaultParams = types.DefaultParams
NewParamSetPair = sdkparams.NewParamSetPair
)