mars-v2-frontend/src/hooks
Bob van der Helm 5392a4717c
Mp 3245 usehlsvaults hook (#541)
*  routing and pages for HLS

*  create hooks for fetching HLS vaults and Strategies

* Share accounts (#539)

* feat: do not redirect to wallet on portfolio page

* fix: use connected wallet for AccountMenu

* fix: fixed ghost AccountDetails

* feat: created ShareBar and share functionality

* fix: don’t show shareBar if no address is present

* fix: stupid 'next/navigation'

* tidy: format

* fix: fixed tests

*  routing and pages for HLS (#538)

* 🐛 use useAccountIds

* fix: fixed the tests

* fix: accountIds is now a suspense

---------

Co-authored-by: Bob van der Helm <34470358+bobthebuidlr@users.noreply.github.com>

* 🐛 fix build

---------

Co-authored-by: Linkie Link <linkielink.dev@gmail.com>
2023-10-16 10:45:57 +02:00
..
broadcast Pre migration adjustments (#506) 2023-09-25 20:17:43 +02:00
useUpdatedAccount fix: apys and aprs (#514) 2023-09-30 09:25:56 +03:00
useAccount.tsx fix: fixed accountId usage (#491) 2023-09-20 15:53:24 +02:00
useAccountId.tsx Mp 3412 (#487) 2023-09-19 15:39:14 +02:00
useAccountIds.tsx Share accounts (#539) 2023-10-13 13:49:38 +02:00
useAccounts.tsx added caching for api requests (#513) 2023-10-01 14:56:22 +02:00
useAlertDialog.ts feat: auto-lend foundation (#283) 2023-07-05 17:43:11 +03:00
useAssetIncentiveApy.ts fix(useSWR): request hooks revalidation on focus disabled (#340) 2023-08-05 11:52:11 +02:00
useAssetParams.tsx fix(useSWR): request hooks revalidation on focus disabled (#340) 2023-08-05 11:52:11 +02:00
useAssets.ts MP-2798, MP-2799, MP-2902, MP-2893, MP-2895, MP-2896, MP-2898 (#312) 2023-07-25 09:48:59 +02:00
useAutoLend.ts feat: refactored the toast responses (#442) 2023-09-11 10:35:13 +02:00
useBorrowMarketAssetsTableData.ts Mp 3412 (#487) 2023-09-19 15:39:14 +02:00
useCurrentAccount.tsx Mp 3412 (#487) 2023-09-19 15:39:14 +02:00
useCurrentAccountDebts.ts overall cleanup and refactoring + SettingsModal (#286) 2023-07-11 21:01:14 +02:00
useCurrentAccountDeposits.ts feat: lending page and tables (#248) 2023-06-15 15:34:12 +03:00
useCurrentAccountLends.ts feat: lend and withdraw modals (#257) 2023-06-23 13:30:08 +03:00
useCurrentWallet.ts MP-2798, MP-2799, MP-2902, MP-2893, MP-2895, MP-2896, MP-2898 (#312) 2023-07-25 09:48:59 +02:00
useCurrentWalletBalance.ts feat: lend and withdraw modals (#257) 2023-06-23 13:30:08 +03:00
useDepositedVaults.ts fix(useSWR): request hooks revalidation on focus disabled (#340) 2023-08-05 11:52:11 +02:00
useDepositEnabledMarkets.ts feat: lending page and tables (#248) 2023-06-15 15:34:12 +03:00
useDisplayAsset.tsx Mp 3270 deposit cap messages (#416) 2023-09-04 09:46:13 +02:00
useDisplayCurrencyPrice.ts feat: replaced all possible BN(0) & BN(1) occurrences with constants (#320) 2023-07-26 12:19:19 +03:00
useFilteredAssets.ts Mp 2713 asset selector (#275) 2023-07-03 09:39:34 +02:00
useHealthColorAndLabel.ts Mp 3443 sage feedback pre mars v 2 credit manager (#522) 2023-10-03 15:54:11 +02:00
useHealthComputer.tsx vaults: multiple bug fixes (#493) 2023-09-20 19:05:17 +02:00
useHLSStakingAssets.ts Mp 3245 usehlsvaults hook (#541) 2023-10-16 10:45:57 +02:00
useHLSVaults.ts Mp 3245 usehlsvaults hook (#541) 2023-10-16 10:45:57 +02:00
useIsOpenArray.tsx WIP: Mp 2542 vault deposit (#216) 2023-05-23 15:10:26 +02:00
useLendAndReclaimModal.ts feat: lend and withdraw modals (#257) 2023-06-23 13:30:08 +03:00
useLendingMarketAssetsTableData.ts Mp 3412 (#487) 2023-09-19 15:39:14 +02:00
useLocalStorage.ts fix: fixed the loading issue by adding a suspense (#510) 2023-09-27 14:57:10 +02:00
useMarketAssets.ts fix(useSWR): request hooks revalidation on focus disabled (#340) 2023-08-05 11:52:11 +02:00
useMarketBorrowings.tsx fix(useSWR): request hooks revalidation on focus disabled (#340) 2023-08-05 11:52:11 +02:00
useMarketDeposits.ts fix(useSWR): request hooks revalidation on focus disabled (#340) 2023-08-05 11:52:11 +02:00
useMarketLiquidities.ts fix(useSWR): request hooks revalidation on focus disabled (#340) 2023-08-05 11:52:11 +02:00
usePrice.tsx Mp 2546 borrow asset modal (#255) 2023-06-15 13:00:46 +02:00
usePrices.tsx Mp 3105 build rewards center for v 2 (#389) 2023-08-21 17:31:47 +02:00
useSwapRoute.ts fix(useSWR): request hooks revalidation on focus disabled (#340) 2023-08-05 11:52:11 +02:00
useToggle.tsx Mp 2713 asset selector (#275) 2023-07-03 09:39:34 +02:00
useTransactionStore.ts feat: refactored the toast responses (#442) 2023-09-11 10:35:13 +02:00
useUnclaimedRewards.tsx fix: fixed the rewards center (#524) 2023-10-03 15:54:22 +02:00
useVaultConfigs.tsx fix(useSWR): request hooks revalidation on focus disabled (#340) 2023-08-05 11:52:11 +02:00
useVaults.tsx Mp 3330 compare accounts via use updated account for vaults (#415) 2023-09-05 09:25:57 +02:00
useWalletBalances.tsx feat: lend and withdraw modals (#257) 2023-06-23 13:30:08 +03:00