-
Notifications
You must be signed in to change notification settings - Fork 20
/
alias.go
36 lines (29 loc) · 871 Bytes
/
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
package gov
import (
"github.com/QOSGroup/qos/module/gov/client"
"github.com/QOSGroup/qos/module/gov/mapper"
"github.com/QOSGroup/qos/module/gov/txs"
"github.com/QOSGroup/qos/module/gov/types"
)
var (
ModuleName = "gov"
Cdc = txs.Cdc
RegisterCodec = txs.RegisterCodec
DefaultGenesis = types.DefaultGenesisState
ValidateGenesis = types.ValidateGenesis
MapperName = mapper.MapperName
NewMapper = mapper.NewMapper
GetMapper = mapper.GetMapper
Query = mapper.Query
ParamsSpace = types.ParamSpace
StatusDepositPeriod = types.StatusDepositPeriod
StatusVotingPeriod = types.StatusVotingPeriod
StatusPassed = types.StatusPassed
StatusRejected = types.StatusRejected
QueryCommands = client.QueryCommands
TxCommands = client.TxCommands
)
type (
GenesisState = types.GenesisState
Params = types.Params
)