Commit Graph

456 Commits

Author SHA1 Message Date
Bob van der Helm
3c128e90f9
Allow margin swapping with no sell asset (#412) 2023-08-31 10:08:39 +02:00
dependabot[bot]
e3b126b2f7
Build(deps): bump @adobe/css-tools from 4.2.0 to 4.3.1 (#411)
Bumps [@adobe/css-tools](https://github.com/adobe/css-tools) from 4.2.0 to 4.3.1.
- [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>
2023-08-31 10:08:31 +02:00
Bob van der Helm
27138f0176
always add vaultConfigs to HC (#408) 2023-08-30 08:43:53 -03:00
Yusuf Seyrek
1923b8e7d7
feat(SC update): added contract types and fixed breaking changes (#409) 2023-08-30 11:24:03 +03:00
Linkie Link
22830289cf
Mp 3328 compare accounts via use updated account for withdraw (#407)
* Compare Accounts via useUpdatedAccount for withdraw

* fix: onChangeAsset fixed

* Mp 3250 update health bars (#403)

* [Story] Add HealthBar

* Update tooltip

* Fixes after rebase

* Fixes after rebase

* Fixes after rebase

* Finish health bar + gauge

* Finish health bar + gauge

* Finish health bar + gauge

* feat: added an svg mask to the HealthBar

* fix: added transitions

* tidy: value sanity

* fix: fixed the AccountStats

* tidy: design update

* fix: div adjustments

* update healthguagepercentage function

* make tooltiparrow responsive

---------

Co-authored-by: Linkie Link <linkielink.dev@gmail.com>

* Compare Accounts via useUpdatedAccount for withdraw

* Mp 3250 update health bars (#403)

* [Story] Add HealthBar

* Update tooltip

* Fixes after rebase

* Fixes after rebase

* Fixes after rebase

* Finish health bar + gauge

* Finish health bar + gauge

* Finish health bar + gauge

* feat: added an svg mask to the HealthBar

* fix: added transitions

* tidy: value sanity

* fix: fixed the AccountStats

* tidy: design update

* fix: div adjustments

* update healthguagepercentage function

* make tooltiparrow responsive

---------

Co-authored-by: Linkie Link <linkielink.dev@gmail.com>

* Mp 3250 update health bars (#403)

* [Story] Add HealthBar

* Update tooltip

* Fixes after rebase

* Fixes after rebase

* Fixes after rebase

* Finish health bar + gauge

* Finish health bar + gauge

* Finish health bar + gauge

* feat: added an svg mask to the HealthBar

* fix: added transitions

* tidy: value sanity

* fix: fixed the AccountStats

* tidy: design update

* fix: div adjustments

* update healthguagepercentage function

* make tooltiparrow responsive

---------

Co-authored-by: Linkie Link <linkielink.dev@gmail.com>

* fix: merge error

---------

Co-authored-by: Yusuf Seyrek <yusuf@delphilabs.io>
Co-authored-by: Bob van der Helm <34470358+bobthebuidlr@users.noreply.github.com>
2023-08-29 17:25:11 +02:00
Bob van der Helm
e15de26efd
Mp 3250 update health bars (#403)
* [Story] Add HealthBar

* Update tooltip

* Fixes after rebase

* Fixes after rebase

* Fixes after rebase

* Finish health bar + gauge

* Finish health bar + gauge

* Finish health bar + gauge

* feat: added an svg mask to the HealthBar

* fix: added transitions

* tidy: value sanity

* fix: fixed the AccountStats

* tidy: design update

* fix: div adjustments

* update healthguagepercentage function

* make tooltiparrow responsive

---------

Co-authored-by: Linkie Link <linkielink.dev@gmail.com>
2023-08-29 16:17:31 +02:00
Yusuf Seyrek
f64d2a78ff
feat(auto-unlend): implemented to the withdraws (#406) 2023-08-29 16:38:17 +03:00
Yusuf Seyrek
8ec4d61d31
fix(swap leftover amounts): use account_balance as sell amount on swaps (#405) 2023-08-29 00:26:28 +03:00
Yusuf Seyrek
44d5d5e42c
feat(vaults): implement auto-lend to withdrawals (#402) 2023-08-29 00:26:06 +03:00
Bob van der Helm
69af852491
[HC] Include lends for max calc swap + withdraw (#404) 2023-08-28 19:45:12 +03:00
dependabot[bot]
28f625820c
Build(deps): bump @sentry/nextjs from 7.63.0 to 7.64.0 (#400)
Bumps [@sentry/nextjs](https://github.com/getsentry/sentry-javascript) from 7.63.0 to 7.64.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.63.0...7.64.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>
2023-08-28 13:29:54 +03:00
dependabot[bot]
356f1d8785
Build(deps-dev): bump dotenv-cli from 7.2.1 to 7.3.0 (#401)
Bumps [dotenv-cli](https://github.com/entropitor/dotenv-cli) from 7.2.1 to 7.3.0.
- [Release notes](https://github.com/entropitor/dotenv-cli/releases)
- [Commits](https://github.com/entropitor/dotenv-cli/compare/v7.2.1...v7.3.0)

---
updated-dependencies:
- dependency-name: dotenv-cli
  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>
2023-08-28 13:29:35 +03:00
dependabot[bot]
e03c54c5f3
Build(deps): bump @cosmjs/cosmwasm-stargate from 0.31.0 to 0.31.1 (#399)
Bumps [@cosmjs/cosmwasm-stargate](https://github.com/cosmos/cosmjs) from 0.31.0 to 0.31.1.
- [Changelog](https://github.com/cosmos/cosmjs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/cosmos/cosmjs/compare/v0.31.0...v0.31.1)

---
updated-dependencies:
- dependency-name: "@cosmjs/cosmwasm-stargate"
  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>
2023-08-28 13:28:48 +03:00
dependabot[bot]
bec41940ef
Build(deps-dev): bump jest-environment-jsdom from 29.6.2 to 29.6.4 (#398)
Bumps [jest-environment-jsdom](https://github.com/jestjs/jest/tree/HEAD/packages/jest-environment-jsdom) from 29.6.2 to 29.6.4.
- [Release notes](https://github.com/jestjs/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jestjs/jest/commits/v29.6.4/packages/jest-environment-jsdom)

---
updated-dependencies:
- dependency-name: jest-environment-jsdom
  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>
2023-08-28 13:28:14 +03:00
dependabot[bot]
fcbc410125
Build(deps-dev): bump @svgr/webpack from 8.0.1 to 8.1.0 (#397)
Bumps [@svgr/webpack](https://github.com/gregberge/svgr) from 8.0.1 to 8.1.0.
- [Release notes](https://github.com/gregberge/svgr/releases)
- [Changelog](https://github.com/gregberge/svgr/blob/main/CHANGELOG.md)
- [Commits](https://github.com/gregberge/svgr/compare/v8.0.1...v8.1.0)

---
updated-dependencies:
- dependency-name: "@svgr/webpack"
  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>
2023-08-28 13:27:53 +03:00
Linkie Link
2d146449ca
Mp 3260 finalize account summary (#395) 2023-08-26 10:30:56 +02:00
Bob van der Helm
6d4c09981f
🐛 Fix HC unreachable code (#396) 2023-08-25 21:01:01 +02:00
Yusuf Seyrek
63aba423b2
feat(vaults): included auto-lent amounts to the account balances (#394) 2023-08-24 20:44:00 +03:00
Linkie Link
eeb49ba2ab
feat: added account details and fund account button to empty accounts (#393) 2023-08-24 18:30:54 +02:00
Yusuf Seyrek
50f365044c
feat(swap): reflect buy side amounts onto range input (#392) 2023-08-24 13:59:41 +03:00
Yusuf Seyrek
6dcc13affb
feat(lend): useUpdatedAccount implementation (#390)
* feat(lend): useUpdatedAccount implementation

* feat(lend): addressed to PR comment
2023-08-24 13:59:26 +03:00
Linkie Link
997171a185
Mp 3214 calculating account apr (#391) 2023-08-23 18:43:40 +02:00
Linkie Link
160f8da6aa
Mp 3105 build rewards center for v 2 (#389)
* MP-3105: finished rewards center

* tidy: refactor

* fix: rerolled generated types

* fix: revert types to before

* refactor: addressed feedback
2023-08-21 17:31:47 +02:00
dependabot[bot]
78bf3068b4
Build(deps-dev): bump prettier-plugin-tailwindcss from 0.4.1 to 0.5.3 (#388)
Bumps [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) from 0.4.1 to 0.5.3.
- [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.4.1...v0.5.3)

---
updated-dependencies:
- dependency-name: prettier-plugin-tailwindcss
  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>
2023-08-21 14:16:10 +03:00
dependabot[bot]
e4ed197cf7
Build(deps-dev): bump eslint-config-next from 13.4.13 to 13.4.19 (#385)
Bumps [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next) from 13.4.13 to 13.4.19.
- [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/v13.4.19/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>
2023-08-21 14:04:41 +03:00
dependabot[bot]
9a17c44dbe
Build(deps-dev): bump prettier from 3.0.1 to 3.0.2 (#384)
Bumps [prettier](https://github.com/prettier/prettier) from 3.0.1 to 3.0.2.
- [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.1...3.0.2)

---
updated-dependencies:
- dependency-name: prettier
  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>
2023-08-21 14:03:10 +03:00
Bob van der Helm
9b6ea6b1cc
[bugfix] add try catch for health calls (#382) 2023-08-21 14:02:44 +03:00
Bob van der Helm
e76a5dfc96
[task] add LTV to vault tables (#381) 2023-08-21 14:02:32 +03:00
Bob van der Helm
179400fe08
[bugfix] re-ordering of fund inputs (#380) 2023-08-21 14:02:20 +03:00
Bob van der Helm
5ee2b17b4c
[bugfix] APY display improvement vault (#383) 2023-08-21 14:02:09 +03:00
Yusuf Seyrek
88a2c68ed5
feat(auto-lend): implemented to swaps (#378)
* feat(auto-lend): implemented to swaps

* chore: remove unused import
2023-08-17 15:30:36 +03:00
Yusuf Seyrek
8e15ed7a19
feat(auto-lend): implemented to borrow (#379) 2023-08-17 15:30:27 +03:00
Yusuf Seyrek
d63c7f100a
fix(swap response): parsing token out (#377) 2023-08-17 12:56:42 +03:00
Yusuf Seyrek
13d153de69
Mp 3007 implement auto lend on account funding (#375)
* fix(deposit): formatting

* feat(deposit): auto lend on account funding

* add missing file

* feat(auto-lend): filter out feature disabled assets
2023-08-17 12:56:32 +03:00
dependabot[bot]
8df7426abd
Build(deps): bump protobufjs from 6.11.3 to 6.11.4 (#376)
Bumps [protobufjs](https://github.com/protobufjs/protobuf.js) from 6.11.3 to 6.11.4.
- [Release notes](https://github.com/protobufjs/protobuf.js/releases)
- [Changelog](https://github.com/protobufjs/protobuf.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/protobufjs/protobuf.js/commits)

---
updated-dependencies:
- dependency-name: protobufjs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-17 11:23:26 +02:00
Bob van der Helm
9712573b00
[bugfix] fix leverage and implement buffer for health (#374)
* [bugfix] fix leverage and implement buffer for health

* [bugfix] properly remove council page from nav

* [bugfix] ensure integer values for HC

* [bugfix] infinite rerender withdraw + negative values
2023-08-15 16:34:01 +03:00
Yusuf Seyrek
de185bf823
Mp 3237 handle multiple active incentives (#372) 2023-08-15 15:25:53 +03:00
Yusuf Seyrek
8df8aa6a12
fix(TitleAndSubCell): Text components' tag props are set to span to prevent <p> in <p> (#373) 2023-08-15 09:21:38 -03:00
Bob van der Helm
9c3a6a0482
[bugfixes] health percentage, trade slider, animation ++ (#369)
* [bugfixes] health percentage, trade slider, animation ++

* Update src/hooks/useHealthComputer.tsx

Co-authored-by: Yusuf Seyrek <yusufseyrek@users.noreply.github.com>

---------

Co-authored-by: Yusuf Seyrek <yusufseyrek@users.noreply.github.com>
2023-08-15 08:19:37 -03:00
Bob van der Helm
4c18575b64
[bugfixes] change threshold to LTV (#370) 2023-08-14 22:25:27 -03:00
Bob van der Helm
5e075ae69f
[bugfix] remove APY from borrowRate column (#371) 2023-08-14 21:58:16 -03:00
dependabot[bot]
a26e059d1c
Build(deps): bump swr from 2.2.0 to 2.2.1 (#365)
Bumps [swr](https://github.com/vercel/swr) from 2.2.0 to 2.2.1.
- [Release notes](https://github.com/vercel/swr/releases)
- [Commits](https://github.com/vercel/swr/compare/v2.2.0...v2.2.1)

---
updated-dependencies:
- dependency-name: swr
  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>
2023-08-14 18:01:03 +03:00
dependabot[bot]
d8b98466bb
Build(deps): bump @sentry/nextjs from 7.61.1 to 7.63.0 (#362)
Bumps [@sentry/nextjs](https://github.com/getsentry/sentry-javascript) from 7.61.1 to 7.63.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.61.1...7.63.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>
2023-08-14 18:00:12 +03:00
dependabot[bot]
d4704f8d9f
Build(deps-dev): bump autoprefixer from 10.4.14 to 10.4.15 (#361)
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.4.14 to 10.4.15.
- [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.14...10.4.15)

---
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>
2023-08-14 17:58:59 +03:00
Bob van der Helm
f9318dfe6e
[CM details] support changes (#359)
* [CM details] support changes

* Update src/components/Trade/TradeModule/SwapForm/index.tsx

Co-authored-by: Yusuf Seyrek <yusufseyrek@users.noreply.github.com>

* Update src/components/Trade/TradeModule/SwapForm/index.tsx

Co-authored-by: Yusuf Seyrek <yusufseyrek@users.noreply.github.com>

* [HC] update to bncoin.from

---------

Co-authored-by: Yusuf Seyrek <yusufseyrek@users.noreply.github.com>
2023-08-14 09:55:53 -03:00
Yusuf Seyrek
5358b8c39e
feat(vaults constant): updated (#368)
* feat(vaults constant): updated

* fix: timeframe
2023-08-14 09:05:35 -03:00
Yusuf Seyrek
53495c03ba
feat(nextjs config): enable production browser sourcemaps (#367) 2023-08-14 13:59:29 +03:00
Linkie Link
fe70b50c77
fix: remove header on non desktop devices (#366) 2023-08-14 11:02:48 +02:00
Linkie Link
6efe2c71a0
Mp 2784 mobile not supported screen (#358)
* MP-2784: first itteration of the mobile support screen

* fix: fixed the AccountSummary

* MP-2784: mobile not supported

* fix: v1 is not v1.0

* fix: fixed according to feedback

* fix: created a standalone mobile page
2023-08-14 10:32:49 +02:00
Bob van der Helm
2d6ef1a4a0
[HC] update wasm files and types (#360) 2023-08-11 15:46:35 -03:00