CarmineOptions / derisk-research

MIT License
4 stars 14 forks source link

Allow any token to be selected on the FE as collateral/debt #65

Closed lukaspetrasek closed 1 day ago

lukaspetrasek commented 3 months ago

The dashboard at https://starknet.derisk.carmine.finance currently allows user to select predefined collateral token - debt token pairs. Allow users to select any relevant token as the collateral token and any relevant token as the debt token.

MarekHauzr commented 3 months ago

The relevant tokens are those that are allowed by lending protocols to be used as collateral or borrowed.

khayss commented 1 month ago

Can I work on this issue?

lukaspetrasek commented 1 month ago

Okay, assigning you @khayss 👍🏼

@khayss Let me know if everything is clear and whether you'll be working on the issue. If you have any questions, please ask here. What is you TG handler please? 🙏🏼

Consider joining our TG group. See also our contributor guidelines.

everest275 commented 1 month ago

Can I get this issue?

lukaspetrasek commented 1 month ago

Sure, assigning you @everest275 👍🏼

@everest275 Let me know if everything is clear and whether you'll be working on the issue. If you have any questions, please ask here. What is you TG handler please? 🙏🏼

Consider joining our TG group. See also our contributor guidelines.

everest275 commented 1 month ago

My TG handler is @everest275. This is my first time as a colaborator in open source but got a fullstack job for 1 year so I'm ready.

Can I ask any question about the proyect here?

Obtener Outlook para Androidhttps://aka.ms/AAb9ysg


From: lukaspetrasek @.> Sent: Thursday, May 23, 2024 4:11:46 PM To: CarmineOptions/derisk-research @.> Cc: Everest Josue Aguilar Campos @.>; Assign @.> Subject: Re: [CarmineOptions/derisk-research] Allow any token to be selected on the FE as collateral/debt (Issue #65)

Sure, assigning you @everest275https://github.com/everest275 👍🏼

@everest275https://github.com/everest275 Let me know if everything is clear and whether you'll be working on the issue. If you have any questions, please ask here. What is you TG handler please? 🙏🏼

Consider joining our TG grouphttps://t.me/derisk_dev. See also our contributor guidelineshttps://github.com/CarmineOptions/derisk-research/blob/master/CONTRIBUTING.md.

— Reply to this email directly, view it on GitHubhttps://github.com/CarmineOptions/derisk-research/issues/65#issuecomment-2128108966, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A2KSSK4T7362UW7KW6YEBZ3ZDZSSFAVCNFSM6AAAAABGD2SQJOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRYGEYDQOJWGY. You are receiving this because you were assigned.Message ID: @.***>

lukaspetrasek commented 1 month ago

Hi, yes, ask here pls. Or on TG if needed.

lukaspetrasek commented 1 month ago

Hi @everest275 , is there any progress on this? Don't see any open PR yet.

TEMHITHORPHE commented 1 month ago

I'm> The relevant tokens are those that are allowed by lending protocols to be used as collateral or borrowed.

Is there any particular place this information is listed? or referenced in code?

lukaspetrasek commented 1 month ago

Not directly. The list of tokens is data-driven. For example, here you can find the all loans under the Hashstack V0 lending protocol: https://storage.googleapis.com/derisk-persistent-state/hashstack_v0_data/loans.parquet. You can infer it from the collateral and debt.

To obtain the loans for other protocols, just change the folder in the address, e.g. https://storage.googleapis.com/derisk-persistent-state/zklend_data/loans.parquet for zkLend.

lukaspetrasek commented 1 month ago

Hi @everest275 , any progress on this?

lukaspetrasek commented 1 month ago

Hi @everest275 , I have to unassign you, because you're not progressing.

adrianvrj commented 1 month ago

Hi @lukaspetrasek can I work on this? I already have some experience with the project and I think I could solve this real quick!

lukaspetrasek commented 1 month ago

Hi @adrianvrj , sure! Assigning you.