Skip to content

Conversation

@in19farkt
Copy link

No description provided.

@deHB6
Copy link
Contributor

deHB6 commented Mar 20, 2025

Closing as we already have Morpho integration code and have added points support for eUSDe collateral in this market

@deHB6 deHB6 closed this Mar 20, 2025
@in19farkt
Copy link
Author

Oh, great! I didn't find it in this repository and wrote it myself 😅

@deHB6 what about the universal Erc4626SupplyIntegration that will fit any USDe/sUSDe/eUSDe/... vault? Should I recreate the PR with just Erc4626SupplyIntegration?

@in19farkt
Copy link
Author

in19farkt commented Mar 20, 2025

@deHB6 Also, I think I found a bug in UpshiftupsUSDeIntegration. The get_block_balances function accumulates an error in balances with each call due to repeated conversion of cache balances to sUSDe

Proofs:

  1. copy sUSDe balances from cache
  2. update balances using upsUSDe values from transfers
  3. convert balances to sUSDe using the current block exchange rate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants