Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
1 similar comment
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
murderteeth
left a comment
There was a problem hiding this comment.
unless urgent lets chat on this during standup
|
Some additional fixes: To fix an issue where any ERC4626 vault was included in the portfolio list, PR 1056 now separates Yearn vault identity into two explicit buckets:
All user holdings paths (V2/V3 held vault inclusion, portfolio holdings lookup, and wallet cumulative holdings totals) Also included: a staking edge-case fix so staked-only positions are detected by non-zero staking address (not |
0xeye
left a comment
There was a problem hiding this comment.
Just a couple styling/use-case comments, otherwise LGTM
There was a problem hiding this comment.
Is this needed often in future use-cases? If not, maybe remove. Can always pull back script from PR if needed at a later date?
There was a problem hiding this comment.
yep, can remove
| for (const [vaultAddress, vault] of Object.entries(yearnHoldingsVaults)) { | ||
| if (vault.staking?.address && !isZeroAddress(toAddress(vault.staking.address))) { | ||
| stakingToVault.set(toAddress(vault.staking.address), vaultAddress) | ||
| } |
There was a problem hiding this comment.
Would prefer for the for and let on the files this PR touches to be swapped to functional use cases (know it wasn't beforehand, but it caught my attention hah). Generally makes it easier to understand state changes & why they're happening
* feat: dedupe reused code * chore: remove deadcode * chore: lock and loaded * chore: bump
* Fix: incorrect route error on factory vault deposit (#1055) * fix error with factory vault showing unavailable route on deposit * fix issue in review --------- Co-authored-by: Ross <ross@yearn.finance> * add automatic deposit pop-up --------- Co-authored-by: Ross <ross@yearn.finance>
* Fix: incorrect route error on factory vault deposit (#1055) * fix error with factory vault showing unavailable route on deposit * fix issue in review --------- Co-authored-by: Ross <ross@yearn.finance> * remove kong to ydaemon shape mapping --------- Co-authored-by: Ross <ross@yearn.finance>
0d25e1c to
7a639ba
Compare
* fix breadcrumbs * styling and lint * fix spacing --------- Co-authored-by: Ross <ross@yearn.finance>
* Fix: improve number display * chore: fix linting --------- Co-authored-by: 0xeye <97349378+0xeye@users.noreply.github.com>
|
I'm really looking forward to having this! |
|
this is incorporated in #1093 |

Summary
This branch improves vault ingestion, holdings detection, and holdings valuation consistency across portfolio and vault list flows.
Key outcome: user-held vault positions are now reliably surfaced even when they are not in the main catalog or not tagged as Yearn (including retired/migrated/staking-edge cases), and USD holdings values are computed from a single shared path.
Commits Included
How To Test
Automated
Manual