Commit Graph

683 Commits

Author SHA1 Message Date
Linkie Link
3c3e722c49
Mp 2821 unlocked positions (#276) 2023-07-04 16:15:36 +02:00
Yusuf Seyrek
85e36897a6
Use generated types in message execution function (#282)
* fix: lend transaction message

* feat: use generated types
2023-07-03 18:49:22 +03:00
dependabot[bot]
40d2950bf4
Build(deps): bump @tanstack/react-table from 8.9.1 to 8.9.3 (#277)
Bumps [@tanstack/react-table](https://github.com/tanstack/table) from 8.9.1 to 8.9.3.
- [Release notes](https://github.com/tanstack/table/releases)
- [Commits](https://github.com/tanstack/table/compare/v8.9.1...v8.9.3)

---
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>
2023-07-03 09:41:24 +02:00
dependabot[bot]
9005ccca46
Build(deps): bump @marsprotocol/wallet-connector from 1.8.3 to 1.8.9 (#278)
Bumps [@marsprotocol/wallet-connector](https://github.com/mars-protocol/wallet-connector) from 1.8.3 to 1.8.9.
- [Commits](https://github.com/mars-protocol/wallet-connector/commits)

---
updated-dependencies:
- dependency-name: "@marsprotocol/wallet-connector"
  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-03 09:41:03 +02:00
dependabot[bot]
30dd86755a
Build(deps-dev): bump @types/react-dom from 18.2.4 to 18.2.6 (#279)
Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) from 18.2.4 to 18.2.6.
- [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-03 09:40:45 +02:00
dependabot[bot]
84a163418a
Build(deps-dev): bump dotenv from 16.1.4 to 16.3.1 (#280)
Bumps [dotenv](https://github.com/motdotla/dotenv) from 16.1.4 to 16.3.1.
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/compare/v16.1.4...v16.3.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>
2023-07-03 09:40:25 +02:00
dependabot[bot]
592507985d
Build(deps): bump react-router-dom from 6.13.0 to 6.14.1 (#281)
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.13.0 to 6.14.1.
- [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.14.1/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>
2023-07-03 09:40:07 +02:00
Bob van der Helm
39e745b210
Mp 2713 asset selector (#275)
* added dumb asset selector

* fix table layouts borrow and farm

* 🍱 added basic overlay, esc btn

* finish asset selector

* Update tailwind configf to include button styles
2023-07-03 09:39:34 +02:00
Bob van der Helm
789a0d7b47
added full width layout for trade page (#274) 2023-06-29 17:35:45 +02:00
Bob van der Helm
999bad4059
Mp 2880 modifying farm position (#272)
* added correct resolving of account positions

* solve rendering bug for lp amount

* bugfix: add slippage to minlpamount

* fix DisplayCurrency to accept only BNCoin

* bugfix: remove prices from store

* add basic depostied vaults table

* Farm: Added deposited table

* finish deposited table, remove featured vaults:

* enable deposit more for vaults

* use controller for vault modal

* small fixes and polishing of add deposit

* fix tests, run format

* removed empty deposited table

---------

Co-authored-by: Linkie Link <linkielink.dev@gmail.com>
2023-06-29 13:12:11 +02:00
Bob van der Helm
697e83b7cb
Mp depostied vaults table (#271)
* added correct resolving of account positions

* solve rendering bug for lp amount

* bugfix: add slippage to minlpamount

* fix DisplayCurrency to accept only BNCoin

* bugfix: remove prices from store

* add basic depostied vaults table

* Farm: Added deposited table

* finish deposited table, remove featured vaults:
2023-06-29 12:55:47 +02:00
Bob van der Helm
9007e31707
added correct resolving of account positions (#270) 2023-06-26 15:13:21 +02:00
Bob van der Helm
415da05b8d
Mp 2548 deposit into vault (#264)
* Implement vault deposit message

* Merge custom Coin into BNCoin

* Fix build errors

* fixed tests
2023-06-26 10:08:45 +02:00
dependabot[bot]
c69461b95d
Build(deps): bump recharts from 2.6.0 to 2.7.2 (#267)
Bumps [recharts](https://github.com/recharts/recharts) from 2.6.0 to 2.7.2.
- [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.6.0...v2.7.2)

---
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>
2023-06-26 09:47:18 +02:00
dependabot[bot]
2bb73ec516
Build(deps-dev): bump @types/react from 18.2.8 to 18.2.14 (#266)
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.2.8 to 18.2.14.
- [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>
2023-06-26 09:46:05 +02:00
dependabot[bot]
0fb65a9b73
Build(deps): bump next from 13.4.6 to 13.4.7 (#265)
Bumps [next](https://github.com/vercel/next.js) from 13.4.6 to 13.4.7.
- [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.6...v13.4.7)

---
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-06-26 09:11:42 +02:00
dependabot[bot]
6b18387fe9
Build(deps): bump swr from 2.1.5 to 2.2.0 (#268)
Bumps [swr](https://github.com/vercel/swr) from 2.1.5 to 2.2.0.
- [Release notes](https://github.com/vercel/swr/releases)
- [Commits](https://github.com/vercel/swr/compare/v2.1.5...v2.2.0)

---
updated-dependencies:
- dependency-name: swr
  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-06-26 09:04:08 +02:00
dependabot[bot]
9bef5a394c
Build(deps-dev): bump eslint from 8.41.0 to 8.43.0 (#269)
Bumps [eslint](https://github.com/eslint/eslint) from 8.41.0 to 8.43.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.41.0...v8.43.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-06-26 08:58:34 +02:00
Yusuf Seyrek
7fda98aeea
Mp 3004 implement account balance amount when withdrawing 100 of lent asset (#263) 2023-06-23 18:52:49 +03:00
Yusuf Seyrek
2c399a2f16
feat: lend and withdraw modals (#257)
* feat: lend/withdraw functionality

* feat: addressed to pr discussions

* rename: data hook members
2023-06-23 13:30:08 +03:00
dependabot[bot]
f780de9d76
Build(deps): bump react-router-dom from 6.11.2 to 6.13.0 (#258)
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.11.2 to 6.13.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.13.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>
2023-06-21 10:49:42 +02:00
dependabot[bot]
3070dd711b
Build(deps): bump next from 13.4.3 to 13.4.6 (#259)
Bumps [next](https://github.com/vercel/next.js) from 13.4.3 to 13.4.6.
- [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.3...v13.4.6)

---
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-06-21 10:49:17 +02:00
Yusuf Seyrek
db9f222732
Mp 2993 update smart contracts (#262)
* feat: update contract addresses and types

* feat: add account type

* feat: comment out old contract vaults

* tests: disable vaults test suite

* instantiate contract-specfiic clients

* fix build

* rebase and fix test

---------

Co-authored-by: Bob van der Helm <34470358+bobthebuidlr@users.noreply.github.com>
2023-06-21 00:20:42 +02:00
dependabot[bot]
f614ad27fa
Build(deps-dev): bump @types/node from 20.2.3 to 20.3.1 (#260)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.2.3 to 20.3.1.
- [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-06-19 20:46:55 +02:00
Bob van der Helm
0037c3dedf
Mp 2547 unlocking modal (#256)
* add modal

* add tests and update naming

* fix pr comments
2023-06-19 20:46:32 +02:00
Yusuf Seyrek
5aabf6f725
cleanup: postcss dep. (#261) 2023-06-19 12:32:25 +02:00
dependabot[bot]
2d1ee493f5
Build(deps): bump react-toastify from 9.1.2 to 9.1.3 (#251)
Bumps [react-toastify](https://github.com/fkhadra/react-toastify) from 9.1.2 to 9.1.3.
- [Release notes](https://github.com/fkhadra/react-toastify/releases)
- [Commits](https://github.com/fkhadra/react-toastify/compare/v9.1.2...v9.1.3)

---
updated-dependencies:
- dependency-name: react-toastify
  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-06-19 10:18:57 +03:00
Yusuf Seyrek
878434dfec
feat: lending page and tables (#248) 2023-06-15 15:34:12 +03:00
Bob van der Helm
7b5d4c3255
Mp 2546 borrow asset modal (#255)
* Refactor Modal folder and setup basic addassetsmodal

* basic tables

* Update basic logic

* small fixes

* Update closing for modals

* fix slider update bug and set borrowing subtitle

* fix store

* add missing dependency

* fix tests for VaultBorrowings

* Add DisplayCurrency test for VaultBorrowings

* trigger updated

* update borrowModal import path

* update imports for modals

* updating paths again

* update structure of modals directory

* fix all file naming and relative imports

* fix icon spacing button and jest.mocked import

* fix icon classes for button

* change Map to array and add BNCoin

* add AssetImage

* update logic for selecting borrow denoms
2023-06-15 13:00:46 +02:00
Bob van der Helm
0f8e656651
Mp 2543 farm adv borrow (#247)
* add calculation for max borrowings

* implement borrow side for modal

* add test and resolve comments
2023-06-07 16:22:13 +02:00
dependabot[bot]
7daec73bba
Build(deps-dev): bump typescript from 5.0.4 to 5.1.3 (#243)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.0.4 to 5.1.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.0.4...v5.1.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>
2023-06-05 17:30:49 +03:00
dependabot[bot]
079d58826b
Build(deps-dev): bump @types/react from 18.2.6 to 18.2.8 (#244)
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.2.6 to 18.2.8.
- [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>
2023-06-05 17:30:37 +03:00
dependabot[bot]
723e1787c7
Build(deps): bump @sentry/nextjs from 7.51.2 to 7.54.0 (#246)
Bumps [@sentry/nextjs](https://github.com/getsentry/sentry-javascript) from 7.51.2 to 7.54.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.51.2...7.54.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-06-05 17:20:40 +03:00
dependabot[bot]
3b5555cc2b
Build(deps-dev): bump prettier-plugin-tailwindcss from 0.2.8 to 0.3.0 (#242)
Bumps [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) from 0.2.8 to 0.3.0.
- [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.2.8...v0.3.0)

---
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-06-05 17:18:42 +03:00
dependabot[bot]
185c4f7c2a
Build(deps-dev): bump dotenv from 16.0.3 to 16.1.4 (#245)
Bumps [dotenv](https://github.com/motdotla/dotenv) from 16.0.3 to 16.1.4.
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/compare/v16.0.3...v16.1.4)

---
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>
2023-06-05 17:17:44 +03:00
Yusuf Seyrek
2c149fabcf
tests: fix, improve utility, separate workflows (#241) 2023-06-05 08:47:42 +02:00
Yusuf Seyrek
2156431355
Mp 2565 api for active vaults (#239)
* feat: get deposited vaults functions

* feat: functional improvements

* cleanup: logging

* cleanup: remove unused import

* update: naming conventions
2023-06-05 08:31:46 +02:00
Bob van der Helm
9d09ebdf77
Mp 2544 Vault deposit (#240)
* Show guages on deposit

* Finish VaultDeposit

* resolve PR comments
2023-06-01 15:55:42 +02:00
Bob van der Helm
ac7e82b0a4
Mp 2758 updated tooltip component (#238)
* update tooltip styling

* refactor Tooltip and fix build

*  add Tooltip unit tests

* remove width and height

* update tests and yarn format script

* Apply suggestions from code review

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

---------

Co-authored-by: Yusuf Seyrek <yusufseyrek@users.noreply.github.com>
2023-05-31 10:34:26 +02:00
Yusuf Seyrek
e651e9c797
feat: store and component mocks setup (#237)
* feat: store and component mocks setup

* feat: more examples
2023-05-30 11:16:13 +02:00
Yusuf Seyrek
0c959d5097
feat: replace graphql requests with cosmwasm queries (#225)
* feat: replace graphql requests with cosmwasm queries

* feat: concurent price and market fetching
2023-05-30 11:16:03 +02:00
Bob van der Helm
de89ecb7ed
Mp 2757 token input errors (#235)
* Refactor TokenInput

* add TokenInput test + warning

* change title assigned select

* add unit tests for Card

* remove marketAssets from broadcast store
2023-05-30 09:01:07 +02:00
Yusuf Seyrek
a3b436f8dd
feat: enzyme installation (#228) 2023-05-29 10:20:08 +02:00
dependabot[bot]
89c062b052
Build(deps-dev): bump eslint-config-next from 13.4.1 to 13.4.4 (#231) 2023-05-29 09:33:38 +03:00
Yusuf Seyrek
af3c484047
update: page metadata (#226) 2023-05-26 10:25:07 +03:00
Yusuf Seyrek
ee20c2fde2
feat: finalize button component with tests (#224)
* feat: finalize button component with tests

* fix: import

* fix: import
2023-05-24 16:07:08 +03:00
Yusuf Seyrek
999d936f85
feat: react helmet implementation (#223)
* feat: dynamic page metadata implementation

* cleanup: unused imports

* cleanup: more unused imports
2023-05-24 16:05:19 +03:00
dependabot[bot]
e38b8be496
Build(deps-dev): bump @types/node from 20.1.1 to 20.2.3 (#222)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.1.1 to 20.2.3.
- [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-05-24 12:23:49 +03:00
dependabot[bot]
510b11d237
Build(deps): bump next from 13.4.2 to 13.4.3 (#219)
Bumps [next](https://github.com/vercel/next.js) from 13.4.2 to 13.4.3.
- [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.2...v13.4.3)

---
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-05-24 12:22:48 +03:00
dependabot[bot]
eba96aa203
Build(deps-dev): bump eslint from 8.40.0 to 8.41.0 (#221)
Bumps [eslint](https://github.com/eslint/eslint) from 8.40.0 to 8.41.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.40.0...v8.41.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-05-24 12:21:30 +03:00