Skip to content

Conversation

@TuanTwendee
Copy link
Contributor

This PR adds cumulative fee and cumulative revenue metrics using the MoneyFi statistics API.

Cumulative Fees = claimed_moneyfi_revenue * 5

Cumulative Revenue = claimed_moneyfi_revenue

Data is taken from:
https://api.moneyfi.fund/statistics

Screenshot 2025-11-20 at 2 05 16 PM Hi, could you please help explain what each of these metrics represents on the MoneyFi dashboard?

Specifically, I want to better understand how the following values are calculated and interpreted:

Fees (Annualized)

Fees 30d / 7d / 24h

Cumulative Fees

Revenue (Annualized)

Revenue 30d / 7d / 24h

Cumulative Revenue

I want to confirm the exact definitions so that the adapter output aligns perfectly with what the dashboard expects. Thank you!

@llamabutler
Copy link

The moneyfi adapter exports:

> adapters@1.0.0 test
> ts-node --transpile-only cli/testAdapter.ts fees moneyfi

🦙 Running MONEYFI adapter 🦙
---------------------------------------------------
Start Date:	Wed, 19 Nov 2025 04:37:20 GMT
End Date:	Thu, 20 Nov 2025 04:37:20 GMT
---------------------------------------------------

chain     | Daily fees | Daily revenue | Start Time
---       | ---        | ---           | ---       
ethereum  | 0.00       | 0.00          | 27/5/2025 
base      | 0.00       | 0.00          | 27/5/2025 
core      | 0.00       | 0.00          | 27/5/2025 
arbitrum  | 0.00       | 0.00          | 27/5/2025 
polygon   | 0.00       | 0.00          | 27/5/2025 
bsc       | 0.00       | 0.00          | 27/5/2025 
optimism  | 0.00       | 0.00          | 27/5/2025 
soneium   | 0.00       | 0.00          | 27/5/2025 
aptos     | 0.00       | 0.00          | 27/5/2025 
Aggregate | 0.00       | 0.00          |           

@treeoflife2 treeoflife2 self-assigned this Nov 20, 2025
@treeoflife2
Copy link
Member

@TuanTwendee we don't accept cumulative fees/revenue, it's calculated field, based on the dailyFees and dailyRevenue,

@treeoflife2
Copy link
Member

@TuanTwendee and please work on the latest file from the main branch, as you are reverting many changes i did in last PR

@TuanTwendee
Copy link
Contributor Author

@TuanTwendee we don't accept cumulative fees/revenue, it's calculated field, based on the dailyFees and dailyRevenue,
I noticed the current number may not be accurate. Is there a way to update it correctly? I’m happy to provide the exact number if needed. Thank you so much!

@TuanTwendee
Copy link
Contributor Author

@TuanTwendee and please work on the latest file from the main branch, as you are reverting many changes i did in last PR

Sure, I will update it. Thank you for letting me know!

@TuanTwendee
Copy link
Contributor Author

@TuanTwendee we don't accept cumulative fees/revenue, it's calculated field, based on the dailyFees and dailyRevenue,

Can you please give me your calculation so I can compare it with my system to make sure the data is correct?
Thanks you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants