/
keys.go
28 lines (21 loc) · 919 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
package types
// MinterKey is the key to use for the keeper store at which
// the Minter and its EpochProvisions are stored.
var MinterKey = []byte{0x00}
// LastReductionEpochKey is the key to use for the keeper store
// for storing the last epoch at which reduction occurred.
var LastReductionEpochKey = []byte{0x03}
const (
// ModuleName is the module name.
ModuleName = "mint"
// DeveloperVestingModuleAcctName is the module acct name for developer vesting.
DeveloperVestingModuleAcctName = "developer_vesting_unvested"
// StoreKey is the default store key for mint.
StoreKey = ModuleName
// QuerierRoute is the querier route for the minting store.
QuerierRoute = StoreKey
// QueryParameters is an endpoint path for querying mint parameters.
QueryParameters = "parameters"
// QueryEpochProvisions is an endpoint path for querying mint epoch provisions.
QueryEpochProvisions = "epoch_provisions"
)