Commit Graph

1822 Commits

Author SHA1 Message Date
saml33 727cf53d7d add modal for spot market details 2023-04-27 13:39:49 +10:00
saml33 4eea086ef6 fix file name extension 2023-04-27 12:36:52 +10:00
saml33 f62048c87b add perp market settings table 2023-04-27 12:33:03 +10:00
tlrsssss bdc341aeab
Merge pull request #138 from blockworks-foundation/orderbook-formatting
handle large and small numbers in orderbook
2023-04-26 13:14:24 -04:00
tlrsssss 78fcb8ca8c
Merge pull request #131 from blockworks-foundation/swap-review-animation
fix swap review transition
2023-04-26 13:13:27 -04:00
saml33 9609a2bd27 fix trade form icon loading position 2023-04-26 12:54:55 +10:00
saml33 d1620ced49 handle large and small numbers in orderbook 2023-04-26 10:58:33 +10:00
saml33 724680ea11 fix quote size from max size button 2023-04-26 10:23:14 +10:00
Riordan Panayides f122994874 Add info tooltip to oracle price 2023-04-25 21:36:18 +01:00
riordanp 5da195233e
Merge branch 'main' into pan/orderbook-feed-v2 2023-04-25 16:57:02 +01:00
Riordan Panayides 0c6960dd9d Remove errant logs 2023-04-25 16:40:45 +01:00
Riordan Panayides d3b08eb08d Update mango-feeds 2023-04-25 16:25:35 +01:00
saml33 2c2544dbb0 fix bonk/sol ui issues 2023-04-25 22:41:23 +10:00
saml33 3e5d96162d improve connect wallet button 2023-04-25 12:09:18 +10:00
tlrsssss 35e5a12da0
Merge pull request #122 from blockworks-foundation/plot-swap-history
show swap history on swap chart
2023-04-24 16:15:03 -04:00
tjs 15c7a5164b switch to query params for stats tabs 2023-04-24 15:25:45 -04:00
Riordan Panayides 43c3368c25 Use production url 2023-04-24 19:23:12 +01:00
Riordan Panayides f751882026 Compute funding rate from L2 data 2023-04-24 19:03:11 +01:00
saml33 b0f1619434 reduce horizontal padding in market header 2023-04-24 21:45:30 +10:00
saml33 5b8d3eb90b merge main 2023-04-24 21:35:55 +10:00
saml33 ab97ac9738 fix orderbook grouping 2023-04-24 20:17:01 +10:00
saml33 20529ac753 add token fees collected chart 2023-04-24 16:21:05 +10:00
saml33 572c6842a0 make sure total deposit/borrow values are sorted by date 2023-04-24 13:01:26 +10:00
saml33 1f335a058f use total_fees for perp fees and fix total deposits/borrows loading 2023-04-24 12:54:18 +10:00
saml33 8b53a01232 fix swap history filtering 2023-04-24 11:51:46 +10:00
saml33 302dadd35b merge main and show swaps by default 2023-04-24 11:29:36 +10:00
Riordan Panayides 56ca927c40 Use client library for orderbook 2023-04-22 18:35:57 +01:00
Adrian Brzeziński d390447659
ui notifications (#127)
* notifications modal

* fix

* refetch, notify, mark as seen

* fix

* fix

* set secure cookie

* add ui

* more ui details and translations

* fix errors handling

* add remove all function to button

* pr fixes

* rename notifications toast

* add catch

* rename notifications prop in mango store

---------

Co-authored-by: saml33 <slam.uke@gmail.com>
2023-04-21 16:23:27 +02:00
saml33 b960c25db4 fix swap review transition 2023-04-21 16:10:09 +10:00
saml33 1e784daa81 remove extra border 2023-04-21 15:24:20 +10:00
saml33 a89d528709 align linkbutton styles 2023-04-21 12:32:20 +10:00
saml33 a8b1acc502 export account history to csv 2023-04-20 20:55:52 +10:00
saml33 1750b865ca remove inline default-transition class 2023-04-20 11:12:45 +10:00
saml33 4eb3def93a give active tabs focus-visible state 2023-04-20 11:01:31 +10:00
saml33 228ea6d59a change focus states to use focus-visible 2023-04-20 10:43:33 +10:00
tlrsssss 66a5a2e5ea
Merge pull request #128 from blockworks-foundation/feature/resolve-proposal-description
resolve descriptions for proposals
2023-04-19 12:05:44 -04:00
microwavedcola1 da49da23c1 Revert "swaps disabled message"
This reverts commit 17ea3b2be4.
2023-04-19 08:49:16 +02:00
microwavedcola1 50c6fc0a38 Revert "fix typo"
This reverts commit a9666ffffe.
2023-04-19 08:49:09 +02:00
saml33 dc72a8cc0f show counterparty pk in activity details 2023-04-19 13:59:21 +10:00
saml33 70b1ddf8a4 fix mobile orderbook 2023-04-19 12:01:58 +10:00
saml33 d14973e246 add zero line to funding charts 2023-04-19 10:44:19 +10:00
tlrsssss ad6218ba87
Merge pull request #125 from blockworks-foundation/add-unsettled-spotmax
add unsettled balance to spot trade max
2023-04-18 18:10:51 -04:00
tlrsssss 94329f4d89
Merge pull request #124 from blockworks-foundation/foramt-swap-token-symbols
format swap token symbols
2023-04-18 18:07:13 -04:00
tlrsssss 80fffadd8b
Merge pull request #121 from blockworks-foundation/show-trade-executions
show trade executions on tv charts
2023-04-18 18:06:02 -04:00
Adrian Brzeziński fbf91eab28 resolve descriptions for proposals 2023-04-18 22:18:03 +02:00
saml33 57bcfb42b8 fix trade history type 2023-04-18 09:45:27 +10:00
saml33 03a94d4571 merge main 2023-04-18 09:17:23 +10:00
tjs 7f70915650 add funding tooltip to stats page 2023-04-17 17:34:33 -04:00
tjs e9d3e80d24 remove commented out code 2023-04-17 17:19:05 -04:00
tjs 9ff76e4198 add language selector to settings 2023-04-17 14:03:35 -04:00
tjs ed0b6c2b17 update funding rate display 2023-04-17 12:26:05 -04:00
saml33 948c37ad59 merge main 2023-04-17 21:31:51 +10:00
saml33 90ae89154d use url param for token page 2023-04-17 14:25:21 +10:00
saml33 4dba708f6c fix activity feed explorer link 2023-04-17 13:18:51 +10:00
saml33 51aed56b88 merge main and update tooltip 2023-04-17 12:13:50 +10:00
saml33 214ece99d9 focus on modal close last in tab order 2023-04-17 11:51:53 +10:00
saml33 821cc56328 format swap token symbols 2023-04-17 11:04:13 +10:00
saml33 0ada9e231c use swap market name instead of input bank name 2023-04-17 10:38:09 +10:00
saml33 aff12ef294 only insert swap points when swap history is toggled 2023-04-17 10:17:45 +10:00
saml33 fea60efbbb change swap history points to use arrows 2023-04-15 23:56:50 +10:00
Adrian Brzeziński 3e0f66f063 fix spl token class import for gov 2023-04-14 21:13:10 +02:00
Adrian Brzeziński 453b62fdd7
governance active proposal voting (#117)
* governance wip

* governance store + helpers wip

* get voter weight

* on boarding realms component

* token list wip

* pyth oracle get

* adv fields

* hidden adv fields

* create proposal fcn + mangolana

* register market wip

* list market fixes wip

* translations

* register to register trustless + layout changes

* fix layout

* match switchboard oracle

* loaders

* validation

* style components

* change icon

* copy update

* translations keys

* fix translation

* fix warning create open book market

* fix

* fix transaltion

* fix

* fix

* fix pr

* fix onboarding translation

* fix token owner record error in console

* remove axios

* generic vsr idl

* fix pr

* remove mangolana

* small folder ref

* voting wip

* code fix

* menu

* fix

* additional prop in onboarding component

* fix translation

* fix transaltion

* voting fixes

* add basic styling

* fix merge

* fix files

* fix

* fix loaders

* fix

* fix loading voteRecord

* fix voter state without wallet

* fix

* translations

* fix translation

* dynamic imports

* copy updates, show vote weight and current vote

* fix

---------

Co-authored-by: saml33 <slam.uke@gmail.com>
2023-04-14 21:05:27 +02:00
tlrsssss e7080c393a
Merge pull request #120 from blockworks-foundation/perp-stats-details-page
show perp stats details on a page
2023-04-14 12:51:07 -04:00
tjs 2a49dc1c5c fix bug in sorting trade history from event queue 2023-04-14 11:56:36 -04:00
Adrian Brzeziński 6660b751bb fix 2023-04-14 16:02:19 +02:00
saml33 840084433c load nfts from metaplex 2023-04-14 21:48:09 +10:00
saml33 442af25a09 remove shadow from medal icon 2023-04-14 15:53:43 +10:00
saml33 707205eabe show swap history on swap chart 2023-04-14 15:22:39 +10:00
saml33 a9666ffffe fix typo 2023-04-14 09:48:12 +10:00
saml33 17ea3b2be4 swaps disabled message 2023-04-14 09:40:20 +10:00
microwavedcola1 b09596322e Revert "Revert "settle fees along with pnl""
This reverts commit bc113df1c3.
2023-04-13 16:55:32 +02:00
saml33 144d25fc9d save show zero balance state 2023-04-13 22:35:23 +10:00
saml33 89e9834a5d use url param 2023-04-13 21:56:18 +10:00
saml33 e141233d79 show trade executions on tv charts 2023-04-13 21:25:58 +10:00
saml33 7f88073f03 fix token stats price chart x-axis 2023-04-13 10:31:22 +10:00
saml33 e0b855f6c4 show perp stats details on a page 2023-04-12 13:38:21 +10:00
saml33 207868fc82 add apr to perp funding rate display 2023-04-12 10:34:50 +10:00
saml33 0711c6088a full width notifications on mobile 2023-04-11 20:50:51 +10:00
saml33 797a7b31c6 increase mobile more menu height 2023-04-11 20:33:58 +10:00
tlrsssss 938b3d70c3
Merge pull request #90 from blockworks-foundation/share-positions
add share positions to twitter
2023-04-10 20:58:38 -04:00
tlrsssss d3b9b3ab08
Merge pull request #109 from blockworks-foundation/margin-toggle-size
retain size when toggling margin
2023-04-10 20:52:11 -04:00
saml33 4aa883d093 add unsettled balance to spot trade max 2023-04-10 21:43:50 +10:00
tjs 598c29fe13 use tradeform for checkboxes 2023-04-08 13:24:21 -04:00
saml33 b52499afcb curly braces isunownedaccount 2023-04-08 20:56:39 +10:00
tlrsssss 3d2b485cf7
Merge pull request #114 from blockworks-foundation/use-birdeye-prices
Use birdeye prices
2023-04-07 16:41:32 -04:00
saml33 cbbc1e6a1f implement pr feedback 2023-04-06 22:54:37 +10:00
saml33 014ab321d1 fix trade form submit on button group 2023-04-06 13:49:47 +10:00
saml33 ea80f1698a implement pr feedback 2023-04-06 13:24:29 +10:00
saml33 a8a8fd9fda remove formatting from max swap amount value 2023-04-06 11:15:22 +10:00
saml33 a67dccd3bd implement pr feedback 2023-04-06 10:22:20 +10:00
saml33 4e7cfaf501 round pnl to 2dp 2023-04-06 10:07:36 +10:00
saml33 a0e4efa5bb merge main 2023-04-06 09:21:31 +10:00
saml33 b0a4162d95 merge main 2023-04-06 09:19:58 +10:00
Adrian Brzeziński 3976425d04
change listtoken url (#116) 2023-04-06 00:48:06 +02:00
Adrian Brzeziński 3bf2a7d470
list tokens from ui (#107)
* governance wip

* governance store + helpers wip

* get voter weight

* on boarding realms component

* token list wip

* pyth oracle get

* adv fields

* hidden adv fields

* create proposal fcn + mangolana

* register market wip

* list market fixes wip

* translations

* register to register trustless + layout changes

* fix layout

* match switchboard oracle

* loaders

* validation

* style components

* change icon

* copy update

* translations keys

* fix translation

* fix warning create open book market

* fix

* fix transaltion

* fix

* fix

* fix pr

* fix onboarding translation

* fix token owner record error in console

* remove axios

* generic vsr idl

* fix pr

* remove mangolana

* small folder ref

* additional prop in onboarding component

* fix translation

* fix navbar

* change order of governance in navbar

* fix proposal index

* fix pr

* remove link without href for mint

---------

Co-authored-by: saml33 <slam.uke@gmail.com>
2023-04-05 23:59:30 +02:00
saml33 55adbe7602
Merge pull request #115 from blockworks-foundation/expand-perp-activity
expand perp trade activity feed details
2023-04-05 23:47:39 +10:00
saml33 d849e34c96 make table rows expand for more details 2023-04-05 23:22:11 +10:00
saml33 ea121b34b5
Merge pull request #112 from blockworks-foundation/save-trade-checkboxes
save trade checkboxes to local storage
2023-04-05 20:51:03 +10:00
saml33 cb10276cf5 hide max size trade button when not connected 2023-04-05 15:25:25 +10:00
saml33 6aec6fd144 expand perp trade activity feed details 2023-04-05 14:21:01 +10:00
saml33 5b1589797b add fee to perp activity debit 2023-04-04 22:26:59 +10:00
saml33 86dc1580d5 convert perp activity fee to fee value 2023-04-04 21:55:24 +10:00
saml33 89f8f9fcb6 debit perp for short activity feed perp trade 2023-04-04 15:38:27 +10:00
saml33 4b86b28f19 fix perp health impact when no base size 2023-04-04 15:01:41 +10:00
saml33 b5a30fbe89 merge main 2023-04-04 13:49:28 +10:00
saml33 d34fa4a503 add change to market select dropdown 2023-04-04 12:48:31 +10:00
tlrsssss 5c03151a2e
Merge branch 'main' into perp-market-details-modal 2023-04-03 21:43:58 -04:00
saml33 fdf10af082 use birdeye for token stats price chart 2023-04-04 11:37:03 +10:00
saml33 a5f310c07c use birdeye for spot market change 2023-04-04 09:20:59 +10:00
saml33 3aa5b46e8d use birdeye for spot markets table 2023-04-03 21:01:17 +10:00
saml33 dbc3cb4f57 save trade checkboxes to local storage 2023-04-03 14:51:36 +10:00
saml33 e551280fa0 remove price from swap history 2023-04-03 13:02:55 +10:00
saml33 f8d30519df assets to borrow table mobile display 2023-04-03 10:43:44 +10:00
saml33 2eb88a9ab8 your borrows table mobile display 2023-04-03 10:28:11 +10:00
saml33 4ff68b31a5 retain size when toggling margin 2023-04-03 09:52:00 +10:00
saml33 e0463a9863 fix trade max size button 2023-04-01 21:05:53 +11:00
tjs 6067dd1665 fix trade form issue with large num of decimals 2023-03-31 19:39:07 -04:00
tjs 4055ddd072 fix btc spot chart 2023-03-31 19:12:00 -04:00
tjs 7c59a1c4fa only call perp history if market is perp market 2023-03-31 16:49:33 -04:00
tjs a2b482cbe8 handle large decimals like the bonk chart 2023-03-31 16:29:06 -04:00
saml33 13d3a3d482 link to all markets from tables when not on trade page 2023-03-31 21:03:20 +11:00
tjs 2771c9be35 allow viewing total funding chart 2023-03-30 15:42:05 -04:00
tjs 582ecfa2b3 use clients settle candidate function 2023-03-30 15:42:05 -04:00
microwavedcola1 bc113df1c3 Revert "settle fees along with pnl"
This reverts commit 92792112f7.
2023-03-30 13:08:05 +02:00
microwavedcola1 92792112f7 settle fees along with pnl
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-03-30 10:36:02 +02:00
tjs 4d166ddd84 add back instantaneous funding chart 2023-03-29 14:22:22 -04:00
saml33 d2e50e51ec fix roi and merge main 2023-03-29 21:38:26 +11:00
saml33 0057af54c1 merge main 2023-03-29 20:58:15 +11:00
saml33 96056c7ebd remove failed to load profile notification 2023-03-29 20:40:28 +11:00
saml33 a25dac1602 add perp market details modal 2023-03-29 13:10:05 +11:00
saml33 9d38639ec7 add open interest to perp market trade header 2023-03-29 10:57:59 +11:00
tjs 2c0a5bdb41 add useEffect dependencies 2023-03-28 15:23:30 -04:00
tlrsssss e8fc7c7863
Merge pull request #106 from blockworks-foundation/account-page-market-close
subscribe to orderbook on account page for market close
2023-03-28 15:22:33 -04:00
tlrsssss 08fcae739c
Merge branch 'main' into accept-terms 2023-03-28 15:01:35 -04:00
tjs 7b46ecf3a8 increase cache time for leaderboard query 2023-03-28 14:01:35 -04:00
tlrsssss 5135dba0e3
Merge pull request #97 from blockworks-foundation/pnl-leaderboard
PnL Leaderboard
2023-03-28 14:00:20 -04:00
tjs 2b4f4c7890 fix rendering on top tokens 2023-03-28 13:54:15 -04:00
saml33 87da599ff2 fix eth portal token page data 2023-03-28 22:13:29 +11:00
saml33 a2f05a8fa7 subscribe to orderbook on account page for market close 2023-03-28 21:12:11 +11:00
saml33 689dbde0b7 add focus to more components 2023-03-28 15:30:04 +11:00
saml33 b312dca2e2 maintain activity feed scroll position 2023-03-28 13:46:22 +11:00
saml33 471f03ef7d add perp liquidations to activity filter 2023-03-28 11:59:56 +11:00
saml33 a10f105f72
Merge pull request #105 from blockworks-foundation/activity-liquidations
activity feed perp liquidations
2023-03-28 11:04:58 +11:00
saml33 6e1a8061e7 fix value and fee 2023-03-28 10:56:23 +11:00
saml33 1a8267adc1 fix perp market stats funding 2023-03-27 22:25:23 +11:00
saml33 e2395aa149 merge main 2023-03-27 21:14:27 +11:00
saml33 91e9a3df2e align to new api response 2023-03-27 21:08:17 +11:00
saml33 d88f364b42 fix assets/liabilities for $0 accounts 2023-03-27 15:07:23 +11:00
saml33 5f4dee638b update funding data on account change 2023-03-27 14:58:55 +11:00
saml33 ce1502ce96 fix wallet select menu z-index on trade page 2023-03-27 14:52:29 +11:00