holaplex / indexer

Index Solana data using a Geyser plugin (downstream service cluster)
https://holaplex.com
GNU Affero General Public License v3.0
162 stars 38 forks source link

Genopets Sort/Filter request 9/7 #726

Closed CSmith051 closed 2 years ago

CSmith051 commented 2 years ago

What: sort : totalKiHarvested, KiAvailableToHarvest (it is a calculation based on different parameters of the habitat as number of subhabitats and their level, the habitat level and if it is a genesis ) filters: hasHaverter, hasAlchemist, hasNoHarvester, hasNoAlchemist, hasMaxKi (again this is a calculation based on different parameters of the habitat as number of subhabitats and their level ... and KiHarvested)

CSmith051 commented 2 years ago

Additional: Add a filter on: expiryTimestamp = 0 to recover habitat not 'activated'

kespinola commented 2 years ago

done https://github.com/holaplex/indexer/pull/757