Commit Graph

560 Commits

Author SHA1 Message Date
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
Yusuf Seyrek
1af857fcb0
feat: update contracts (#307)
* feat: update contract addresses

* feat(contracts): generated types updated & incenvite changes

* feat(smart contract client update): made the app working with new smart contracts

* addressed to PR comments
2023-08-11 00:31:27 +03:00
Yusuf Seyrek
d1db7ee6c1
logging(tx simulation): remove error log (#357) 2023-08-09 16:47:22 +03:00
Linkie Link
e6926dbd17
fix: fixed the UI not being disabled on transaction (#356)
* fix: fixed the UI not being disabled on transaction

* fix: borrow modal repay toggle
2023-08-09 15:29:28 +02:00
Yusuf Seyrek
85bdb4b267
fix(margin trading): response parsing (#354) 2023-08-09 15:53:32 +03:00
Linkie Link
be671efd64
fix: fixed the autoconnect (#355) 2023-08-09 14:51:46 +02:00
Yusuf Seyrek
223b55bff8
fix(tippy): downgrade nextjs to a stable version that works with tippy (#353) 2023-08-09 13:39:41 +03:00
Yusuf Seyrek
9d31122636
feat(transaction broadcasting layer): added on the fly fee estimation functionality to all of the transactions (#352) 2023-08-09 11:09:42 +03:00
Linkie Link
d494bce26a
MP-2802: created get started overlay (#351) 2023-08-08 21:50:07 +02:00
Linkie Link
f4fc2dcfcc
MP-2803: created fund already funded account flow (#350) 2023-08-08 15:57:53 +02:00
Linkie Link
d43437e440
env: update (#349) 2023-08-08 15:38:29 +02:00
Yusuf Seyrek
dca3f8a236
feat(Trade page): account details card (#348)
* feat(Trade page): account details card

* feat(account details): dont display the card when account has no deposits
2023-08-08 12:12:52 +03:00
dependabot[bot]
eff5b55076
Build(deps-dev): bump prettier from 3.0.0 to 3.0.1 (#346)
Bumps [prettier](https://github.com/prettier/prettier) from 3.0.0 to 3.0.1.
- [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.0...3.0.1)

---
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-07 13:53:45 +03:00
dependabot[bot]
b34530de31
Build(deps-dev): bump jest from 29.5.0 to 29.6.2 (#345)
Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) from 29.5.0 to 29.6.2.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v29.6.2/packages/jest)

---
updated-dependencies:
- dependency-name: jest
  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-07 13:53:23 +03:00
dependabot[bot]
cc70fe52e6
Build(deps): bump @sentry/nextjs from 7.60.0 to 7.61.1 (#343)
Bumps [@sentry/nextjs](https://github.com/getsentry/sentry-javascript) from 7.60.0 to 7.61.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.60.0...7.61.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>
2023-08-07 13:52:53 +03:00
dependabot[bot]
202e63ea9c
Build(deps-dev): bump eslint-plugin-import from 2.27.5 to 2.28.0 (#344)
Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) from 2.27.5 to 2.28.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.27.5...v2.28.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>
2023-08-07 13:52:29 +03:00
Bob van der Helm
b35c743286
MP-2912 Margin trading implementation (#342)
* fix(useSWR): request hooks revalidation on focus disabled

* [trade] add margin

* [trade] include borrow rate in receipt

* [trade] add tooltip margin and pr comments

* updated regardign comments

---------

Co-authored-by: Yusuf Seyrek <yusuf@delphilabs.io>
2023-08-07 13:51:52 +03:00
Yusuf Seyrek
c25d8607e8
fix(useSWR): request hooks revalidation on focus disabled (#340) 2023-08-05 11:52:11 +02:00
Linkie Link
cec9e50955
fix: fixed the wallet auto connection (#341)
* fix: fixed the wallet auto connection

* tidy: refactor

* fix: re-enabled account change support

* tidy: refactor
2023-08-05 11:11:07 +02:00
Linkie Link
267b968c4a
MP-2894: withdraw from account (#339) 2023-08-04 15:10:30 +02:00
Bob van der Helm
103c8bed9a
[vault modal] add borrow max calcs (#337)
* [vault modal] add borrow max calcs

* fixed test
2023-08-03 12:03:03 +02:00
Linkie Link
1a55d8bd39
Mp 3104 delete account (#336)
* MP-3104: added deleteAccount and alerts for vaults and debts

* MP-3104: added Borrow and Farm links to the AlertDialog

* MP-3104: finished delete flow

* fix: adjusted according to feedback

* refactor: tidy
2023-08-03 11:45:32 +02:00
Yusuf Seyrek
69dece2600
Mp 3220 prevent making unnecessary calls from SwapForm (#338) 2023-08-03 10:46:15 +03:00
Bob van der Helm
b6be254804
[trade] implement max swap from health computer (#335) 2023-08-02 11:38:41 +02:00
dependabot[bot]
203152d39c
Build(deps-dev): bump eslint from 8.45.0 to 8.46.0 (#327)
Bumps [eslint](https://github.com/eslint/eslint) from 8.45.0 to 8.46.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.45.0...v8.46.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>
2023-08-01 16:51:59 +02:00
dependabot[bot]
22cc6f2d20
Build(deps-dev): bump babel-jest from 29.6.1 to 29.6.2 (#328)
Bumps [babel-jest](https://github.com/facebook/jest/tree/HEAD/packages/babel-jest) from 29.6.1 to 29.6.2.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v29.6.2/packages/babel-jest)

---
updated-dependencies:
- dependency-name: babel-jest
  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-01 16:51:42 +02:00
dependabot[bot]
fdd18213d0
Build(deps): bump @delphi-labs/shuttle-react from 3.3.0 to 3.6.0 (#329)
Bumps [@delphi-labs/shuttle-react](https://github.com/delphi-labs/shuttle/tree/HEAD/packages/react) from 3.3.0 to 3.6.0.
- [Release notes](https://github.com/delphi-labs/shuttle/releases)
- [Commits](https://github.com/delphi-labs/shuttle/commits/v.3.6.0/packages/react)

---
updated-dependencies:
- dependency-name: "@delphi-labs/shuttle-react"
  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-01 16:51:25 +02:00
dependabot[bot]
6603e740eb
Build(deps-dev): bump @testing-library/jest-dom from 5.16.5 to 5.17.0 (#330)
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 5.16.5 to 5.17.0.
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-dom/compare/v5.16.5...v5.17.0)

---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
  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-01 16:51:07 +02:00
dependabot[bot]
bf23317077
Build(deps-dev): bump prettier from 2.8.8 to 3.0.0 (#331)
Bumps [prettier](https://github.com/prettier/prettier) from 2.8.8 to 3.0.0.
- [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/2.8.8...3.0.0)

---
updated-dependencies:
- dependency-name: prettier
  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>
2023-08-01 16:50:49 +02:00
Yusuf Seyrek
947777fbe7
fix(TradingView Charts): resolveSymbol callback arguments (#334) 2023-08-01 10:43:50 +03:00
Yusuf Seyrek
fef4608681
feat(swap form): disable range input when balance is zero (#333) 2023-08-01 10:43:38 +03:00
Yusuf Seyrek
1b34cb77eb
fix: wrong asset selector state on overlay close (#332) 2023-07-31 16:23:54 +03:00
Yusuf Seyrek
2611291028
Mp 3192 disable inputs on transaction initialization (#326)
* feat: inputs are disabled on swap form when executing the transaction

* feat: disabled borrow, lend, vault, deposit, withdraw form inputs when executing transaction
2023-07-31 10:57:38 +03:00
Linkie Link
1eec100907
fix: updated the account balances and added debts (#325) 2023-07-28 21:37:54 +02:00
Linkie Link
fec03d030f
MP-3128: added conditional ActionButtons (#324)
* MP-3128: added conditional ActionButtons

* feat: added Create Account button

* fix: simplified the ActionsButton according to feedback

* fix: moved the onClick handler to the card of an account summary instead of the title

* fix: fixed the health and balance display bug

* fix: remove Leverage static number

* fix: small style fix
2023-07-28 11:25:09 +02:00
Yusuf Seyrek
bd07c20e47
feat: vault modal header (#323)
* feat: vault modal header

* fix: displaying zero values

* feat: code comments
2023-07-28 12:12:13 +03:00
Linkie Link
184a27e987
MP-2891 and MP-2801 (#321)
* MP-2801: fund new credit account

* tidy: cleanup

* tidy: refactor

* feat: replaced all possible BN(0) & BN(1) occurrences with constants

* fix: adjusted according to feedback

* fix: adjustments according to feedback

* fix: PR comment updates

* fix: reduced complexity

* feat: animated the wallet balance for the demo

* fix: enhanced wallet connection to select first account

* fix: adjusted the calculations and added USD as displayCurrency

* fix: adjusted according to feedback

* feat: added TFM bridge

* fix: changed forceFetchPrice

---------

Co-authored-by: Yusuf Seyrek <yusuf@delphilabs.io>
2023-07-27 11:26:32 +02:00
Yusuf Seyrek
bb6a9b99e3
feat: swap form fixes & improvements (#322) 2023-07-26 14:55:30 +03:00
Yusuf Seyrek
d4a2f19db2
feat: replaced all possible BN(0) & BN(1) occurrences with constants (#320) 2023-07-26 12:19:19 +03:00
Yusuf Seyrek
e09c2f9d53
feat: swap functionality (#319) 2023-07-26 09:23:30 +03:00
Bob van der Helm
fef9227a0d
[Health Computer]: update wasm + support borrow to wallet (#318)
* [Health Computer]: update wasm + support borrow to wallet

* [test]: fixed tests for account details
2023-07-25 17:09:08 +02:00
Linkie Link
0aa3bb0c5f
MP-2798, MP-2799, MP-2902, MP-2893, MP-2895, MP-2896, MP-2898 (#312) 2023-07-25 09:48:59 +02:00
dependabot[bot]
26c62ea2a4
Build(deps-dev): bump eslint-config-next from 13.4.4 to 13.4.12 (#317)
Bumps [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next) from 13.4.4 to 13.4.12.
- [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.12/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-07-24 11:14:22 +03:00
dependabot[bot]
e8fcafbb67
Build(deps-dev): bump babel-jest from 29.5.0 to 29.6.1 (#316)
Bumps [babel-jest](https://github.com/facebook/jest/tree/HEAD/packages/babel-jest) from 29.5.0 to 29.6.1.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v29.6.1/packages/babel-jest)

---
updated-dependencies:
- dependency-name: babel-jest
  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-07-24 10:52:15 +03:00
dependabot[bot]
5c1ba7a047
Build(deps): bump @sentry/nextjs from 7.58.1 to 7.60.0 (#315)
Bumps [@sentry/nextjs](https://github.com/getsentry/sentry-javascript) from 7.58.1 to 7.60.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.58.1...7.60.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-07-24 10:51:56 +03:00
dependabot[bot]
fb582e0331
Build(deps-dev): bump eslint from 8.43.0 to 8.45.0 (#314)
Bumps [eslint](https://github.com/eslint/eslint) from 8.43.0 to 8.45.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.43.0...v8.45.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>
2023-07-24 10:51:36 +03:00
dependabot[bot]
7403e2788e
Build(deps-dev): bump @types/node from 20.3.1 to 20.4.4 (#313)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.3.1 to 20.4.4.
- [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>
2023-07-24 10:51:15 +03:00