* MP-3442: set autolend to true by default
* MP-3442: remember margin setting and toggle it on by default
* MP-3442: add balances to AssetSelector
* MP-3442: close assetOverlay on clickAway
* fix: fixed TradeModule z-index
* MP-3442: set priority of balance and cap
* fix: overlayState
* fix: adjusted to comments
* fix: added close button to accountDetails
* fix: fixed the AccountList to load async
* fix: fixed the heart size on the AccountStats
* fix: added AccountDetails loading state
* feat: added migration banner
* fix: fixed tests
* fix: margin trading fix
* fix: accountsBalancesTable fix
* fix: show detailed APR where we have the space
* fix: smallerThan not biggerThan
* fix: be more precise on the decimals
* tidy: refactor
* 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
* fix vault test and vaulttable pos value
* fix vault test and vaulttable pos value updated
* Scope lend for deposit to action only
* fix build error
* fix build error
* 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>
* 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>
* feat: update contract addresses and types
* feat: add account type
* feat: comment out old contract vaults
* tests: disable vaults test suite
* instantiate contract-specfiic clients
* fix build
* rebase and fix test
---------
Co-authored-by: Bob van der Helm <34470358+bobthebuidlr@users.noreply.github.com>