-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Adding Kamino Vault Revenue #1791
base: master
Are you sure you want to change the base?
Conversation
The kamino-liquidity adapter exports:
|
could you add dailyFees ? |
we don't have the fees in the API yet, we plan to add it in the next weeks |
no can set rev = fees ? |
Fees are supposed to be what is earned by users no ? |
dailyFees: All fees and value collected from all sources, this also includes liquid staking rewards, generated yields and possible mint and burn fees paid by LP (but not transaction or gas fees). |
so the fees are a bit different from the revenue, here I'm pushing only the revenue that the protocol is earning from the liquidity vaults |
This is a pull request to add fee data for Kamino Vaults.
It gives the only daily/total revenue (not fees) for Kamino vaults, data is based on this query from on flipside crypto: https://flipsidecrypto.xyz/kakagri/kamino-vault-fees-4cDBfs. However the results are served through cached data similarly to #1768. And served through this endpoint: https://allez-xyz--kamino-fees-api-get-fees-lifetime-kamino.modal.run/