I assumed that at the end of each day, after calculating points of all vaults, we will calculate the rank of each vault (starting from 1). This way, we can fetch vaults ordered by rank in ascending order to get the top vaults.
If a user has not registered for the airdrop or has removed their vault from the airdrop registry, we will set their vault's rank to 0.
I assumed that at the end of each day, after calculating points of all vaults, we will calculate the rank of each vault (starting from 1). This way, we can fetch vaults ordered by rank in ascending order to get the top vaults.
If a user has not registered for the airdrop or has removed their vault from the airdrop registry, we will set their vault's rank to 0.