-
Notifications
You must be signed in to change notification settings - Fork 568
/
keys.go
30 lines (21 loc) · 938 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
package types
var (
// ModuleName defines the module name.
ModuleName = "superfluid"
// StoreKey defines the primary module store key.
StoreKey = ModuleName
// RouterKey is the message route for slashing.
RouterKey = ModuleName
// QuerierRoute defines the module's query routing key.
QuerierRoute = ModuleName
// KeyPrefixSuperfluidAsset defines prefix key for superfluid asset.
KeyPrefixSuperfluidAsset = []byte{0x01}
// KeyPrefixTokenMultiplier defines prefix key per epoch.
KeyPrefixTokenMultiplier = []byte{0x03}
// KeyPrefixIntermediaryAccount defines prefix to set intermediary account struct to its address.
KeyPrefixIntermediaryAccount = []byte{0x04}
// KeyPrefixLockIntermediaryAccAddr defines prefix to connect lockId and intermediary account address.
KeyPrefixLockIntermediaryAccAddr = []byte{0x05}
// KeyUnpoolAllowedPools defines key to unpool allowed pools.
KeyUnpoolAllowedPools = []byte{0x06}
)