-
Notifications
You must be signed in to change notification settings - Fork 0
/
keys.go
32 lines (26 loc) · 866 Bytes
/
keys.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
package types
const (
// ModuleName defines the module name
ModuleName = "grow"
// StoreKey defines the primary module store key
StoreKey = ModuleName
// RouterKey defines the module's message routing key
RouterKey = ModuleName
// MemStoreKey defines the in-memory store key
MemStoreKey = "mem_grow"
)
func KeyPrefix(p string) []byte {
return []byte(p)
}
const (
LoanKey = "Loan/value/"
LoanCountKey = "Loan/count/"
PairKey = "Pair/value/"
PairCountKey = "Pair/count/"
LendAssetKey = "LendAsset/value/"
LendAssetCountKey = "LendAsset/count/"
PositionKey = "Position/value/"
PositionCountKey = "Position/count/"
LiquidatorPositionKey = "LiquidatorPosition/value/"
LiquidatorPositionCountKey = "LiquidatorPosition/count/"
)