-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Add Bluefin Alphalend Fees Metrics #3469
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
Conversation
The bluefin-alphalend.ts adapter exports:
|
The bluefin-alphalend.ts adapter exports:
|
hi @abdullahabro thanks for the PR, can you check your api url, the url returns 404 |
Hey @noateden , this should be fixed now , can you please check again |
@abdullahabro is there anyway to get data from Sui blockchain instead? |
@noateden nopes , unfortunately not, because on-chain, the fee variables store commutative fee therefore it's hard to know how much fee was accumulated in last 24 hours. |
@abdullahabro can you try to query events and calculate the fees in the adapter? it's because we will take time to fix your code or contact your team if there is any issue with the api, and we don't want to do that later |
@noateden , this is going to be a bit difficult and messy , because first we would need to fetch all the required events for the day. Moreover, the data in those events is not complete and we need to do some mannual calculations , using Coin details like coin decimals and coin's current oracle price and some other metaData. |
pls @abdullahabro add meta to explain about fees and revenue methodologies, like this: |
The bluefin-alphalend.ts adapter exports:
|
Added @noateden |
No description provided.