mars-v2-frontend/hooks
Gustavo Mauricio 56bfea8ed0
Update account stats on pending action (#51)
* feat: update account stats on pending action

* lift repay amount with buffer calculation to repay modal

* refactor navigation component to properly format account stats

* update repay funds hook using credit manager client

* consider market liquidity when calculating max withdraw amount

* refactor useMaxBorrowAmount hook to be consistent with withdraw

* format

* remove duplicated import statements
2022-11-09 13:47:36 +01:00
..
mutations Update account stats on pending action (#51) 2022-11-09 13:47:36 +01:00
useAccountStats.tsx Update account stats on pending action (#51) 2022-11-09 13:47:36 +01:00
useAllBalances.tsx Linter and prettier adjustments (#50) 2022-11-09 10:04:06 +01:00
useAllowedCoins.tsx Linter and prettier adjustments (#50) 2022-11-09 10:04:06 +01:00
useCalculateMaxBorrowAmount.tsx Update account stats on pending action (#51) 2022-11-09 13:47:36 +01:00
useCalculateMaxWithdrawAmount.tsx Update account stats on pending action (#51) 2022-11-09 13:47:36 +01:00
useCreditAccountPositions.tsx Linter and prettier adjustments (#50) 2022-11-09 10:04:06 +01:00
useCreditAccounts.tsx Linter and prettier adjustments (#50) 2022-11-09 10:04:06 +01:00
useMarkets.tsx Linter and prettier adjustments (#50) 2022-11-09 10:04:06 +01:00
useRedbankBalances.tsx Linter and prettier adjustments (#50) 2022-11-09 10:04:06 +01:00
useTokenBalance.tsx Linter and prettier adjustments (#50) 2022-11-09 10:04:06 +01:00
useTokenPrices.tsx Linter and prettier adjustments (#50) 2022-11-09 10:04:06 +01:00