-
Notifications
You must be signed in to change notification settings - Fork 182
/
alias.go
51 lines (41 loc) · 1.13 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
48
49
50
51
// nolint
package backend
import (
"github.com/okex/exchain/x/backend/config"
"github.com/okex/exchain/x/backend/keeper"
"github.com/okex/exchain/x/backend/orm"
"github.com/okex/exchain/x/backend/types"
)
const (
// ModuleName is the name of the backend module
ModuleName = types.ModuleName
// QuerierRoute is the querier route for the backend module
QuerierRoute = types.QuerierRoute
// RouterKey is the msg router key for the backend module
RouterKey = types.RouterKey
)
type (
Keeper = keeper.Keeper
OrderKeeper = types.OrderKeeper
TokenKeeper = types.TokenKeeper
MarketKeeper = types.MarketKeeper
DexKeeper = types.DexKeeper
Ticker = types.Ticker
Deal = types.Deal
Order = types.Order
Transaction = types.Transaction
MatchResult = types.MatchResult
ORM = orm.ORM
OrmEngineInfo = orm.OrmEngineInfo
Config = config.Config
SwapInfo = types.SwapInfo
ClaimInfo = types.ClaimInfo
)
var (
NewQuerier = keeper.NewQuerier
NewKeeper = keeper.NewKeeper
CleanUpKlines = keeper.CleanUpKlines
GenerateTx = types.GenerateTx
NewORM = orm.New
DefaultConfig = config.DefaultConfig
)