Commit Graph

444 Commits

Author SHA1 Message Date
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
Bob van der Helm
3413203ca7
Mp 2949 implemet health computer for borrow (#311)
* implemented max borrow for borrow page

setup basic useHealthComputer

* finish up healthcomputer

* updated tests
2023-07-24 09:44:45 +02:00
dependabot[bot]
2d13601365
Build(deps): bump word-wrap from 1.2.3 to 1.2.4 (#310)
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-20 11:41:45 +02:00
Linkie Link
055dfe6abf
MP-3110: adjusted and finalized TV styling (#309) 2023-07-20 10:53:24 +02:00
Linkie Link
ac0658224e
Mp 2881 finalize the borrow flow table (#308)
* MP-2881: fixed the buttons and adjusted the marketDetails

* MP-2881: finished the borrow to wallet functionatlity

* fix: renamed withdraw to borrowToWallet

* fix: moved the useMemo return into functions

* tidy: refactor

* tidy: refactor
2023-07-19 12:10:23 +02:00
dependabot[bot]
e1956ddbe9
Build(deps): bump next from 13.4.7 to 13.4.10 (#304)
Bumps [next](https://github.com/vercel/next.js) from 13.4.7 to 13.4.10.
- [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/compare/v13.4.7...v13.4.10)

---
updated-dependencies:
- dependency-name: next
  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-07-17 11:08:42 +02:00
dependabot[bot]
4f61afe8ca
Build(deps): bump @sentry/nextjs from 7.54.0 to 7.58.1 (#306)
Bumps [@sentry/nextjs](https://github.com/getsentry/sentry-javascript) from 7.54.0 to 7.58.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.54.0...7.58.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-07-17 11:08:19 +02:00
dependabot[bot]
afb046efef
Build(deps-dev): bump @types/react-dom from 18.2.6 to 18.2.7 (#305)
Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) from 18.2.6 to 18.2.7.
- [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>
2023-07-17 11:07:49 +02:00
dependabot[bot]
8e419cf12c
Build(deps-dev): bump tailwindcss from 3.3.2 to 3.3.3 (#302)
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.3.2 to 3.3.3.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/v3.3.3/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.3.2...v3.3.3)

---
updated-dependencies:
- dependency-name: 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>
2023-07-17 11:07:24 +02:00
dependabot[bot]
1f21e085c4
Build(deps): bump react-spring from 9.7.1 to 9.7.2 (#303)
Bumps [react-spring](https://github.com/pmndrs/react-spring) from 9.7.1 to 9.7.2.
- [Release notes](https://github.com/pmndrs/react-spring/releases)
- [Commits](https://github.com/pmndrs/react-spring/compare/v9.7.1...v9.7.2)

---
updated-dependencies:
- dependency-name: react-spring
  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-07-17 11:06:54 +02:00
Yusuf Seyrek
49e7778b1e
Mp 2836 implement pagination to the batched smart contract queries (#301)
* feat: batch and paginate oracle prices

* fixes and improvements

* feat: complete batching mechanism and its implementation

* fix: getVaultConfigs usage

* fix: linting

* feat: remove hardcoded mars decimals
2023-07-17 12:01:00 +03:00
Linkie Link
48d07173fb
Mp 2591 add terms of service (#300) 2023-07-14 16:39:12 +02:00
Yusuf Seyrek
d949cc84b7
feat: multi price source implementation (#299) 2023-07-14 14:49:33 +03:00
Bob van der Helm
515036ac05
add scripts for installing charting_library + update readme (#298) 2023-07-13 14:38:08 +02:00
Bob van der Helm
4aec1bee67
WIP: Tradingview charts (#296)
* almost finished custom styling for TV

add basic chart

intermittent update

finished basic route pairing datafeed

update datafeed

fix relative import

* finish shell script

add shell script for charting_library

* remove wrong line in shell

* fixed pr comments

* fixed pr comments

* fix config for TV CHart

* add example for thegraph api

* update favorite assets

* add + to boolean operation

* remove usecallback
2023-07-13 09:02:38 +02:00
Yusuf Seyrek
380bfb7189
feat: fixes and improvements on account creation (#295) 2023-07-12 16:49:38 +03:00
dependabot[bot]
952a0d60b9
Build(deps-dev): bump jest-environment-jsdom from 29.5.0 to 29.6.1 (#291)
Bumps [jest-environment-jsdom](https://github.com/facebook/jest/tree/HEAD/packages/jest-environment-jsdom) 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/jest-environment-jsdom)

---
updated-dependencies:
- dependency-name: jest-environment-jsdom
  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-12 15:15:37 +02:00