-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
keys.go
34 lines (25 loc) · 879 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
33
34
package types
const (
// ModuleName defines the module name
ModuleName = "incentive"
// 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
// MemStoreKey defines the in-memory store key
MemStoreKey = "mem_capability"
)
func KeyPrefix(p string) []byte {
return []byte(p)
}
const (
ParamsKey = "Params-value-"
EurxMintingRewardDenom = "uestm"
)
var (
EurxMintingClaimKeyPrefix = []byte{0x01} // prefix for keys that store Eurx minting claims
EurxMintingRewardFactorKeyPrefix = []byte{0x02} // prefix for key that stores Eurx minting reward factors
PreviousEurxMintingRewardAccrualTimeKeyPrefix = []byte{0x03} // prefix for key that stores the blocktime
)