-
Notifications
You must be signed in to change notification settings - Fork 379
feat(apps: morpho): Morpho Blue support #3186
Conversation
feat(morpho-blue): first iteration
Studio will be shutdown today in favor of codeless app integrations... meaning I'll have to do the implementation. It will be much faster since you've already done much of the work 🚀
Thanks for your contribution ! |
Hey, precisely, The other Let me know if there is anything I can do on my side, cheers! |
I've done the implementation on our side I'll add the missing underlying in a moment and the missing markets will automatically populate as soon as app tokens are implemented. Do you mind if I close the PR ? Here's the official announcement about Studio https://twitter.com/zapper_fi/status/1750232224673259913 |
Thanks @wpoulin |
USDC is showing up because of
tokens[0] is ⬇️ which is USDC and ETH for the current markets
|
Description
Checklist
How to test?
Test it by running
pnpm build && pnpm start
and go there:
http://localhost:5001/apps/morpho/positions?network=ethereum&groupIds%5B%5D=morpho-blue
Important note:
https://etherscan.io/address/0xcA2A7068e551d5C4482eb34880b194E4b945712F
Thus the market with the id:
0x495130878b7d2f1391e21589a8bcaef22cbc7e1fbbd6866127193b3cc239d8b1
(more info here: https://docs.morpho.org/addresses#morpho-blue-whitelisted-markets
is not supported)
collateral
computation can't be done easily onchain, thus the subgraph fetch is forced hereOne should see something like this:
Thanks!