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

Default logic for collateral asset #320

Open
1 task
Walodja1987 opened this issue May 6, 2022 · 0 comments · May be fixed by #408
Open
1 task

Default logic for collateral asset #320

Walodja1987 opened this issue May 6, 2022 · 0 comments · May be fixed by #408
Assignees
Labels
enhancement New feature or request medium

Comments

@Walodja1987
Copy link
Collaborator

Walodja1987 commented May 6, 2022

Context

  • Add a default value for collateral asset if one exists in the whitelist. I propose: Show "DAI" if it exists. If not, try "USDC", if not try "USDT", if not just show the first collateral token in the whitelist that you find.

Note:

  • When user switches the network it should re-apply this logic, i.e. if there is no "DAI" on the newly connected chain, say, then choose the next one in the defined logic
  • If there are no whitelisted collateral tokens, then show as it shows currently (empty)

Acceptance Criteria

  • Users should always see the collateral asset populated with some default values
@Walodja1987 Walodja1987 added this to the mainnet launch milestone May 6, 2022
@Walodja1987 Walodja1987 added the enhancement New feature or request label May 7, 2022
@tarunyadav1 tarunyadav1 self-assigned this May 30, 2022
@tarunyadav1 tarunyadav1 linked a pull request Jun 1, 2022 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request medium
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants