Skip to content

add revenue for echelon #3534

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

0xd1esel
Copy link
Contributor

No description provided.

@llamabutler
Copy link

The echelon.ts adapter exports:

> [email protected] test
> ts-node --transpile-only cli/testAdapter.ts fees echelon.ts

🦙 Running ECHELON.TS adapter 🦙
---------------------------------------------------
Start Date:	Mon, 23 Jun 2025 00:00:00 GMT
End Date:	Tue, 24 Jun 2025 00:00:00 GMT
---------------------------------------------------

APTOS 👇
Backfill start time: 25/4/2024
Daily fees: 5.97 k
Daily revenue: 5.97 k


MOVE 👇
Backfill start time: 15/3/2025
Daily fees: 4.46 k
Daily revenue: 4.46 k


---- AGGREGATE 👇
Backfill start time not defined
Daily fees: 10.44 k
Daily revenue: 10.44 k

@treeoflife2 treeoflife2 self-assigned this Jun 25, 2025
@treeoflife2
Copy link
Member

treeoflife2 commented Jun 25, 2025

@0xd1esel this is incorrect, as dailyRevenue is not same as dailyFees for lending protocols, as some interest goes to lender, correct me if it's not a case for echelon

dailyFees: (Required) All fees and value collected from all sources (users, LPs, yield generation, liquid staking rewards, etc.), excluding direct transaction/gas costs paid by users to the network. This represents the total value flow into the protocol's ecosystem due to its operation.

dailyRevenue: (Required) The portion of dailyFees kept by the protocol entity itself, distributed either to the treasury (dailyProtocolRevenue) or governance token holders (dailyHoldersRevenue).

dailyRevenue = dailyProtocolRevenue + dailyHoldersRevenue

https://docs.llama.fi/list-your-project/other-dashboards#core-dimensions

let me know if you need any help, is there any % which goes to protocol treasury from total interest from borrows, even if there is treasury address, we can track incoming tokens as the protocol revenue

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.

4 participants