APR hotfix (#778)
* Build(deps): bump @splinetool/runtime from 0.9.477 to 0.9.482 (#544)
Bumps @splinetool/runtime from 0.9.477 to 0.9.482.
---
updated-dependencies:
- dependency-name: "@splinetool/runtime"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Build(deps-dev): bump @types/node from 20.7.0 to 20.8.6 (#548)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.7.0 to 20.8.6.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Build(deps): bump @sentry/nextjs from 7.73.0 to 7.74.0 (#545)
Bumps [@sentry/nextjs](https://github.com/getsentry/sentry-javascript) from 7.73.0 to 7.74.0.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/7.73.0...7.74.0)
---
updated-dependencies:
- dependency-name: "@sentry/nextjs"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* 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>
* Mp 2837 pre commit hook (#549)
* MP-2837: added husys and lint-staged
* MP-2837: enabled lint-staged
* MP-2837: setup .prettierignore
* MP-2837: setup .prettierignore
* MP-3483: all Depo. Caps are now % filled (#551)
* MP-3487: changed the copy of the bridging intro screen (#553)
* MP-3482: replaced Max LTV with Max. Leverage (#550)
* added hatched health masks (#552)
* added hatched health masks
* Mp 2837 pre commit hook (#549)
* MP-2837: added husys and lint-staged
* MP-2837: enabled lint-staged
* MP-2837: setup .prettierignore
* MP-2837: setup .prettierignore
* MP-3483: all Depo. Caps are now % filled (#551)
* MP-3487: changed the copy of the bridging intro screen (#553)
* MP-3482: replaced Max LTV with Max. Leverage (#550)
* sneak: change filled to used
* fix: fixed the foregroundColor on increase and my ocd
* ♻️ refactor table (Farm) (#555)
* ♻️ refactor table (Farm)
* 🧽 clean up PR
* 🧽 clean up PR
* Build(deps): bump @babel/traverse from 7.21.2 to 7.23.2 (#554)
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.21.2 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)
---
updated-dependencies:
- dependency-name: "@babel/traverse"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix: rename withdraw to unlend (#557)
* Full refactor tables (#556)
* 📈 Improve structure generic Table component
* ♻️ Update Borrow Table and overall structure of Table comp
* ♻️ Update Lend table
* ✨ add loading state for lend table
* 🧪 Fix unit tests
* ✨ Add available HLS Vaults page (#558)
* Table updates (#559)
* fix: adjusted table colors and hover interactions
* fix: added actionButtons back and changed lend to APY
* fix: build update
* tidy: fixed the CircularProgress indicators on the loading modals
* fix: relative import
* env: updated shuttle, keplr and version (#566)
* fix: fixed dust left when trying to buy max amount without leverage (#565)
* feat: added squidrouter to the bridges (#561)
* feat: added squidrouter to the bridges
* fix: copy update
* MP-3521: updated the APR calculation (#572)
* Table fixes (#563)
* fix: fixed the sorting of the tables
* fix: added sorting functions
* fix: farm sorting for deposit cap
* fix: fixed Row types
* Build(deps-dev): bump prettier-plugin-tailwindcss from 0.5.5 to 0.5.6 (#567)
Bumps [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) from 0.5.5 to 0.5.6.
- [Release notes](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.5.5...v0.5.6)
---
updated-dependencies:
- dependency-name: prettier-plugin-tailwindcss
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Build(deps): bump react-router-dom from 6.16.0 to 6.17.0 (#571)
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.16.0 to 6.17.0.
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.17.0/packages/react-router-dom)
---
updated-dependencies:
- dependency-name: react-router-dom
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* ✨ HLS: Add info modal (#573)
* MP-3484: remember summaryAccount tabs and auto expand both (#574)
* User feedback (#575)
* feat: added debt indicator and adjusted the borrowModal
* fix: wallet interaction fix
* Add usdc noble (#576)
* env: added USDC.n
* env: updated usdc noble variables
* fix: fixed the pool on USDC for devnet purposes
* 🐛 Fix initial status of chart (#577)
* Mp 3480 persist last trading pair (#578)
* MP-3480: remove favourite asset and prepare localStore
* env: updated shuttle, keplr and version (#566)
* fix: fixed dust left when trying to buy max amount without leverage (#565)
* feat: added squidrouter to the bridges (#561)
* feat: added squidrouter to the bridges
* fix: copy update
* MP-3521: updated the APR calculation (#572)
* Table fixes (#563)
* fix: fixed the sorting of the tables
* fix: added sorting functions
* fix: farm sorting for deposit cap
* fix: fixed Row types
* Build(deps-dev): bump prettier-plugin-tailwindcss from 0.5.5 to 0.5.6 (#567)
Bumps [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) from 0.5.5 to 0.5.6.
- [Release notes](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.5.5...v0.5.6)
---
updated-dependencies:
- dependency-name: prettier-plugin-tailwindcss
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Build(deps): bump react-router-dom from 6.16.0 to 6.17.0 (#571)
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.16.0 to 6.17.0.
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.17.0/packages/react-router-dom)
---
updated-dependencies:
- dependency-name: react-router-dom
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* ✨ HLS: Add info modal (#573)
* MP-3484: remember summaryAccount tabs and auto expand both (#574)
* User feedback (#575)
* feat: added debt indicator and adjusted the borrowModal
* fix: wallet interaction fix
* Add usdc noble (#576)
* env: added USDC.n
* env: updated usdc noble variables
* fix: fixed the pool on USDC for devnet purposes
* 🐛 Fix initial status of chart (#577)
* MP-3480: persist trading pair
* fix: updated according to feedback
* fix: remove pair from Trading View header
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Bob van der Helm <34470358+bobthebuidlr@users.noreply.github.com>
* post update hotfixes (#580)
* fix: fixed showing 0 on farm page if no desposited vaults
* fix: chnage USDC’s name to Noble
* v2.0.1 (#579) (#582)
* Build(deps): bump @splinetool/runtime from 0.9.477 to 0.9.482 (#544)
Bumps @splinetool/runtime from 0.9.477 to 0.9.482.
---
updated-dependencies:
- dependency-name: "@splinetool/runtime"
dependency-type: direct:production
update-type: version-update:semver-patch
...
* Build(deps-dev): bump @types/node from 20.7.0 to 20.8.6 (#548)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.7.0 to 20.8.6.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-minor
...
* Build(deps): bump @sentry/nextjs from 7.73.0 to 7.74.0 (#545)
Bumps [@sentry/nextjs](https://github.com/getsentry/sentry-javascript) from 7.73.0 to 7.74.0.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/7.73.0...7.74.0)
---
updated-dependencies:
- dependency-name: "@sentry/nextjs"
dependency-type: direct:production
update-type: version-update:semver-minor
...
* 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
---------
* 🐛 fix build
---------
* Mp 2837 pre commit hook (#549)
* MP-2837: added husys and lint-staged
* MP-2837: enabled lint-staged
* MP-2837: setup .prettierignore
* MP-2837: setup .prettierignore
* MP-3483: all Depo. Caps are now % filled (#551)
* MP-3487: changed the copy of the bridging intro screen (#553)
* MP-3482: replaced Max LTV with Max. Leverage (#550)
* added hatched health masks (#552)
* added hatched health masks
* Mp 2837 pre commit hook (#549)
* MP-2837: added husys and lint-staged
* MP-2837: enabled lint-staged
* MP-2837: setup .prettierignore
* MP-2837: setup .prettierignore
* MP-3483: all Depo. Caps are now % filled (#551)
* MP-3487: changed the copy of the bridging intro screen (#553)
* MP-3482: replaced Max LTV with Max. Leverage (#550)
* sneak: change filled to used
* fix: fixed the foregroundColor on increase and my ocd
* ♻️ refactor table (Farm) (#555)
* ♻️ refactor table (Farm)
* 🧽 clean up PR
* 🧽 clean up PR
* Build(deps): bump @babel/traverse from 7.21.2 to 7.23.2 (#554)
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.21.2 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)
---
updated-dependencies:
- dependency-name: "@babel/traverse"
dependency-type: indirect
...
* fix: rename withdraw to unlend (#557)
* Full refactor tables (#556)
* 📈 Improve structure generic Table component
* ♻️ Update Borrow Table and overall structure of Table comp
* ♻️ Update Lend table
* ✨ add loading state for lend table
* 🧪 Fix unit tests
* ✨ Add available HLS Vaults page (#558)
* Table updates (#559)
* fix: adjusted table colors and hover interactions
* fix: added actionButtons back and changed lend to APY
* fix: build update
* tidy: fixed the CircularProgress indicators on the loading modals
* fix: relative import
* env: updated shuttle, keplr and version (#566)
* fix: fixed dust left when trying to buy max amount without leverage (#565)
* feat: added squidrouter to the bridges (#561)
* feat: added squidrouter to the bridges
* fix: copy update
* MP-3521: updated the APR calculation (#572)
* Table fixes (#563)
* fix: fixed the sorting of the tables
* fix: added sorting functions
* fix: farm sorting for deposit cap
* fix: fixed Row types
* Build(deps-dev): bump prettier-plugin-tailwindcss from 0.5.5 to 0.5.6 (#567)
Bumps [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) from 0.5.5 to 0.5.6.
- [Release notes](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.5.5...v0.5.6)
---
updated-dependencies:
- dependency-name: prettier-plugin-tailwindcss
dependency-type: direct:development
update-type: version-update:semver-patch
...
* Build(deps): bump react-router-dom from 6.16.0 to 6.17.0 (#571)
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.16.0 to 6.17.0.
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.17.0/packages/react-router-dom)
---
updated-dependencies:
- dependency-name: react-router-dom
dependency-type: direct:production
update-type: version-update:semver-minor
...
* ✨ HLS: Add info modal (#573)
* MP-3484: remember summaryAccount tabs and auto expand both (#574)
* User feedback (#575)
* feat: added debt indicator and adjusted the borrowModal
* fix: wallet interaction fix
* Add usdc noble (#576)
* env: added USDC.n
* env: updated usdc noble variables
* fix: fixed the pool on USDC for devnet purposes
* 🐛 Fix initial status of chart (#577)
* Mp 3480 persist last trading pair (#578)
* MP-3480: remove favourite asset and prepare localStore
* env: updated shuttle, keplr and version (#566)
* fix: fixed dust left when trying to buy max amount without leverage (#565)
* feat: added squidrouter to the bridges (#561)
* feat: added squidrouter to the bridges
* fix: copy update
* MP-3521: updated the APR calculation (#572)
* Table fixes (#563)
* fix: fixed the sorting of the tables
* fix: added sorting functions
* fix: farm sorting for deposit cap
* fix: fixed Row types
* Build(deps-dev): bump prettier-plugin-tailwindcss from 0.5.5 to 0.5.6 (#567)
Bumps [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) from 0.5.5 to 0.5.6.
- [Release notes](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.5.5...v0.5.6)
---
updated-dependencies:
- dependency-name: prettier-plugin-tailwindcss
dependency-type: direct:development
update-type: version-update:semver-patch
...
* Build(deps): bump react-router-dom from 6.16.0 to 6.17.0 (#571)
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.16.0 to 6.17.0.
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.17.0/packages/react-router-dom)
---
updated-dependencies:
- dependency-name: react-router-dom
dependency-type: direct:production
update-type: version-update:semver-minor
...
* ✨ HLS: Add info modal (#573)
* MP-3484: remember summaryAccount tabs and auto expand both (#574)
* User feedback (#575)
* feat: added debt indicator and adjusted the borrowModal
* fix: wallet interaction fix
* Add usdc noble (#576)
* env: added USDC.n
* env: updated usdc noble variables
* fix: fixed the pool on USDC for devnet purposes
* 🐛 Fix initial status of chart (#577)
* MP-3480: persist trading pair
* fix: updated according to feedback
* fix: remove pair from Trading View header
---------
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Linkie Link <linkielink.dev@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* v2.0.1 (#579) (#583)
* Build(deps): bump @splinetool/runtime from 0.9.477 to 0.9.482 (#544)
Bumps @splinetool/runtime from 0.9.477 to 0.9.482.
---
updated-dependencies:
- dependency-name: "@splinetool/runtime"
dependency-type: direct:production
update-type: version-update:semver-patch
...
* Build(deps-dev): bump @types/node from 20.7.0 to 20.8.6 (#548)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.7.0 to 20.8.6.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-minor
...
* Build(deps): bump @sentry/nextjs from 7.73.0 to 7.74.0 (#545)
Bumps [@sentry/nextjs](https://github.com/getsentry/sentry-javascript) from 7.73.0 to 7.74.0.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/7.73.0...7.74.0)
---
updated-dependencies:
- dependency-name: "@sentry/nextjs"
dependency-type: direct:production
update-type: version-update:semver-minor
...
* 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
---------
* 🐛 fix build
---------
* Mp 2837 pre commit hook (#549)
* MP-2837: added husys and lint-staged
* MP-2837: enabled lint-staged
* MP-2837: setup .prettierignore
* MP-2837: setup .prettierignore
* MP-3483: all Depo. Caps are now % filled (#551)
* MP-3487: changed the copy of the bridging intro screen (#553)
* MP-3482: replaced Max LTV with Max. Leverage (#550)
* added hatched health masks (#552)
* added hatched health masks
* Mp 2837 pre commit hook (#549)
* MP-2837: added husys and lint-staged
* MP-2837: enabled lint-staged
* MP-2837: setup .prettierignore
* MP-2837: setup .prettierignore
* MP-3483: all Depo. Caps are now % filled (#551)
* MP-3487: changed the copy of the bridging intro screen (#553)
* MP-3482: replaced Max LTV with Max. Leverage (#550)
* sneak: change filled to used
* fix: fixed the foregroundColor on increase and my ocd
* ♻️ refactor table (Farm) (#555)
* ♻️ refactor table (Farm)
* 🧽 clean up PR
* 🧽 clean up PR
* Build(deps): bump @babel/traverse from 7.21.2 to 7.23.2 (#554)
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.21.2 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)
---
updated-dependencies:
- dependency-name: "@babel/traverse"
dependency-type: indirect
...
* fix: rename withdraw to unlend (#557)
* Full refactor tables (#556)
* 📈 Improve structure generic Table component
* ♻️ Update Borrow Table and overall structure of Table comp
* ♻️ Update Lend table
* ✨ add loading state for lend table
* 🧪 Fix unit tests
* ✨ Add available HLS Vaults page (#558)
* Table updates (#559)
* fix: adjusted table colors and hover interactions
* fix: added actionButtons back and changed lend to APY
* fix: build update
* tidy: fixed the CircularProgress indicators on the loading modals
* fix: relative import
* env: updated shuttle, keplr and version (#566)
* fix: fixed dust left when trying to buy max amount without leverage (#565)
* feat: added squidrouter to the bridges (#561)
* feat: added squidrouter to the bridges
* fix: copy update
* MP-3521: updated the APR calculation (#572)
* Table fixes (#563)
* fix: fixed the sorting of the tables
* fix: added sorting functions
* fix: farm sorting for deposit cap
* fix: fixed Row types
* Build(deps-dev): bump prettier-plugin-tailwindcss from 0.5.5 to 0.5.6 (#567)
Bumps [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) from 0.5.5 to 0.5.6.
- [Release notes](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.5.5...v0.5.6)
---
updated-dependencies:
- dependency-name: prettier-plugin-tailwindcss
dependency-type: direct:development
update-type: version-update:semver-patch
...
* Build(deps): bump react-router-dom from 6.16.0 to 6.17.0 (#571)
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.16.0 to 6.17.0.
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.17.0/packages/react-router-dom)
---
updated-dependencies:
- dependency-name: react-router-dom
dependency-type: direct:production
update-type: version-update:semver-minor
...
* ✨ HLS: Add info modal (#573)
* MP-3484: remember summaryAccount tabs and auto expand both (#574)
* User feedback (#575)
* feat: added debt indicator and adjusted the borrowModal
* fix: wallet interaction fix
* Add usdc noble (#576)
* env: added USDC.n
* env: updated usdc noble variables
* fix: fixed the pool on USDC for devnet purposes
* 🐛 Fix initial status of chart (#577)
* Mp 3480 persist last trading pair (#578)
* MP-3480: remove favourite asset and prepare localStore
* env: updated shuttle, keplr and version (#566)
* fix: fixed dust left when trying to buy max amount without leverage (#565)
* feat: added squidrouter to the bridges (#561)
* feat: added squidrouter to the bridges
* fix: copy update
* MP-3521: updated the APR calculation (#572)
* Table fixes (#563)
* fix: fixed the sorting of the tables
* fix: added sorting functions
* fix: farm sorting for deposit cap
* fix: fixed Row types
* Build(deps-dev): bump prettier-plugin-tailwindcss from 0.5.5 to 0.5.6 (#567)
Bumps [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) from 0.5.5 to 0.5.6.
- [Release notes](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.5.5...v0.5.6)
---
updated-dependencies:
- dependency-name: prettier-plugin-tailwindcss
dependency-type: direct:development
update-type: version-update:semver-patch
...
* Build(deps): bump react-router-dom from 6.16.0 to 6.17.0 (#571)
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.16.0 to 6.17.0.
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.17.0/packages/react-router-dom)
---
updated-dependencies:
- dependency-name: react-router-dom
dependency-type: direct:production
update-type: version-update:semver-minor
...
* ✨ HLS: Add info modal (#573)
* MP-3484: remember summaryAccount tabs and auto expand both (#574)
* User feedback (#575)
* feat: added debt indicator and adjusted the borrowModal
* fix: wallet interaction fix
* Add usdc noble (#576)
* env: added USDC.n
* env: updated usdc noble variables
* fix: fixed the pool on USDC for devnet purposes
* 🐛 Fix initial status of chart (#577)
* MP-3480: persist trading pair
* fix: updated according to feedback
* fix: remove pair from Trading View header
---------
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Bob van der Helm <34470358+bobthebuidlr@users.noreply.github.com>
* Asset select overflow (#584)
* v2.0.1 (#579)
* Build(deps): bump @splinetool/runtime from 0.9.477 to 0.9.482 (#544)
Bumps @splinetool/runtime from 0.9.477 to 0.9.482.
---
updated-dependencies:
- dependency-name: "@splinetool/runtime"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Build(deps-dev): bump @types/node from 20.7.0 to 20.8.6 (#548)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.7.0 to 20.8.6.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Build(deps): bump @sentry/nextjs from 7.73.0 to 7.74.0 (#545)
Bumps [@sentry/nextjs](https://github.com/getsentry/sentry-javascript) from 7.73.0 to 7.74.0.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/7.73.0...7.74.0)
---
updated-dependencies:
- dependency-name: "@sentry/nextjs"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* 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>
* Mp 2837 pre commit hook (#549)
* MP-2837: added husys and lint-staged
* MP-2837: enabled lint-staged
* MP-2837: setup .prettierignore
* MP-2837: setup .prettierignore
* MP-3483: all Depo. Caps are now % filled (#551)
* MP-3487: changed the copy of the bridging intro screen (#553)
* MP-3482: replaced Max LTV with Max. Leverage (#550)
* added hatched health masks (#552)
* added hatched health masks
* Mp 2837 pre commit hook (#549)
* MP-2837: added husys and lint-staged
* MP-2837: enabled lint-staged
* MP-2837: setup .prettierignore
* MP-2837: setup .prettierignore
* MP-3483: all Depo. Caps are now % filled (#551)
* MP-3487: changed the copy of the bridging intro screen (#553)
* MP-3482: replaced Max LTV with Max. Leverage (#550)
* sneak: change filled to used
* fix: fixed the foregroundColor on increase and my ocd
* ♻️ refactor table (Farm) (#555)
* ♻️ refactor table (Farm)
* 🧽 clean up PR
* 🧽 clean up PR
* Build(deps): bump @babel/traverse from 7.21.2 to 7.23.2 (#554)
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.21.2 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)
---
updated-dependencies:
- dependency-name: "@babel/traverse"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix: rename withdraw to unlend (#557)
* Full refactor tables (#556)
* 📈 Improve structure generic Table component
* ♻️ Update Borrow Table and overall structure of Table comp
* ♻️ Update Lend table
* ✨ add loading state for lend table
* 🧪 Fix unit tests
* ✨ Add available HLS Vaults page (#558)
* Table updates (#559)
* fix: adjusted table colors and hover interactions
* fix: added actionButtons back and changed lend to APY
* fix: build update
* tidy: fixed the CircularProgress indicators on the loading modals
* fix: relative import
* env: updated shuttle, keplr and version (#566)
* fix: fixed dust left when trying to buy max amount without leverage (#565)
* feat: added squidrouter to the bridges (#561)
* feat: added squidrouter to the bridges
* fix: copy update
* MP-3521: updated the APR calculation (#572)
* Table fixes (#563)
* fix: fixed the sorting of the tables
* fix: added sorting functions
* fix: farm sorting for deposit cap
* fix: fixed Row types
* Build(deps-dev): bump prettier-plugin-tailwindcss from 0.5.5 to 0.5.6 (#567)
Bumps [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) from 0.5.5 to 0.5.6.
- [Release notes](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.5.5...v0.5.6)
---
updated-dependencies:
- dependency-name: prettier-plugin-tailwindcss
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Build(deps): bump react-router-dom from 6.16.0 to 6.17.0 (#571)
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.16.0 to 6.17.0.
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.17.0/packages/react-router-dom)
---
updated-dependencies:
- dependency-name: react-router-dom
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* ✨ HLS: Add info modal (#573)
* MP-3484: remember summaryAccount tabs and auto expand both (#574)
* User feedback (#575)
* feat: added debt indicator and adjusted the borrowModal
* fix: wallet interaction fix
* Add usdc noble (#576)
* env: added USDC.n
* env: updated usdc noble variables
* fix: fixed the pool on USDC for devnet purposes
* 🐛 Fix initial status of chart (#577)
* Mp 3480 persist last trading pair (#578)
* MP-3480: remove favourite asset and prepare localStore
* env: updated shuttle, keplr and version (#566)
* fix: fixed dust left when trying to buy max amount without leverage (#565)
* feat: added squidrouter to the bridges (#561)
* feat: added squidrouter to the bridges
* fix: copy update
* MP-3521: updated the APR calculation (#572)
* Table fixes (#563)
* fix: fixed the sorting of the tables
* fix: added sorting functions
* fix: farm sorting for deposit cap
* fix: fixed Row types
* Build(deps-dev): bump prettier-plugin-tailwindcss from 0.5.5 to 0.5.6 (#567)
Bumps [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) from 0.5.5 to 0.5.6.
- [Release notes](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.5.5...v0.5.6)
---
updated-dependencies:
- dependency-name: prettier-plugin-tailwindcss
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Build(deps): bump react-router-dom from 6.16.0 to 6.17.0 (#571)
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.16.0 to 6.17.0.
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.17.0/packages/react-router-dom)
---
updated-dependencies:
- dependency-name: react-router-dom
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* ✨ HLS: Add info modal (#573)
* MP-3484: remember summaryAccount tabs and auto expand both (#574)
* User feedback (#575)
* feat: added debt indicator and adjusted the borrowModal
* fix: wallet interaction fix
* Add usdc noble (#576)
* env: added USDC.n
* env: updated usdc noble variables
* fix: fixed the pool on USDC for devnet purposes
* 🐛 Fix initial status of chart (#577)
* MP-3480: persist trading pair
* fix: updated according to feedback
* fix: remove pair from Trading View header
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Bob van der Helm <34470358+bobthebuidlr@users.noreply.github.com>
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Bob van der Helm <34470358+bobthebuidlr@users.noreply.github.com>
* Build(deps): bump @splinetool/runtime from 0.9.477 to 0.9.482 (#544)
Bumps @splinetool/runtime from 0.9.477 to 0.9.482.
---
updated-dependencies:
- dependency-name: "@splinetool/runtime"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Build(deps-dev): bump @types/node from 20.7.0 to 20.8.6 (#548)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.7.0 to 20.8.6.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Build(deps): bump @sentry/nextjs from 7.73.0 to 7.74.0 (#545)
Bumps [@sentry/nextjs](https://github.com/getsentry/sentry-javascript) from 7.73.0 to 7.74.0.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/7.73.0...7.74.0)
---
updated-dependencies:
- dependency-name: "@sentry/nextjs"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* 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>
* Mp 2837 pre commit hook (#549)
* MP-2837: added husys and lint-staged
* MP-2837: enabled lint-staged
* MP-2837: setup .prettierignore
* MP-2837: setup .prettierignore
* MP-3483: all Depo. Caps are now % filled (#551)
* MP-3487: changed the copy of the bridging intro screen (#553)
* MP-3482: replaced Max LTV with Max. Leverage (#550)
* added hatched health masks (#552)
* added hatched health masks
* Mp 2837 pre commit hook (#549)
* MP-2837: added husys and lint-staged
* MP-2837: enabled lint-staged
* MP-2837: setup .prettierignore
* MP-2837: setup .prettierignore
* MP-3483: all Depo. Caps are now % filled (#551)
* MP-3487: changed the copy of the bridging intro screen (#553)
* MP-3482: replaced Max LTV with Max. Leverage (#550)
* sneak: change filled to used
* fix: fixed the foregroundColor on increase and my ocd
* ♻️ refactor table (Farm) (#555)
* ♻️ refactor table (Farm)
* 🧽 clean up PR
* 🧽 clean up PR
* fix: rename withdraw to unlend (#557)
* Full refactor tables (#556)
* 📈 Improve structure generic Table component
* ♻️ Update Borrow Table and overall structure of Table comp
* ♻️ Update Lend table
* ✨ add loading state for lend table
* 🧪 Fix unit tests
* ✨ Add available HLS Vaults page (#558)
* Table updates (#559)
* fix: adjusted table colors and hover interactions
* fix: added actionButtons back and changed lend to APY
* fix: build update
* tidy: fixed the CircularProgress indicators on the loading modals
* fix: relative import
* ✨ HLS: Add info modal (#573)
* MP-3484: remember summaryAccount tabs and auto expand both (#574)
* post update hotfixes (#580)
* fix: fixed showing 0 on farm page if no desposited vaults
* fix: chnage USDC’s name to Noble
* v2.0.1 (#579) (#582)
* Build(deps): bump @splinetool/runtime from 0.9.477 to 0.9.482 (#544)
Bumps @splinetool/runtime from 0.9.477 to 0.9.482.
---
updated-dependencies:
- dependency-name: "@splinetool/runtime"
dependency-type: direct:production
update-type: version-update:semver-patch
...
* Build(deps-dev): bump @types/node from 20.7.0 to 20.8.6 (#548)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.7.0 to 20.8.6.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-minor
...
* Build(deps): bump @sentry/nextjs from 7.73.0 to 7.74.0 (#545)
Bumps [@sentry/nextjs](https://github.com/getsentry/sentry-javascript) from 7.73.0 to 7.74.0.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/7.73.0...7.74.0)
---
updated-dependencies:
- dependency-name: "@sentry/nextjs"
dependency-type: direct:production
update-type: version-update:semver-minor
...
* 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
---------
* 🐛 fix build
---------
* Mp 2837 pre commit hook (#549)
* MP-2837: added husys and lint-staged
* MP-2837: enabled lint-staged
* MP-2837: setup .prettierignore
* MP-2837: setup .prettierignore
* MP-3483: all Depo. Caps are now % filled (#551)
* MP-3487: changed the copy of the bridging intro screen (#553)
* MP-3482: replaced Max LTV with Max. Leverage (#550)
* added hatched health masks (#552)
* added hatched health masks
* Mp 2837 pre commit hook (#549)
* MP-2837: added husys and lint-staged
* MP-2837: enabled lint-staged
* MP-2837: setup .prettierignore
* MP-2837: setup .prettierignore
* MP-3483: all Depo. Caps are now % filled (#551)
* MP-3487: changed the copy of the bridging intro screen (#553)
* MP-3482: replaced Max LTV with Max. Leverage (#550)
* sneak: change filled to used
* fix: fixed the foregroundColor on increase and my ocd
* ♻️ refactor table (Farm) (#555)
* ♻️ refactor table (Farm)
* 🧽 clean up PR
* 🧽 clean up PR
* Build(deps): bump @babel/traverse from 7.21.2 to 7.23.2 (#554)
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.21.2 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)
---
updated-dependencies:
- dependency-name: "@babel/traverse"
dependency-type: indirect
...
* fix: rename withdraw to unlend (#557)
* Full refactor tables (#556)
* 📈 Improve structure generic Table component
* ♻️ Update Borrow Table and overall structure of Table comp
* ♻️ Update Lend table
* ✨ add loading state for lend table
* 🧪 Fix unit tests
* ✨ Add available HLS Vaults page (#558)
* Table updates (#559)
* fix: adjusted table colors and hover interactions
* fix: added actionButtons back and changed lend to APY
* fix: build update
* tidy: fixed the CircularProgress indicators on the loading modals
* fix: relative import
* env: updated shuttle, keplr and version (#566)
* fix: fixed dust left when trying to buy max amount without leverage (#565)
* feat: added squidrouter to the bridges (#561)
* feat: added squidrouter to the bridges
* fix: copy update
* MP-3521: updated the APR calculation (#572)
* Table fixes (#563)
* fix: fixed the sorting of the tables
* fix: added sorting functions
* fix: farm sorting for deposit cap
* fix: fixed Row types
* Build(deps-dev): bump prettier-plugin-tailwindcss from 0.5.5 to 0.5.6 (#567)
Bumps [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) from 0.5.5 to 0.5.6.
- [Release notes](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.5.5...v0.5.6)
---
updated-dependencies:
- dependency-name: prettier-plugin-tailwindcss
dependency-type: direct:development
update-type: version-update:semver-patch
...
* Build(deps): bump react-router-dom from 6.16.0 to 6.17.0 (#571)
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.16.0 to 6.17.0.
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.17.0/packages/react-router-dom)
---
updated-dependencies:
- dependency-name: react-router-dom
dependency-type: direct:production
update-type: version-update:semver-minor
...
* ✨ HLS: Add info modal (#573)
* MP-3484: remember summaryAccount tabs and auto expand both (#574)
* User feedback (#575)
* feat: added debt indicator and adjusted the borrowModal
* fix: wallet interaction fix
* Add usdc noble (#576)
* env: added USDC.n
* env: updated usdc noble variables
* fix: fixed the pool on USDC for devnet purposes
* 🐛 Fix initial status of chart (#577)
* Mp 3480 persist last trading pair (#578)
* MP-3480: remove favourite asset and prepare localStore
* env: updated shuttle, keplr and version (#566)
* fix: fixed dust left when trying to buy max amount without leverage (#565)
* feat: added squidrouter to the bridges (#561)
* feat: added squidrouter to the bridges
* fix: copy update
* MP-3521: updated the APR calculation (#572)
* Table fixes (#563)
* fix: fixed the sorting of the tables
* fix: added sorting functions
* fix: farm sorting for deposit cap
* fix: fixed Row types
* Build(deps-dev): bump prettier-plugin-tailwindcss from 0.5.5 to 0.5.6 (#567)
Bumps [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) from 0.5.5 to 0.5.6.
- [Release notes](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.5.5...v0.5.6)
---
updated-dependencies:
- dependency-name: prettier-plugin-tailwindcss
dependency-type: direct:development
update-type: version-update:semver-patch
...
* Build(deps): bump react-router-dom from 6.16.0 to 6.17.0 (#571)
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.16.0 to 6.17.0.
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.17.0/packages/react-router-dom)
---
updated-dependencies:
- dependency-name: react-router-dom
dependency-type: direct:production
update-type: version-update:semver-minor
...
* ✨ HLS: Add info modal (#573)
* MP-3484: remember summaryAccount tabs and auto expand both (#574)
* User feedback (#575)
* feat: added debt indicator and adjusted the borrowModal
* fix: wallet interaction fix
* Add usdc noble (#576)
* env: added USDC.n
* env: updated usdc noble variables
* fix: fixed the pool on USDC for devnet purposes
* 🐛 Fix initial status of chart (#577)
* MP-3480: persist trading pair
* fix: updated according to feedback
* fix: remove pair from Trading View header
---------
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Linkie Link <linkielink.dev@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* v2.0.1 (#579) (#583)
* Build(deps): bump @splinetool/runtime from 0.9.477 to 0.9.482 (#544)
Bumps @splinetool/runtime from 0.9.477 to 0.9.482.
---
updated-dependencies:
- dependency-name: "@splinetool/runtime"
dependency-type: direct:production
update-type: version-update:semver-patch
...
* Build(deps-dev): bump @types/node from 20.7.0 to 20.8.6 (#548)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.7.0 to 20.8.6.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-minor
...
* Build(deps): bump @sentry/nextjs from 7.73.0 to 7.74.0 (#545)
Bumps [@sentry/nextjs](https://github.com/getsentry/sentry-javascript) from 7.73.0 to 7.74.0.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/7.73.0...7.74.0)
---
updated-dependencies:
- dependency-name: "@sentry/nextjs"
dependency-type: direct:production
update-type: version-update:semver-minor
...
* 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
---------
* 🐛 fix build
---------
* Mp 2837 pre commit hook (#549)
* MP-2837: added husys and lint-staged
* MP-2837: enabled lint-staged
* MP-2837: setup .prettierignore
* MP-2837: setup .prettierignore
* MP-3483: all Depo. Caps are now % filled (#551)
* MP-3487: changed the copy of the bridging intro screen (#553)
* MP-3482: replaced Max LTV with Max. Leverage (#550)
* added hatched health masks (#552)
* added hatched health masks
* Mp 2837 pre commit hook (#549)
* MP-2837: added husys and lint-staged
* MP-2837: enabled lint-staged
* MP-2837: setup .prettierignore
* MP-2837: setup .prettierignore
* MP-3483: all Depo. Caps are now % filled (#551)
* MP-3487: changed the copy of the bridging intro screen (#553)
* MP-3482: replaced Max LTV with Max. Leverage (#550)
* sneak: change filled to used
* fix: fixed the foregroundColor on increase and my ocd
* ♻️ refactor table (Farm) (#555)
* ♻️ refactor table (Farm)
* 🧽 clean up PR
* 🧽 clean up PR
* Build(deps): bump @babel/traverse from 7.21.2 to 7.23.2 (#554)
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.21.2 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)
---
updated-dependencies:
- dependency-name: "@babel/traverse"
dependency-type: indirect
...
* fix: rename withdraw to unlend (#557)
* Full refactor tables (#556)
* 📈 Improve structure generic Table component
* ♻️ Update Borrow Table and overall structure of Table comp
* ♻️ Update Lend table
* ✨ add loading state for lend table
* 🧪 Fix unit tests
* ✨ Add available HLS Vaults page (#558)
* Table updates (#559)
* fix: adjusted table colors and hover interactions
* fix: added actionButtons back and changed lend to APY
* fix: build update
* tidy: fixed the CircularProgress indicators on the loading modals
* fix: relative import
* env: updated shuttle, keplr and version (#566)
* fix: fixed dust left when trying to buy max amount without leverage (#565)
* feat: added squidrouter to the bridges (#561)
* feat: added squidrouter to the bridges
* fix: copy update
* MP-3521: updated the APR calculation (#572)
* Table fixes (#563)
* fix: fixed the sorting of the tables
* fix: added sorting functions
* fix: farm sorting for deposit cap
* fix: fixed Row types
* Build(deps-dev): bump prettier-plugin-tailwindcss from 0.5.5 to 0.5.6 (#567)
Bumps [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) from 0.5.5 to 0.5.6.
- [Release notes](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.5.5...v0.5.6)
---
updated-dependencies:
- dependency-name: prettier-plugin-tailwindcss
dependency-type: direct:development
update-type: version-update:semver-patch
...
* Build(deps): bump react-router-dom from 6.16.0 to 6.17.0 (#571)
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.16.0 to 6.17.0.
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.17.0/packages/react-router-dom)
---
updated-dependencies:
- dependency-name: react-router-dom
dependency-type: direct:production
update-type: version-update:semver-minor
...
* ✨ HLS: Add info modal (#573)
* MP-3484: remember summaryAccount tabs and auto expand both (#574)
* User feedback (#575)
* feat: added debt indicator and adjusted the borrowModal
* fix: wallet interaction fix
* Add usdc noble (#576)
* env: added USDC.n
* env: updated usdc noble variables
* fix: fixed the pool on USDC for devnet purposes
* 🐛 Fix initial status of chart (#577)
* Mp 3480 persist last trading pair (#578)
* MP-3480: remove favourite asset and prepare localStore
* env: updated shuttle, keplr and version (#566)
* fix: fixed dust left when trying to buy max amount without leverage (#565)
* feat: added squidrouter to the bridges (#561)
* feat: added squidrouter to the bridges
* fix: copy update
* MP-3521: updated the APR calculation (#572)
* Table fixes (#563)
* fix: fixed the sorting of the tables
* fix: added sorting functions
* fix: farm sorting for deposit cap
* fix: fixed Row types
* Build(deps-dev): bump prettier-plugin-tailwindcss from 0.5.5 to 0.5.6 (#567)
Bumps [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) from 0.5.5 to 0.5.6.
- [Release notes](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.5.5...v0.5.6)
---
updated-dependencies:
- dependency-name: prettier-plugin-tailwindcss
dependency-type: direct:development
update-type: version-update:semver-patch
...
* Build(deps): bump react-router-dom from 6.16.0 to 6.17.0 (#571)
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.16.0 to 6.17.0.
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.17.0/packages/react-router-dom)
---
updated-dependencies:
- dependency-name: react-router-dom
dependency-type: direct:production
update-type: version-update:semver-minor
...
* ✨ HLS: Add info modal (#573)
* MP-3484: remember summaryAccount tabs and auto expand both (#574)
* User feedback (#575)
* feat: added debt indicator and adjusted the borrowModal
* fix: wallet interaction fix
* Add usdc noble (#576)
* env: added USDC.n
* env: updated usdc noble variables
* fix: fixed the pool on USDC for devnet purposes
* 🐛 Fix initial status of chart (#577)
* MP-3480: persist trading pair
* fix: updated according to feedback
* fix: remove pair from Trading View header
---------
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Bob van der Helm <34470358+bobthebuidlr@users.noreply.github.com>
* fix: fixed the asset select overflow
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Bob van der Helm <34470358+bobthebuidlr@users.noreply.github.com>
* fix: fixed the AccountDetails position
* fix: update
* Hotfixes v2.0.1 (#581) (#585)
* Build(deps): bump @splinetool/runtime from 0.9.477 to 0.9.482 (#544)
Bumps @splinetool/runtime from 0.9.477 to 0.9.482.
---
updated-dependencies:
- dependency-name: "@splinetool/runtime"
dependency-type: direct:production
update-type: version-update:semver-patch
...
* Build(deps-dev): bump @types/node from 20.7.0 to 20.8.6 (#548)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.7.0 to 20.8.6.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-minor
...
* Build(deps): bump @sentry/nextjs from 7.73.0 to 7.74.0 (#545)
Bumps [@sentry/nextjs](https://github.com/getsentry/sentry-javascript) from 7.73.0 to 7.74.0.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/7.73.0...7.74.0)
---
updated-dependencies:
- dependency-name: "@sentry/nextjs"
dependency-type: direct:production
update-type: version-update:semver-minor
...
* 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
---------
* 🐛 fix build
---------
* Mp 2837 pre commit hook (#549)
* MP-2837: added husys and lint-staged
* MP-2837: enabled lint-staged
* MP-2837: setup .prettierignore
* MP-2837: setup .prettierignore
* MP-3483: all Depo. Caps are now % filled (#551)
* MP-3487: changed the copy of the bridging intro screen (#553)
* MP-3482: replaced Max LTV with Max. Leverage (#550)
* added hatched health masks (#552)
* added hatched health masks
* Mp 2837 pre commit hook (#549)
* MP-2837: added husys and lint-staged
* MP-2837: enabled lint-staged
* MP-2837: setup .prettierignore
* MP-2837: setup .prettierignore
* MP-3483: all Depo. Caps are now % filled (#551)
* MP-3487: changed the copy of the bridging intro screen (#553)
* MP-3482: replaced Max LTV with Max. Leverage (#550)
* sneak: change filled to used
* fix: fixed the foregroundColor on increase and my ocd
* ♻️ refactor table (Farm) (#555)
* ♻️ refactor table (Farm)
* 🧽 clean up PR
* 🧽 clean up PR
* Build(deps): bump @babel/traverse from 7.21.2 to 7.23.2 (#554)
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.21.2 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)
---
updated-dependencies:
- dependency-name: "@babel/traverse"
dependency-type: indirect
...
* fix: rename withdraw to unlend (#557)
* Full refactor tables (#556)
* 📈 Improve structure generic Table component
* ♻️ Update Borrow Table and overall structure of Table comp
* ♻️ Update Lend table
* ✨ add loading state for lend table
* 🧪 Fix unit tests
* ✨ Add available HLS Vaults page (#558)
* Table updates (#559)
* fix: adjusted table colors and hover interactions
* fix: added actionButtons back and changed lend to APY
* fix: build update
* tidy: fixed the CircularProgress indicators on the loading modals
* fix: relative import
* env: updated shuttle, keplr and version (#566)
* fix: fixed dust left when trying to buy max amount without leverage (#565)
* feat: added squidrouter to the bridges (#561)
* feat: added squidrouter to the bridges
* fix: copy update
* MP-3521: updated the APR calculation (#572)
* Table fixes (#563)
* fix: fixed the sorting of the tables
* fix: added sorting functions
* fix: farm sorting for deposit cap
* fix: fixed Row types
* Build(deps-dev): bump prettier-plugin-tailwindcss from 0.5.5 to 0.5.6 (#567)
Bumps [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) from 0.5.5 to 0.5.6.
- [Release notes](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.5.5...v0.5.6)
---
updated-dependencies:
- dependency-name: prettier-plugin-tailwindcss
dependency-type: direct:development
update-type: version-update:semver-patch
...
* Build(deps): bump react-router-dom from 6.16.0 to 6.17.0 (#571)
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.16.0 to 6.17.0.
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.17.0/packages/react-router-dom)
---
updated-dependencies:
- dependency-name: react-router-dom
dependency-type: direct:production
update-type: version-update:semver-minor
...
* ✨ HLS: Add info modal (#573)
* MP-3484: remember summaryAccount tabs and auto expand both (#574)
* User feedback (#575)
* feat: added debt indicator and adjusted the borrowModal
* fix: wallet interaction fix
* Add usdc noble (#576)
* env: added USDC.n
* env: updated usdc noble variables
* fix: fixed the pool on USDC for devnet purposes
* 🐛 Fix initial status of chart (#577)
* Mp 3480 persist last trading pair (#578)
* MP-3480: remove favourite asset and prepare localStore
* env: updated shuttle, keplr and version (#566)
* fix: fixed dust left when trying to buy max amount without leverage (#565)
* feat: added squidrouter to the bridges (#561)
* feat: added squidrouter to the bridges
* fix: copy update
* MP-3521: updated the APR calculation (#572)
* Table fixes (#563)
* fix: fixed the sorting of the tables
* fix: added sorting functions
* fix: farm sorting for deposit cap
* fix: fixed Row types
* Build(deps-dev): bump prettier-plugin-tailwindcss from 0.5.5 to 0.5.6 (#567)
Bumps [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) from 0.5.5 to 0.5.6.
- [Release notes](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.5.5...v0.5.6)
---
updated-dependencies:
- dependency-name: prettier-plugin-tailwindcss
dependency-type: direct:development
update-type: version-update:semver-patch
...
* Build(deps): bump react-router-dom from 6.16.0 to 6.17.0 (#571)
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.16.0 to 6.17.0.
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.17.0/packages/react-router-dom)
---
updated-dependencies:
- dependency-name: react-router-dom
dependency-type: direct:production
update-type: version-update:semver-minor
...
* ✨ HLS: Add info modal (#573)
* MP-3484: remember summaryAccount tabs and auto expand both (#574)
* User feedback (#575)
* feat: added debt indicator and adjusted the borrowModal
* fix: wallet interaction fix
* Add usdc noble (#576)
* env: added USDC.n
* env: updated usdc noble variables
* fix: fixed the pool on USDC for devnet purposes
* 🐛 Fix initial status of chart (#577)
* MP-3480: persist trading pair
* fix: updated according to feedback
* fix: remove pair from Trading View header
---------
* post update hotfixes (#580)
* fix: fixed showing 0 on farm page if no desposited vaults
* fix: chnage USDC’s name to Noble
* v2.0.1 (#579) (#582)
* Build(deps): bump @splinetool/runtime from 0.9.477 to 0.9.482 (#544)
Bumps @splinetool/runtime from 0.9.477 to 0.9.482.
---
updated-dependencies:
- dependency-name: "@splinetool/runtime"
dependency-type: direct:production
update-type: version-update:semver-patch
...
* Build(deps-dev): bump @types/node from 20.7.0 to 20.8.6 (#548)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.7.0 to 20.8.6.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-minor
...
* Build(deps): bump @sentry/nextjs from 7.73.0 to 7.74.0 (#545)
Bumps [@sentry/nextjs](https://github.com/getsentry/sentry-javascript) from 7.73.0 to 7.74.0.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/7.73.0...7.74.0)
---
updated-dependencies:
- dependency-name: "@sentry/nextjs"
dependency-type: direct:production
update-type: version-update:semver-minor
...
* 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
---------
* 🐛 fix build
---------
* Mp 2837 pre commit hook (#549)
* MP-2837: added husys and lint-staged
* MP-2837: enabled lint-staged
* MP-2837: setup .prettierignore
* MP-2837: setup .prettierignore
* MP-3483: all Depo. Caps are now % filled (#551)
* MP-3487: changed the copy of the bridging intro screen (#553)
* MP-3482: replaced Max LTV with Max. Leverage (#550)
* added hatched health masks (#552)
* added hatched health masks
* Mp 2837 pre commit hook (#549)
* MP-2837: added husys and lint-staged
* MP-2837: enabled lint-staged
* MP-2837: setup .prettierignore
* MP-2837: setup .prettierignore
* MP-3483: all Depo. Caps are now % filled (#551)
* MP-3487: changed the copy of the bridging intro screen (#553)
* MP-3482: replaced Max LTV with Max. Leverage (#550)
* sneak: change filled to used
* fix: fixed the foregroundColor on increase and my ocd
* ♻️ refactor table (Farm) (#555)
* ♻️ refactor table (Farm)
* 🧽 clean up PR
* 🧽 clean up PR
* Build(deps): bump @babel/traverse from 7.21.2 to 7.23.2 (#554)
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.21.2 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)
---
updated-dependencies:
- dependency-name: "@babel/traverse"
dependency-type: indirect
...
* fix: rename withdraw to unlend (#557)
* Full refactor tables (#556)
* 📈 Improve structure generic Table component
* ♻️ Update Borrow Table and overall structure of Table comp
* ♻️ Update Lend table
* ✨ add loading state for lend table
* 🧪 Fix unit tests
* ✨ Add available HLS Vaults page (#558)
* Table updates (#559)
* fix: adjusted table colors and hover interactions
* fix: added actionButtons back and changed lend to APY
* fix: build update
* tidy: fixed the CircularProgress indicators on the loading modals
* fix: relative import
* env: updated shuttle, keplr and version (#566)
* fix: fixed dust left when trying to buy max amount without leverage (#565)
* feat: added squidrouter to the bridges (#561)
* feat: added squidrouter to the bridges
* fix: copy update
* MP-3521: updated the APR calculation (#572)
* Table fixes (#563)
* fix: fixed the sorting of the tables
* fix: added sorting functions
* fix: farm sorting for deposit cap
* fix: fixed Row types
* Build(deps-dev): bump prettier-plugin-tailwindcss from 0.5.5 to 0.5.6 (#567)
Bumps [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) from 0.5.5 to 0.5.6.
- [Release notes](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.5.5...v0.5.6)
---
updated-dependencies:
- dependency-name: prettier-plugin-tailwindcss
dependency-type: direct:development
update-type: version-update:semver-patch
...
* Build(deps): bump react-router-dom from 6.16.0 to 6.17.0 (#571)
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.16.0 to 6.17.0.
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.17.0/packages/react-router-dom)
---
updated-dependencies:
- dependency-name: react-router-dom
dependency-type: direct:production
update-type: version-update:semver-minor
...
* ✨ HLS: Add info modal (#573)
* MP-3484: remember summaryAccount tabs and auto expand both (#574)
* User feedback (#575)
* feat: added debt indicator and adjusted the borrowModal
* fix: wallet interaction fix
* Add usdc noble (#576)
* env: added USDC.n
* env: updated usdc noble variables
* fix: fixed the pool on USDC for devnet purposes
* 🐛 Fix initial status of chart (#577)
* Mp 3480 persist last trading pair (#578)
* MP-3480: remove favourite asset and prepare localStore
* env: updated shuttle, keplr and version (#566)
* fix: fixed dust left when trying to buy max amount without leverage (#565)
* feat: added squidrouter to the bridges (#561)
* feat: added squidrouter to the bridges
* fix: copy update
* MP-3521: updated the APR calculation (#572)
* Table fixes (#563)
* fix: fixed the sorting of the tables
* fix: added sorting functions
* fix: farm sorting for deposit cap
* fix: fixed Row types
* Build(deps-dev): bump prettier-plugin-tailwindcss from 0.5.5 to 0.5.6 (#567)
Bumps [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) from 0.5.5 to 0.5.6.
- [Release notes](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.5.5...v0.5.6)
---
updated-dependencies:
- dependency-name: prettier-plugin-tailwindcss
dependency-type: direct:development
update-type: version-update:semver-patch
...
* Build(deps): bump react-router-dom from 6.16.0 to 6.17.0 (#571)
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.16.0 to 6.17.0.
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.17.0/packages/react-router-dom)
---
updated-dependencies:
- dependency-name: react-router-dom
dependency-type: direct:production
update-type: version-update:semver-minor
...
* ✨ HLS: Add info modal (#573)
* MP-3484: remember summaryAccount tabs and auto expand both (#574)
* User feedback (#575)
* feat: added debt indicator and adjusted the borrowModal
* fix: wallet interaction fix
* Add usdc noble (#576)
* env: added USDC.n
* env: updated usdc noble variables
* fix: fixed the pool on USDC for devnet purposes
* 🐛 Fix initial status of chart (#577)
* MP-3480: persist trading pair
* fix: updated according to feedback
* fix: remove pair from Trading View header
---------
---------
* v2.0.1 (#579) (#583)
* Build(deps): bump @splinetool/runtime from 0.9.477 to 0.9.482 (#544)
Bumps @splinetool/runtime from 0.9.477 to 0.9.482.
---
updated-dependencies:
- dependency-name: "@splinetool/runtime"
dependency-type: direct:production
update-type: version-update:semver-patch
...
* Build(deps-dev): bump @types/node from 20.7.0 to 20.8.6 (#548)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.7.0 to 20.8.6.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-minor
...
* Build(deps): bump @sentry/nextjs from 7.73.0 to 7.74.0 (#545)
Bumps [@sentry/nextjs](https://github.com/getsentry/sentry-javascript) from 7.73.0 to 7.74.0.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/7.73.0...7.74.0)
---
updated-dependencies:
- dependency-name: "@sentry/nextjs"
dependency-type: direct:production
update-type: version-update:semver-minor
...
* 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
---------
* 🐛 fix build
---------
* Mp 2837 pre commit hook (#549)
* MP-2837: added husys and lint-staged
* MP-2837: enabled lint-staged
* MP-2837: setup .prettierignore
* MP-2837: setup .prettierignore
* MP-3483: all Depo. Caps are now % filled (#551)
* MP-3487: changed the copy of the bridging intro screen (#553)
* MP-3482: replaced Max LTV with Max. Leverage (#550)
* added hatched health masks (#552)
* added hatched health masks
* Mp 2837 pre commit hook (#549)
* MP-2837: added husys and lint-staged
* MP-2837: enabled lint-staged
* MP-2837: setup .prettierignore
* MP-2837: setup .prettierignore
* MP-3483: all Depo. Caps are now % filled (#551)
* MP-3487: changed the copy of the bridging intro screen (#553)
* MP-3482: replaced Max LTV with Max. Leverage (#550)
* sneak: change filled to used
* fix: fixed the foregroundColor on increase and my ocd
* ♻️ refactor table (Farm) (#555)
* ♻️ refactor table (Farm)
* 🧽 clean up PR
* 🧽 clean up PR
* Build(deps): bump @babel/traverse from 7.21.2 to 7.23.2 (#554)
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.21.2 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)
---
updated-dependencies:
- dependency-name: "@babel/traverse"
dependency-type: indirect
...
* fix: rename withdraw to unlend (#557)
* Full refactor tables (#556)
* 📈 Improve structure generic Table component
* ♻️ Update Borrow Table and overall structure of Table comp
* ♻️ Update Lend table
* ✨ add loading state for lend table
* 🧪 Fix unit tests
* ✨ Add available HLS Vaults page (#558)
* Table updates (#559)
* fix: adjusted table colors and hover interactions
* fix: added actionButtons back and changed lend to APY
* fix: build update
* tidy: fixed the CircularProgress indicators on the loading modals
* fix: relative import
* env: updated shuttle, keplr and version (#566)
* fix: fixed dust left when trying to buy max amount without leverage (#565)
* feat: added squidrouter to the bridges (#561)
* feat: added squidrouter to the bridges
* fix: copy update
* MP-3521: updated the APR calculation (#572)
* Table fixes (#563)
* fix: fixed the sorting of the tables
* fix: added sorting functions
* fix: farm sorting for deposit cap
* fix: fixed Row types
* Build(deps-dev): bump prettier-plugin-tailwindcss from 0.5.5 to 0.5.6 (#567)
Bumps [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) from 0.5.5 to 0.5.6.
- [Release notes](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.5.5...v0.5.6)
---
updated-dependencies:
- dependency-name: prettier-plugin-tailwindcss
dependency-type: direct:development
update-type: version-update:semver-patch
...
* Build(deps): bump react-router-dom from 6.16.0 to 6.17.0 (#571)
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.16.0 to 6.17.0.
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.17.0/packages/react-router-dom)
---
updated-dependencies:
- dependency-name: react-router-dom
dependency-type: direct:production
update-type: version-update:semver-minor
...
* ✨ HLS: Add info modal (#573)
* MP-3484: remember summaryAccount tabs and auto expand both (#574)
* User feedback (#575)
* feat: added debt indicator and adjusted the borrowModal
* fix: wallet interaction fix
* Add usdc noble (#576)
* env: added USDC.n
* env: updated usdc noble variables
* fix: fixed the pool on USDC for devnet purposes
* 🐛 Fix initial status of chart (#577)
* Mp 3480 persist last trading pair (#578)
* MP-3480: remove favourite asset and prepare localStore
* env: updated shuttle, keplr and version (#566)
* fix: fixed dust left when trying to buy max amount without leverage (#565)
* feat: added squidrouter to the bridges (#561)
* feat: added squidrouter to the bridges
* fix: copy update
* MP-3521: updated the APR calculation (#572)
* Table fixes (#563)
* fix: fixed the sorting of the tables
* fix: added sorting functions
* fix: farm sorting for deposit cap
* fix: fixed Row types
* Build(deps-dev): bump prettier-plugin-tailwindcss from 0.5.5 to 0.5.6 (#567)
Bumps [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) from 0.5.5 to 0.5.6.
- [Release notes](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.5.5...v0.5.6)
---
updated-dependencies:
- dependency-name: prettier-plugin-tailwindcss
dependency-type: direct:development
update-type: version-update:semver-patch
...
* Build(deps): bump react-router-dom from 6.16.0 to 6.17.0 (#571)
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.16.0 to 6.17.0.
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.17.0/packages/react-router-dom)
---
updated-dependencies:
- dependency-name: react-router-dom
dependency-type: direct:production
update-type: version-update:semver-minor
...
* ✨ HLS: Add info modal (#573)
* MP-3484: remember summaryAccount tabs and auto expand both (#574)
* User feedback (#575)
* feat: added debt indicator and adjusted the borrowModal
* fix: wallet interaction fix
* Add usdc noble (#576)
* env: added USDC.n
* env: updated usdc noble variables
* fix: fixed the pool on USDC for devnet purposes
* 🐛 Fix initial status of chart (#577)
* MP-3480: persist trading pair
* fix: updated according to feedback
* fix: remove pair from Trading View header
---------
---------
* Asset select overflow (#584)
* v2.0.1 (#579)
* Build(deps): bump @splinetool/runtime from 0.9.477 to 0.9.482 (#544)
Bumps @splinetool/runtime from 0.9.477 to 0.9.482.
---
updated-dependencies:
- dependency-name: "@splinetool/runtime"
dependency-type: direct:production
update-type: version-update:semver-patch
...
* Build(deps-dev): bump @types/node from 20.7.0 to 20.8.6 (#548)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.7.0 to 20.8.6.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-minor
...
* Build(deps): bump @sentry/nextjs from 7.73.0 to 7.74.0 (#545)
Bumps [@sentry/nextjs](https://github.com/getsentry/sentry-javascript) from 7.73.0 to 7.74.0.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/7.73.0...7.74.0)
---
updated-dependencies:
- dependency-name: "@sentry/nextjs"
dependency-type: direct:production
update-type: version-update:semver-minor
...
* 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
---------
* 🐛 fix build
---------
* Mp 2837 pre commit hook (#549)
* MP-2837: added husys and lint-staged
* MP-2837: enabled lint-staged
* MP-2837: setup .prettierignore
* MP-2837: setup .prettierignore
* MP-3483: all Depo. Caps are now % filled (#551)
* MP-3487: changed the copy of the bridging intro screen (#553)
* MP-3482: replaced Max LTV with Max. Leverage (#550)
* added hatched health masks (#552)
* added hatched health masks
* Mp 2837 pre commit hook (#549)
* MP-2837: added husys and lint-staged
* MP-2837: enabled lint-staged
* MP-2837: setup .prettierignore
* MP-2837: setup .prettierignore
* MP-3483: all Depo. Caps are now % filled (#551)
* MP-3487: changed the copy of the bridging intro screen (#553)
* MP-3482: replaced Max LTV with Max. Leverage (#550)
* sneak: change filled to used
* fix: fixed the foregroundColor on increase and my ocd
* ♻️ refactor table (Farm) (#555)
* ♻️ refactor table (Farm)
* 🧽 clean up PR
* 🧽 clean up PR
* Build(deps): bump @babel/traverse from 7.21.2 to 7.23.2 (#554)
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.21.2 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)
---
updated-dependencies:
- dependency-name: "@babel/traverse"
dependency-type: indirect
...
* fix: rename withdraw to unlend (#557)
* Full refactor tables (#556)
* 📈 Improve structure generic Table component
* ♻️ Update Borrow Table and overall structure of Table comp
* ♻️ Update Lend table
* ✨ add loading state for lend table
* 🧪 Fix unit tests
* ✨ Add available HLS Vaults page (#558)
* Table updates (#559)
* fix: adjusted table colors and hover interactions
* fix: added actionButtons back and changed lend to APY
* fix: build update
* tidy: fixed the CircularProgress indicators on the loading modals
* fix: relative import
* env: updated shuttle, keplr and version (#566)
* fix: fixed dust left when trying to buy max amount without leverage (#565)
* feat: added squidrouter to the bridges (#561)
* feat: added squidrouter to the bridges
* fix: copy update
* MP-3521: updated the APR calculation (#572)
* Table fixes (#563)
* fix: fixed the sorting of the tables
* fix: added sorting functions
* fix: farm sorting for deposit cap
* fix: fixed Row types
* Build(deps-dev): bump prettier-plugin-tailwindcss from 0.5.5 to 0.5.6 (#567)
Bumps [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) from 0.5.5 to 0.5.6.
- [Release notes](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.5.5...v0.5.6)
---
updated-dependencies:
- dependency-name: prettier-plugin-tailwindcss
dependency-type: direct:development
update-type: version-update:semver-patch
...
* Build(deps): bump react-router-dom from 6.16.0 to 6.17.0 (#571)
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.16.0 to 6.17.0.
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.17.0/packages/react-router-dom)
---
updated-dependencies:
- dependency-name: react-router-dom
dependency-type: direct:production
update-type: version-update:semver-minor
...
* ✨ HLS: Add info modal (#573)
* MP-3484: remember summaryAccount tabs and auto expand both (#574)
* User feedback (#575)
* feat: added debt indicator and adjusted the borrowModal
* fix: wallet interaction fix
* Add usdc noble (#576)
* env: added USDC.n
* env: updated usdc noble variables
* fix: fixed the pool on USDC for devnet purposes
* 🐛 Fix initial status of chart (#577)
* Mp 3480 persist last trading pair (#578)
* MP-3480: remove favourite asset and prepare localStore
* env: updated shuttle, keplr and version (#566)
* fix: fixed dust left when trying to buy max amount without leverage (#565)
* feat: added squidrouter to the bridges (#561)
* feat: added squidrouter to the bridges
* fix: copy update
* MP-3521: updated the APR calculation (#572)
* Table fixes (#563)
* fix: fixed the sorting of the tables
* fix: added sorting functions
* fix: farm sorting for deposit cap
* fix: fixed Row types
* Build(deps-dev): bump prettier-plugin-tailwindcss from 0.5.5 to 0.5.6 (#567)
Bumps [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) from 0.5.5 to 0.5.6.
- [Release notes](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.5.5...v0.5.6)
---
updated-dependencies:
- dependency-name: prettier-plugin-tailwindcss
dependency-type: direct:development
update-type: version-update:semver-patch
...
* Build(deps): bump react-router-dom from 6.16.0 to 6.17.0 (#571)
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.16.0 to 6.17.0.
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.17.0/packages/react-router-dom)
---
updated-dependencies:
- dependency-name: react-router-dom
dependency-type: direct:production
update-type: version-update:semver-minor
...
* ✨ HLS: Add info modal (#573)
* MP-3484: remember summaryAccount tabs and auto expand both (#574)
* User feedback (#575)
* feat: added debt indicator and adjusted the borrowModal
* fix: wallet interaction fix
* Add usdc noble (#576)
* env: added USDC.n
* env: updated usdc noble variables
* fix: fixed the pool on USDC for devnet purposes
* 🐛 Fix initial status of chart (#577)
* MP-3480: persist trading pair
* fix: updated according to feedback
* fix: remove pair from Trading View header
---------
---------
* Build(deps): bump @splinetool/runtime from 0.9.477 to 0.9.482 (#544)
Bumps @splinetool/runtime from 0.9.477 to 0.9.482.
---
updated-dependencies:
- dependency-name: "@splinetool/runtime"
dependency-type: direct:production
update-type: version-update:semver-patch
...
* Build(deps-dev): bump @types/node from 20.7.0 to 20.8.6 (#548)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.7.0 to 20.8.6.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-minor
...
* Build(deps): bump @sentry/nextjs from 7.73.0 to 7.74.0 (#545)
Bumps [@sentry/nextjs](https://github.com/getsentry/sentry-javascript) from 7.73.0 to 7.74.0.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/7.73.0...7.74.0)
---
updated-dependencies:
- dependency-name: "@sentry/nextjs"
dependency-type: direct:production
update-type: version-update:semver-minor
...
* 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
---------
* 🐛 fix build
---------
* Mp 2837 pre commit hook (#549)
* MP-2837: added husys and lint-staged
* MP-2837: enabled lint-staged
* MP-2837: setup .prettierignore
* MP-2837: setup .prettierignore
* MP-3483: all Depo. Caps are now % filled (#551)
* MP-3487: changed the copy of the bridging intro screen (#553)
* MP-3482: replaced Max LTV with Max. Leverage (#550)
* added hatched health masks (#552)
* added hatched health masks
* Mp 2837 pre commit hook (#549)
* MP-2837: added husys and lint-staged
* MP-2837: enabled lint-staged
* MP-2837: setup .prettierignore
* MP-2837: setup .prettierignore
* MP-3483: all Depo. Caps are now % filled (#551)
* MP-3487: changed the copy of the bridging intro screen (#553)
* MP-3482: replaced Max LTV with Max. Leverage (#550)
* sneak: change filled to used
* fix: fixed the foregroundColor on increase and my ocd
* ♻️ refactor table (Farm) (#555)
* ♻️ refactor table (Farm)
* 🧽 clean up PR
* 🧽 clean up PR
* fix: rename withdraw to unlend (#557)
* Full refactor tables (#556)
* 📈 Improve structure generic Table component
* ♻️ Update Borrow Table and overall structure of Table comp
* ♻️ Update Lend table
* ✨ add loading state for lend table
* 🧪 Fix unit tests
* ✨ Add available HLS Vaults page (#558)
* Table updates (#559)
* fix: adjusted table colors and hover interactions
* fix: added actionButtons back and changed lend to APY
* fix: build update
* tidy: fixed the CircularProgress indicators on the loading modals
* fix: relative import
* ✨ HLS: Add info modal (#573)
* MP-3484: remember summaryAccount tabs and auto expand both (#574)
* post update hotfixes (#580)
* fix: fixed showing 0 on farm page if no desposited vaults
* fix: chnage USDC’s name to Noble
* v2.0.1 (#579) (#582)
* Build(deps): bump @splinetool/runtime from 0.9.477 to 0.9.482 (#544)
Bumps @splinetool/runtime from 0.9.477 to 0.9.482.
---
updated-dependencies:
- dependency-name: "@splinetool/runtime"
dependency-type: direct:production
update-type: version-update:semver-patch
...
* Build(deps-dev): bump @types/node from 20.7.0 to 20.8.6 (#548)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.7.0 to 20.8.6.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-minor
...
* Build(deps): bump @sentry/nextjs from 7.73.0 to 7.74.0 (#545)
Bumps [@sentry/nextjs](https://github.com/getsentry/sentry-javascript) from 7.73.0 to 7.74.0.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/7.73.0...7.74.0)
---
updated-dependencies:
- dependency-name: "@sentry/nextjs"
dependency-type: direct:production
update-type: version-update:semver-minor
...
* 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
---------
* 🐛 fix build
---------
* Mp 2837 pre commit hook (#549)
* MP-2837: added husys and lint-staged
* MP-2837: enabled lint-staged
* MP-2837: setup .prettierignore
* MP-2837: setup .prettierignore
* MP-3483: all Depo. Caps are now % filled (#551)
* MP-3487: changed the copy of the bridging intro screen (#553)
* MP-3482: replaced Max LTV with Max. Leverage (#550)
* added hatched health masks (#552)
* added hatched health masks
* Mp 2837 pre commit hook (#549)
* MP-2837: added husys and lint-staged
* MP-2837: enabled lint-staged
* MP-2837: setup .prettierignore
* MP-2837: setup .prettierignore
* MP-3483: all Depo. Caps are now % filled (#551)
* MP-3487: changed the copy of the bridging intro screen (#553)
* MP-3482: replaced Max LTV with Max. Leverage (#550)
* sneak: change filled to used
* fix: fixed the foregroundColor on increase and my ocd
* ♻️ refactor table (Farm) (#555)
* ♻️ refactor table (Farm)
* 🧽 clean up PR
* 🧽 clean up PR
* Build(deps): bump @babel/traverse from 7.21.2 to 7.23.2 (#554)
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.21.2 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)
---
updated-dependencies:
- dependency-name: "@babel/traverse"
dependency-type: indirect
...
* fix: rename withdraw to unlend (#557)
* Full refactor tables (#556)
* 📈 Improve structure generic Table component
* ♻️ Update Borrow Table and overall structure of Table comp
* ♻️ Update Lend table
* ✨ add loading state for lend table
* 🧪 Fix unit tests
* ✨ Add available HLS Vaults page (#558)
* Table updates (#559)
* fix: adjusted table colors and hover interactions
* fix: added actionButtons back and changed lend to APY
* fix: build update
* tidy: fixed the CircularProgress indicators on the loading modals
* fix: relative import
* env: updated shuttle, keplr and version (#566)
* fix: fixed dust left when trying to buy max amount without leverage (#565)
* feat: added squidrouter to the bridges (#561)
* feat: added squidrouter to the bridges
* fix: copy update
* MP-3521: updated the APR calculation (#572)
* Table fixes (#563)
* fix: fixed the sorting of the tables
* fix: added sorting functions
* fix: farm sorting for deposit cap
* fix: fixed Row types
* Build(deps-dev): bump prettier-plugin-tailwindcss from 0.5.5 to 0.5.6 (#567)
Bumps [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) from 0.5.5 to 0.5.6.
- [Release notes](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.5.5...v0.5.6)
---
updated-dependencies:
- dependency-name: prettier-plugin-tailwindcss
dependency-type: direct:development
update-type: version-update:semver-patch
...
* Build(deps): bump react-router-dom from 6.16.0 to 6.17.0 (#571)
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.16.0 to 6.17.0.
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.17.0/packages/react-router-dom)
---
updated-dependencies:
- dependency-name: react-router-dom
dependency-type: direct:production
update-type: version-update:semver-minor
...
* ✨ HLS: Add info modal (#573)
* MP-3484: remember summaryAccount tabs and auto expand both (#574)
* User feedback (#575)
* feat: added debt indicator and adjusted the borrowModal
* fix: wallet interaction fix
* Add usdc noble (#576)
* env: added USDC.n
* env: updated usdc noble variables
* fix: fixed the pool on USDC for devnet purposes
* 🐛 Fix initial status of chart (#577)
* Mp 3480 persist last trading pair (#578)
* MP-3480: remove favourite asset and prepare localStore
* env: updated shuttle, keplr and version (#566)
* fix: fixed dust left when trying to buy max amount without leverage (#565)
* feat: added squidrouter to the bridges (#561)
* feat: added squidrouter to the bridges
* fix: copy update
* MP-3521: updated the APR calculation (#572)
* Table fixes (#563)
* fix: fixed the sorting of the tables
* fix: added sorting functions
* fix: farm sorting for deposit cap
* fix: fixed Row types
* Build(deps-dev): bump prettier-plugin-tailwindcss from 0.5.5 to 0.5.6 (#567)
Bumps [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) from 0.5.5 to 0.5.6.
- [Release notes](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.5.5...v0.5.6)
---
updated-dependencies:
- dependency-name: prettier-plugin-tailwindcss
dependency-type: direct:development
update-type: version-update:semver-patch
...
* Build(deps): bump react-router-dom from 6.16.0 to 6.17.0 (#571)
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.16.0 to 6.17.0.
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.17.0/packages/react-router-dom)
---
updated-dependencies:
- dependency-name: react-router-dom
dependency-type: direct:production
update-type: version-update:semver-minor
...
* ✨ HLS: Add info modal (#573)
* MP-3484: remember summaryAccount tabs and auto expand both (#574)
* User feedback (#575)
* feat: added debt indicator and adjusted the borrowModal
* fix: wallet interaction fix
* Add usdc noble (#576)
* env: added USDC.n
* env: updated usdc noble variables
* fix: fixed the pool on USDC for devnet purposes
* 🐛 Fix initial status of chart (#577)
* MP-3480: persist trading pair
* fix: updated according to feedback
* fix: remove pair from Trading View header
---------
---------
* v2.0.1 (#579) (#583)
* Build(deps): bump @splinetool/runtime from 0.9.477 to 0.9.482 (#544)
Bumps @splinetool/runtime from 0.9.477 to 0.9.482.
---
updated-dependencies:
- dependency-name: "@splinetool/runtime"
dependency-type: direct:production
update-type: version-update:semver-patch
...
* Build(deps-dev): bump @types/node from 20.7.0 to 20.8.6 (#548)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.7.0 to 20.8.6.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-minor
...
* Build(deps): bump @sentry/nextjs from 7.73.0 to 7.74.0 (#545)
Bumps [@sentry/nextjs](https://github.com/getsentry/sentry-javascript) from 7.73.0 to 7.74.0.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/7.73.0...7.74.0)
---
updated-dependencies:
- dependency-name: "@sentry/nextjs"
dependency-type: direct:production
update-type: version-update:semver-minor
...
* 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
---------
* 🐛 fix build
---------
* Mp 2837 pre commit hook (#549)
* MP-2837: added husys and lint-staged
* MP-2837: enabled lint-staged
* MP-2837: setup .prettierignore
* MP-2837: setup .prettierignore
* MP-3483: all Depo. Caps are now % filled (#551)
* MP-3487: changed the copy of the bridging intro screen (#553)
* MP-3482: replaced Max LTV with Max. Leverage (#550)
* added hatched health masks (#552)
* added hatched health masks
* Mp 2837 pre commit hook (#549)
* MP-2837: added husys and lint-staged
* MP-2837: enabled lint-staged
* MP-2837: setup .prettierignore
* MP-2837: setup .prettierignore
* MP-3483: all Depo. Caps are now % filled (#551)
* MP-3487: changed the copy of the bridging intro screen (#553)
* MP-3482: replaced Max LTV with Max. Leverage (#550)
* sneak: change filled to used
* fix: fixed the foregroundColor on increase and my ocd
* ♻️ refactor table (Farm) (#555)
* ♻️ refactor table (Farm)
* 🧽 clean up PR
* 🧽 clean up PR
* Build(deps): bump @babel/traverse from 7.21.2 to 7.23.2 (#554)
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.21.2 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)
---
updated-dependencies:
- dependency-name: "@babel/traverse"
dependency-type: indirect
...
* fix: rename withdraw to unlend (#557)
* Full refactor tables (#556)
* 📈 Improve structure generic Table component
* ♻️ Update Borrow Table and overall structure of Table comp
* ♻️ Update Lend table
* ✨ add loading state for lend table
* 🧪 Fix unit tests
* ✨ Add available HLS Vaults page (#558)
* Table updates (#559)
* fix: adjusted table colors and hover interactions
* fix: added actionButtons back and changed lend to APY
* fix: build update
* tidy: fixed the CircularProgress indicators on the loading modals
* fix: relative import
* env: updated shuttle, keplr and version (#566)
* fix: fixed dust left when trying to buy max amount without leverage (#565)
* feat: added squidrouter to the bridges (#561)
* feat: added squidrouter to the bridges
* fix: copy update
* MP-3521: updated the APR calculation (#572)
* Table fixes (#563)
* fix: fixed the sorting of the tables
* fix: added sorting functions
* fix: farm sorting for deposit cap
* fix: fixed Row types
* Build(deps-dev): bump prettier-plugin-tailwindcss from 0.5.5 to 0.5.6 (#567)
Bumps [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) from 0.5.5 to 0.5.6.
- [Release notes](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.5.5...v0.5.6)
---
updated-dependencies:
- dependency-name: prettier-plugin-tailwindcss
dependency-type: direct:development
update-type: version-update:semver-patch
...
* Build(deps): bump react-router-dom from 6.16.0 to 6.17.0 (#571)
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.16.0 to 6.17.0.
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.17.0/packages/react-router-dom)
---
updated-dependencies:
- dependency-name: react-router-dom
dependency-type: direct:production
update-type: version-update:semver-minor
...
* ✨ HLS: Add info modal (#573)
* MP-3484: remember summaryAccount tabs and auto expand both (#574)
* User feedback (#575)
* feat: added debt indicator and adjusted the borrowModal
* fix: wallet interaction fix
* Add usdc noble (#576)
* env: added USDC.n
* env: updated usdc noble variables
* fix: fixed the pool on USDC for devnet purposes
* 🐛 Fix initial status of chart (#577)
* Mp 3480 persist last trading pair (#578)
* MP-3480: remove favourite asset and prepare localStore
* env: updated shuttle, keplr and version (#566)
* fix: fixed dust left when trying to buy max amount without leverage (#565)
* feat: added squidrouter to the bridges (#561)
* feat: added squidrouter to the bridges
* fix: copy update
* MP-3521: updated the APR calculation (#572)
* Table fixes (#563)
* fix: fixed the sorting of the tables
* fix: added sorting functions
* fix: farm sorting for deposit cap
* fix: fixed Row types
* Build(deps-dev): bump prettier-plugin-tailwindcss from 0.5.5 to 0.5.6 (#567)
Bumps [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) from 0.5.5 to 0.5.6.
- [Release notes](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.5.5...v0.5.6)
---
updated-dependencies:
- dependency-name: prettier-plugin-tailwindcss
dependency-type: direct:development
update-type: version-update:semver-patch
...
* Build(deps): bump react-router-dom from 6.16.0 to 6.17.0 (#571)
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.16.0 to 6.17.0.
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.17.0/packages/react-router-dom)
---
updated-dependencies:
- dependency-name: react-router-dom
dependency-type: direct:production
update-type: version-update:semver-minor
...
* ✨ HLS: Add info modal (#573)
* MP-3484: remember summaryAccount tabs and auto expand both (#574)
* User feedback (#575)
* feat: added debt indicator and adjusted the borrowModal
* fix: wallet interaction fix
* Add usdc noble (#576)
* env: added USDC.n
* env: updated usdc noble variables
* fix: fixed the pool on USDC for devnet purposes
* 🐛 Fix initial status of chart (#577)
* MP-3480: persist trading pair
* fix: updated according to feedback
* fix: remove pair from Trading View header
---------
---------
* fix: fixed the asset select overflow
---------
* fix: fixed the AccountDetails position
* fix: update
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Bob van der Helm <34470358+bobthebuidlr@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix: prevent permanent account updates by trade page (#587)
* 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 (#595)
* 🌟 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>
* fix: if HF > 1 and health === 0, return health 1 (#601)
* MP-3540: added liquidity warning (#605)
* Oracle update button (#606)
* feat: added a resync button to the header
* fix: updated the text
* fix: remove pulsing
* fix: fixed the checkbox not being clickable after select (#608)
* Mp 3360 create vault position (#607)
* 🔧 Small fixes
* ✨ Deposit into HLS Vault + Groudnwork for HLS Staking
* Adjusted according to feedback
* Adjusted according to feedback
* Build(deps-dev): bump eslint-config-next from 13.5.4 to 14.0.0 (#599)
Bumps [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next) from 13.5.4 to 14.0.0.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/commits/v14.0.0/packages/eslint-config-next)
---
updated-dependencies:
- dependency-name: eslint-config-next
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Build(deps): bump recharts from 2.8.0 to 2.9.0 (#598)
Bumps [recharts](https://github.com/recharts/recharts) from 2.8.0 to 2.9.0.
- [Release notes](https://github.com/recharts/recharts/releases)
- [Changelog](https://github.com/recharts/recharts/blob/master/CHANGELOG.md)
- [Commits](https://github.com/recharts/recharts/compare/v2.8.0...v2.9.0)
---
updated-dependencies:
- dependency-name: recharts
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Build(deps-dev): bump @types/react from 18.2.28 to 18.2.33 (#596)
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.2.28 to 18.2.33.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)
---
updated-dependencies:
- dependency-name: "@types/react"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Build(deps): bump crypto-js from 4.1.1 to 4.2.0 (#591)
Bumps [crypto-js](https://github.com/brix/crypto-js) from 4.1.1 to 4.2.0.
- [Commits](https://github.com/brix/crypto-js/compare/4.1.1...4.2.0)
---
updated-dependencies:
- dependency-name: crypto-js
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Build(deps-dev): bump @types/lodash.throttle from 4.1.7 to 4.1.8 (#569)
Bumps [@types/lodash.throttle](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash.throttle) from 4.1.7 to 4.1.8.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lodash.throttle)
---
updated-dependencies:
- dependency-name: "@types/lodash.throttle"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix: waiting for script to be ready (#609)
* fix: show a loading state of the trading chart (#610)
* fix: show a loading state of the trading chart
* tidy: refactor
* Feedback implementation (#611)
* env: update wallet volnurabilities
* fix: always render TradingChart container
* fix: amounts can be a fraction of MIN_AMOUNT
* feat: added clickaway handler
* tidy: refactor
* fix: size below 0.00001 is possible for BTC and WETH
* fix: fixed tests
* Mp 3367 staking interactions (#613)
* ♻️ 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>
* ✨Added dropdown button (#614)
* ✨Add basic modal for HLS staking (#615)
* Hls staking manage actions (#622)
* ✨Add basic modal for HLS staking
* ✨UI components for Manage
* ✨All Manage actions (except change lev)
* 🐛hls intro icons + checkbox, hide repay when no debt, clickable dropdown
* fix build
* Pyth history feed (#623)
* MP-3556: first PythDataFeed class
* fix: fixed the timestamp
* fix: fixed the chart data
* fix: fixed the prices
* fix: fixed the math and decimal scale
* tidy: refactor
* fix: update the pythFeedId
* fix: updated OsmosisTheGraphDataFeed
* fix: add a fallback for non pyth data
* tidy: refactor
* fix: adjusted to feedback
* Tia and stosmo (#627)
* feat: listed TIA and stOSMO
* fix: fixed USDC
* tidy: refactor the token logos
* Hls leverage (#628)
* ✨Add basic modal for HLS staking
* ✨UI components for Manage
* ✨All Manage actions (except change lev)
* 🐛hls intro icons + checkbox, hide repay when no debt, clickable dropdown
* fix build
* ✨finish all actiosn for HLS staking
* 🐛clean up tooltip props
* tidy: updated the token logos (#629)
* tidy: updated the token logos
* feat: added dydx
* hotfix: quickfix for Trade
* fix: inverted the charts
* fix: fixed the chart description
* fix: assets
* Build(deps): bump @keplr-wallet/cosmos from 0.12.39 to 0.12.42 (#634)
Bumps @keplr-wallet/cosmos from 0.12.39 to 0.12.42.
---
updated-dependencies:
- dependency-name: "@keplr-wallet/cosmos"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Borrow Rate to APY (#632)
* fix: changed Borrow Rate to Borrow Rate APY
* fix: regarding feedback
* Auto repay on trade (#631)
* fix: fixed the trading chart load
* fix: prevent wrapped checkboxes to be double clicked
* fix: refactored funding account modal
* fix: fixed modal classes
* fix: adjusted width classes
* fix: fixed updating states
* tidy: format
* fix: fixed the slider masks
* fix: fixed the slider masks
* listed: TIA and USDT
* fix: fixed the slider initial position
* env: version update
* fix: fixed priceFeedIds
* Hls latest (#637)
* env: enable HLS
* feat: added background and orb fading
* tidy: updated the token logos (#629)
* tidy: updated the token logos
* feat: added dydx
* fix: increase load spead of trading charts
* feat: first version of the UI shift
* Deployment for HLS testing
* ✨ add APY to HLS staking
* ✨ add APY account overview and summary
* fix: fixed the intro component visibility
* ✨ add warning messages HLS
* fix: menu order
* ✨ implement live APRs
* auto-select first account, add no balance message
* enable tabs for hls, fix net APY for deposit
* fix button for hls, sorting apy and console warnings
* disable feature flag HLS
* fix slider
* update routing
---------
Co-authored-by: Linkie Link <linkielink.dev@gmail.com>
* Build(deps): bump postcss from 8.4.23 to 8.4.31 (#624)
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.23 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.23...8.4.31)
---
updated-dependencies:
- dependency-name: postcss
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Build(deps): bump zustand from 4.4.3 to 4.4.6 (#621)
Bumps [zustand](https://github.com/pmndrs/zustand) from 4.4.3 to 4.4.6.
- [Release notes](https://github.com/pmndrs/zustand/releases)
- [Commits](https://github.com/pmndrs/zustand/compare/v4.4.3...v4.4.6)
---
updated-dependencies:
- dependency-name: zustand
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Build(deps): bump @sentry/nextjs from 7.74.0 to 7.77.0 (#625)
Bumps [@sentry/nextjs](https://github.com/getsentry/sentry-javascript) from 7.74.0 to 7.77.0.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/7.74.0...7.77.0)
---
updated-dependencies:
- dependency-name: "@sentry/nextjs"
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Build(deps-dev): bump @types/react-dom from 18.2.13 to 18.2.15 (#633)
Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) from 18.2.13 to 18.2.15.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)
---
updated-dependencies:
- dependency-name: "@types/react-dom"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Build(deps-dev): bump eslint from 8.51.0 to 8.53.0 (#620)
Bumps [eslint](https://github.com/eslint/eslint) from 8.51.0 to 8.53.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.51.0...v8.53.0)
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Build(deps-dev): bump eslint-plugin-import from 2.28.1 to 2.29.0 (#617)
Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) from 2.28.1 to 2.29.0.
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases)
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md)
- [Commits](https://github.com/import-js/eslint-plugin-import/compare/v2.28.1...v2.29.0)
---
updated-dependencies:
- dependency-name: eslint-plugin-import
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* MP-3564: added navigation dropdown and Governance NavLink (#639)
* MP-2887: added ICNS and ICP support (#638)
* MP-2887: added ICNS and ICP support
:
* fix: removed unessecary package
* Build(deps): bump recharts from 2.9.0 to 2.10.1 (#640)
Bumps [recharts](https://github.com/recharts/recharts) from 2.9.0 to 2.10.1.
- [Release notes](https://github.com/recharts/recharts/releases)
- [Changelog](https://github.com/recharts/recharts/blob/master/CHANGELOG.md)
- [Commits](https://github.com/recharts/recharts/compare/v2.9.0...v2.10.1)
---
updated-dependencies:
- dependency-name: recharts
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Build(deps-dev): bump eslint from 8.53.0 to 8.54.0 (#641)
Bumps [eslint](https://github.com/eslint/eslint) from 8.53.0 to 8.54.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.53.0...v8.54.0)
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Build(deps-dev): bump @types/react-helmet from 6.1.7 to 6.1.9 (#642)
Bumps [@types/react-helmet](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-helmet) from 6.1.7 to 6.1.9.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-helmet)
---
updated-dependencies:
- dependency-name: "@types/react-helmet"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Build(deps-dev): bump @types/lodash.debounce from 4.0.7 to 4.0.9 (#643)
Bumps [@types/lodash.debounce](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash.debounce) from 4.0.7 to 4.0.9.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lodash.debounce)
---
updated-dependencies:
- dependency-name: "@types/lodash.debounce"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Update HC for Margin trade and HLS (#645)
* Update HC for Margin trade and HLS
* fix relative imports
* fix: added clickaway handler and fixed z-index issues (#646)
* v2.0.6 and use feature flag for auto repay (#650)
* 🐛incorrect deposit cap utilization (#647)
* Initialize perps (#648)
* setup routing
* add basic perps interface
* small fix
* feat: listed dydx and AKT (#652)
* Deposit Cap and Utilization Fix (#654)
* 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>
* stATOM and stOSMO TradingView support (#653)
* feat: listed dydx and AKT
* fix: removed theGraph support for now
* ✨finish adding liquidation price (#649)
* ✨finish adding liquidation price
* fix minor issues
* v2.0.6 and use feature flag for auto repay (#650)
* 🐛incorrect deposit cap utilization (#647)
* Initialize perps (#648)
* setup routing
* add basic perps interface
* small fix
* feat: listed dydx and AKT (#652)
* Deposit Cap and Utilization Fix (#654)
* 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>
* stATOM and stOSMO TradingView support (#653)
* feat: listed dydx and AKT
* fix: removed theGraph support for now
* adjust liq price loading and null/0 values
---------
Co-authored-by: Linkie Link <linkielink.dev@gmail.com>
* Auto Lend Switch (#660)
* refactor: moved the autolend logic to the switch
* tidy: update default value
* adjust logic of auto-lend for switch component
---------
Co-authored-by: Bob van der Helm <34470358+bobthebuidlr@users.noreply.github.com>
* temp: remove liquidation price (#661)
* Revert "temp: remove liquidation price (#661)" (#663)
This reverts commit 0cba668c82
.
* 🐛 fix liquidation price (#664)
* Hls text fixes (#667)
* 🐛 incorrect vault values calc
* 🐛 incorrect message for no balance in wallet hls
* 🐛 hls message on keep leverage
* update to correct wasm files
* update to correct wasm files
* v2.1.0 (#669)
* Repay from Wallet (#673)
* feat: added repay from wallet
* tidy: refactor
* UX/UI finetuning (#672)
* feat: added Buy/Sell token ratio to the TradingView header
* fix: changed the order in the trading view description
* feat: added minute timeframe to the chart
* fix: changed WBTC to WBTC/USD pyth price feed
* fix: adjusted HLS health curve
* fix: made HLS accounts unselectable
* copy: changed the APY range and Strategy text
* tidy: fix the tables layout to be more readable
* fix: change the precision of the Trading chart header
* feat: added summary collapsable
* fix: removed Debt Column for active HLS positions
* fix: added Memo to TVChart
* fix: adjust Trade page layout
* tidy: refactor table meta
* fix: DisplayCurrency is able to take options now
* tidy: remove unneeded typesafety
* fix: adjusted according feedback
* env: enabled autoRepay and updated version
* fix: auto-repay
* fix: disable lend on auto repay on trade
* tidy: refactor
* feat: make USDC the standard secondary asset (for trade) (#681)
* Add usePerpsMarket hook and adjust routing (#680)
* Add usePerpsMarket hook and adjust routing
* fix: enable 7 links in the header
---------
Co-authored-by: Linkie Link <linkielink.dev@gmail.com>
* Liq price in balances (#679)
* add liquidation price to balances table trade
* add depositcap to HLS
* fix: add width classes to the balances table, remove abbreviation, remove flicker
* fix: fixed the account selection and added a tooltip
* fix wasm file for debt liquidation price
---------
Co-authored-by: Linkie Link <linkielink.dev@gmail.com>
* added sharp (#682)
* env: added sharp
* fix: use dvh over vh
* add cache for asset params (#683)
* Build(deps): bump @sentry/nextjs from 7.77.0 to 7.84.0 (#677)
Bumps [@sentry/nextjs](https://github.com/getsentry/sentry-javascript) from 7.77.0 to 7.84.0.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/7.77.0...7.84.0)
---
updated-dependencies:
- dependency-name: "@sentry/nextjs"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Build(deps): bump @splinetool/runtime from 0.9.482 to 0.9.516 (#676)
Bumps @splinetool/runtime from 0.9.482 to 0.9.516.
---
updated-dependencies:
- dependency-name: "@splinetool/runtime"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Build(deps-dev): bump @types/react from 18.2.33 to 18.2.41 (#675)
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.2.33 to 18.2.41.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)
---
updated-dependencies:
- dependency-name: "@types/react"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Build(deps): bump react-helmet-async from 1.3.0 to 2.0.3 (#674)
Bumps [react-helmet-async](https://github.com/staylor/react-helmet-async) from 1.3.0 to 2.0.3.
- [Release notes](https://github.com/staylor/react-helmet-async/releases)
- [Commits](https://github.com/staylor/react-helmet-async/commits)
---
updated-dependencies:
- dependency-name: react-helmet-async
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Build(deps): bump @adobe/css-tools from 4.3.1 to 4.3.2 (#671)
Bumps [@adobe/css-tools](https://github.com/adobe/css-tools) from 4.3.1 to 4.3.2.
- [Changelog](https://github.com/adobe/css-tools/blob/main/History.md)
- [Commits](https://github.com/adobe/css-tools/commits)
---
updated-dependencies:
- dependency-name: "@adobe/css-tools"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Build(deps-dev): bump @types/debounce-promise from 3.1.7 to 3.1.9 (#659)
Bumps [@types/debounce-promise](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/debounce-promise) from 3.1.7 to 3.1.9.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/debounce-promise)
---
updated-dependencies:
- dependency-name: "@types/debounce-promise"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Simple spot trading (#684)
* env: added sharp
* fix: use dvh over vh
* feat: prepared the trade view for perps and spot
* fix: adjusted heights for Trade
* feat: added Navigation submenu
* feat: added first interface itteration
* feat: added logic
* feat: added pairsList
* feat: finished Trade Spot Simple
* fix: fixed Sell button
* fix: adjusted capLeft logic and added sorting util
* fix: order of values
* fix: fixed the autoLend switch to be deselectable
* env: bump version
* fix: changes according to feedback
* fix: fixed naming
* tidy: refactor
* fix: set default stable to USDC.axl
* Build(deps): bump @splinetool/runtime from 0.9.516 to 0.9.521 (#690)
Bumps @splinetool/runtime from 0.9.516 to 0.9.521.
---
updated-dependencies:
- dependency-name: "@splinetool/runtime"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Build(deps-dev): bump eslint-config-next from 14.0.0 to 14.0.4 (#687)
Bumps [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next) from 14.0.0 to 14.0.4.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/commits/v14.0.4/packages/eslint-config-next)
---
updated-dependencies:
- dependency-name: eslint-config-next
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Build(deps-dev): bump @types/react-helmet from 6.1.9 to 6.1.11 (#688)
Bumps [@types/react-helmet](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-helmet) from 6.1.9 to 6.1.11.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-helmet)
---
updated-dependencies:
- dependency-name: "@types/react-helmet"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Build(deps-dev): bump lint-staged from 15.0.1 to 15.2.0 (#689)
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 15.0.1 to 15.2.0.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Changelog](https://github.com/lint-staged/lint-staged/blob/master/CHANGELOG.md)
- [Commits](https://github.com/okonet/lint-staged/compare/v15.0.1...v15.2.0)
---
updated-dependencies:
- dependency-name: lint-staged
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix: fixed deposit cap being negative
* add execute message page (#694)
* fix negative deposit cap, make trade pair selected button (#695)
* fix: fixed the swap message for multihop swaps (#701)
* fix: fixed the swap message for multihop swaps
* fix: according to feedback
* feat: added PYTH logo to the trade chart (#705)
* Added chain agnostic v2 (#710)
* update assets config and chains
* make clients dynamic
* feat: formatted ChainSelect
* fix infinite rerender on trade page
* feat: added NTRN icon
* fix: fixed ChainInfoID
* fix: fixed autoLendEnabled for NTRN
* fix: fixed the navigation and dependencies
* fix: fixed the pricefeed id
* fix: fixed the header menu
* fix: fixed the trading charts
* fix: fixed the healthbars
* fix: fixed naming of pion-1
* feast: updated xdefi image
* env: updated contracts
* make localStorage chain agnostic
* fix: made the selected chain persistant
* fix: fixed the wallet providers
* fix: updated auto connect
* fix: fixed auto connecting
* fix: added ChainSelect to focusMode
* store raw strings in localstorage
* 🔥 remnove tests
* update caching keys + disconnect wallet on change chain
* fix: fixed the chain select
* env: bumped version
---------
Co-authored-by: Bob van der Helm <34470358+bobthebuidlr@users.noreply.github.com>
* Build(deps): bump zustand from 4.4.6 to 4.4.7 (#699)
Bumps [zustand](https://github.com/pmndrs/zustand) from 4.4.6 to 4.4.7.
- [Release notes](https://github.com/pmndrs/zustand/releases)
- [Commits](https://github.com/pmndrs/zustand/compare/v4.4.6...v4.4.7)
---
updated-dependencies:
- dependency-name: zustand
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Build(deps-dev): bump @types/node from 20.8.6 to 20.10.6 (#707)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.8.6 to 20.10.6.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Build(deps): bump @sentry/nextjs from 7.84.0 to 7.91.0 (#704)
Bumps [@sentry/nextjs](https://github.com/getsentry/sentry-javascript) from 7.84.0 to 7.91.0.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/7.84.0...7.91.0)
---
updated-dependencies:
- dependency-name: "@sentry/nextjs"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Perp queries (#711)
* update assets config and chains
* make clients dynamic
* feat: formatted ChainSelect
* fix infinite rerender on trade page
* feat: added NTRN icon
* fix: fixed ChainInfoID
* fix: fixed autoLendEnabled for NTRN
* fix: fixed the navigation and dependencies
* fix: fixed the pricefeed id
* fix: fixed the header menu
* fix: fixed the trading charts
* fix: fixed the healthbars
* fix: fixed naming of pion-1
* feast: updated xdefi image
* env: updated contracts
* make localStorage chain agnostic
* fix: made the selected chain persistant
* fix: fixed the wallet providers
* fix: updated auto connect
* fix: fixed auto connecting
* fix: added ChainSelect to focusMode
* store raw strings in localstorage
* 🔥 remnove tests
* update caching keys + disconnect wallet on change chain
* update contract types and add perps asset select overlay
* fix build + add perps positions to accounts
---------
Co-authored-by: Linkie Link <linkielink.dev@gmail.com>
* Perp queries (#712)
* update assets config and chains
* make clients dynamic
* feat: formatted ChainSelect
* fix infinite rerender on trade page
* feat: added NTRN icon
* fix: fixed ChainInfoID
* fix: fixed autoLendEnabled for NTRN
* fix: fixed the navigation and dependencies
* fix: fixed the pricefeed id
* fix: fixed the header menu
* fix: fixed the trading charts
* fix: fixed the healthbars
* fix: fixed naming of pion-1
* feast: updated xdefi image
* env: updated contracts
* make localStorage chain agnostic
* fix: made the selected chain persistant
* fix: fixed the wallet providers
* fix: updated auto connect
* fix: fixed auto connecting
* fix: added ChainSelect to focusMode
* store raw strings in localstorage
* 🔥 remnove tests
* update caching keys + disconnect wallet on change chain
* update contract types and add perps asset select overlay
* fix build + add perps positions to accounts
* fix healthcomputer errors
* fix healthcomputer errors
---------
Co-authored-by: Linkie Link <linkielink.dev@gmail.com>
* Cleanup env variables (#713)
* fix: cleaned up env variables and disabled chain selector if there is only one chain
* env: update .env.example
* Add perps balances table (#714)
* Add perps balances table
* fix: updated svg
---------
Co-authored-by: Linkie Link <linkielink.dev@gmail.com>
* fix: fixed unlend on withdraw with borrow (#720)
* fix: fixed unlend on withdraw with borrow
* fix: fixed the logic
* fix: lending on funding
* Extend perps (#721)
* Build(deps): bump @cosmjs/cosmwasm-stargate from 0.31.1 to 0.32.2 (#719)
Bumps [@cosmjs/cosmwasm-stargate](https://github.com/cosmos/cosmjs) from 0.31.1 to 0.32.2.
- [Changelog](https://github.com/cosmos/cosmjs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/cosmos/cosmjs/compare/v0.31.1...v0.32.2)
---
updated-dependencies:
- dependency-name: "@cosmjs/cosmwasm-stargate"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Linkie Link <linkielink.dev@gmail.com>
* Build(deps-dev): bump eslint from 8.54.0 to 8.56.0 (#715)
Bumps [eslint](https://github.com/eslint/eslint) from 8.54.0 to 8.56.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.54.0...v8.56.0)
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Linkie Link <linkielink.dev@gmail.com>
* Build(deps): bump sharp from 0.33.0 to 0.33.1 (#717)
Bumps [sharp](https://github.com/lovell/sharp) from 0.33.0 to 0.33.1.
- [Release notes](https://github.com/lovell/sharp/releases)
- [Changelog](https://github.com/lovell/sharp/blob/main/docs/changelog.md)
- [Commits](https://github.com/lovell/sharp/compare/v0.33.0...v0.33.1)
---
updated-dependencies:
- dependency-name: sharp
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Linkie Link <linkielink.dev@gmail.com>
* Build(deps): bump follow-redirects from 1.15.2 to 1.15.4 (#722)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.2 to 1.15.4.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.2...v1.15.4)
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Pyth price fetching (#723)
* env: remove testing library
* fix: use pyth over oracle
* fix: fix the endpoints
* fix: fix build
* tidy: refactor
* fix: fixed account fetching
* fix: made all queries chain agnostic
* fix: fixed the chart position
* fix swap fee for osmosis (#725)
* Websocket implementation (#726)
* feat: first steps
* feat: added websocket support and set the TradingChart to USD
* fix: oracle staleness button
* fix: set the background to solid and overide backgroundGradient settings (#727)
* Edit perps position (#728)
* add functional funding rate + selector (#729)
* add functional funding rate + selector
* Edit perps position (#728)
* refactor components folder (#734)
* refactor components folder
* create leverage slider variants
* Deposit cap highlighting (#735)
* feat: added depositCap highlighting
* feat: added depositCap highlighting
* Custom Pyth Endpoint & Price Data on Tx's (#736)
* env: remove testing library
* fix: use pyth over oracle
* fix: fix the endpoints
* fix: fix build
* tidy: refactor
* fix: fixed account fetching
* fix: made all queries chain agnostic
* fix: fixed the chart position
* feat: added basic auth
* fix: added env validation
* fix: added ‘no-cors’ and included credentials
* fix: removed ‘no-cors’ mode
* fix: change the isLessThanACent logic
* tidy: console log
* fix: added fallback api
* feat: progress on pythVaas
* fix: getting prices
* fix: try catch
* feat: add pythPriceData to transactions based on setting
* fix: disable Pyth Update when user uses Ledger
* tidy: copy
* Miscellaneous (#737)
* fix: sorted assets by value
* tidy: refactored AssetsSelectTable
* fix: fixed the multipleVaultWithdraw Modal
* change labels for leverage slider (#738)
* Build(deps): bump sharp from 0.33.1 to 0.33.2 (#731)
Bumps [sharp](https://github.com/lovell/sharp) from 0.33.1 to 0.33.2.
- [Release notes](https://github.com/lovell/sharp/releases)
- [Changelog](https://github.com/lovell/sharp/blob/main/docs/changelog.md)
- [Commits](https://github.com/lovell/sharp/compare/v0.33.1...v0.33.2)
---
updated-dependencies:
- dependency-name: sharp
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* feat: added external links and marked them accordingly (#740)
* Build(deps-dev): bump prettier from 3.0.3 to 3.2.4 (#741)
Bumps [prettier](https://github.com/prettier/prettier) from 3.0.3 to 3.2.4.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.0.3...3.2.4)
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Build(deps): bump @sentry/nextjs from 7.91.0 to 7.94.1 (#743)
Bumps [@sentry/nextjs](https://github.com/getsentry/sentry-javascript) from 7.91.0 to 7.94.1.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/7.91.0...7.94.1)
---
updated-dependencies:
- dependency-name: "@sentry/nextjs"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Build(deps): bump react-router-dom from 6.17.0 to 6.21.3 (#744)
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.17.0 to 6.21.3.
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.21.3/packages/react-router-dom)
---
updated-dependencies:
- dependency-name: react-router-dom
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* add hooks to fetch route (#739)
* add hooks to fetch route
* add missing routes endpoint for pion1
* feat: created AccountPerpsPositions for the AccountDetails component (#745)
* feat: created AccountPerpsPositions for the AccountDetails component
* fix: type fixing
* feat: added ToolTip
* tidy: refactor
* fix: added unrealized PnL placeholder
* tidy: finetune on the border color
* fix: fixed tables
* fix: adjustments according to feedback
* fix: fixed lent assets table
* fix: fixed typing
* refactor: streamline size to amount
* tidy: remove console.log
* fixed refetchgin of account data (#747)
Co-authored-by: Linkie Link <linkielink.dev@gmail.com>
* fix: fixed merge issues
* fix: hide Perp Positions on Osmosis
* tidy: refactor
* Moved Markets data to SWR (#749)
* Build(deps-dev): bump prettier-plugin-tailwindcss from 0.5.6 to 0.5.11 (#751)
Bumps [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) from 0.5.6 to 0.5.11.
- [Release notes](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.5.6...v0.5.11)
---
updated-dependencies:
- dependency-name: prettier-plugin-tailwindcss
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Build(deps-dev): bump autoprefixer from 10.4.16 to 10.4.17 (#753)
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.4.16 to 10.4.17.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.4.16...10.4.17)
---
updated-dependencies:
- dependency-name: autoprefixer
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Build(deps-dev): bump eslint-plugin-import from 2.29.0 to 2.29.1 (#752)
Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) from 2.29.0 to 2.29.1.
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases)
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md)
- [Commits](https://github.com/import-js/eslint-plugin-import/compare/v2.29.0...v2.29.1)
---
updated-dependencies:
- dependency-name: eslint-plugin-import
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Build(deps-dev): bump dotenv from 16.3.1 to 16.4.1 (#754)
Bumps [dotenv](https://github.com/motdotla/dotenv) from 16.3.1 to 16.4.1.
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/compare/v16.3.1...v16.4.1)
---
updated-dependencies:
- dependency-name: dotenv
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Linkie Link <linkielink.dev@gmail.com>
* fix: replaces the store with useChainConfig (#755)
* Withdraw and fund fix (#756)
* fix: fixed markets.find(byDenom())
* fix: fixed the account Summary in modals
* fix: fixed the withdraw lent assets logic
* Perps account preview (#750)
* fix: fixed the Liquidation Price inside the TradeSummary
* feat: added account preview
* tidy: refactor
* feat: added HLS intro
* fix: closing the wallet select focusComponent
* fix: added perps position update to edit as well
* fix: fix update perp
* fix: fail catch
* fix: implemented suggest changes
* tidy: fix
* fix: unfix
* fix: created helper function
* tidy: console.log
* Mp 2182 convert api folder to swr hooks (#758)
* moved api/openingFee to hook
* moved api/icns and api/balances to hooks
* moved api/assetIncentivesApy to hooks
* moved api/incentives to hooks
* fix relative import
* List milkTIA (#757)
* tidy: update svgs
* feat: list milkTIA
* env: updated the version
* fix: fixed null return of RedBank
* fix: useMarketEnabledAssets
* fix: fixed merge errors
* fix: fixed the useSWR key for vaults
* update osmosis nodes to Rhino (#762)
* perps: remove modify module and adjust main module (#761)
* perps: remove modify module and adjust main module
* fix build
* Build(deps): bump react-toastify from 9.1.3 to 10.0.4 (#764)
Bumps [react-toastify](https://github.com/fkhadra/react-toastify) from 9.1.3 to 10.0.4.
- [Release notes](https://github.com/fkhadra/react-toastify/releases)
- [Commits](https://github.com/fkhadra/react-toastify/compare/v9.1.3...v10.0.4)
---
updated-dependencies:
- dependency-name: react-toastify
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Build(deps): bump @tanstack/react-table from 8.11.7 to 8.11.8 (#765)
Bumps [@tanstack/react-table](https://github.com/TanStack/table/tree/HEAD/packages/react-table) from 8.11.7 to 8.11.8.
- [Release notes](https://github.com/TanStack/table/releases)
- [Commits](https://github.com/TanStack/table/commits/v8.11.8/packages/react-table)
---
updated-dependencies:
- dependency-name: "@tanstack/react-table"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Build(deps): bump @splinetool/runtime from 0.9.526 to 1.0.47 (#766)
Bumps @splinetool/runtime from 0.9.526 to 1.0.47.
---
updated-dependencies:
- dependency-name: "@splinetool/runtime"
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Build(deps-dev): bump @types/react-dom from 18.2.15 to 18.2.18 (#767)
Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) from 18.2.15 to 18.2.18.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)
---
updated-dependencies:
- dependency-name: "@types/react-dom"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Build(deps-dev): bump typescript from 5.2.2 to 5.3.3 (#768)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.2.2 to 5.3.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.2.2...v5.3.3)
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* feat: use the chartView LocalStore to load the last set resolution (#769)
* fix: fixed favorite asset select (#770)
* Morph summary (#763)
* fix: fixed mobile issues with SVGs
* feat: first morphing AccountDetails
* tidy: composition refresh
* tidy: fine adjusting
* fix: svg fixes
* feat: updated summary structure
* feat: overall layout adjustments
* fix: fixed svg adjustments
* feat: finished AccountSummary update
* fix: fixed build
* tidy: refactor
* fix: fix enourmous APYs
* fix: don’t abbreviate APYs
* tidy: console.log
* fix: fix borrow Rate sorting
* fix: fixed scrollbars
* fix: hide scrollbars
* fix: resolved feedback
* fix: amount not size
* feat: only show credit account number outside of modals
* fix: added missing Strategies to PortfolioAccount
* fix: save some space
* feat: preperations for open sourcing the repo (#771)
* feat: preperations for open sourcing the repo
* fix: don’t use an apikey if there is none set
* fix: fixed a dependency
* fix: filled the empty space below collapsed content (#773)
* fix: filled the empty space below collapsed content
* fix: fixed timings
* Mp 2193 pnl breakdown (#775)
* perps: add additional pnl info
* perps: make realized / unrealized coins
* vault: separate aprs (#777)
* fix: update account health on modal close (#776)
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Bob van der Helm <34470358+bobthebuidlr@users.noreply.github.com>
This commit is contained in:
parent
8ac43f2df3
commit
a1d5e10758
@ -1,5 +1,6 @@
|
||||
import { cacheFn, positionsCache } from 'api/cache'
|
||||
import { getCreditManagerQueryClient } from 'api/cosmwasm-client'
|
||||
import getPrices from 'api/prices/getPrices'
|
||||
import getDepositedVaults from 'api/vaults/getDepositedVaults'
|
||||
import { BNCoin } from 'types/classes/BNCoin'
|
||||
import { Positions } from 'types/generated/mars-credit-manager/MarsCreditManager.types'
|
||||
@ -19,6 +20,8 @@ export default async function getAccount(
|
||||
`${chainConfig.id}/account/${accountId}`,
|
||||
)
|
||||
|
||||
const prices = await getPrices(chainConfig)
|
||||
|
||||
const accountKind = await creditManagerQueryClient.accountKind({ accountId: accountId })
|
||||
|
||||
const depositedVaults = await getDepositedVaults(accountId, chainConfig, accountPosition)
|
||||
@ -30,7 +33,7 @@ export default async function getAccount(
|
||||
lends: accountPosition.lends.map((lend) => new BNCoin(lend)),
|
||||
deposits: accountPosition.deposits.map((deposit) => new BNCoin(deposit)),
|
||||
vaults: depositedVaults,
|
||||
perps: resolvePerpsPositions(accountPosition.perps),
|
||||
perps: resolvePerpsPositions(accountPosition.perps, prices),
|
||||
kind: accountKind,
|
||||
}
|
||||
}
|
||||
|
@ -1,31 +0,0 @@
|
||||
import { aprsCache, aprsCacheResponse, cacheFn } from 'api/cache'
|
||||
|
||||
export default async function getAprs(chainConfig: ChainConfig) {
|
||||
if (!chainConfig.farm) return []
|
||||
try {
|
||||
const response = await cacheFn(
|
||||
() => fetch(chainConfig.endpoints.aprs.vaults),
|
||||
aprsCacheResponse,
|
||||
`${chainConfig.id}/aprsResponse`,
|
||||
60,
|
||||
)
|
||||
|
||||
if (response.ok) {
|
||||
const data: AprResponse = await cacheFn(
|
||||
() => response.json(),
|
||||
aprsCache,
|
||||
`${chainConfig.id}/aprs`,
|
||||
60,
|
||||
)
|
||||
|
||||
return data.vaults.map((aprData) => {
|
||||
const finalApr = aprData.apr.projected_apr * 100
|
||||
return { address: aprData.address, apr: finalApr } as Apr
|
||||
})
|
||||
}
|
||||
|
||||
return []
|
||||
} catch {
|
||||
return []
|
||||
}
|
||||
}
|
@ -1,24 +1,20 @@
|
||||
import getAssetParams from 'api/params/getAssetParams'
|
||||
import getAprs from 'api/vaults/getVaultAprs'
|
||||
import { getVaultConfigs } from 'api/vaults/getVaultConfigs'
|
||||
import { getVaultUtilizations } from 'api/vaults/getVaultUtilizations'
|
||||
import { BN } from 'utils/helpers'
|
||||
import { convertAprToApy } from 'utils/parsers'
|
||||
import { resolveHLSStrategies } from 'utils/resolvers'
|
||||
|
||||
export default async function getVaults(chainConfig: ChainConfig): Promise<Vault[]> {
|
||||
const assetParams = await getAssetParams(chainConfig)
|
||||
const vaultConfigs = await getVaultConfigs(chainConfig)
|
||||
const $vaultUtilizations = getVaultUtilizations(chainConfig, vaultConfigs)
|
||||
const $aprs = getAprs(chainConfig)
|
||||
const vaultMetaDatas = chainConfig.vaults
|
||||
const HLSAssets = assetParams.filter((asset) => asset.credit_manager.hls)
|
||||
const hlsStrategies = resolveHLSStrategies('vault', HLSAssets)
|
||||
|
||||
const vaults: Vault[] = []
|
||||
await Promise.all([$vaultUtilizations, $aprs]).then(([vaultUtilizations, aprs]) => {
|
||||
await $vaultUtilizations.then((vaultUtilizations) => {
|
||||
return vaultConfigs.map((vaultConfig) => {
|
||||
const apr = aprs.find((apr) => apr.address === vaultConfig.addr)
|
||||
const vaultMetaData = vaultMetaDatas.find(
|
||||
(vaultMetaData) => vaultMetaData.address === vaultConfig.addr,
|
||||
)
|
||||
@ -36,8 +32,6 @@ export default async function getVaults(chainConfig: ChainConfig): Promise<Vault
|
||||
)?.utilization.amount || 0,
|
||||
),
|
||||
},
|
||||
apy: apr ? convertAprToApy(apr.apr, 365) : null,
|
||||
apr: apr ? apr.apr : null,
|
||||
ltv: {
|
||||
max: Number(vaultConfig.max_loan_to_value),
|
||||
liq: Number(vaultConfig.liquidation_threshold),
|
||||
|
@ -1,11 +1,13 @@
|
||||
import classNames from 'classnames'
|
||||
|
||||
import AssetRate from 'components/common/assets/AssetRate'
|
||||
import Loading from 'components/common/Loading'
|
||||
import Text from 'components/common/Text'
|
||||
|
||||
export const APY_META = { accessorKey: 'apy', header: 'APY', meta: { className: 'w-30' } }
|
||||
|
||||
interface Props {
|
||||
apy: number
|
||||
apy?: number | null
|
||||
markets: Market[]
|
||||
denom: string
|
||||
type: PositionType
|
||||
@ -14,12 +16,16 @@ interface Props {
|
||||
export default function Apr(props: Props) {
|
||||
const { markets, type, denom, apy } = props
|
||||
|
||||
if (apy === undefined) return <Loading />
|
||||
if (apy === null) return <Text size='xs'>N/A</Text>
|
||||
|
||||
if (apy === 0)
|
||||
return (
|
||||
<p className={classNames('w-full text-xs text-right number', type === 'vault' && 'pb-4')}>
|
||||
–
|
||||
</p>
|
||||
)
|
||||
|
||||
const isEnabled =
|
||||
markets.find((market) => market.asset.denom === props.denom)?.borrowEnabled ?? false
|
||||
|
||||
|
@ -24,7 +24,6 @@ export default function useAccountBalanceData(props: Props) {
|
||||
const accountDeposits = usedAccount?.deposits ?? []
|
||||
const accountLends = usedAccount?.lends ?? []
|
||||
const accountDebts = usedAccount?.debts ?? []
|
||||
const accountVaults = usedAccount?.vaults ?? []
|
||||
|
||||
const deposits: AccountBalanceRow[] = []
|
||||
accountDeposits.forEach((deposit) => {
|
||||
|
@ -13,6 +13,7 @@ import { ORACLE_DENOM } from 'constants/oracle'
|
||||
import useAllAssets from 'hooks/assets/useAllAssets'
|
||||
import useHLSStakingAssets from 'hooks/useHLSStakingAssets'
|
||||
import usePrices from 'hooks/usePrices'
|
||||
import useVaultAprs from 'hooks/vaults/useVaultAprs'
|
||||
import useStore from 'store'
|
||||
import { BNCoin } from 'types/classes/BNCoin'
|
||||
import { calculateAccountApr, getAccountPositionValues } from 'utils/accounts'
|
||||
@ -37,6 +38,7 @@ export default function AccountComposition(props: Props) {
|
||||
const hasChanged = !!updatedAccount
|
||||
const { data: prices } = usePrices()
|
||||
const { data: hlsStrategies } = useHLSStakingAssets()
|
||||
const { data: vaultAprs } = useVaultAprs()
|
||||
const assets = useAllAssets()
|
||||
const data = useBorrowMarketAssetsTableData()
|
||||
const borrowAssetsData = useMemo(() => data?.allAssets || [], [data])
|
||||
@ -75,9 +77,19 @@ export default function AccountComposition(props: Props) {
|
||||
prices,
|
||||
hlsStrategies,
|
||||
assets,
|
||||
vaultAprs,
|
||||
props.isHls,
|
||||
),
|
||||
[account, assets, borrowAssetsData, hlsStrategies, lendingAssetsData, prices, props.isHls],
|
||||
[
|
||||
account,
|
||||
assets,
|
||||
borrowAssetsData,
|
||||
hlsStrategies,
|
||||
lendingAssetsData,
|
||||
prices,
|
||||
props.isHls,
|
||||
vaultAprs,
|
||||
],
|
||||
)
|
||||
const updatedApr = useMemo(
|
||||
() =>
|
||||
@ -89,6 +101,7 @@ export default function AccountComposition(props: Props) {
|
||||
prices,
|
||||
hlsStrategies,
|
||||
assets,
|
||||
vaultAprs,
|
||||
props.isHls,
|
||||
)
|
||||
: BN_ZERO,
|
||||
@ -99,6 +112,7 @@ export default function AccountComposition(props: Props) {
|
||||
prices,
|
||||
hlsStrategies,
|
||||
assets,
|
||||
vaultAprs,
|
||||
props.isHls,
|
||||
],
|
||||
)
|
||||
|
@ -22,9 +22,10 @@ import useCurrentAccount from 'hooks/accounts/useCurrentAccount'
|
||||
import useAllAssets from 'hooks/assets/useAllAssets'
|
||||
import useLocalStorage from 'hooks/localStorage/useLocalStorage'
|
||||
import useAccountId from 'hooks/useAccountId'
|
||||
import useHLSStakingAssets from 'hooks/useHLSStakingAssets'
|
||||
import useHealthComputer from 'hooks/useHealthComputer'
|
||||
import useHLSStakingAssets from 'hooks/useHLSStakingAssets'
|
||||
import usePrices from 'hooks/usePrices'
|
||||
import useVaultAprs from 'hooks/vaults/useVaultAprs'
|
||||
import useStore from 'store'
|
||||
import { BNCoin } from 'types/classes/BNCoin'
|
||||
import {
|
||||
@ -38,6 +39,7 @@ export default function AccountDetailsController() {
|
||||
const isHLS = useStore((s) => s.isHLS)
|
||||
const { data: _, isLoading } = useAccounts('default', address)
|
||||
const { data: accountIds } = useAccountIds(address, false, true)
|
||||
|
||||
const accountId = useAccountId()
|
||||
|
||||
const account = useCurrentAccount()
|
||||
@ -59,6 +61,7 @@ function AccountDetails(props: Props) {
|
||||
const { account } = props
|
||||
const location = useLocation()
|
||||
const { data: hlsStrategies } = useHLSStakingAssets()
|
||||
const { data: vaultAprs } = useVaultAprs()
|
||||
const [reduceMotion] = useLocalStorage<boolean>(
|
||||
LocalStorageKeys.REDUCE_MOTION,
|
||||
DEFAULT_SETTINGS.reduceMotion,
|
||||
@ -107,9 +110,19 @@ function AccountDetails(props: Props) {
|
||||
prices,
|
||||
hlsStrategies,
|
||||
assets,
|
||||
vaultAprs,
|
||||
account.kind === 'high_levered_strategy',
|
||||
),
|
||||
[account, assets, borrowAssetsData, hlsStrategies, lendingAssetsData, prices, updatedAccount],
|
||||
[
|
||||
account,
|
||||
assets,
|
||||
borrowAssetsData,
|
||||
hlsStrategies,
|
||||
lendingAssetsData,
|
||||
prices,
|
||||
updatedAccount,
|
||||
vaultAprs,
|
||||
],
|
||||
)
|
||||
const isFullWidth =
|
||||
location.pathname.includes('trade') ||
|
||||
@ -128,7 +141,7 @@ function AccountDetails(props: Props) {
|
||||
data-testid='account-details'
|
||||
className={classNames(
|
||||
accountDetailsExpanded ? 'right-4' : '-right-74',
|
||||
'w-94 flex items-start gap-4 absolute top-6',
|
||||
'w-94 flex items-start gap-4 absolute top-6 z-2',
|
||||
!reduceMotion && 'transition-all duration-500',
|
||||
)}
|
||||
>
|
||||
|
@ -12,6 +12,7 @@ import useAllAssets from 'hooks/assets/useAllAssets'
|
||||
import useHealthComputer from 'hooks/useHealthComputer'
|
||||
import useHLSStakingAssets from 'hooks/useHLSStakingAssets'
|
||||
import usePrices from 'hooks/usePrices'
|
||||
import useVaultAprs from 'hooks/vaults/useVaultAprs'
|
||||
import useStore from 'store'
|
||||
import { calculateAccountApr, calculateAccountBalanceValue } from 'utils/accounts'
|
||||
|
||||
@ -27,6 +28,7 @@ export default function AccountStats(props: Props) {
|
||||
const { data: account } = useAccount(accountId)
|
||||
const { data: prices } = usePrices()
|
||||
const { data: hlsStrategies } = useHLSStakingAssets()
|
||||
const { data: vaultAprs } = useVaultAprs()
|
||||
|
||||
const positionBalance = useMemo(
|
||||
() => (!account ? null : calculateAccountBalanceValue(account, prices, assets)),
|
||||
@ -52,9 +54,10 @@ export default function AccountStats(props: Props) {
|
||||
prices,
|
||||
hlsStrategies,
|
||||
assets,
|
||||
vaultAprs,
|
||||
account.kind === 'high_levered_strategy',
|
||||
),
|
||||
[account, assets, borrowAssetsData, hlsStrategies, lendingAssetsData, prices],
|
||||
[account, assets, borrowAssetsData, hlsStrategies, lendingAssetsData, prices, vaultAprs],
|
||||
)
|
||||
|
||||
const deleteAccountHandler = useCallback(() => {
|
||||
|
@ -1,15 +1,16 @@
|
||||
import { ReactNode } from 'react'
|
||||
|
||||
import AssetImage from 'components/common/assets/AssetImage'
|
||||
import DisplayCurrency from 'components/common/DisplayCurrency'
|
||||
import { FormattedNumber } from 'components/common/FormattedNumber'
|
||||
import Text from 'components/common/Text'
|
||||
import { Tooltip } from 'components/common/Tooltip'
|
||||
import AssetImage from 'components/common/assets/AssetImage'
|
||||
import TradeDirection from 'components/perps/BalancesTable/Columns/TradeDirection'
|
||||
import { BN_ZERO } from 'constants/math'
|
||||
import usePerpsEnabledAssets from 'hooks/assets/usePerpsEnabledAssets'
|
||||
import { BNCoin } from 'types/classes/BNCoin'
|
||||
import { demagnify } from 'utils/formatters'
|
||||
|
||||
export const ASSET_META = {
|
||||
accessorKey: 'symbol',
|
||||
header: 'Asset',
|
||||
@ -58,7 +59,12 @@ function TooltipContent(props: TooltipProps) {
|
||||
/>
|
||||
</LabelAndValue>
|
||||
<LabelAndValue label='Unrealized PnL'>
|
||||
<DisplayCurrency coin={row.pnl} options={{ abbreviated: false }} showZero isProfitOrLoss />
|
||||
<DisplayCurrency
|
||||
coin={row.pnl.net}
|
||||
options={{ abbreviated: false }}
|
||||
showZero
|
||||
isProfitOrLoss
|
||||
/>
|
||||
</LabelAndValue>
|
||||
</div>
|
||||
)
|
||||
|
@ -1,10 +1,9 @@
|
||||
import DisplayCurrency from 'components/common/DisplayCurrency'
|
||||
import { BNCoin } from 'types/classes/BNCoin'
|
||||
|
||||
export const PNL_META = { id: 'pnl', header: 'Total PnL', meta: { className: 'w-30' } }
|
||||
|
||||
interface Props {
|
||||
pnl: BNCoin
|
||||
pnl: PerpsPnL
|
||||
}
|
||||
|
||||
export default function TotalPnL(props: Props) {
|
||||
@ -13,7 +12,7 @@ export default function TotalPnL(props: Props) {
|
||||
return (
|
||||
<DisplayCurrency
|
||||
className='text-xs text-right number'
|
||||
coin={pnl}
|
||||
coin={pnl.net}
|
||||
options={{ abbreviated: false }}
|
||||
isProfitOrLoss
|
||||
showZero
|
||||
|
@ -6,7 +6,7 @@ export function getAssetAccountPerpRow(
|
||||
prices: BNCoin[],
|
||||
position: PerpsPosition,
|
||||
assets: Asset[],
|
||||
prev?: BNCoin,
|
||||
prev?: PerpsPosition,
|
||||
): AccountPerpRow {
|
||||
const { denom, amount } = position
|
||||
const amountChange = !prev ? position.amount : position.amount.minus(prev.amount)
|
||||
|
@ -4,8 +4,8 @@ import { byDenom } from 'utils/array'
|
||||
|
||||
export function getVaultAccountStrategiesRow(
|
||||
vault: DepositedVault,
|
||||
apy: number,
|
||||
prices: BNCoin[],
|
||||
apy?: number | null,
|
||||
prev?: DepositedVault,
|
||||
): AccountStrategyRow {
|
||||
const { name } = vault
|
||||
@ -17,7 +17,7 @@ export function getVaultAccountStrategiesRow(
|
||||
.plus(previous.values.unlocked)
|
||||
.plus(previous.values.unlocking)
|
||||
|
||||
if (totalLockedValue.isLessThan(totalValue)) {
|
||||
if (totalLockedValue.isLessThan(totalValue) && apy) {
|
||||
apy = totalLockedValue.dividedBy(totalValue).times(apy).toNumber()
|
||||
}
|
||||
|
||||
|
@ -2,6 +2,7 @@ import { useMemo } from 'react'
|
||||
|
||||
import { getVaultAccountStrategiesRow } from 'components/account/AccountStrategiesTable/functions'
|
||||
import usePrices from 'hooks/usePrices'
|
||||
import useVaultAprs from 'hooks/vaults/useVaultAprs'
|
||||
|
||||
interface Props {
|
||||
account: Account
|
||||
@ -11,17 +12,18 @@ interface Props {
|
||||
export default function useAccountStategiesData(props: Props) {
|
||||
const { account, updatedAccount } = props
|
||||
const { data: prices } = usePrices()
|
||||
const { data: vaultAprs } = useVaultAprs()
|
||||
return useMemo<AccountStrategyRow[]>(() => {
|
||||
const usedAccount = updatedAccount ?? account
|
||||
const accountVaults = usedAccount?.vaults ?? []
|
||||
|
||||
return accountVaults.map((vault) => {
|
||||
const apy = vault.apy ?? 0
|
||||
const apy = vaultAprs.find((vaultApr) => vaultApr.address === vault.address)?.apy
|
||||
const prevVault = updatedAccount
|
||||
? account?.vaults.find((position) => position.name === vault.name)
|
||||
: vault
|
||||
|
||||
return getVaultAccountStrategiesRow(vault, apy, prices, prevVault)
|
||||
return getVaultAccountStrategiesRow(vault, prices, apy, prevVault)
|
||||
})
|
||||
}, [account, updatedAccount, prices])
|
||||
}, [updatedAccount, account, vaultAprs, prices])
|
||||
}
|
||||
|
@ -13,9 +13,10 @@ import { LocalStorageKeys } from 'constants/localStorageKeys'
|
||||
import { BN_ZERO } from 'constants/math'
|
||||
import useAllAssets from 'hooks/assets/useAllAssets'
|
||||
import useLocalStorage from 'hooks/localStorage/useLocalStorage'
|
||||
import useHLSStakingAssets from 'hooks/useHLSStakingAssets'
|
||||
import useHealthComputer from 'hooks/useHealthComputer'
|
||||
import useHLSStakingAssets from 'hooks/useHLSStakingAssets'
|
||||
import usePrices from 'hooks/usePrices'
|
||||
import useVaultAprs from 'hooks/vaults/useVaultAprs'
|
||||
import useStore from 'store'
|
||||
import { calculateAccountApr, calculateAccountLeverage } from 'utils/accounts'
|
||||
|
||||
@ -26,16 +27,18 @@ interface Props {
|
||||
}
|
||||
|
||||
export default function AccountSummary(props: Props) {
|
||||
const storageKey = props.isAccountDetails
|
||||
const { account, isAccountDetails, isHls } = props
|
||||
const storageKey = isAccountDetails
|
||||
? LocalStorageKeys.ACCOUNT_DETAILS_TABS
|
||||
: LocalStorageKeys.ACCOUNT_SUMMARY_TABS
|
||||
const defaultSetting = props.isAccountDetails
|
||||
const defaultSetting = isAccountDetails
|
||||
? DEFAULT_SETTINGS.accountDetailsTabs
|
||||
: DEFAULT_SETTINGS.accountSummaryTabs
|
||||
const [accountSummaryTabs, setAccountSummaryTabs] = useLocalStorage<boolean[]>(
|
||||
storageKey,
|
||||
defaultSetting,
|
||||
)
|
||||
const { data: vaultAprs } = useVaultAprs()
|
||||
const { data: prices } = usePrices()
|
||||
const assets = useAllAssets()
|
||||
const updatedAccount = useStore((s) => s.updatedAccount)
|
||||
@ -48,12 +51,13 @@ export default function AccountSummary(props: Props) {
|
||||
() => [...lendingAvailableAssets, ...accountLentAssets],
|
||||
[lendingAvailableAssets, accountLentAssets],
|
||||
)
|
||||
const { health, healthFactor } = useHealthComputer(props.account)
|
||||
const { health: updatedHealth, healthFactor: updatedHealthFactor } =
|
||||
useHealthComputer(updatedAccount)
|
||||
const { health, healthFactor } = useHealthComputer(account)
|
||||
const { health: updatedHealth, healthFactor: updatedHealthFactor } = useHealthComputer(
|
||||
updatedAccount || account,
|
||||
)
|
||||
const leverage = useMemo(
|
||||
() => (props.account ? calculateAccountLeverage(props.account, prices, assets) : BN_ZERO),
|
||||
[props.account, prices, assets],
|
||||
() => (account ? calculateAccountLeverage(account, prices, assets) : BN_ZERO),
|
||||
[account, prices, assets],
|
||||
)
|
||||
const updatedLeverage = useMemo(() => {
|
||||
if (!updatedAccount) return null
|
||||
@ -73,22 +77,24 @@ export default function AccountSummary(props: Props) {
|
||||
const apr = useMemo(
|
||||
() =>
|
||||
calculateAccountApr(
|
||||
updatedAccount ?? props.account,
|
||||
updatedAccount ?? account,
|
||||
borrowAssetsData,
|
||||
lendingAssetsData,
|
||||
prices,
|
||||
hlsStrategies,
|
||||
assets,
|
||||
vaultAprs,
|
||||
props.account.kind === 'high_levered_strategy',
|
||||
),
|
||||
[
|
||||
updatedAccount,
|
||||
props.account,
|
||||
assets,
|
||||
borrowAssetsData,
|
||||
hlsStrategies,
|
||||
lendingAssetsData,
|
||||
prices,
|
||||
updatedAccount,
|
||||
hlsStrategies,
|
||||
assets,
|
||||
vaultAprs,
|
||||
],
|
||||
)
|
||||
|
||||
@ -97,7 +103,7 @@ export default function AccountSummary(props: Props) {
|
||||
{
|
||||
title: `Composition`,
|
||||
renderContent: () =>
|
||||
props.account ? <AccountComposition account={props.account} isHls={props.isHls} /> : null,
|
||||
account ? <AccountComposition account={account} isHls={isHls} /> : null,
|
||||
isOpen: accountSummaryTabs[0],
|
||||
toggleOpen: (index: number) => handleToggle(index),
|
||||
renderSubTitle: () => <></>,
|
||||
@ -105,13 +111,13 @@ export default function AccountSummary(props: Props) {
|
||||
{
|
||||
title: 'Balances',
|
||||
renderContent: () =>
|
||||
props.account ? (
|
||||
account ? (
|
||||
<AccountBalancesTable
|
||||
account={props.account}
|
||||
account={account}
|
||||
borrowingData={borrowAssetsData}
|
||||
lendingData={lendingAssetsData}
|
||||
hideCard
|
||||
isHls={props.isHls}
|
||||
isHls={isHls}
|
||||
/>
|
||||
) : null,
|
||||
isOpen: accountSummaryTabs[1],
|
||||
@ -120,41 +126,34 @@ export default function AccountSummary(props: Props) {
|
||||
},
|
||||
]
|
||||
|
||||
if (props.account.vaults.length > 0)
|
||||
if (account.vaults.length > 0)
|
||||
itemsArray.push({
|
||||
title: 'Strategies',
|
||||
renderContent: () =>
|
||||
props.account ? <AccountStrategiesTable account={props.account} hideCard /> : null,
|
||||
account ? <AccountStrategiesTable account={account} hideCard /> : null,
|
||||
isOpen: accountSummaryTabs[2] ?? false,
|
||||
toggleOpen: (index: number) => handleToggle(index),
|
||||
renderSubTitle: () => <></>,
|
||||
})
|
||||
|
||||
if (props.account.perps.length > 0)
|
||||
if (account.perps.length > 0)
|
||||
itemsArray.push({
|
||||
title: 'Perp Positions',
|
||||
renderContent: () =>
|
||||
props.account ? <AccountPerpPositionTable account={props.account} hideCard /> : null,
|
||||
isOpen: accountSummaryTabs[props.account.vaults.length > 0 ? 3 : 2] ?? false,
|
||||
account ? <AccountPerpPositionTable account={account} hideCard /> : null,
|
||||
isOpen: accountSummaryTabs[account.vaults.length > 0 ? 3 : 2] ?? false,
|
||||
toggleOpen: (index: number) => handleToggle(index),
|
||||
renderSubTitle: () => <></>,
|
||||
})
|
||||
|
||||
return itemsArray
|
||||
}, [
|
||||
props.account,
|
||||
borrowAssetsData,
|
||||
lendingAssetsData,
|
||||
props.isHls,
|
||||
handleToggle,
|
||||
accountSummaryTabs,
|
||||
])
|
||||
}, [account, borrowAssetsData, lendingAssetsData, isHls, handleToggle, accountSummaryTabs])
|
||||
|
||||
if (!props.account) return null
|
||||
if (!account) return null
|
||||
return (
|
||||
<>
|
||||
<AccountSummaryHeader
|
||||
account={props.account}
|
||||
account={account}
|
||||
updatedAccount={updatedAccount}
|
||||
prices={prices}
|
||||
assets={assets}
|
||||
@ -165,7 +164,7 @@ export default function AccountSummary(props: Props) {
|
||||
updatedHealth={updatedHealth}
|
||||
healthFactor={healthFactor}
|
||||
updatedHealthFactor={updatedHealthFactor}
|
||||
isAccountDetails={props.isAccountDetails}
|
||||
isAccountDetails={isAccountDetails}
|
||||
/>
|
||||
<Accordion items={items} allowMultipleOpen />
|
||||
</>
|
||||
|
@ -19,10 +19,20 @@ interface Props {
|
||||
showZero?: boolean
|
||||
options?: FormatOptions
|
||||
isProfitOrLoss?: boolean
|
||||
showSignPrefix?: boolean
|
||||
}
|
||||
|
||||
export default function DisplayCurrency(props: Props) {
|
||||
const { coin, className, isApproximation, parentheses, showZero, options, isProfitOrLoss } = props
|
||||
const {
|
||||
coin,
|
||||
className,
|
||||
isApproximation,
|
||||
parentheses,
|
||||
showSignPrefix,
|
||||
showZero,
|
||||
options,
|
||||
isProfitOrLoss,
|
||||
} = props
|
||||
const displayCurrencies = useDisplayCurrencyAssets()
|
||||
const assets = useAllAssets()
|
||||
const [displayCurrency] = useDisplayCurrency()
|
||||
@ -59,7 +69,7 @@ export default function DisplayCurrency(props: Props) {
|
||||
)
|
||||
|
||||
const prefix = useMemo(() => {
|
||||
const positiveOrNegativePrefix = isProfitOrLoss
|
||||
const positiveOrNegativePrefix = showSignPrefix
|
||||
? amount > 0
|
||||
? '+'
|
||||
: amount < 0
|
||||
@ -72,7 +82,7 @@ export default function DisplayCurrency(props: Props) {
|
||||
return isUSD
|
||||
? `${approximationPrefix}${smallerThanPrefix}${positiveOrNegativePrefix}$`
|
||||
: `${approximationPrefix}${smallerThanPrefix}${positiveOrNegativePrefix}`
|
||||
}, [isUSD, isApproximation, showZero, isProfitOrLoss, amount, isLessThanACent])
|
||||
}, [isUSD, isApproximation, showZero, showSignPrefix, amount, isLessThanACent])
|
||||
|
||||
const suffix = isUSD
|
||||
? ''
|
||||
|
@ -16,8 +16,10 @@ export default function TooltipContent(props: Props) {
|
||||
<div>
|
||||
<div
|
||||
className={classNames(
|
||||
'flex max-w-[320px] flex-1 gap-2 rounded-sm p-3 text-sm shadow-tooltip backdrop-blur-lg',
|
||||
props.type === 'info' && 'bg-white/20',
|
||||
'flex max-w-[320px] flex-1 gap-2 rounded-lg p-3 text-sm shadow-tooltip backdrop-blur-[100px]',
|
||||
'relative isolate max-w-full overflow-hidden',
|
||||
'before:content-[" "] before:absolute before:inset-0 before:-z-1 before:rounded-lg before:p-[1px] before:border-glas',
|
||||
props.type === 'info' && 'bg-white/10',
|
||||
props.type === 'warning' && 'bg-warning',
|
||||
props.type === 'error' && 'bg-error',
|
||||
props.className,
|
||||
|
@ -1,5 +1,6 @@
|
||||
import { FormattedNumber } from 'components/common/FormattedNumber'
|
||||
import Loading from 'components/common/Loading'
|
||||
import Text from 'components/common/Text'
|
||||
|
||||
export const APY_META = { accessorKey: 'apy', header: 'APY' }
|
||||
|
||||
@ -10,7 +11,9 @@ interface Props {
|
||||
export default function Apy(props: Props) {
|
||||
const { vault } = props
|
||||
|
||||
if (vault.apy === null) return <Loading />
|
||||
if (vault.apy === undefined) return <Loading />
|
||||
if (vault.apy === null) return <Text size='xs'>N/A</Text>
|
||||
|
||||
return (
|
||||
<FormattedNumber
|
||||
amount={vault.apy ?? 0}
|
||||
|
@ -8,12 +8,14 @@ import useAccountId from 'hooks/useAccountId'
|
||||
import useChainConfig from 'hooks/useChainConfig'
|
||||
import useDepositedVaults from 'hooks/useDepositedVaults'
|
||||
import useVaults from 'hooks/useVaults'
|
||||
import useVaultAprs from 'hooks/vaults/useVaultAprs'
|
||||
import { VaultStatus } from 'types/enums/vault'
|
||||
|
||||
function Content() {
|
||||
const accountId = useAccountId()
|
||||
const { data: vaults } = useVaults()
|
||||
const { data: depositedVaults } = useDepositedVaults(accountId || '')
|
||||
const { data: vaultAprs } = useVaultAprs()
|
||||
const chainConfig = useChainConfig()
|
||||
const vaultMetaData = chainConfig.vaults
|
||||
|
||||
@ -23,18 +25,19 @@ function Content() {
|
||||
if (!vaults) return prev
|
||||
const vault = vaults.find((vault) => vault.address === curr.address)
|
||||
const depositedVault = depositedVaults?.find((vault) => vault.address === curr.address)
|
||||
const apr = vaultAprs.find((vaultApr) => vaultApr.address === curr.address)!
|
||||
|
||||
if (depositedVault) {
|
||||
prev.deposited.push(depositedVault)
|
||||
prev.deposited.push({ ...depositedVault, ...apr })
|
||||
} else if (vault) {
|
||||
prev.available.push(vault)
|
||||
prev.available.push({ ...vault, ...apr })
|
||||
}
|
||||
|
||||
return prev
|
||||
},
|
||||
{ deposited: [], available: [] },
|
||||
)
|
||||
}, [vaults, depositedVaults, vaultMetaData])
|
||||
}, [vaultMetaData, vaults, depositedVaults, vaultAprs])
|
||||
|
||||
const unlockedVaults: DepositedVault[] = []
|
||||
|
||||
|
@ -2,6 +2,7 @@ import React from 'react'
|
||||
|
||||
import { FormattedNumber } from 'components/common/FormattedNumber'
|
||||
import Loading from 'components/common/Loading'
|
||||
import Text from 'components/common/Text'
|
||||
import useMarket from 'hooks/markets/useMarket'
|
||||
|
||||
export const APY_META = { accessorKey: 'apy', header: 'APY Range' }
|
||||
@ -14,7 +15,8 @@ export default function Apy(props: Props) {
|
||||
const { vault } = props
|
||||
const borrowRate = useMarket(vault.hls?.borrowDenom || '')?.apy.borrow
|
||||
|
||||
if (vault.apy === null || borrowRate === null) return <Loading />
|
||||
if (vault.apy === undefined || borrowRate === null) return <Loading />
|
||||
if (vault.apy === null) return <Text size='xs'>N/A</Text>
|
||||
|
||||
const APYs = [vault.apy, vault.apy * (vault.hls?.maxLeverage || 1) - (borrowRate || 0) * 100]
|
||||
|
||||
|
@ -1,53 +1,77 @@
|
||||
import classNames from 'classnames'
|
||||
|
||||
import DisplayCurrency from 'components/common/DisplayCurrency'
|
||||
import Divider from 'components/common/Divider'
|
||||
import Text from 'components/common/Text'
|
||||
import { Tooltip } from 'components/common/Tooltip'
|
||||
import { BN_ZERO } from 'constants/math'
|
||||
import { BNCoin } from 'types/classes/BNCoin'
|
||||
|
||||
export const PNL_META = { accessorKey: 'pnl', header: 'Total PnL', id: 'pnl' }
|
||||
export const PNL_META = { accessorKey: 'pnl.net.amount', header: 'Total PnL', id: 'pnl' }
|
||||
|
||||
type Props = {
|
||||
pnl: BNCoin
|
||||
pnl: PerpsPnL
|
||||
}
|
||||
|
||||
export default function PnL(props: Props) {
|
||||
return (
|
||||
<Tooltip
|
||||
content={
|
||||
<PnLTooltip
|
||||
realized={BNCoin.fromDenomAndBigNumber('uusd', BN_ZERO)}
|
||||
unrealized={props.pnl}
|
||||
/>
|
||||
}
|
||||
type='info'
|
||||
underline
|
||||
>
|
||||
<DisplayCurrency className='inline text-xs' coin={props.pnl} isProfitOrLoss showZero />
|
||||
<Tooltip content={<PnLTooltip {...props} />} type='info' underline>
|
||||
<DisplayCurrency
|
||||
className='inline text-xs'
|
||||
coin={props.pnl.net}
|
||||
isProfitOrLoss
|
||||
showSignPrefix
|
||||
showZero
|
||||
/>
|
||||
</Tooltip>
|
||||
)
|
||||
}
|
||||
|
||||
type PnLTooltipProps = {
|
||||
realized: BNCoin
|
||||
unrealized: BNCoin
|
||||
}
|
||||
|
||||
function PnLTooltip(props: PnLTooltipProps) {
|
||||
function PnLTooltip(props: Props) {
|
||||
return (
|
||||
<div className='flex flex-col w-full gap-2'>
|
||||
{[props.realized, props.unrealized].map((coin, i) => (
|
||||
<div key={i} className='flex items-center w-full gap-8 space-between'>
|
||||
<Text className='mr-auto text-white/60' size='sm'>
|
||||
{i === 0 ? 'Realized' : 'Unrealized'} PnL
|
||||
</Text>
|
||||
<DisplayCurrency
|
||||
coin={coin}
|
||||
className='self-end text-sm text-end'
|
||||
isProfitOrLoss
|
||||
showZero
|
||||
/>
|
||||
</div>
|
||||
<div className='flex flex-col w-full gap-2 min-w-[280px]'>
|
||||
{[props.pnl.realized, props.pnl.unrealized].map((coins, i) => (
|
||||
<>
|
||||
<div key={i} className='flex items-center w-full gap-8 space-between'>
|
||||
<Text className='mr-auto text-white/60 font-bold' size='sm'>
|
||||
{i === 0 ? 'Realized' : 'Unrealized'} PnL
|
||||
</Text>
|
||||
<DisplayCurrency
|
||||
coin={coins.net}
|
||||
className='self-end text-sm text-end font-bold'
|
||||
isProfitOrLoss
|
||||
showSignPrefix
|
||||
showZero
|
||||
/>
|
||||
</div>
|
||||
<PnLRow coin={coins.price} text='Price' />
|
||||
<PnLRow coin={coins.funding} text='Funding' className='text-white/60' showSignPrefix />
|
||||
<PnLRow coin={coins.fees} text='Fees' className='text-white/60' showSignPrefix />
|
||||
{i === 0 && <Divider className='my-2' />}
|
||||
</>
|
||||
))}
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
type PnLRowProps = {
|
||||
coin: BNCoin
|
||||
text: string
|
||||
showSignPrefix?: boolean
|
||||
className?: string
|
||||
}
|
||||
|
||||
function PnLRow(props: PnLRowProps) {
|
||||
return (
|
||||
<div className='flex items-center w-full gap-8 space-between pl-4'>
|
||||
<Text className='mr-auto text-white/60' size='sm'>
|
||||
{props.text}
|
||||
</Text>
|
||||
<DisplayCurrency
|
||||
coin={props.coin}
|
||||
className={classNames('self-end text-sm text-end', props.className)}
|
||||
showZero
|
||||
showSignPrefix={props.showSignPrefix}
|
||||
/>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
@ -21,7 +21,8 @@ export default function usePerpsBalancesTable() {
|
||||
const netValue = getAccountNetValue(currentAccount, prices, allAssets)
|
||||
|
||||
return currentAccount.perps.map((position) => {
|
||||
const price = prices.find(byDenom(position.denom))?.amount ?? BN_ZERO
|
||||
const perpPrice = prices.find(byDenom(position.denom))?.amount ?? BN_ZERO
|
||||
const basePrice = prices.find(byDenom(position.baseDenom))?.amount ?? BN_ZERO
|
||||
const asset = perpAssets.find(byDenom(position.denom))!
|
||||
|
||||
return {
|
||||
@ -31,7 +32,11 @@ export default function usePerpsBalancesTable() {
|
||||
pnl: position.pnl,
|
||||
entryPrice: position.entryPrice,
|
||||
liquidationPrice: position.entryPrice, // TODO: 📈 Get actual liquidation price from HC
|
||||
leverage: price.times(demagnify(position.amount, asset)).div(netValue).plus(1).toNumber(),
|
||||
leverage: perpPrice
|
||||
.times(demagnify(position.amount, asset))
|
||||
.div(netValue)
|
||||
.plus(1)
|
||||
.toNumber(),
|
||||
} as PerpPositionRow
|
||||
})
|
||||
}, [allAssets, currentAccount, perpAssets, prices])
|
||||
|
@ -11,6 +11,7 @@ import useAllAssets from 'hooks/assets/useAllAssets'
|
||||
import useHealthComputer from 'hooks/useHealthComputer'
|
||||
import useHLSStakingAssets from 'hooks/useHLSStakingAssets'
|
||||
import usePrices from 'hooks/usePrices'
|
||||
import useVaultAprs from 'hooks/vaults/useVaultAprs'
|
||||
import { getAccountSummaryStats } from 'utils/accounts'
|
||||
import { DEFAULT_PORTFOLIO_STATS } from 'utils/constants'
|
||||
|
||||
@ -21,6 +22,7 @@ interface Props {
|
||||
function Content(props: Props) {
|
||||
const { data: account } = useAccount(props.accountId, true)
|
||||
const { data: prices } = usePrices()
|
||||
const { data: vaultAprs } = useVaultAprs()
|
||||
const { health, healthFactor } = useHealthComputer(account)
|
||||
const data = useBorrowMarketAssetsTableData()
|
||||
const borrowAssets = useMemo(() => data?.allAssets || [], [data])
|
||||
@ -37,6 +39,7 @@ function Content(props: Props) {
|
||||
lendingAssets,
|
||||
hlsStrategies,
|
||||
assets,
|
||||
vaultAprs,
|
||||
account.kind === 'high_levered_strategy',
|
||||
)
|
||||
|
||||
@ -78,7 +81,7 @@ function Content(props: Props) {
|
||||
sub: DEFAULT_PORTFOLIO_STATS[4].sub,
|
||||
},
|
||||
]
|
||||
}, [account, assets, borrowAssets, hlsStrategies, lendingAssets, prices])
|
||||
}, [account, assets, borrowAssets, hlsStrategies, lendingAssets, prices, vaultAprs])
|
||||
|
||||
return (
|
||||
<Skeleton
|
||||
|
@ -17,6 +17,7 @@ import useAccountId from 'hooks/useAccountId'
|
||||
import useHealthComputer from 'hooks/useHealthComputer'
|
||||
import useHLSStakingAssets from 'hooks/useHLSStakingAssets'
|
||||
import usePrices from 'hooks/usePrices'
|
||||
import useVaultAprs from 'hooks/vaults/useVaultAprs'
|
||||
import {
|
||||
calculateAccountApr,
|
||||
calculateAccountLeverage,
|
||||
@ -37,6 +38,7 @@ export default function PortfolioCard(props: Props) {
|
||||
const { allAssets: lendingAssets } = useLendingMarketAssetsTableData()
|
||||
const data = useBorrowMarketAssetsTableData()
|
||||
const { data: hlsStrategies } = useHLSStakingAssets()
|
||||
const { data: vaultAprs } = useVaultAprs()
|
||||
const [searchParams] = useSearchParams()
|
||||
const assets = useAllAssets()
|
||||
const borrowAssets = useMemo(() => data?.allAssets || [], [data])
|
||||
@ -64,9 +66,10 @@ export default function PortfolioCard(props: Props) {
|
||||
prices,
|
||||
hlsStrategies,
|
||||
assets,
|
||||
vaultAprs,
|
||||
account.kind === 'high_levered_strategy',
|
||||
)
|
||||
}, [lendingAssets, borrowAssets, prices, account, hlsStrategies, assets])
|
||||
}, [lendingAssets, borrowAssets, prices, account, hlsStrategies, assets, vaultAprs])
|
||||
|
||||
const stats: { title: ReactNode; sub: string }[] = useMemo(() => {
|
||||
const isLoaded = account && prices.length && apr !== null
|
||||
|
@ -11,6 +11,7 @@ import useAccounts from 'hooks/accounts/useAccounts'
|
||||
import useAllAssets from 'hooks/assets/useAllAssets'
|
||||
import useHLSStakingAssets from 'hooks/useHLSStakingAssets'
|
||||
import usePrices from 'hooks/usePrices'
|
||||
import useVaultAprs from 'hooks/vaults/useVaultAprs'
|
||||
import useStore from 'store'
|
||||
import { getAccountSummaryStats } from 'utils/accounts'
|
||||
import { DEFAULT_PORTFOLIO_STATS } from 'utils/constants'
|
||||
@ -24,6 +25,7 @@ export default function PortfolioSummary() {
|
||||
const { allAssets: lendingAssets } = useLendingMarketAssetsTableData()
|
||||
const { data: accounts } = useAccounts('default', urlAddress || walletAddress)
|
||||
const { data: hlsStrategies } = useHLSStakingAssets()
|
||||
const { data: vaultAprs } = useVaultAprs()
|
||||
const assets = useAllAssets()
|
||||
const stats = useMemo(() => {
|
||||
if (!accounts?.length) return
|
||||
@ -53,6 +55,7 @@ export default function PortfolioSummary() {
|
||||
lendingAssets,
|
||||
hlsStrategies,
|
||||
assets,
|
||||
vaultAprs,
|
||||
)
|
||||
|
||||
return [
|
||||
@ -93,7 +96,7 @@ export default function PortfolioSummary() {
|
||||
sub: 'Combined leverage',
|
||||
},
|
||||
]
|
||||
}, [accounts, assets, borrowAssets, hlsStrategies, lendingAssets, prices])
|
||||
}, [accounts, assets, borrowAssets, hlsStrategies, lendingAssets, prices, vaultAprs])
|
||||
|
||||
if (!walletAddress && !urlAddress) return null
|
||||
|
||||
|
40
src/hooks/vaults/useVaultAprs.ts
Normal file
40
src/hooks/vaults/useVaultAprs.ts
Normal file
@ -0,0 +1,40 @@
|
||||
import useSWR from 'swr'
|
||||
|
||||
import useChainConfig from 'hooks/useChainConfig'
|
||||
import { convertAprToApy } from 'utils/parsers'
|
||||
|
||||
export default function useVaultAprs() {
|
||||
const chainConfig = useChainConfig()
|
||||
|
||||
return useSWR(`chains/${chainConfig.id}/vaults/aprs`, () => getAprs(chainConfig), {
|
||||
fallbackData: getEmptyAprData(chainConfig),
|
||||
})
|
||||
}
|
||||
|
||||
async function getAprs(chainConfig: ChainConfig) {
|
||||
if (!chainConfig.farm) return []
|
||||
try {
|
||||
const response = await fetch(chainConfig.endpoints.aprs.vaults)
|
||||
|
||||
if (response.ok) {
|
||||
const data: AprResponse = await response.json()
|
||||
|
||||
return data.vaults.map((aprData) => {
|
||||
const finalApr = aprData.apr.projected_apr * 100
|
||||
return {
|
||||
address: aprData.address,
|
||||
apr: finalApr,
|
||||
apy: convertAprToApy(finalApr, 365),
|
||||
} as Apr
|
||||
})
|
||||
}
|
||||
|
||||
return getEmptyAprData(chainConfig, null)
|
||||
} catch {
|
||||
return getEmptyAprData(chainConfig, null)
|
||||
}
|
||||
}
|
||||
|
||||
function getEmptyAprData(chainConfig: ChainConfig, apr?: null) {
|
||||
return chainConfig.vaults.map((vault) => ({ address: vault.address, apr: apr, apy: apr }) as Apr)
|
||||
}
|
6
src/types/interfaces/account.d.ts
vendored
6
src/types/interfaces/account.d.ts
vendored
@ -7,7 +7,7 @@ interface Account {
|
||||
debts: BNCoin[]
|
||||
lends: BNCoin[]
|
||||
vaults: DepositedVault[]
|
||||
perps: PerpPosition[]
|
||||
perps: PerpsPosition[]
|
||||
kind: AccountKind
|
||||
}
|
||||
|
||||
@ -20,7 +20,7 @@ interface AccountChange extends Account {
|
||||
|
||||
interface AccountBalanceRow {
|
||||
amount: BigNumber
|
||||
apy: number
|
||||
apy?: number | null
|
||||
denom: string
|
||||
size: number
|
||||
symbol: string
|
||||
@ -30,7 +30,7 @@ interface AccountBalanceRow {
|
||||
}
|
||||
|
||||
interface AccountStrategyRow {
|
||||
apy: number
|
||||
apy?: number | null
|
||||
name: string
|
||||
denom: string
|
||||
amount: BNCoin[]
|
||||
|
15
src/types/interfaces/perps.d.ts
vendored
15
src/types/interfaces/perps.d.ts
vendored
@ -12,7 +12,7 @@ interface PerpsPosition {
|
||||
tradeDirection: TradeDirection
|
||||
amount: BigNumber
|
||||
closingFee: BNCoin
|
||||
pnl: BNCoin
|
||||
pnl: PerpsPnL
|
||||
entryPrice: BigNumber
|
||||
}
|
||||
|
||||
@ -21,3 +21,16 @@ interface PerpPositionRow extends PerpsPosition {
|
||||
liquidationPrice: BigNumber
|
||||
leverage: number
|
||||
}
|
||||
|
||||
interface PerpsPnL {
|
||||
net: BNCoin
|
||||
realized: PerpsPnLCoins
|
||||
unrealized: PerpsPnLCoins
|
||||
}
|
||||
|
||||
interface PerpsPnLCoins {
|
||||
fees: BNCoin
|
||||
funding: BNCoin
|
||||
net: BNCoin
|
||||
price: BNCoin
|
||||
}
|
||||
|
7
src/types/interfaces/vaults.d.ts
vendored
7
src/types/interfaces/vaults.d.ts
vendored
@ -39,8 +39,8 @@ interface Vault extends VaultConfig {
|
||||
maxLeverage: number
|
||||
borrowDenom: string
|
||||
}
|
||||
apy: number | null
|
||||
apr: number | null
|
||||
apr?: number | null
|
||||
apy?: number | null
|
||||
}
|
||||
|
||||
interface VaultValuesAndAmounts {
|
||||
@ -120,5 +120,6 @@ interface AprBreakdown {
|
||||
|
||||
interface Apr {
|
||||
address: string
|
||||
apr: number
|
||||
apr?: number | null
|
||||
apy?: number | null
|
||||
}
|
||||
|
@ -72,6 +72,7 @@ export const calculateAccountApr = (
|
||||
prices: BNCoin[],
|
||||
hlsStrategies: HLSStrategy[],
|
||||
assets: Asset[],
|
||||
vaultAprs: Apr[],
|
||||
isHls?: boolean,
|
||||
): BigNumber => {
|
||||
const depositValue = calculateAccountValue('deposits', account, prices, assets)
|
||||
@ -125,8 +126,10 @@ export const calculateAccountApr = (
|
||||
})
|
||||
|
||||
vaults?.forEach((vault) => {
|
||||
const apr = vaultAprs.find((vaultApr) => vaultApr.address === vault.address)?.apr
|
||||
if (!apr) return
|
||||
const lockedValue = vault.values.primary.plus(vault.values.secondary)
|
||||
const positionInterest = lockedValue.multipliedBy(vault?.apr ?? 0).dividedBy(100)
|
||||
const positionInterest = lockedValue.multipliedBy(apr).dividedBy(100)
|
||||
totalVaultsInterestValue = totalVaultsInterestValue.plus(positionInterest)
|
||||
})
|
||||
|
||||
@ -307,6 +310,7 @@ export function getAccountSummaryStats(
|
||||
lendingAssets: LendingMarketTableData[],
|
||||
hlsStrategies: HLSStrategy[],
|
||||
assets: Asset[],
|
||||
vaultAprs: Apr[],
|
||||
isHls?: boolean,
|
||||
) {
|
||||
const [deposits, lends, debts, vaults] = getAccountPositionValues(account, prices, assets)
|
||||
@ -318,6 +322,7 @@ export function getAccountSummaryStats(
|
||||
prices,
|
||||
hlsStrategies,
|
||||
assets,
|
||||
vaultAprs,
|
||||
isHls,
|
||||
)
|
||||
const leverage = calculateAccountLeverage(account, prices, assets)
|
||||
|
@ -1,6 +1,6 @@
|
||||
import BigNumber from 'bignumber.js'
|
||||
|
||||
import { BN_ONE } from 'constants/math'
|
||||
import { BN_ONE, BN_ZERO } from 'constants/math'
|
||||
import { BNCoin } from 'types/classes/BNCoin'
|
||||
|
||||
export default function getPerpsPosition(
|
||||
@ -9,15 +9,27 @@ export default function getPerpsPosition(
|
||||
tradeDirection: TradeDirection,
|
||||
) {
|
||||
const perpsBaseDenom = 'ibc/F91EA2C0A23697A1048E08C2F787E3A58AC6F706A1CD2257A504925158CFC0F3'
|
||||
const perpsPosition = {
|
||||
return {
|
||||
amount,
|
||||
closingFee: BNCoin.fromDenomAndBigNumber(perpsBaseDenom, BN_ONE),
|
||||
pnl: BNCoin.fromDenomAndBigNumber(perpsBaseDenom, BN_ONE.negated()),
|
||||
pnl: {
|
||||
net: BNCoin.fromDenomAndBigNumber(perpsBaseDenom, BN_ONE),
|
||||
realized: {
|
||||
net: BNCoin.fromDenomAndBigNumber(perpsBaseDenom, BN_ZERO),
|
||||
price: BNCoin.fromDenomAndBigNumber(perpsBaseDenom, BN_ZERO),
|
||||
funding: BNCoin.fromDenomAndBigNumber(perpsBaseDenom, BN_ZERO),
|
||||
fees: BNCoin.fromDenomAndBigNumber(perpsBaseDenom, BN_ZERO.times(-1)),
|
||||
},
|
||||
unrealized: {
|
||||
net: BNCoin.fromDenomAndBigNumber(perpsBaseDenom, BN_ZERO),
|
||||
price: BNCoin.fromDenomAndBigNumber(perpsBaseDenom, BN_ZERO),
|
||||
funding: BNCoin.fromDenomAndBigNumber(perpsBaseDenom, BN_ZERO),
|
||||
fees: BNCoin.fromDenomAndBigNumber(perpsBaseDenom, BN_ZERO.times(-1)),
|
||||
},
|
||||
},
|
||||
entryPrice: BN_ONE,
|
||||
baseDenom: perpsBaseDenom,
|
||||
denom: asset.denom,
|
||||
tradeDirection,
|
||||
}
|
||||
|
||||
return perpsPosition
|
||||
}
|
||||
|
@ -5,7 +5,7 @@ export const debugSWR: Middleware = (useSWRNext: SWRHook) => (key, fetcher, conf
|
||||
const startTime = Date.now()
|
||||
const res = await fetcher!(...args)
|
||||
process.env.NODE_ENV !== 'production' &&
|
||||
console.log('⬇️ GET: ', key, ' in ', Date.now() - startTime, 'ms')
|
||||
console.log('⬇️ GET: ', key, ' in ', Date.now() - startTime, 'ms', 'data: ', res)
|
||||
return res
|
||||
}
|
||||
// ...
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { BN_ZERO } from 'constants/math'
|
||||
import { BNCoin } from 'types/classes/BNCoin'
|
||||
import { PnL, Positions } from 'types/generated/mars-credit-manager/MarsCreditManager.types'
|
||||
import { Positions } from 'types/generated/mars-credit-manager/MarsCreditManager.types'
|
||||
import {
|
||||
AssetParamsBaseForAddr as AssetParams,
|
||||
AssetParamsBaseForAddr,
|
||||
@ -104,8 +104,14 @@ export function resolveHLSStrategies(
|
||||
return HLSStakingStrategies
|
||||
}
|
||||
|
||||
export function resolvePerpsPositions(perpPositions: Positions['perps']): PerpsPosition[] {
|
||||
export function resolvePerpsPositions(
|
||||
perpPositions: Positions['perps'],
|
||||
prices: BNCoin[],
|
||||
): PerpsPosition[] {
|
||||
if (!perpPositions) return []
|
||||
const basePrice =
|
||||
prices.find((price) => price.denom === perpPositions[0].base_denom)?.amount ?? BN_ZERO
|
||||
|
||||
return perpPositions.map((position) => {
|
||||
return {
|
||||
denom: position.denom,
|
||||
@ -113,22 +119,37 @@ export function resolvePerpsPositions(perpPositions: Positions['perps']): PerpsP
|
||||
amount: BN(position.size as any).abs(),
|
||||
tradeDirection: BN(position.size as any).isNegative() ? 'short' : 'long',
|
||||
closingFee: BNCoin.fromCoin(position.pnl.coins.closing_fee),
|
||||
pnl: getPnlCoin(position.pnl.coins.pnl, position.base_denom),
|
||||
pnl: {
|
||||
net: BNCoin.fromDenomAndBigNumber(
|
||||
position.base_denom,
|
||||
BN(position.pnl.values.pnl as any).plus(BN_ZERO),
|
||||
),
|
||||
realized: {
|
||||
net: BNCoin.fromDenomAndBigNumber(position.base_denom, BN_ZERO),
|
||||
price: BNCoin.fromDenomAndBigNumber(position.base_denom, BN_ZERO),
|
||||
funding: BNCoin.fromDenomAndBigNumber(position.base_denom, BN_ZERO),
|
||||
fees: BNCoin.fromDenomAndBigNumber(position.base_denom, BN_ZERO.times(-1)),
|
||||
},
|
||||
unrealized: {
|
||||
net: BNCoin.fromDenomAndBigNumber(
|
||||
position.base_denom,
|
||||
BN(position.pnl.values.pnl as any),
|
||||
),
|
||||
price: BNCoin.fromDenomAndBigNumber(
|
||||
position.base_denom,
|
||||
BN(position.pnl.values.price_pnl as any),
|
||||
),
|
||||
funding: BNCoin.fromDenomAndBigNumber(
|
||||
position.base_denom,
|
||||
BN(position.pnl.values.accrued_funding as any),
|
||||
),
|
||||
fees: BNCoin.fromDenomAndBigNumber(
|
||||
position.base_denom,
|
||||
BN(position.pnl.values.closing_fee as any).times(-1),
|
||||
),
|
||||
},
|
||||
},
|
||||
entryPrice: BN(position.entry_price),
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
function getPnlCoin(pnl: PnL, denom: string): BNCoin {
|
||||
let amount = BN_ZERO
|
||||
|
||||
if (pnl === 'break_even') return BNCoin.fromDenomAndBigNumber(denom, amount)
|
||||
|
||||
if ('loss' in (pnl as any)) {
|
||||
amount = BN((pnl as any).loss.amount).times(-1)
|
||||
} else if ('profit' in (pnl as { profit: Coin })) {
|
||||
amount = BN((pnl as any).profit.amount)
|
||||
}
|
||||
|
||||
return BNCoin.fromDenomAndBigNumber(denom, amount)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user