-
Notifications
You must be signed in to change notification settings - Fork 182
/
alias.go
72 lines (61 loc) · 2.17 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
// nolint
// aliases generated for the following subdirectories:
// ALIASGEN: github.com/okex/exchain/x/dex/keeper
// ALIASGEN: github.com/okex/exchain/x/dex/types
package dex
import (
"github.com/okex/exchain/libs/cosmos-sdk/x/auth"
"github.com/okex/exchain/x/common/version"
"github.com/okex/exchain/x/dex/keeper"
"github.com/okex/exchain/x/dex/types"
)
const (
ModuleName = types.ModuleName
DefaultCodespace = types.DefaultCodespace
DefaultParamspace = types.DefaultParamspace
TokenPairStoreKey = types.TokenPairStoreKey
QuerierRoute = types.QuerierRoute
RouterKey = types.RouterKey
StoreKey = types.StoreKey
DefaultMaxPriceDigitSize = types.DefaultMaxPriceDigitSize
DefaultMaxQuantityDigitSize = types.DefaultMaxQuantityDigitSize
AuthFeeCollector = auth.FeeCollectorName
)
type (
// Keepers
Keeper = keeper.Keeper
IKeeper = keeper.IKeeper
SupplyKeeper = keeper.SupplyKeeper
TokenKeeper = keeper.TokenKeeper
StakingKeeper = keeper.StakingKeeper
BankKeeper = keeper.BankKeeper
ProtocolVersionType = version.ProtocolVersionType
StreamKeeper = keeper.StreamKeeper
// Messages
MsgList = types.MsgList
MsgDeposit = types.MsgDeposit
MsgWithdraw = types.MsgWithdraw
MsgTransferOwnership = types.MsgTransferOwnership
MsgConfirmOwnership = types.MsgConfirmOwnership
MsgUpdateOperator = types.MsgUpdateOperator
MsgCreateOperator = types.MsgCreateOperator
TokenPair = types.TokenPair
Params = types.Params
WithdrawInfo = types.WithdrawInfo
WithdrawInfos = types.WithdrawInfos
DEXOperator = types.DEXOperator
DEXOperators = types.DEXOperators
)
var (
ModuleCdc = types.ModuleCdc
DefaultTokenPairDeposit = types.DefaultTokenPairDeposit
RegisterCodec = types.RegisterCodec
NewQuerier = keeper.NewQuerier
NewKeeper = keeper.NewKeeper
GetBuiltInTokenPair = keeper.GetBuiltInTokenPair
DefaultParams = types.DefaultParams
NewMsgList = types.NewMsgList
NewMsgDeposit = types.NewMsgDeposit
NewMsgWithdraw = types.NewMsgWithdraw
ErrTokenPairNotFound = types.ErrTokenPairNotFound
)