-
Notifications
You must be signed in to change notification settings - Fork 182
/
alias.go
37 lines (32 loc) · 1.27 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
package genutil
import (
"github.com/okex/exchain/x/genutil/types"
sdkgenutil "github.com/okex/exchain/libs/cosmos-sdk/x/genutil"
sdkgenutiltypes "github.com/okex/exchain/libs/cosmos-sdk/x/genutil/types"
)
// const
const (
ModuleName = types.ModuleName
)
type (
// GenesisState is the type alias of the one in cmsdk
GenesisState = types.GenesisState
// InitConfig is the type alias of the one in cmsdk
InitConfig = sdkgenutil.InitConfig
// GenesisAccountsIterator is the type alias of the one in cmsdk
GenesisAccountsIterator = sdkgenutiltypes.GenesisAccountsIterator
)
var (
// nolint
ModuleCdc = types.ModuleCdc
GenesisStateFromGenFile = sdkgenutil.GenesisStateFromGenFile
NewGenesisState = sdkgenutil.NewGenesisState
SetGenesisStateInAppState = sdkgenutil.SetGenesisStateInAppState
InitializeNodeValidatorFiles = sdkgenutil.InitializeNodeValidatorFiles
ExportGenesisFileWithTime = sdkgenutil.ExportGenesisFileWithTime
NewInitConfig = sdkgenutil.NewInitConfig
ValidateGenesis = types.ValidateGenesis
GenesisStateFromGenDoc = sdkgenutil.GenesisStateFromGenDoc
SetGenTxsInAppGenesisState = sdkgenutil.SetGenTxsInAppGenesisState
ExportGenesisFile = sdkgenutil.ExportGenesisFile
)