You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
In the strategies page, when a strategy hits 100% of TVL limit, withdraws are not working. Ideally, just deposit shouldn't work, withdraws should still be functional.
To Reproduce
Steps to reproduce the behavior:
Reduce the strategy TVL limit in strategies.atoms.ts to below current TVL value
Try withdrawing, you will not be able to withdraw. Max and input button are disabled
Expected behavior
If user as deposits, withdraw should still function. User should be able to use max and enter input amount to withdraw
Screenshots or GIFs
The text was updated successfully, but these errors were encountered:
@akiraonstarknet Can I please work on this?
To fix the bug, I will adjust the logic in strategies.atoms.ts so that the withdrawal button remains enabled even when the TVL limit is reached. Ensure the condition only affects deposits, not withdrawals. Then I will Test to confirm withdrawals work while deposits are disabled.
Describe the bug
In the strategies page, when a strategy hits 100% of TVL limit, withdraws are not working. Ideally, just deposit shouldn't work, withdraws should still be functional.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
If user as deposits, withdraw should still function. User should be able to use max and enter input amount to withdraw
Screenshots or GIFs
The text was updated successfully, but these errors were encountered: