28 lines
861 B
Go
28 lines
861 B
Go
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)
|
|
|
|
RecordsPrefix = collections.NewPrefix(1)
|
|
RecordsByBondIdIndexPrefix = collections.NewPrefix(2)
|
|
|
|
AuthoritiesPrefix = collections.NewPrefix(3)
|
|
AuthoritiesByAuctionIdIndexPrefix = collections.NewPrefix(4)
|
|
AuthoritiesByBondIdIndexPrefix = collections.NewPrefix(5)
|
|
)
|