Skip to content

Commit

Permalink
join keys
Browse files Browse the repository at this point in the history
  • Loading branch information
Pantani committed Aug 30, 2024
1 parent 65a91b3 commit d34482a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions x/fundraising/types/keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,14 @@ const (
MemStoreKey = "mem_fundraising"
)

var ParamsKey = collections.NewPrefix("p_fundraising")

func KeyPrefix(p string) []byte {
return []byte(p)
}

var (
// ParamsKey is the prefix to retrieve all Params
ParamsKey = collections.NewPrefix("p_fundraising")

// BidKey is the prefix to retrieve all Bid
BidKey = collections.NewPrefix("bid/value/")
// BidCountKey is the prefix to retrieve all Bid cound
Expand All @@ -36,5 +37,6 @@ var (
// VestingQueueKey is the prefix to retrieve all VestingQueue
VestingQueueKey = collections.NewPrefix("VestingQueue/value/")

// MatchedBidsLenKey is the prefix to retrieve all MatchedBidsLen
MatchedBidsLenKey = collections.NewPrefix("MatchedBidsLen/value/")
)

0 comments on commit d34482a

Please sign in to comment.