Bob van der Helm
740e982956
Borrow modal adjustments ( #128 )
...
* ➕ add Draggable
* 💄 Add martian red
* 🍱 Add Slider component
* 🔒 update yarn
* 🔥 remove unused components
* 🩹 fix graphql errors
* tidy: tailwind refactor
* set default port to 3001
* 🍱 add Divider and Container
* 🍱 add NumberInput
* allow left and right icon for button
* 🍱 add TokenInput, expand borrowModal
* update borrow modal, adjust modal component, remove container
* fix value change
* update svgs
---------
Co-authored-by: Linkie Link <linkielink.dev@gmail.com>
2023-03-22 15:12:19 +01:00
Linkie Link
21d31c0f79
Button border fixes ( #129 )
...
* fix: fixed the glas borders
# Conflicts:
# src/components/Card.tsx
* fix: fixed the Copy Address button and removed all borders from button classes
2023-03-22 12:24:52 +01:00
Linkie Link
e3118004ce
Small adjustments ( #115 )
...
* fix: added current SCs
* fix: fixed disabled buttons
* chore: updated all packages
* tidy: cleanup
---------
Co-authored-by: Bob van der Helm <34470358+bobthebuidlr@users.noreply.github.com>
2023-03-21 13:32:21 +01:00
dependabot[bot]
61496423f3
Build(deps-dev): bump eslint-config-next from 13.2.3 to 13.2.4 ( #116 )
...
Bumps [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next ) from 13.2.3 to 13.2.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/v13.2.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>
2023-03-21 13:25:07 +01:00
dependabot[bot]
87f8f583b5
Build(deps-dev): bump @types/node from 18.14.6 to 18.15.5 ( #127 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 18.14.6 to 18.15.5.
- [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-03-21 13:24:38 +01:00
dependabot[bot]
0c9f7f2366
Build(deps): bump webpack from 5.75.0 to 5.76.2 ( #126 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.75.0 to 5.76.2.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.75.0...v5.76.2 )
---
updated-dependencies:
- dependency-name: webpack
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-21 13:24:11 +01:00
dependabot[bot]
a67e66beb9
Build(deps-dev): bump eslint from 8.35.0 to 8.36.0 ( #118 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.35.0 to 8.36.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.35.0...v8.36.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-03-21 13:22:29 +01:00
dependabot[bot]
8b40b4ca66
Build(deps-dev): bump @types/node from 18.14.6 to 18.15.3 ( #124 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 18.14.6 to 18.15.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-03-21 11:25:30 +01:00
dependabot[bot]
13bbb0b183
Build(deps-dev): bump autoprefixer from 10.4.13 to 10.4.14 ( #117 )
...
Bumps [autoprefixer](https://github.com/postcss/autoprefixer ) from 10.4.13 to 10.4.14.
- [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.13...10.4.14 )
---
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-03-21 11:24:50 +01:00
dependabot[bot]
f4b967a7e2
Build(deps): bump @sentry/nextjs from 7.41.0 to 7.43.0 ( #123 )
...
Bumps [@sentry/nextjs](https://github.com/getsentry/sentry-javascript ) from 7.41.0 to 7.43.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.41.0...7.43.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-03-21 11:17:23 +01:00
Bob van der Helm
b1d42b1335
Borrow page adjustments ( #114 )
...
* Hide activeBorrowings when not present
* add extra info to borrowmodal
2023-03-10 15:57:56 +01:00
Linkie Link
b937c96423
Env update ( #113 )
...
* env: updated env structure to make the vercel deployment work
* env: updated the URL_API to be compatible with vercel
* feat: add vercel.json
* env: vercel protection bypass
* env: adding bypass logic
* fix: changed 127.0.0.1 back to localhost
* env: readded cors
* env: delete vercel.json
* env: update headers
* env: moved cors back to vercel.json
* env: allow all headers
* env: switched from headers to query variables
* env: still need CORS
* env: ignore cookie
* env: tidy
* tidy: cleanup
2023-03-09 10:26:16 +01:00
Linkie Link
21268e5536
UI style updates ( #106 )
...
* feat: updates on the button styles
* env: updated yarn.lock
* fix: added account actions
* fix: updated the orbs logic
* fix: fixed the blur presets
* feat: updated the button logic
* fix: wallet modal style adjustments
* fix: updated close icon
* fix: fixed the close button
* fix: fix types
* fix: fixed the build
* tidy: component cleanup
* feat: added new AccountDetails component
* refactor: propper usage of tailwind
* refactor: imports
* feat: added pages for all scenarios
* fix: fix the loading component
* fix: remove loading from default trade
* fix: fixed the build
* fix: fixed losing the provider on hotplug
* tidy: remove unused code
* fix: added error messages
* add borrow page structure
* env: enhanced debugging by restructuring the ENV object
* fix: fixed the build
* fix: fixed the wording on missing env variables
* feat: added button hover (#112 )
* feat: added button hover
* fix: added bg transition to primary buttons
* feat: pages refactored (#111 )
* feat: pages refactored
* fix: added loader for AccountNavigation
* fix: fixed the wallet store management
* fix: get rid of the walletSlice and refactor
* fix: added gap to the borrow page
* fix: fixed some dependencies
* fix: added initClients back
* fix: fixed according to feedback
---------
Co-authored-by: bwvdhelm <34470358+bobthebuidlr@users.noreply.github.com>
2023-03-08 10:44:39 +01:00
Bob van der Helm
cbb0700455
update layout for modal, implement borrow tables ( #105 )
2023-03-01 13:49:57 +01:00
Linkie Link
493ec7c44c
fix: reanabled fundAccount and created base for toasts ( #103 )
...
* fix: reanabled fundAccount and created base for toasts
* Update toaster + add router refresh
---------
Co-authored-by: bwvdhelm <34470358+bobthebuidlr@users.noreply.github.com>
2023-02-28 09:20:53 +01:00
Bob van der Helm
29ce98f4d7
updated cards,borrow page ( #102 )
2023-02-24 15:19:23 +01:00
Linkie Link
b5c097d661
Upgrade next ( #100 )
...
* upgrade to next 13
* WIP: adjust to app dir
* add docker + wallet connector
* fix: update the wallet connect component
* tidy: format
* wip: make the wallet balance fetcher work
* fix balance retrieval
* MP-2258: added estimateFee hook (#94 )
* Mp 2259 queries to api (#96 )
* update next config for build errors
* Convert queries to API + remove config
* tidy: save some bytes by adding constants/env.ts
* tidy: added URL_ prefix to REST, RPC and GQL
---------
Co-authored-by: Linkie Link <linkielink.dev@gmail.com>
* MP-2261: created useBroadcast hook for transactions (#95 )
* tidy: remove unneeded wallet images
* Mp 2264 convert store (#97 )
* Merge stores into 1
* refactor codebase to use new store
* fiex build and rename whitelisted to marketassets
* tidy: import refactor
* updated account navigation basics
* feat: added loading component and fixed the disconnect button
* fix: format
* update new routing system
* update config and dependencies
* feat: create and delete credit account are restored
* tidy: format
* fix: fixed the deployment
* update route structure (#98 )
* fix: creditAccountDeposit works again
* fix: bugfixes
* add apis, remove allowedCoins, get basic borrow tables (#99 )
Co-authored-by: bwvdhelm <34470358+bobthebuidlr@users.noreply.github.com>
---------
Co-authored-by: bwvdhelm <34470358+bobthebuidlr@users.noreply.github.com>
2023-02-24 09:47:27 +01:00
Mark Watney
2b91adf438
doc: Add instructions for spinning up a hive instance ( #85 )
2023-01-23 17:59:17 +08:00
Linkie Link
dc6fc3991a
MP-2046: Created CookieConsent component ( #84 )
2023-01-20 20:47:49 +01:00
dependabot[bot]
5bb0997309
Build(deps-dev): bump eslint from 8.23.0 to 8.30.0 ( #74 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.23.0 to 8.30.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.23.0...v8.30.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-23 12:29:04 +01:00
dependabot[bot]
50898404a9
Build(deps): bump @cosmjs/stargate from 0.29.4 to 0.29.5 ( #72 )
...
Bumps [@cosmjs/stargate](https://github.com/cosmos/cosmjs ) from 0.29.4 to 0.29.5.
- [Release notes](https://github.com/cosmos/cosmjs/releases )
- [Changelog](https://github.com/cosmos/cosmjs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/cosmos/cosmjs/compare/v0.29.4...v0.29.5 )
---
updated-dependencies:
- dependency-name: "@cosmjs/stargate"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-23 12:28:15 +01:00
dependabot[bot]
2fd7d001ae
Build(deps-dev): bump typescript from 4.8.2 to 4.9.4 ( #68 )
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.8.2 to 4.9.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.8.2...v4.9.4 )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@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: Linkie Link <linkielink.dev@gmail.com>
2022-12-23 12:27:37 +01:00
Linkie Link
6efa380a98
Ux and details update ( #77 )
...
* fix: added the metadata base
* tidy: refactor the config structure
* fix: fixed the denom and fetching shenanigans
* fix: get rid of injective
* fix: removed logs
* tidy: updated dependencies
* fix: replaced static fallbacks with networkConfig.asset.base
* fix: remove memo
* tidy: added TODO comment
* fix: fixed the accountDetails
* fix: fixed the wallet connector suffix
2022-12-23 12:23:00 +01:00
Linkie Link
83fa513bf0
Mp 1691 credit account details ( #67 )
2022-12-13 14:21:30 +01:00
Gustavo Mauricio
4527423a50
fix: add funds to message when depositing from wallet ( #65 )
2022-12-13 09:09:34 +01:00
Linkie Link
c4f8f4eab0
Mp 1757 wallet connect ( #66 )
...
* MP-1757: implemented the WalletProvider and connect buttons
* tidy: tidy up the search
* MP-1691: moved modals outside of the DOM
* MP-1691: changed CreditManager into AccountDetails
* fix: fixed the naming
* MP-1691: UX approvements
* MP-1691: global confirm and delete modal added
* fix: merged the credit-account and wallet branch
* MP-1757: added the status store
* fix: updated the store interaction
* MP-1757: major cleanup of stores
* tidy: format
2022-12-08 21:14:38 +01:00
dependabot[bot]
a273f70b3a
Build(deps-dev): bump @types/node from 18.7.14 to 18.11.11 ( #64 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 18.7.14 to 18.11.11.
- [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>
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>
2022-12-06 13:49:05 +01:00
dependabot[bot]
39568756e0
Build(deps): bump decode-uri-component from 0.2.0 to 0.2.2 ( #63 )
...
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component ) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases )
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2 )
---
updated-dependencies:
- dependency-name: decode-uri-component
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-06 13:48:06 +01:00
dependabot[bot]
09b2616d5e
Build(deps-dev): bump @types/react from 18.0.18 to 18.0.26 ( #60 )
...
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ) from 18.0.18 to 18.0.26.
- [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>
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>
2022-12-06 10:22:56 +01:00
dependabot[bot]
c90ec57db0
Build(deps-dev): bump @types/react-dom from 18.0.6 to 18.0.9 ( #53 )
...
Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom ) from 18.0.6 to 18.0.9.
- [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>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-06 10:21:32 +01:00
dependabot[bot]
8c135defc3
Build(deps): bump zustand from 4.1.1 to 4.1.4 ( #44 )
...
Bumps [zustand](https://github.com/pmndrs/zustand ) from 4.1.1 to 4.1.4.
- [Release notes](https://github.com/pmndrs/zustand/releases )
- [Commits](https://github.com/pmndrs/zustand/compare/v4.1.1...v4.1.4 )
---
updated-dependencies:
- dependency-name: zustand
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-06 10:21:08 +01:00
Linkie Link
2f7b266e6b
Mp 1671 header ( #59 )
...
* MP-1674: replaced the logo and added dekstop only nav
* MP-1677: borrowCapacity implemented into the SubAccount Nav
* MP-1677: adjusted the SubAccount navigation
* M1677: fixed the button and SearchInput component
* MP-1674: fixed the NavLink component
* MP-1674: fixed the SubAccount navigation
* tidy: cleaning up the trading view
* MP-1674: added withdraw and funding functions
* MP-1674: worked on the AccountStats
* MP-1671: modal work
* MP-1647: improvised CreditAccount expander
* tidy: fixed the page structure
* MP-1758: finished the SearchInput layout
* MP-1759: updated the semicircle graphs
* MP-1759: SemiCircle to Gauge
* fix: implemented animated numbers
* tidy: refactor
* MP-1759: added Tooltip to the Gauge
* fix: replace animate={true} with animate
* fix: fixed the Gauge timing
* fix: updated the BorrowCapacity styles
* fix: renamed SubAccount to Account
* fix: Text should not be a button, Button should be
* tidy: format
* fix: Text no clicky
* fix: replaced all the Text appearances with onClick
2022-12-06 10:20:22 +01:00
Gustavo Mauricio
8aaeb36efa
update balance table when performing an action ( #56 )
...
* update balance table when performing an action
* filter assets with no amount as a result of an action
* feat: slippage tolerance input added
* update default slippage to 1%
2022-12-05 15:14:58 +01:00
Linkie Link
ee71260429
MP-1660: base components ( #57 )
...
* MP-1660: base components
* fix: removed lodash.isequal
2022-11-29 17:45:00 +01:00
Gustavo Mauricio
1deba2059e
MP-1699: Trade on Margin Account ( #52 )
...
* update generated types
* added CRO to token info
* update contract addresses to match latest deployment
* feat: token prices fetched from oracle contract
* trade page initial commit
* trade asset action hook
* extract max swap amount logic into custom hook
* trade component ui adjustments
* trade container min-width and some styling improvements
* trade success message and loading indicator
* normalize naming conventions on trading
* max swap amount formula adjustments
* trade execute msg with borrow. code cleanup
* fix: click max update tokenOut amount. remove wallet from fund denom
* delay token amount decimal conversion. input formatting
* increase hardcoded gas
* renamed max swappable amount hook
* display token prices and market information on landing page
* reset trade amounts when selected account change
* max trade amount cleanup and minor performance optimizations
* fix: liabilities value with 1 hour interest buffer for trade action
* add token symbol to wallet and account labels
* swap trade pairs icon and basic functionality
* remove unnecessary optional chaining. comment adjusted
* refactor useTokenPrices to build query dynamically on tokens data
* extracted trade container and respective functionality into separate file
* fix: properly calculate positions after full swap
* mp-1218: trading using wallet
2022-11-22 10:14:12 +01:00
Gustavo Mauricio
56bfea8ed0
Update account stats on pending action ( #51 )
...
* feat: update account stats on pending action
* lift repay amount with buffer calculation to repay modal
* refactor navigation component to properly format account stats
* update repay funds hook using credit manager client
* consider market liquidity when calculating max withdraw amount
* refactor useMaxBorrowAmount hook to be consistent with withdraw
* format
* remove duplicated import statements
2022-11-09 13:47:36 +01:00
Linkie Link
27cdd1c954
Linter and prettier adjustments ( #50 )
...
* tidy: added eslintrc and prettierrc rules
* tidy: formated the files via ‚yarn format‘
* import sort improvements
* format script regex fix
* replace eslint import severity to warning
* remove staged file
Co-authored-by: Gustavo Mauricio <gustavo.mauricio58@gmail.com>
2022-11-09 10:04:06 +01:00
Gustavo Mauricio
8bde02c2e9
MP-1705: Borrow limit ( #48 )
...
* update borrow funds hooks using credit manager client
* update calculate max borrow and withdraw hooks to consider future debt
2022-11-07 17:14:16 +00:00
Gustavo Mauricio
9bc09c68af
Withdraw assets from account ( #43 )
...
* withdraw modal and respective hooks initial commit
* max withdraw amount hook logic improvements
* withdraw flow code cleanup
* reset modal state when reopened
* memoize withdraw amount. percentage value fix
* unused store selector
* credit manager and accountnft clients added to store
* script to pull generated types from rover repo
2022-11-07 16:36:12 +00:00
Gustavo Mauricio
c15743e2f4
UI/UX when no wallet is connected ( #40 )
...
* navigation bar conditional renders on connected and credit accounts
* remove address requirement from allowed coins fetch
* fix: credit accounts positions when no wallet connected
* remove unnecessary comments
2022-11-07 14:56:18 +00:00
dependabot[bot]
5fbc4dbb97
Bump autoprefixer from 10.4.8 to 10.4.13 ( #38 )
...
Bumps [autoprefixer](https://github.com/postcss/autoprefixer ) from 10.4.8 to 10.4.13.
- [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.8...10.4.13 )
---
updated-dependencies:
- dependency-name: autoprefixer
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-01 13:14:32 +00:00
dependabot[bot]
7d038dbb01
Bump tailwindcss from 3.1.8 to 3.2.1 ( #31 )
...
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss ) from 3.1.8 to 3.2.1.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases )
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.1.8...v3.2.1 )
---
updated-dependencies:
- dependency-name: tailwindcss
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-01 13:14:06 +00:00
Gustavo Mauricio
18c7547c00
MP-1638: Repay ( #35 )
...
* added repay action percentage buffer
* moved repay amount calculation to RepayFunds component
* refetch interval added to credit account positions query
* feat: revamp borrow and repay components to modals
* remove references to deleted components
* cosmo signing client added to wallet store
* amount decimal normalized for borrow action
* amount decimals conversion lifted for borrow and repay
* refactor: moved hooks to mutations folder
* update button disable condition and min input value
* refactor: reset modal states when reopened
* react-number-format dependency and borrow/repay modals revamp
* renamed borrow modal state variable
* style: borrow table ui revamp
2022-10-28 12:14:14 +01:00
Gustavo Mauricio
55d0910d10
MP-1566: Deposit funds modal ( #33 )
...
* feat: deposit account modal
* style: button default colors to match wireframes
* react-query-devtools package added
* slider moved to separate component
2022-10-25 11:31:36 +01:00
Gustavo Mauricio
d3a1e9f3f1
fix: market liquidity default to 0 ( #34 )
2022-10-25 11:31:13 +01:00
Gustavo Mauricio
d22de166da
Borrow improvements ( #29 )
...
* update token prices and market data to match smart contract
* feat: redbank balances query and respective rendering on ui
* query key for rb balances and respective invalidations
* update contracts config
* fix: avoid returning negative max borrow amounts
* fix: added deposit action to repay execute message
* add minus sign before apy on debt positions
* consider market liquidity on max borrow calculation
* hive url added to chain config
* update hardcoded token decimals
2022-10-24 16:15:26 +01:00
Gustavo Mauricio
5cb1da132b
fix: next build ( #28 )
...
* fix: build vercel
* disable swcMinify experimental feature
2022-10-21 12:48:59 +02:00
dependabot[bot]
f69be1b6eb
Bump eslint-config-next from 12.2.5 to 12.3.1 ( #13 )
...
Bumps [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next ) from 12.2.5 to 12.3.1.
- [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/v12.3.1/packages/eslint-config-next )
---
updated-dependencies:
- dependency-name: eslint-config-next
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-21 08:18:07 +01:00
dependabot[bot]
0739f9debe
Bump next from 12.2.5 to 12.3.1 ( #15 )
...
Bumps [next](https://github.com/vercel/next.js ) from 12.2.5 to 12.3.1.
- [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/v12.2.5...v12.3.1 )
---
updated-dependencies:
- dependency-name: next
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-21 08:17:31 +01:00
Gustavo Mauricio
bbbdca6950
MP-1227: Borrow Page ( #24 )
...
* added icon for atom and tokenInfo data update
* borrow page initial commit
* feat: borrow funds to ca and wallet
* close borrow module on tx success
* feat: repay funds initial setup
* repay funds action hook
* repay slider. module state on borrow page component
* styling: minor tweak to text colors
* limit manual input on repay to max value
* borrow funds component slider initial
* style: max button typography
* AssetRow extracted to separate file. organize imports
* ContainerSecondary component added
* loading indicator for pending actions
* style: progress bar colors
* tanstack table added
* tanstack react-table dependency missing
* table cleanup and layout adjustments
* fix account stats formula and update market data to match spreadsheet
* calculate max borrow amount hook
* reset borrow and repay components on account change
* max borrow amount decimals. memorized return
* hook tanstack data with real data
* redefine borrowedAssetsMap to map
* update max borrow amount formulas
* remove unnecessary table component. refactor borrow table
2022-10-20 16:39:21 +01:00