-
Notifications
You must be signed in to change notification settings - Fork 4
/
key.go
29 lines (23 loc) · 833 Bytes
/
key.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
package types
const (
// ModuleName defines the module name
ModuleName = "gal"
// StoreKey defines the primary module store key
StoreKey = ModuleName
// RouterKey defines the module's message routing key
RouterKey = ModuleName
// QuerierRoute defines the module's query routing key
QuerierRoute = ModuleName
)
// KVStore keys
var (
// KeyDepositRecordInfo defines key to store deposit information of sn-assets.
KeyDepositRecordInfo = []byte{0x01}
// KeyUndelegateRecordInfo defines key to store undelegate record information of wAsset.
KeyUndelegateRecordInfo = []byte{0x02}
// KeyWithdrawRecordInfo defines key to store withdraw record information of sn-assets.
KeyWithdrawRecordInfo = []byte{0x03}
KeyDelegateVersion = []byte{0x04}
KeyUndelegateVersion = []byte{0x05}
KeyWithdrawVersion = []byte{0x06}
)