-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
feat: add lista lending adaptor #14267
base: main
Are you sure you want to change the base?
Conversation
, withdrawLogs, | ||
liquidateLogs | ||
] = await Promise.all([ | ||
getLogs2({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we calculate this TVL without using net flows? This is expensive
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have an API do the same thing, but fetching result from API is not allowed, right?
Currently, there is no other way to calculate that part of TVL
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In that case yes you can use this endpoint. Please make sure your adapter checks that the data timestamp is fresh
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please show me an example how I can add value directly?
0873961
to
73eed42
Compare
Add a new lending protocol into listaDao
https://defillama.com/protocol/lista-dao#information
Lista Lending is a fully decentralized and permissionless P2P lending protocol crafted for BNB Chain, breaking free from the constraints of traditional large-pool lending to cultivate a more inclusive and resilient ecosystem.
Lista Lending’s core revolves around a vault-based system, pooling liquidity and dynamically allocating it across different lending & collateral pairs, which we call markets, based on supply and demand.