-
Notifications
You must be signed in to change notification settings - Fork 112
feat(30D window): filtering out non 30D programs #133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
could you give reason for the filter? |
|
Hey @ReynardoEW the emission should take into account the last 30d of emission and anualize it as per the definition, and here it seems it's not filtering out potentially old rewards program that are no longer in the scope. Thus the filters Does that make sense? |
i see, but on airdrop emission we are using cliff result therefore it will just be a one big unlock and for non airdrop it will be linearly unlocked and it wont calculate emissions ahead of today's date so the issue shouldn't be there? |
|
Hmm that make sense, but given this is litterally no longer an emission of the past 30d, i think we should still remove it. Otherwise for the other programs, we should still filter out if end is before 30 days ago |
if we remove it then historical data of those wont be available which we want to keep |
|
Hey @ReynardoEW I think there might be a misunderstanding about what the 30-day emission calculation should represent. According to DefiLlama's definition: "This is calculated by taking data from the last 30 days and multiplying it by 12 to annualize it" (visible when hovering on the incentives at the protocol page level)
The key phrase is "last 30 days" - this should reflect current earning potential, not historical programs that ended months ago. For example:
The filter ensures users see realistic, current earning potential rather than inflated rates from expired programs. If historical data preservation is the concern, we could discuss alternative approaches, but for current emission calculations, the 30-day filter is essential for accuracy. Am I confused somewhere? |
if i am getting this right, you want to filter programs that ended >30 days ago, but this shouldn't skew the calculation? |


No description provided.