Aave swap allow wrong swap
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 536
- Forks
- 496
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 9
Description
Describe the bug
Aave swap module propose some swap that must not be available. Example swaping sDAI collateral to EURe.
If asset is disabled as collateral the module must not display then or at least the swap bouton must be disabled
To Reproduce
Steps to reproduce the behavior:
Try to swap current collateral that back a loan for an asset who have LTV to 0
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the Aave swap module and reproduce a swap from collateral backing a loan into an asset with LTV 0, such as sDAI to EURe. Trace how eligible assets and the swap button are determined; done means disabled-collateral swaps are not offered or cannot be initiated.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100