-
Notifications
You must be signed in to change notification settings - Fork 8
/
keys.go
29 lines (24 loc) · 1.07 KB
/
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
package types
import "cosmossdk.io/collections"
// these might need to be unique across the whole module space
// certain tests were failing in weird ways when they were not
// e.g. emissions starts at 0, so maybe there was a conflict
// with using the same integer for the keys for multiple keepers
var (
ParamsKey = collections.NewPrefix(138)
PreviousRewardEmissionPerUnitStakedTokenKey = collections.NewPrefix(139)
PreviousBlockEmissionKey = collections.NewPrefix(140)
EcosystemTokensMintedKey = collections.NewPrefix(141)
)
const (
// module name
ModuleName = "mint"
// ecosystem module account name
EcosystemModuleName = "ecosystem"
// StoreKey is the default store key for mint
StoreKey = ModuleName
// GovModuleName duplicates the gov module's name to avoid a cyclic dependency with x/gov.
// It should be synced with the gov module's name if it is ever changed.
// See: https://github.com/cosmos/cosmos-sdk/blob/b62a28aac041829da5ded4aeacfcd7a42873d1c8/x/gov/types/keys.go#L9
GovModuleName = "gov"
)