Bob van der Helm
2effdfadac
Liq price in balances ( #679 )
...
* add liquidation price to balances table trade
* add depositcap to HLS
* fix: add width classes to the balances table, remove abbreviation, remove flicker
* fix: fixed the account selection and added a tooltip
* fix wasm file for debt liquidation price
---------
Co-authored-by: Linkie Link <linkielink.dev@gmail.com>
2023-12-07 14:44:31 +01:00
Linkie Link
93ff4bfd45
tidy: refactor
2023-12-04 16:19:21 +01:00
Linkie Link
0dd3c9afa7
fix: disable lend on auto repay on trade
2023-12-04 16:18:05 +01:00
Bob van der Helm
88a7c27a28
✨ finish adding liquidation price ( #649 )
...
* ✨ finish adding liquidation price
* fix minor issues
* v2.0.6 and use feature flag for auto repay (#650 )
* 🐛 incorrect deposit cap utilization (#647 )
* Initialize perps (#648 )
* setup routing
* add basic perps interface
* small fix
* feat: listed dydx and AKT (#652 )
* Deposit Cap and Utilization Fix (#654 )
* fix: fixed the deposit cap and total supplied / utilization rate
* fix: fixed build
* fix: fixed build
* fix: avoid deposit cap usage over 100%
* refactor market data apy/ltv
* fix: fixed the withdraw from vaults modal
* tidy: refactor
---------
Co-authored-by: Bob van der Helm <34470358+bobthebuidlr@users.noreply.github.com>
* stATOM and stOSMO TradingView support (#653 )
* feat: listed dydx and AKT
* fix: removed theGraph support for now
* adjust liq price loading and null/0 values
---------
Co-authored-by: Linkie Link <linkielink.dev@gmail.com>
2023-11-27 12:07:00 +01:00
Bob van der Helm
a4bbf92ced
Initialize perps ( #648 )
...
* setup routing
* add basic perps interface
* small fix
2023-11-23 15:42:08 +01:00
Bob van der Helm
5469d708cb
v2.0.6 and use feature flag for auto repay ( #650 )
2023-11-23 15:38:47 +01:00
Bob van der Helm
9a05d03db5
Update HC for Margin trade and HLS ( #645 )
...
* Update HC for Margin trade and HLS
* fix relative imports
2023-11-20 12:25:16 +01:00
Linkie Link
d18e2f9034
tidy: format
2023-11-14 11:52:31 +01:00
Linkie Link
0be6b2ff97
fix: fixed updating states
2023-11-14 11:51:50 +01:00
Linkie Link
8e976a5d70
Auto repay on trade ( #631 )
2023-11-13 17:55:03 +01:00
Linkie Link
f32c7dc915
hotfix: quickfix for Trade
2023-11-11 09:15:02 +01:00
Linkie Link
a8dc0950fa
Pyth history feed ( #623 )
...
* MP-3556: first PythDataFeed class
* fix: fixed the timestamp
* fix: fixed the chart data
* fix: fixed the prices
* fix: fixed the math and decimal scale
* tidy: refactor
* fix: update the pythFeedId
* fix: updated OsmosisTheGraphDataFeed
* fix: add a fallback for non pyth data
* tidy: refactor
* fix: adjusted to feedback
2023-11-10 13:56:17 +01:00
Linkie Link
c69dd9e172
MP-3540: added liquidity warning ( #605 )
2023-10-31 13:30:28 +01:00
Linkie Link
1d8bab3206
fix: do update the health on sliding the margin back to 0 ( #593 )
2023-10-27 18:15:37 +02:00
Linkie Link
8435ed3498
fix: prevent permanent account updates by trade page ( #587 )
2023-10-25 11:35:13 +02:00
Bob van der Helm
bcd840150d
✨ HLS: Add info modal ( #573 )
2023-10-23 14:04:17 +02:00
Linkie Link
40c2e8039a
fix: fixed dust left when trying to buy max amount without leverage ( #565 )
2023-10-21 11:11:40 +02:00
Linkie Link
17f13b6d7c
Mp 3442 sage feedback pre mars v 2 trade page ( #520 )
...
* MP-3442: set autolend to true by default
* MP-3442: remember margin setting and toggle it on by default
* MP-3442: add balances to AssetSelector
* MP-3442: close assetOverlay on clickAway
* fix: fixed TradeModule z-index
* MP-3442: set priority of balance and cap
* fix: overlayState
* fix: adjusted to comments
2023-10-05 09:15:32 +02:00
Linkie Link
308ec7dba4
fix: fixed account change and refresh issues ( #498 )
2023-09-24 12:29:49 +02:00
Linkie Link
6c193c1a9b
fix: applied design feedback ( #494 )
2023-09-21 09:42:50 +02:00
Linkie Link
5bf46d4da0
fix: all your codebase belongs to us ( #492 )
2023-09-20 15:53:33 +02:00
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
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
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