This pull request addresses an issue with the DebtCard selectors
Problems:
In the Repay component, when switching between alUSD & alETH debt, the default available currency for repayment does not change. This issue is on all networks
In the Liquidation component, while connected to arbitrum, if the user tries to select the alETH DebtCard an error is thrown and the UI becomes unresponsive to inputs. This issue only exist on arbitrum network
Solutions
The first commit fixes a balance comparison issue in the Repay.svelte file. This allows the default currency to change even when user has a 0 balance in their wallet of the repayment currencies
The second commit adds a staking pool address for alETH arbitrum. This solves the error by adding the alETH token to the balancesStore on arbitrum
This pull request addresses an issue with the DebtCard selectors
Problems:
In the Repay component, when switching between alUSD & alETH debt, the default available currency for repayment does not change. This issue is on all networks
In the Liquidation component, while connected to arbitrum, if the user tries to select the alETH DebtCard an error is thrown and the UI becomes unresponsive to inputs. This issue only exist on arbitrum network
Solutions
The first commit fixes a balance comparison issue in the Repay.svelte file. This allows the default currency to change even when user has a 0 balance in their wallet of the repayment currencies
The second commit adds a staking pool address for alETH arbitrum. This solves the error by adding the alETH token to the balancesStore on arbitrum