Commit Graph

2454 Commits

Author SHA1 Message Date
Adrian Brzeziński 6ba3ca9b55 adjust oralce creation settings 2023-08-18 13:03:12 +02:00
tjs bd82563d55 move side bar collapse into sidebar component 2023-08-18 00:42:10 -04:00
tjs e346b114f0 fix viewport hook; need to move into mangostore 2023-08-17 23:57:46 -04:00
saml33 3f5b5325dc fix expanded mango account summary 2023-08-18 12:25:09 +10:00
tjs b7ea65a98a remove console logs 2023-08-17 21:17:26 -04:00
tjs 10cf640f11 update prettier pkgs, config, and reformat 2023-08-17 19:47:11 -04:00
saml33 9560db9ace merge main and add connect button to market swap form 2023-08-18 08:25:46 +10:00
saml33 402437bbf6
Merge pull request #174 from blockworks-foundation/stop-orders
stop orders
2023-08-18 08:08:21 +10:00
tjs 6334b2d020 remove lines 2023-08-17 17:24:10 -04:00
tjs 7056d01ef2 add next and tailwind eslint plugins 2023-08-17 17:16:23 -04:00
tjs bba5967b0a set bg color in trading view widget 2023-08-17 16:36:25 -04:00
tjs 54de7c6e84 add btm border to banner 2023-08-17 15:44:43 -04:00
Adrian Brzeziński f50eac06d4
fix suggested tokens (#239) 2023-08-17 21:43:34 +02:00
tjs 06448a7e62 remove all favorites button 2023-08-17 15:33:15 -04:00
tjs 25ffaaf937 organize stats components and improve data loading 2023-08-17 14:02:59 -04:00
saml33 1dd92446ce update open interest chart title 2023-08-17 22:45:01 +10:00
saml33 c079d170c8 fix mobile trade layout 2023-08-17 20:56:38 +10:00
saml33 2e31184037 sort swap history 2023-08-17 15:52:42 +10:00
saml33 70f9d6da16 add mobile swap orders table 2023-08-17 13:57:39 +10:00
saml33 31dc29e05f remove saving chart settings and fix latest price chart flicker 2023-08-17 12:58:35 +10:00
saml33 0b86592ae4 add latest price to chart, remove comments, update copy 2023-08-17 08:31:47 +10:00
Adrian Brzeziński 24a14d1016 adjust forceReportPeriod prop in oracle create 2023-08-16 22:45:09 +02:00
tjs 4926560550 add try catch around the liq price 2023-08-16 11:11:02 -04:00
saml33 2761dd3b26 Revert "hide est liq price due to client error"
This reverts commit ea0b3129f7.
2023-08-16 11:06:06 -04:00
saml33 038cd74396 add trigger orders table to account page 2023-08-16 15:47:02 +10:00
saml33 68206cea69 merge main 2023-08-16 15:27:45 +10:00
saml33 ea0b3129f7 hide est liq price due to client error 2023-08-16 12:11:58 +10:00
saml33 f37f352975
Merge pull request #234 from blockworks-foundation/favorite-swaps
add favoriting swap pairs
2023-08-16 11:54:35 +10:00
saml33 34312e2c59 add to swap and trade 2023-08-15 22:39:42 +10:00
saml33 442c17ac00 fix secondary connect buttons 2023-08-15 22:29:10 +10:00
saml33 f4409c5424 add validation to swap form for account token positions 2023-08-15 14:25:24 +10:00
saml33 b777660ffe add validation to deposit form when token positions full 2023-08-15 14:07:10 +10:00
saml33 ae9235b1d1 show details of used accounts in settings and hook for data 2023-08-15 13:06:00 +10:00
saml33 03c0fad2fa add favoriting swap pairs 2023-08-14 14:57:03 +10:00
tjs 60810ca2e4 improve speed of market swap 2023-08-14 00:26:39 -04:00
saml33 574d51bd40 add beta label 2023-08-14 11:30:28 +10:00
Adrian Brzeziński cf54355c96 small fix for oracle pool matching 2023-08-14 01:06:41 +02:00
saml33 5aefb6b49f use helper function for current price 2023-08-13 22:47:25 +10:00
saml33 8ed1ab81bc merge main 2023-08-13 21:21:08 +10:00
tjs 62a3f337e1 use latest client; upgrade to new signature status 2023-08-12 14:40:34 -04:00
saml33 0e30d3ad3d Revert "limit number of accounts to 5"
This reverts commit 2885e6e8c4.
2023-08-12 13:15:14 -04:00
Adrian Brzeziński 80912edbe2 fix oracle create 2023-08-12 16:01:12 +02:00
saml33 e21101c93d give new accounts 10 token positions 2023-08-11 20:08:07 +10:00
saml33 eef5d86e1a fix place order button 2023-08-11 19:56:01 +10:00
microwavedcola1 1408609043 decrease to a more conservative estimate until we are more certain
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-08-11 10:50:41 +02:00
tjs 2ff18afbf7 use latest packages 2023-08-11 02:30:44 -04:00
saml33 2885e6e8c4 limit number of accounts to 5 2023-08-11 15:18:59 +10:00
saml33 82de613eb9 optimize pepe theme images and fix mobile topbar spacing 2023-08-11 14:55:22 +10:00
saml33 4ae9d606ef sort token stats tables by deposits value and add sorting to details table 2023-08-11 14:09:00 +10:00
saml33 768ed1170e only show increase account size when account not full 2023-08-11 13:06:38 +10:00
saml33 e2bfa70200 fix z index on status bar 2023-08-11 11:05:14 +10:00
saml33 38241f739d add deposit funds button when no balance or collateral 2023-08-11 10:52:42 +10:00
saml33 25e885a084 add free collateral warning 2023-08-11 09:53:11 +10:00
saml33 988f79a9a6 merge main 2023-08-11 08:24:01 +10:00
Adrian Brzeziński 7906097419 fix transaltion 2023-08-10 18:46:10 +02:00
Adrian Brzeziński d5e0be25b5
oracle adjustments lower tiers (#230)
* tier settings for switchboard

* fix

* feed matching

* better match switchboard

* allow list with lower tier

* lower listing

* fixes

* fixes
2023-08-10 18:33:17 +02:00
saml33 7aece60653 hide account settings when no account 2023-08-10 22:26:02 +10:00
tjs 6458e670a6 link to release 2023-08-10 01:41:17 -04:00
saml33 314893d972 add value colors to pnl tooltip 2023-08-10 14:45:30 +10:00
saml33 c96c7dd5ed
Merge pull request #223 from blockworks-foundation/lou/perp-positions-nav
Add unrealized pnl footer to perp positions
2023-08-10 14:23:19 +10:00
saml33 1b2a9e1660
Merge pull request #229 from blockworks-foundation/pepe-theme
pepe theme
2023-08-10 14:00:05 +10:00
saml33 cc3046dbac add the remaining theme elements 2023-08-10 13:31:47 +10:00
Lou-Kamades ac9ff9f08f
move ROE into PnL tooltip 2023-08-09 22:29:17 -05:00
tlrsssss 3cde93bf7f
Merge pull request #226 from blockworks-foundation/bottom-status-bar
add bottom status bar
2023-08-09 21:44:00 -04:00
Lou-Kamades a67af5bf32
add ROE and styling to PerpPositions footer 2023-08-09 13:49:32 -05:00
Adrian Brzeziński 76b0b4e25b
dashboard cleanup (#228)
* dsahboard wip

* wip dashboard modal

* fix

* fix dashboard
2023-08-09 15:12:35 +02:00
saml33 87ed0f79e4 add rpc ping and tooltips 2023-08-09 22:34:16 +10:00
saml33 6256dc0630 fix trade info tabs container height md breakpoint 2023-08-09 15:57:26 +10:00
saml33 1d73cc2bff fix bottom page padding 2023-08-09 15:38:56 +10:00
saml33 1773e87672 add position fixed 2023-08-09 15:24:09 +10:00
saml33 317c7579c2 improve repay borrow order description 2023-08-09 14:31:49 +10:00
saml33 621839af25 add cancel all 2023-08-09 13:40:26 +10:00
saml33 64bc709034 fix order desc for flip prices 2023-08-09 13:14:59 +10:00
saml33 7d91dc1c91 add side to table and fix size 2023-08-09 12:53:59 +10:00
saml33 f575a39cec add whitelist and bump client 2023-08-09 11:03:54 +10:00
saml33 3a3e058234 add updated client functions 2023-08-08 23:26:56 +10:00
saml33 52ecec2222 more pepe 2023-08-08 19:51:50 +10:00
saml33 48a63253c2 start pepe theme 2023-08-08 14:24:07 +10:00
saml33 751afaae79 merge main 2023-08-08 10:09:05 +10:00
saml33 1aa98fec01 update account size copy 2023-08-08 08:44:45 +10:00
saml33 f646943419 fix account size maximums 2023-08-08 08:26:12 +10:00
tlrsssss 664cd5b9d7
Merge pull request #225 from blockworks-foundation/increase-account-size
add increase account size ui
2023-08-07 11:07:11 -04:00
tlrsssss e89cd94d0d
Merge pull request #227 from blockworks-foundation/ts/orderbook
scrollable orderbook
2023-08-07 10:59:48 -04:00
tjs f8d0b3e98e use offsetHeight 2023-08-07 10:41:14 -04:00
tjs 32c4734f21 add scrollable orderbook 2023-08-07 10:04:20 -04:00
saml33 c846faa445 merge main 2023-08-07 21:26:33 +10:00
saml33 f0923c9b3b fix trade history price rounding 2023-08-07 21:23:36 +10:00
saml33 b2a45b7b91 add program version and ui sha 2023-08-07 21:07:34 +10:00
saml33 89cf797ce5 add bottom status bar 2023-08-07 15:57:02 +10:00
saml33 72372ba2da add increase account size ui 2023-08-07 14:08:35 +10:00
tjs d3f5cd9045 update WS for trading view charts 2023-08-06 22:16:51 -04:00
tjs 94f823c91f Upgrade chart api endpoint 2023-08-06 21:54:41 -04:00
saml33 1cbdb75502 increase token accounts 2023-08-06 23:30:48 +10:00
saml33 6e2e3b5560
Merge pull request #160 from blockworks-foundation/bonk-theme
support nft activated themes (bonk theme)
2023-08-06 21:16:23 +10:00
tlrsssss 60536bd452
Merge pull request #213 from blockworks-foundation/lou/open-orders-search
feat: add open orders as a search option for accounts
2023-08-05 12:59:23 -04:00
saml33 381cd44626 fix mobile row padding 2023-08-05 22:44:07 +10:00
saml33 4d9e1b2bb7 fix token stats chart height on mobile 2023-08-05 22:40:07 +10:00
saml33 87c5b969e4 round token utilization on mobile 2023-08-05 22:32:18 +10:00
saml33 4432f1f812 hide daily price range if no change 2023-08-05 22:30:36 +10:00
saml33 d7657cbb5d merge main 2023-08-05 20:48:58 +10:00
saml33 5c207b8add attempt to fix chart flicker and less renders 2023-08-04 23:48:17 +10:00
saml33 f9c3e457ec rearrange trigger price elements 2023-08-04 22:03:19 +10:00
saml33 306e1f0fdf save chart and price direction on flip price 2023-08-04 21:32:42 +10:00
saml33 37d9b1ce0a fix default trigger price for flip prices 2023-08-04 20:25:43 +10:00
Lou-Kamades 95bc34eb72
add unrealized pnl to perp positions 2023-08-04 02:20:58 -05:00
saml33 07642c4d3b add form validation 2023-08-04 16:14:41 +10:00
tjs fd5614acf1 temp fix on withdraw button 2023-08-04 00:02:26 -04:00
saml33 3e4f5633c9 sort account volume chart 30d data by time 2023-08-04 13:36:47 +10:00
saml33 1c85169e3d fix chart change mouse data bug 2023-08-04 13:29:04 +10:00
saml33 78da92f453 various fixes 2023-08-04 12:06:09 +10:00
saml33 a2f2c0fe03 add order types back 2023-08-03 23:44:23 +10:00
saml33 ce1939b63c save chart direction 2023-08-03 20:37:40 +10:00
saml33 bb9354baa4 add est slippage/received 2023-08-03 10:45:40 +10:00
saml33 aaa5260083 add order info 2023-08-02 23:21:51 +10:00
saml33 9627ef2d87 revert trade form 2023-08-02 20:45:06 +10:00
saml33 934e55ec93 simplify form 2023-08-02 15:32:20 +10:00
saml33 02301bedcc Merge branch 'main' into stop-orders 2023-08-02 09:39:55 +10:00
Adrian Brzeziński 6af14734b1 turn on notifications 2023-08-01 23:38:08 +02:00
Adrian Brzeziński 666cdc35d6 temp disable notifications 2023-08-01 22:45:38 +02:00
Adrian Brzeziński 1fd23ae37a
notifications per mango account - wip (#221)
* mango account notifications wip

* wip

* fix

* fix

* adjustments

* fixes
2023-08-01 22:27:12 +02:00
saml33 f284f45afd set sizes from bal/max/repay buttons 2023-08-01 22:21:19 +10:00
saml33 83662a52eb remove validation for testing 2023-08-01 20:49:01 +10:00
saml33 9013cd8722 fix limit and trigger price decimals 2023-08-01 15:13:12 +10:00
saml33 d0505269b0 add search to spot market select dropdown 2023-08-01 14:49:11 +10:00
saml33 669a01e700 sort tables by value 2023-08-01 12:26:08 +10:00
saml33 c35ccd54ae form validation and copy 2023-08-01 10:57:53 +10:00
saml33 2e0076bd73 fixes 2023-07-31 22:25:46 +10:00
saml33 7e600cfd20 test placing orders and swap orders table 2023-07-31 16:05:26 +10:00
saml33 840991961f merge main 2023-07-31 09:56:42 +10:00
saml33 9f57fb0d97 fix orderbook tooltip side 2023-07-31 09:30:37 +10:00
Adrian Brzeziński 9c851f3dd9
new switchboard template - wip (#218)
* use direct routes

* fix

* fix

* switchboard fixes

* fix
2023-07-29 12:43:30 +02:00
microwavedcola1 77c81c5f07 update client
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-07-28 08:40:03 +02:00
saml33 f5b6544093 sort trade history 2023-07-28 15:04:38 +10:00
saml33 a545dd15ec sort balances table 2023-07-28 14:00:51 +10:00
saml33 846d1a7bfc sort spot markets table 2023-07-28 12:44:43 +10:00
saml33 5daf0173fc set spot market 24h change to 0 if no 24h volume 2023-07-28 10:21:26 +10:00
saml33 6f29cc58f9 sort token overview table 2023-07-27 21:24:04 +10:00
saml33 b2f504ac8f add table sorting components and use on tokenlist 2023-07-27 15:24:18 +10:00
saml33 e572dbc17f add refresh wallet balance to deposit form 2023-07-27 11:06:53 +10:00
saml33 9203be64a2 save swap margin to local storage 2023-07-27 10:37:35 +10:00
saml33 4eefede386 show interest rate charts as a bar chart 2023-07-26 16:21:23 +10:00
saml33 ce4c9389c0 merge main and more componenets 2023-07-26 12:48:13 +10:00
saml33 ed1f680409 merge main 2023-07-26 09:27:17 +10:00
saml33 256714b6b4
Merge pull request #219 from blockworks-foundation/orderbook-row-tooltip
add info on orderbook row hover
2023-07-26 09:08:39 +10:00
saml33 5b153c453b
Merge pull request #217 from blockworks-foundation/market-swap-trade-form
add missing elements to market swap trade form
2023-07-26 09:07:23 +10:00
Lou-Kamades 2fad084485
feat: add open orders as a search option for accounts 2023-07-25 10:53:30 -05:00
saml33 02857d0f2d add higher groupings to orderbook 2023-07-25 21:51:04 +10:00
saml33 c0683d9ea3 fix width 2023-07-25 20:51:46 +10:00
saml33 fe97719530 add info on orderbook row hover 2023-07-25 20:43:19 +10:00
saml33 20b9c1ba9e add loader 2023-07-25 13:15:00 +10:00
saml33 d5bf0268b4 add margin to slider 2023-07-25 13:08:43 +10:00
saml33 7587eb2e00 disable button when too much size 2023-07-25 12:56:28 +10:00
saml33 a151aa5190 add missing parts to market swap trade form 2023-07-25 12:35:27 +10:00
saml33 01f03022bf give depth chart its own tab 2023-07-25 08:52:09 +10:00
saml33 f1e0770106
Merge pull request #210 from blockworks-foundation/markets-api-data
use markets api data
2023-07-25 08:19:42 +10:00
Adrian Brzeziński fe1ca08cc8
nft market (#173)
* poc wip

* devnet temp setup

* fix

* list item modal

* fix

* bid asset

* my bids modal

* mybids

* bids

* asset bids accept

* fixes

* nft market

* transaltions

* pagination

* bids without lisings

* list of bids

* fix

* add desktop ui styling

* yarn setup

* bring back mainnet

* mainnet setup

* only for whitelisted users

* fix pr

---------

Co-authored-by: saml33 <slam.uke@gmail.com>
2023-07-24 20:17:07 +02:00
Adrian Brzeziński 7f8e8eaa14
fix oracle tools (#216)
* use direct routes

* fix
2023-07-24 20:16:10 +02:00
saml33 3c492c893e sort markets by volume 2023-07-24 22:14:45 +10:00
saml33 5b38739e1b use price_24h to calc change 2023-07-24 08:40:59 +10:00
saml33 84ecc51d87 merge main 2023-07-24 08:15:46 +10:00
saml33 8de30a0f1d use nft meta for sidebar image 2023-07-23 23:57:50 +10:00
saml33 051eb06a89 only show theme in list if nft in wallet 2023-07-23 21:55:15 +10:00
saml33 8cf2da402c merge main 2023-07-23 21:06:29 +10:00
tjs d885c19703 fix wallet connect for onboard 2023-07-22 21:28:50 -04:00
saml33 b761344a63 add in orders to token list mobile 2023-07-23 08:59:39 +10:00
saml33 02c1479511 fix token list 2023-07-23 08:53:59 +10:00
tjs 271cc03d78 prettier 2023-07-22 16:44:43 -04:00
tjs c595bfe8bd improve wallet connect 2023-07-22 16:43:36 -04:00
Adrian Brzeziński 2ee8b708ee
fix trustless registers + prettier fix (#215) 2023-07-22 14:36:22 +02:00
tjs 1856cd7ef6 fix auto connect when viewing other accounts 2023-07-22 00:00:55 -04:00
tjs 84844bd085 add autoconnect setting 2023-07-21 23:09:20 -04:00
tjs 647fbcfa50 update dashboard; toggle zero balances 2023-07-21 17:34:19 -04:00
tjs abc5984647 use latest next-themes 2023-07-21 14:50:06 -04:00
tjs 3d8588d434 use latest prettier 2023-07-21 14:47:53 -04:00
tjs e63c0f4252 add loading spinner 2023-07-21 09:06:57 -04:00
tjs a27df37f7f remove inner shadow 2023-07-21 09:06:57 -04:00
Adrian Brzeziński a037963335 fix token listing 2023-07-21 14:53:40 +02:00
saml33 1c5060d007 add 0 values when no change 2023-07-21 22:20:12 +10:00
saml33 eb8b06afcc use markets api data 2023-07-21 22:03:44 +10:00
saml33 226d610bbf
Merge pull request #193 from blockworks-foundation/depth-chart
orderbook depth chart
2023-07-21 20:01:41 +10:00
tjs b797f2816f fix i18n; tab value more visible; remove in orders from balance 2023-07-21 02:42:37 -04:00
tjs 8bdbd445dc tweak wallet switching 2023-07-21 00:30:43 -04:00
saml33 5929ebbbbf
Merge pull request #208 from blockworks-foundation/improve-swap-history-chart
improve swap history indicators on swap chart
2023-07-21 12:20:15 +10:00
saml33 f2cfb98fb4 use hook for health contributions 2023-07-21 12:08:34 +10:00
tjs eab9a0a587 new network hook 2023-07-20 21:40:37 -04:00
saml33 588433f19a add callbacks 2023-07-21 10:45:03 +10:00
tjs 4f4ef23ec3 update interval based on connection 2023-07-20 20:20:59 -04:00
saml33 f0bf8f2aa1 fixes and show on mobile 2023-07-21 10:09:34 +10:00
tjs 07b0c80e6a only show detected wallets in dropdown 2023-07-20 19:48:43 -04:00
tjs dfa08ab441 prevent rerenders from extending time to hide notifs 2023-07-20 19:46:23 -04:00
tjs 4bb2c0016e migrate to wallet-adapter only; use autoconnect 2023-07-20 19:08:04 -04:00
tjs 220c5ff37a better imports 2023-07-20 19:08:04 -04:00
tlrsssss 0605872a56
Merge pull request #204 from blockworks-foundation/balance-collateral-value
balance collateral value
2023-07-20 10:49:33 -04:00
tlrsssss cb9124b64c
Merge pull request #209 from blockworks-foundation/filter-swap-token-list
filter swap token list input
2023-07-20 10:48:55 -04:00
tlrsssss 93249bbdca
Merge pull request #203 from blockworks-foundation/ts/trade-pg-jup
Use jupiter on trade page
2023-07-20 10:48:00 -04:00
saml33 6954082b0b remaining fixes 2023-07-20 20:40:27 +10:00
saml33 35b5ba1f71 partially fix layout 2023-07-20 15:30:35 +10:00
saml33 8169aeef95 merge main 2023-07-20 13:52:07 +10:00
saml33 b271793f66 filter swap token list input 2023-07-20 13:19:03 +10:00
saml33 c5a0efa781 improve swap history indicators on swap chart 2023-07-20 11:26:13 +10:00