Skip to content
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

Add staking revenue to suilend fees #2325

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

Conversation

DaSichuan
Copy link
Contributor

No description provided.

@llamabutler
Copy link

The suilend adapter exports:

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

🦙 Running SUILEND adapter 🦙
---------------------------------------------------
Start Date:	Wed, 15 Jan 2025 20:34:44 GMT
End Date:	Thu, 16 Jan 2025 20:34:44 GMT
---------------------------------------------------

SUI 👇
Backfill start time: 1/3/2024
Daily fees: 63.59 k
└─ Methodology: Interest and fees paid by borrowers and the liquidated
Daily user fees: 63.59 k
Daily revenue: 36.27 k
Daily protocol revenue: 36.27 k
End timestamp: 1737059683 (2025-01-16T20:34:43.000Z)

@@ -37,7 +38,8 @@ const fetchSuilendStats = async ({ endTimestamp }: FetchOptions) => {

const dailyRevenue = stats.borrowFees +
stats.protocolFees +
stats.liquidationProtocolFees;
stats.liquidationProtocolFees
+ stats.stakingRevenue;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

stakingRevenue is value go to team ?

@dtmkeng dtmkeng self-assigned this Jan 17, 2025
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