decentdao / decent-interface

Your Safe, Superpowered
https://app.fractalframework.xyz
MIT License
12 stars 6 forks source link

Treasury Page - Show Safe's DeFi positions from Moralis #2050

Open mudrila opened 1 week ago

mudrila commented 1 week ago

After merging Moralis API implementation for fetching token & nft balances https://github.com/decentdao/decent-interface/pull/2027 and then merging https://github.com/decentdao/decent-interface/pull/1977 we might consider showing DeFi positions that Safe has via fetching them through Moralis API.

Some docs are living here:

https://docs.moralis.io/web3-data-api/evm/defi-protocols-and-chains https://docs.moralis.io/web3-data-api/evm/reference/get-defi-summary https://docs.moralis.io/web3-data-api/evm/reference/get-defi-positions-summary

mudrila commented 1 week ago

@tomstuart123 For covering sDAI case - we need this feature implemented We might need some design input, but from engineering prospective - we should be good to start on this feature right away. We can start with just summary of protocols held by Safe(USD value, amount, protocol name) without deep details.

mudrila commented 1 week ago

cc @adamgall

tomstuart123 commented 6 days ago

Only just saw this. Great thinking ahead for shutter @mudrila

Recommend we wait until further along with sablier + hats then pick this up specifically with sDAI in mind initially.