Linkie Link
2ba18d2f05
Max margin trade fix ( #490 )
...
* fix: margin trading fix
* fix: accountsBalancesTable fix
* fix: show detailed APR where we have the space
* fix: smallerThan not biggerThan
* fix: be more precise on the decimals
* tidy: refactor
2023-09-20 11:16:47 +02:00
Linkie Link
9ced4ab6c9
fix: vault calculation of assets ( #486 )
2023-09-19 15:39:28 +02:00
Linkie Link
f87403eb4d
Various fixes ( #485 )
...
* fix: fixed info icon
* fix: remove margin trading on asset select
* fix: force abbreviated values larger than 1_000 to be max two decimals
* fix: added AssetRate to Select Option
* fix: fixed reduceMotion default setting on resetSettings
* fix: disable autoLend on AXL and stATOM
* Build(deps): bump @splinetool/runtime from 0.9.443 to 0.9.452 (#484 )
Bumps @splinetool/runtime from 0.9.443 to 0.9.452.
---
updated-dependencies:
- dependency-name: "@splinetool/runtime"
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>
* Build(deps-dev): bump prettier from 3.0.2 to 3.0.3 (#483 )
Bumps [prettier](https://github.com/prettier/prettier ) from 3.0.2 to 3.0.3.
- [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.2...3.0.3 )
---
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>
* Build(deps-dev): bump prettier-plugin-tailwindcss from 0.5.3 to 0.5.4 (#481 )
Bumps [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss ) from 0.5.3 to 0.5.4.
- [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.5.3...v0.5.4 )
---
updated-dependencies:
- dependency-name: prettier-plugin-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>
Co-authored-by: Linkie Link <linkielink.dev@gmail.com>
* Build(deps): bump @tanstack/react-table from 8.9.3 to 8.10.0 (#482 )
Bumps [@tanstack/react-table](https://github.com/tanstack/table ) from 8.9.3 to 8.10.0.
- [Release notes](https://github.com/tanstack/table/releases )
- [Commits](https://github.com/tanstack/table/compare/v8.9.3...v8.10.0 )
---
updated-dependencies:
- dependency-name: "@tanstack/react-table"
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>
Co-authored-by: Linkie Link <linkielink.dev@gmail.com>
* fix: get the info icon out of the users FACE
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-19 11:32:47 +02:00
Linkie Link
1bf93670a3
Transaction loader component ( #449 )
...
* feat: added transaction loader screen to modals
* tidy: refactor
* 🐛 fix: borrow not updating vault values (#436 )
* ⚡ Merge FundAccount and AccountFund (#431 )
* ⚡ Merge FundAccount and AccountFund
* fix build
* 🐛 fundAccount not showing, small typos/text corrections
* MP-3376: overpay on repay (#438 )
* MP-3376: overpay on repay
* fix: remove Buffer and fix NaN on useSpring
* feat: added transaction loader screen to modals
* fix: updated AccountFundContent
* fix: fixed the animated-loader issues
* 🐛 UNSAFE_COMPONENT error (#439 )
* 🐛 UNSAFE_COMPONENT error
* 🐛 fix unit tests for react-helmet-async
* Small text fixes (#440 )
* 🐛 text fix on fund for new account
* 🐛 make toggle account-wide lending on new-account
* Styling alert dialog (#441 )
* 🐛 text fix on fund for new account
* 🐛 make toggle account-wide lending on new-account
* 💅🏼 Update styling of alertDialogs
* Fixes bob (#443 )
* 🐛 Trading chart title
* 🐛 Trading chart title
* 🐛 fix incorrect vault deposit amounts
* 🐛 fix incorrect vault borrow calc
* 🧽 run format
* 🧽 fix comments
* 🧽 update code owners
* Build(deps): bump bignumber.js from 9.1.1 to 9.1.2 (#444 )
Bumps [bignumber.js](https://github.com/MikeMcl/bignumber.js ) from 9.1.1 to 9.1.2.
- [Release notes](https://github.com/MikeMcl/bignumber.js/releases )
- [Changelog](https://github.com/MikeMcl/bignumber.js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/MikeMcl/bignumber.js/compare/v9.1.1...v9.1.2 )
---
updated-dependencies:
- dependency-name: bignumber.js
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>
* Build(deps-dev): bump @types/react from 18.2.19 to 18.2.21 (#448 )
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ) from 18.2.19 to 18.2.21.
- [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>
* Build(deps): bump next from 13.4.9 to 13.4.19 (#446 )
Bumps [next](https://github.com/vercel/next.js ) from 13.4.9 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/compare/v13.4.9...v13.4.19 )
---
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>
* Build(deps-dev): bump @types/node from 20.4.8 to 20.6.0 (#447 )
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 20.4.8 to 20.6.0.
- [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>
Co-authored-by: Linkie Link <linkielink.dev@gmail.com>
* feat: refactored the toast responses (#442 )
* feat: refactored the toast responses
* fix: fixed the map return
* feat: added a recent transaction center
* tidy: removed logs
* fix: fixed autolend
* feat: added global lending on first account funding
* fix: added endOfLine setting
* feat: added eslint warnings for lineEnds
* fix: made the vault message generic
* feat: added transaction loader screen to modals
* 🐛 fix: borrow not updating vault values (#436 )
* ⚡ Merge FundAccount and AccountFund (#431 )
* ⚡ Merge FundAccount and AccountFund
* fix build
* 🐛 fundAccount not showing, small typos/text corrections
* feat: added transaction loader screen to modals
* fix: updated AccountFundContent
* fix: fixed the animated-loader issues
* tidy: refactor
* fix: set pendingTransaction inside the broadcast slice
* fix: fixed the pipeline
* fix: setting showTxLoader
* fix: fixed the pipeline
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Bob van der Helm <34470358+bobthebuidlr@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-11 12:51:44 +02:00
Linkie Link
74e7c7e6a9
MP-3362: added Toaster explorer link ( #430 )
2023-09-06 12:13:29 +02:00
Bob van der Helm
5bb87b6d27
🐛 reclaim lent assets for trade ( #429 )
2023-09-06 10:28:12 +02:00
Linkie Link
19e06aa7d4
Fix auto lend setting ( #425 )
...
* fix: fixed the auto-lend setting impact
* fix: fixed trade layout and autoLend
2023-09-05 12:38:20 +02:00
Bob van der Helm
d87fbd2a15
Mp 3270 deposit cap messages ( #416 )
...
* Add Deposit cap for AssetSelector
* Add DepositCap component for Trade
* DepositCap to Vault and Fund
* DepositCap to Vault and Fund
* Small bugixes
* formatting fixes
* formatting fixes
* formatting fixes
* formatting fixes
* run format
2023-09-04 09:46:13 +02:00
Linkie Link
23fe839229
feat: added simulateTrade ( #413 )
2023-09-01 10:18:09 +02: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
Linkie Link
2d146449ca
Mp 3260 finalize account summary ( #395 )
2023-08-26 10:30:56 +02:00
Yusuf Seyrek
50f365044c
feat(swap): reflect buy side amounts onto range input ( #392 )
2023-08-24 13:59:41 +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
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
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
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
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
Yusuf Seyrek
fef4608681
feat(swap form): disable range input when balance is zero ( #333 )
2023-08-01 10:43:38 +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
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
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