Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
lukaspetrasek opened this issue Apr 12, 2024 · 14 comments · Fixed by #141
Closed

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

lukaspetrasek opened this issue Apr 12, 2024 · 14 comments · Fixed by #141
Assignees
Labels
easy enhancement New feature or request

Comments

@lukaspetrasek
Copy link
Collaborator

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.

@lukaspetrasek lukaspetrasek added the enhancement New feature or request label Apr 12, 2024
@lukaspetrasek lukaspetrasek changed the title Any token is allowed to be selected on the FE as collateral/debt Allow any token to be selected on the FE as collateral/debt Apr 12, 2024
@MarekHauzr
Copy link
Member

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

@khayss
Copy link

khayss commented May 22, 2024

Can I work on this issue?

@lukaspetrasek
Copy link
Collaborator Author

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.

@khayss khayss removed their assignment May 23, 2024
@everest275
Copy link

Can I get this issue?

@lukaspetrasek
Copy link
Collaborator Author

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
Copy link

everest275 commented May 23, 2024 via email

@lukaspetrasek
Copy link
Collaborator Author

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

@lukaspetrasek
Copy link
Collaborator Author

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

@TEMHITHORPHE
Copy link

TEMHITHORPHE commented May 29, 2024

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
Copy link
Collaborator Author

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
Copy link
Collaborator Author

Hi @everest275 , any progress on this?

@lukaspetrasek
Copy link
Collaborator Author

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

@adrianvrj
Copy link
Contributor

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
Copy link
Collaborator Author

Hi @adrianvrj , sure! Assigning you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
easy enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants