2024-02-09 08:44:45 +00:00
|
|
|
package auction
|
|
|
|
|
|
|
|
import "cosmossdk.io/collections"
|
|
|
|
|
|
|
|
const (
|
|
|
|
ModuleName = "auction"
|
|
|
|
|
2024-02-29 11:54:35 +00:00
|
|
|
// StoreKey defines the primary module store key
|
|
|
|
StoreKey = ModuleName
|
|
|
|
|
2024-02-09 08:44:45 +00:00
|
|
|
// AuctionBurnModuleAccountName is the name of the auction burn module account.
|
|
|
|
AuctionBurnModuleAccountName = "auction_burn"
|
|
|
|
)
|
|
|
|
|
|
|
|
// Store prefixes
|
|
|
|
var (
|
|
|
|
// ParamsKey is the prefix for params key
|
2024-02-15 06:56:18 +00:00
|
|
|
ParamsPrefix = collections.NewPrefix(0)
|
2024-02-12 08:34:40 +00:00
|
|
|
|
2024-02-15 06:56:18 +00:00
|
|
|
AuctionsPrefix = collections.NewPrefix(1)
|
2024-02-12 08:34:40 +00:00
|
|
|
AuctionOwnerIndexPrefix = collections.NewPrefix(2)
|
2024-02-15 06:56:18 +00:00
|
|
|
|
|
|
|
BidsPrefix = collections.NewPrefix(3)
|
|
|
|
BidderAuctionIdIndexPrefix = collections.NewPrefix(4)
|
2024-02-09 08:44:45 +00:00
|
|
|
)
|