2024-02-15 07:08:32 +00:00
|
|
|
package registry
|
|
|
|
|
|
|
|
import "cosmossdk.io/collections"
|
|
|
|
|
|
|
|
const (
|
|
|
|
// ModuleName is the name of the registry module
|
|
|
|
ModuleName = "registry"
|
|
|
|
|
|
|
|
// RecordRentModuleAccountName is the name of the module account that keeps track of record rents paid.
|
|
|
|
RecordRentModuleAccountName = "record_rent"
|
|
|
|
|
|
|
|
// AuthorityRentModuleAccountName is the name of the module account that keeps track of authority rents paid.
|
|
|
|
AuthorityRentModuleAccountName = "authority_rent"
|
|
|
|
)
|
|
|
|
|
|
|
|
// Store prefixes
|
|
|
|
var (
|
|
|
|
// ParamsKey is the prefix for params key
|
|
|
|
ParamsPrefix = collections.NewPrefix(0)
|
2024-02-16 06:40:42 +00:00
|
|
|
|
|
|
|
RecordsPrefix = collections.NewPrefix(1)
|
|
|
|
BondIdIndexPrefix = collections.NewPrefix(2)
|
2024-02-15 07:08:32 +00:00
|
|
|
)
|