Skip to content
This repository was archived by the owner on Dec 5, 2025. It is now read-only.

Commit a744d4e

Browse files
authored
Merge pull request #1681 from kodadot/1663-glassworks
We 🐙 stats
2 parents 5310523 + 1f8758a commit a744d4e

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

components/spotlight/SpotlightTable.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,8 @@ export default class SpotlightTable extends mixins(
190190
averagePrice: Number(e.averagePrice),
191191
collectors: e.sold,
192192
rank: e.sold * (e.unique / e.total || 1),
193-
uniqueCollectors: e.sold,
194-
volume: BigInt(0),
193+
uniqueCollectors: e.uniqueCollectors,
194+
volume: BigInt(e.volume),
195195
})).sort((a, b) => b.rank - a.rank)
196196
197197
// this.data = spotlightAggQuery(

queries/rmrk/subsquid/collectionSeriesList.graphql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ query collectionSeriesList($limit: Float) {
88
sold
99
name
1010
total
11-
totalBuys
11+
totalBuys: buys
1212
unique
1313
uniqueCollectors
14+
volume
1415
}
1516
}

queries/rmrk/subsquid/collectionSpotlightList.graphql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,7 @@ query collectionSpotlightList {
66
total
77
averagePrice: average
88
count: collections
9+
uniqueCollectors
10+
volume
911
}
1012
}

0 commit comments

Comments
 (0)