Linkie Link
40e6856d78
Open Source + Docker image ( #793 )
...
* feat: added dummy charting library
* feat: added docker workflow
* feat: remove tests and code-coverage
* feat: added final TradingView fallback
* env: set private to false
* fix: added production env
* env: added README and LICENSE
* env: cleanup variables
* env: add license field
* env: finish docker setup
* fix: updated the description of the dummy data
2024-02-13 11:02:15 +01:00
Linkie Link
ffa5abb55b
fix: fixed high gas prices ( #788 )
...
* fix: fixed high gas prices
* env: remove sentry
2024-02-09 14:36:44 +01:00
Bob van der Helm
ba8758aa91
perps: add tradingfee percentage tooltip ( #787 )
2024-02-09 10:35:09 +01:00
Linkie Link
413f8c43c8
Mp 2227 assetselect search ( #782 )
...
* feat: split perps into active and non active positions
* fix: fixed the search of assets selector
* fix: according to feedback
2024-02-09 08:42:37 +01:00
Linkie Link
6ac7708ca5
feat: debounce input sliders ( #784 )
...
* feat: debounce input sliders
* fix: fixed the debounce function
2024-02-09 08:29:26 +01:00
Bob van der Helm
6d5e7c7325
perps: modify perps, update contracts, interest, realized profits ( #783 )
2024-02-08 15:25:41 +01:00
Linkie Link
9762aa7cd0
feat: split perps into active and non active positions ( #780 )
2024-02-08 11:05:39 +01:00
Linkie Link
12a11a2ffc
fix: fixed a dependency
2024-02-07 11:23:12 +01:00
Linkie Link
9c6f5bcc94
fix: update account health on modal close ( #776 )
2024-02-07 11:00:50 +01:00
Bob van der Helm
b2b8f93bc3
vault: separate aprs ( #777 )
2024-02-07 10:59:54 +01:00
Bob van der Helm
ef9c353b6b
Mp 2193 pnl breakdown ( #775 )
...
* perps: add additional pnl info
* perps: make realized / unrealized coins
2024-02-06 15:12:55 +01:00
Linkie Link
9ccb32b743
fix: filled the empty space below collapsed content ( #773 )
...
* fix: filled the empty space below collapsed content
* fix: fixed timings
2024-02-06 13:48:41 +01:00
Linkie Link
388dbe7c6e
fix: fixed a dependency
2024-02-06 11:12:50 +01:00
Linkie Link
0acfe49815
feat: preperations for open sourcing the repo ( #771 )
...
* feat: preperations for open sourcing the repo
* fix: don’t use an apikey if there is none set
2024-02-06 10:27:58 +01:00
Linkie Link
3c280518e8
Morph summary ( #763 )
...
* fix: fixed mobile issues with SVGs
* feat: first morphing AccountDetails
* tidy: composition refresh
* tidy: fine adjusting
* fix: svg fixes
* feat: updated summary structure
* feat: overall layout adjustments
* fix: fixed svg adjustments
* feat: finished AccountSummary update
* fix: fixed build
* tidy: refactor
* fix: fix enourmous APYs
* fix: don’t abbreviate APYs
* tidy: console.log
* fix: fix borrow Rate sorting
* fix: fixed scrollbars
* fix: hide scrollbars
* fix: resolved feedback
* fix: amount not size
* feat: only show credit account number outside of modals
* fix: added missing Strategies to PortfolioAccount
* fix: save some space
2024-02-06 10:05:42 +01:00
Linkie Link
bae3d7388f
fix: fixed favorite asset select ( #770 )
2024-02-05 12:53:55 +01:00
Linkie Link
119ed5b35b
feat: use the chartView LocalStore to load the last set resolution ( #769 )
2024-02-05 12:53:23 +01:00
Bob van der Helm
19d4d1691d
perps: remove modify module and adjust main module ( #761 )
...
* perps: remove modify module and adjust main module
* fix build
2024-02-02 14:05:40 +01:00
Linkie Link
2d5efec4cb
List milkTIA ( #757 )
...
* tidy: update svgs
* feat: list milkTIA
* env: updated the version
* fix: fixed null return of RedBank
* fix: useMarketEnabledAssets
2024-01-31 14:37:31 +01:00
Bob van der Helm
e763203d15
Mp 2182 convert api folder to swr hooks ( #758 )
...
* moved api/openingFee to hook
* moved api/icns and api/balances to hooks
* moved api/assetIncentivesApy to hooks
* moved api/incentives to hooks
* fix relative import
2024-01-31 09:17:13 +01:00
Linkie Link
c4a2a7d913
Perps account preview ( #750 )
...
* fix: fixed the Liquidation Price inside the TradeSummary
* feat: added account preview
* tidy: refactor
* feat: added HLS intro
* fix: closing the wallet select focusComponent
* fix: added perps position update to edit as well
* fix: fix update perp
* fix: fail catch
* fix: implemented suggest changes
* tidy: fix
* fix: unfix
* fix: created helper function
* tidy: console.log
2024-01-30 16:18:54 +01:00
Linkie Link
3123220fee
Withdraw and fund fix ( #756 )
...
* fix: fixed markets.find(byDenom())
* fix: fixed the account Summary in modals
* fix: fixed the withdraw lent assets logic
2024-01-30 13:51:23 +01:00
Linkie Link
d1ed6e542e
fix: replaces the store with useChainConfig ( #755 )
2024-01-30 09:19:51 +01:00
Bob van der Helm
a00c8e391b
Moved Markets data to SWR ( #749 )
2024-01-26 16:55:45 +01:00
Linkie Link
7cfe05ebb7
tidy: refactor
2024-01-24 17:20:51 +01:00
Linkie Link
11dac403a0
fix: hide Perp Positions on Osmosis
2024-01-24 17:15:43 +01:00
Linkie Link
8a61d5413e
fix: fixed merge issues
2024-01-24 17:08:53 +01:00
Bob van der Helm
74c9a41a8b
fixed refetchgin of account data ( #747 )
...
Co-authored-by: Linkie Link <linkielink.dev@gmail.com>
2024-01-24 17:06:12 +01:00
Linkie Link
957b44a153
tidy: remove console.log
2024-01-24 09:15:28 +01:00
Linkie Link
2997d7440e
Merge branch 'main' of https://github.com/mars-protocol/mars-v2-frontend into develop
...
# Conflicts:
# src/components/Icons/index.ts
# src/components/Trade/TradeChart/TVChartContainer.tsx
# src/components/Trade/TradeChart/index.tsx
# src/components/common/Icons/PythLogoType.svg
# src/components/common/Toaster/index.tsx
# src/components/header/DesktopHeader.tsx
# src/components/trade/TradeChart/PoweredByPyth.tsx
# src/store/slices/broadcast.ts
2024-01-24 08:53:44 +01:00
Linkie Link
0ccb29154a
feat: created AccountPerpsPositions for the AccountDetails component ( #745 )
...
* feat: created AccountPerpsPositions for the AccountDetails component
* fix: type fixing
* feat: added ToolTip
* tidy: refactor
* fix: added unrealized PnL placeholder
* tidy: finetune on the border color
* fix: fixed tables
* fix: adjustments according to feedback
* fix: fixed lent assets table
* fix: fixed typing
* refactor: streamline size to amount
2024-01-23 15:14:48 +01:00
Bob van der Helm
254df8cd6e
add hooks to fetch route ( #739 )
...
* add hooks to fetch route
* add missing routes endpoint for pion1
2024-01-23 13:55:34 +01:00
Linkie Link
5c45491497
feat: added external links and marked them accordingly ( #740 )
2024-01-22 15:02:37 +01:00
Bob van der Helm
fa4e0530c5
change labels for leverage slider ( #738 )
2024-01-22 15:02:12 +01:00
Linkie Link
000aa71e06
Miscellaneous ( #737 )
...
* fix: sorted assets by value
* tidy: refactored AssetsSelectTable
* fix: fixed the multipleVaultWithdraw Modal
2024-01-18 09:36:26 +01:00
Linkie Link
fd924c885e
Custom Pyth Endpoint & Price Data on Tx's ( #736 )
...
* env: remove testing library
* fix: use pyth over oracle
* fix: fix the endpoints
* fix: fix build
* tidy: refactor
* fix: fixed account fetching
* fix: made all queries chain agnostic
* fix: fixed the chart position
* feat: added basic auth
* fix: added env validation
* fix: added ‘no-cors’ and included credentials
* fix: removed ‘no-cors’ mode
* fix: change the isLessThanACent logic
* tidy: console log
* fix: added fallback api
* feat: progress on pythVaas
* fix: getting prices
* fix: try catch
* feat: add pythPriceData to transactions based on setting
* fix: disable Pyth Update when user uses Ledger
* tidy: copy
2024-01-18 09:03:32 +01:00
Linkie Link
68206ae14c
Deposit cap highlighting ( #735 )
...
* feat: added depositCap highlighting
* feat: added depositCap highlighting
2024-01-17 10:49:17 +01:00
Bob van der Helm
ab0e184a39
refactor components folder ( #734 )
...
* refactor components folder
* create leverage slider variants
2024-01-16 15:35:18 +01:00
Bob van der Helm
7629e2442f
add functional funding rate + selector ( #729 )
...
* add functional funding rate + selector
* Edit perps position (#728 )
2024-01-12 12:10:26 +01:00
Bob van der Helm
647a287a6b
Edit perps position ( #728 )
2024-01-12 11:54:29 +01:00
Linkie Link
060a8b8797
fix: set the background to solid and overide backgroundGradient settings ( #727 )
2024-01-12 09:25:19 +01:00
Linkie Link
b57ae05db1
Websocket implementation ( #726 )
...
* feat: first steps
* feat: added websocket support and set the TradingChart to USD
* fix: oracle staleness button
2024-01-12 09:07:55 +01:00
Bob van der Helm
ebe05b12fd
fix swap fee for osmosis ( #725 )
2024-01-11 15:03:02 +01:00
Linkie Link
0960f84b58
Pyth price fetching ( #723 )
...
* env: remove testing library
* fix: use pyth over oracle
* fix: fix the endpoints
* fix: fix build
* tidy: refactor
* fix: fixed account fetching
* fix: made all queries chain agnostic
* fix: fixed the chart position
2024-01-11 12:16:47 +01:00
Bob van der Helm
bfd03d66a4
Extend perps ( #721 )
2024-01-10 09:30:32 +01:00
Linkie Link
14d09409f9
fix: fixed unlend on withdraw with borrow ( #720 )
...
* fix: fixed unlend on withdraw with borrow
* fix: fixed the logic
* fix: lending on funding
2024-01-08 17:46:33 +01:00
Bob van der Helm
117de1e3e5
Add perps balances table ( #714 )
...
* Add perps balances table
* fix: updated svg
---------
Co-authored-by: Linkie Link <linkielink.dev@gmail.com>
2024-01-08 10:14:32 +01:00
Linkie Link
7707586c57
Cleanup env variables ( #713 )
...
* fix: cleaned up env variables and disabled chain selector if there is only one chain
* env: update .env.example
2024-01-04 17:02:59 +01:00
Bob van der Helm
a2b6acbccb
Perp queries ( #711 )
...
* update assets config and chains
* make clients dynamic
* feat: formatted ChainSelect
* fix infinite rerender on trade page
* feat: added NTRN icon
* fix: fixed ChainInfoID
* fix: fixed autoLendEnabled for NTRN
* fix: fixed the navigation and dependencies
* fix: fixed the pricefeed id
* fix: fixed the header menu
* fix: fixed the trading charts
* fix: fixed the healthbars
* fix: fixed naming of pion-1
* feast: updated xdefi image
* env: updated contracts
* make localStorage chain agnostic
* fix: made the selected chain persistant
* fix: fixed the wallet providers
* fix: updated auto connect
* fix: fixed auto connecting
* fix: added ChainSelect to focusMode
* store raw strings in localstorage
* 🔥 remnove tests
* update caching keys + disconnect wallet on change chain
* update contract types and add perps asset select overlay
* fix build + add perps positions to accounts
---------
Co-authored-by: Linkie Link <linkielink.dev@gmail.com>
2024-01-04 12:13:09 +01:00
Linkie Link
fb830c08cc
Added chain agnostic v2 ( #710 )
...
* update assets config and chains
* make clients dynamic
* feat: formatted ChainSelect
* fix infinite rerender on trade page
* feat: added NTRN icon
* fix: fixed ChainInfoID
* fix: fixed autoLendEnabled for NTRN
* fix: fixed the navigation and dependencies
* fix: fixed the pricefeed id
* fix: fixed the header menu
* fix: fixed the trading charts
* fix: fixed the healthbars
* fix: fixed naming of pion-1
* feast: updated xdefi image
* env: updated contracts
* make localStorage chain agnostic
* fix: made the selected chain persistant
* fix: fixed the wallet providers
* fix: updated auto connect
* fix: fixed auto connecting
* fix: added ChainSelect to focusMode
* store raw strings in localstorage
* 🔥 remnove tests
* update caching keys + disconnect wallet on change chain
* fix: fixed the chain select
* env: bumped version
---------
Co-authored-by: Bob van der Helm <34470358+bobthebuidlr@users.noreply.github.com>
2024-01-03 15:50:38 +01:00