-
Notifications
You must be signed in to change notification settings - Fork 0
/
alias.go
47 lines (41 loc) · 1.51 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
42
43
44
45
46
47
package params
// nolint
import (
"github.com/furyaxyz/fuxchain/libs/cosmos-sdk/x/params/subspace"
"github.com/furyaxyz/fuxchain/libs/cosmos-sdk/x/params/types"
)
const (
StoreKey = subspace.StoreKey
TStoreKey = subspace.TStoreKey
ModuleName = types.ModuleName
RouterKey = types.RouterKey
ProposalTypeChange = types.ProposalTypeChange
)
var (
// functions aliases
NewParamSetPair = subspace.NewParamSetPair
NewSubspace = subspace.NewSubspace
NewKeyTable = subspace.NewKeyTable
RegisterCodec = types.RegisterCodec
ErrUnknownSubspace = types.ErrUnknownSubspace
ErrSettingParameter = types.ErrSettingParameter
ErrEmptyChanges = types.ErrEmptyChanges
ErrEmptySubspace = types.ErrEmptySubspace
ErrEmptyKey = types.ErrEmptyKey
ErrEmptyValue = types.ErrEmptyValue
NewParameterChangeProposal = types.NewParameterChangeProposal
NewParamChange = types.NewParamChange
ValidateChanges = types.ValidateChanges
// variable aliases
ModuleCdc = types.ModuleCdc
)
type (
ParamSetPair = subspace.ParamSetPair
ParamSetPairs = subspace.ParamSetPairs
ParamSet = subspace.ParamSet
Subspace = subspace.Subspace
ReadOnlySubspace = subspace.ReadOnlySubspace
KeyTable = subspace.KeyTable
ParameterChangeProposal = types.ParameterChangeProposal
ParamChange = types.ParamChange
)