-
Notifications
You must be signed in to change notification settings - Fork 891
Blend sdk updates #1838
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
base: master
Are you sure you want to change the base?
Blend sdk updates #1838
Conversation
Ryang-21
commented
Apr 24, 2025
- Update blend-sdk to v3.0.1
- Add new pools
- Use CoinGecko BLND price
This reverts commit 7af0be5.
The blend-pools adapter exports pools: Test Suites: 1 passed, 1 total
|
tvlUsd: totalSupply - totalBorrow, | ||
// Supply is kept as APR to prevent overestimation of APY | ||
apyBase: reserve.supplyApr * 100, | ||
//Estimated weekly compounding |
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.
if the pool doesn't auto-compound for the user, then lets keep using the previous fields
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.
The pool does auto compound but it requires the reserve/asset to be interacted with by some user ie. someone borrows or supplys which then triggers the reserve state to be updated.
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.
If thats still a concern I can switch to use the apr rate just let me know
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.
If thats still a concern I can switch to use the apr rate just let me know
yeah better to use switch back to the non compounding fields, ty