* fix: fixed the deposit cap and total supplied / utilization rate
* fix: fixed build
* fix: fixed build
* fix: avoid deposit cap usage over 100%
* refactor market data apy/ltv
* fix: fixed the withdraw from vaults modal
* tidy: refactor
---------
Co-authored-by: Bob van der Helm <34470358+bobthebuidlr@users.noreply.github.com>
* ♻️ Refactor borrowRate to be in full numbers
* ✨Enter into HLS Staking strategy
* ✨HLS Staking deposited table + Portfolio pages
* tidy: refactored the masks for HealthBar
---------
Co-authored-by: Linkie Link <linkielink.dev@gmail.com>
* 🌟 Add HLS Vault Modal
* 🛠️ Fix failing build
* fix: keep the selected accountId if its present int the url (#588)
* Link changelog (#589)
* env: update RPC endpoint
* feat: added changelog link to the footer version
* Refactor balances table (#590)
* env: update env.example after last sync
* tidy: refactored AccountBalancesTable
* fix: updated isCard to hideCard
* fix: do update the health on sliding the margin back to 0 (#593)
* fix: disable highlighting on non-expandable rows (#592)
* Healthfactor adjustments (#594)
* fix: do update the health on sliding the margin back to 0
* MP-3531: first updates on the health bars
* fix: added exponential function for health percentage
* fix: build fix
* tidy: refactor
* tidy: cleanup
* feat: added new curve
* fix: base set to 3.5
* env: version update
* 🌟 Add HLS Vault Modal
* Use `DisplayCurrency` in subtitle header
* 🔥Remove redundant component
---------
Co-authored-by: Linkie Link <linkielink.dev@gmail.com>
* MP-3391: make sure locked and unlocking is taken into account
* fix: accounts was missing unlocked and locked value
* fix: fixed small layout bug
* fix: rebuild the addValueToVaults function
* tidy: refactor
* fix: unwrapped BN on BigNumber values from
* fix: removed the refreshInterval from accounts
* feat: added simulateTrade
* MP-3330: added vault positions to the useUpdated Account
* tidy: format
* tidy: refactor
* Health indicator change preview (#410)
* fix: adjusted the AccountDetail width
* feat: added health indicator updates
* Update src/components/Account/AccountDetails.tsx
Co-authored-by: Yusuf Seyrek <yusufseyrek@users.noreply.github.com>
* fix: created a function for the back- and foregroundColors
* fix: updated tailwind conf
* fix: fixed the useHealthColorAndLabel function
---------
Co-authored-by: Yusuf Seyrek <yusufseyrek@users.noreply.github.com>
Co-authored-by: Bob van der Helm <34470358+bobthebuidlr@users.noreply.github.com>
* fix: added updatedAccount to AccountSummary (#414)
Co-authored-by: Bob van der Helm <34470358+bobthebuidlr@users.noreply.github.com>
* fix: added a new way of calulating values to vaults
* fix: refactored the displayCurrency
* fix: fixed the subtitles, to not nest <p> tags
* MP-3330: added comparison to the vault mechanics
* fix: fixed tests
* fix: updated the borrow slider percentage on vaults
* fix: addressed change request
* update displayValue stuff
* fixed wrong display conversions
* fix: fixed the display price and renamed getDepositsAndLendsAfterCoinSpent
* fix test and update DisplayCurrency
* tidy: refactor
* tidy: rename method
---------
Co-authored-by: Yusuf Seyrek <yusufseyrek@users.noreply.github.com>
Co-authored-by: Bob van der Helm <34470358+bobthebuidlr@users.noreply.github.com>
* Compare Accounts via useUpdatedAccount for withdraw
* fix: onChangeAsset fixed
* Mp 3250 update health bars (#403)
* [Story] Add HealthBar
* Update tooltip
* Fixes after rebase
* Fixes after rebase
* Fixes after rebase
* Finish health bar + gauge
* Finish health bar + gauge
* Finish health bar + gauge
* feat: added an svg mask to the HealthBar
* fix: added transitions
* tidy: value sanity
* fix: fixed the AccountStats
* tidy: design update
* fix: div adjustments
* update healthguagepercentage function
* make tooltiparrow responsive
---------
Co-authored-by: Linkie Link <linkielink.dev@gmail.com>
* Compare Accounts via useUpdatedAccount for withdraw
* Mp 3250 update health bars (#403)
* [Story] Add HealthBar
* Update tooltip
* Fixes after rebase
* Fixes after rebase
* Fixes after rebase
* Finish health bar + gauge
* Finish health bar + gauge
* Finish health bar + gauge
* feat: added an svg mask to the HealthBar
* fix: added transitions
* tidy: value sanity
* fix: fixed the AccountStats
* tidy: design update
* fix: div adjustments
* update healthguagepercentage function
* make tooltiparrow responsive
---------
Co-authored-by: Linkie Link <linkielink.dev@gmail.com>
* Mp 3250 update health bars (#403)
* [Story] Add HealthBar
* Update tooltip
* Fixes after rebase
* Fixes after rebase
* Fixes after rebase
* Finish health bar + gauge
* Finish health bar + gauge
* Finish health bar + gauge
* feat: added an svg mask to the HealthBar
* fix: added transitions
* tidy: value sanity
* fix: fixed the AccountStats
* tidy: design update
* fix: div adjustments
* update healthguagepercentage function
* make tooltiparrow responsive
---------
Co-authored-by: Linkie Link <linkielink.dev@gmail.com>
* fix: merge error
---------
Co-authored-by: Yusuf Seyrek <yusuf@delphilabs.io>
Co-authored-by: Bob van der Helm <34470358+bobthebuidlr@users.noreply.github.com>
* [Story] Add HealthBar
* Update tooltip
* Fixes after rebase
* Fixes after rebase
* Fixes after rebase
* Finish health bar + gauge
* Finish health bar + gauge
* Finish health bar + gauge
* feat: added an svg mask to the HealthBar
* fix: added transitions
* tidy: value sanity
* fix: fixed the AccountStats
* tidy: design update
* fix: div adjustments
* update healthguagepercentage function
* make tooltiparrow responsive
---------
Co-authored-by: Linkie Link <linkielink.dev@gmail.com>
* [bugfix] fix leverage and implement buffer for health
* [bugfix] properly remove council page from nav
* [bugfix] ensure integer values for HC
* [bugfix] infinite rerender withdraw + negative values
* MP-2801: fund new credit account
* tidy: cleanup
* tidy: refactor
* feat: replaced all possible BN(0) & BN(1) occurrences with constants
* fix: adjusted according to feedback
* fix: adjustments according to feedback
* fix: PR comment updates
* fix: reduced complexity
* feat: animated the wallet balance for the demo
* fix: enhanced wallet connection to select first account
* fix: adjusted the calculations and added USD as displayCurrency
* fix: adjusted according to feedback
* feat: added TFM bridge
* fix: changed forceFetchPrice
---------
Co-authored-by: Yusuf Seyrek <yusuf@delphilabs.io>
* MP-2681: fixed and simplified fund and withdraw
;.
:
* MP-2352: created the CreditAccountComposition
* fix: adjusted according to feedback
* fix: fixed funding account max
* fix: fix portfolio
* tidy: refactor text
* tidy: refactor text
* fix display of vaults table
* feat: added unstyled select
* tidy: useToggle
* tidy: useToggle
* add vaults to types
* MP-2344: first unstyled version of Select
* fix: fixed the build
* MP-2344: progress on the Select
* MP-2344: almost finished the Select
* implement basic vault modal (no logic)
* 🍱 max + displaycur for token input
* Convert to BN for TokenInputs
* env: update wallet-connector
* fix: fixed build errors and relative imports
* fix: updated TokenInput
* tidy: format
* fix: BN instead of new BigNumber
---------
Co-authored-by: Linkie Link <linkielink.dev@gmail.com>
* MP-2344: first draft for the fund account flow
* tidy: refactor
* fix: fixed the callback functions
* fix: fixed the toast message for funding
* fix: some logic fixes
* feat: enabled closing of “fund account”
* fix: z-1 to isolate
use isolate to create a stacking context
* tidy: deleted icons
* MP-2344: updated the tooltip
* MP-2344: new create and funding logic
* MP-2344: finished AccountList UI
* tidy: svg icon updates
* chore: updated dependencies
* feat: convert inputValues to amounts and amounts to inputValues
* fix: build fix
* fix: fixed imports
* fix: pr updated
* fix: fixed the SWR queries to not override themselves
* tidy: refactor
* feat: added TokenInputWithSlider
* tidy: refactor TokenInputWithSlider
* feat: preparations for the accountBalance calculations
* fix: removed formatCurrency from store
* feat: added global Coin type
* tidy: refactor delete and create credit account
* add useCallback to FundAccount
* update api + swr
* refactor naming, ssr accounts menu
* wip: added static params and href to DesktopNavigation
* fix: added TODO statement
* add middleware to get url
* feat: added scrolling to the active account
* tidy: UX improvement on the accounts list
* fix: updated the page params
* fix: fixed the navigation
* fix: fixed the getRouteParams
* fix: some logic updates
* fix: fixed the accountMenu view
* Keep page when selecting new account
* fix: fixed useParams
* fix: navigation update
* fix pr comments
* fixed build
---------
Co-authored-by: Bob van der Helm <34470358+bobthebuidlr@users.noreply.github.com>