Commit Graph

1711 Commits

Author SHA1 Message Date
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
saml33 dd0ba043e6 update focus styles 2023-03-27 14:11:10 +11:00
saml33 97c0abc2ce merge main 2023-03-27 11:42:50 +11:00
saml33 0a63571d3f merge main 2023-03-27 11:34:25 +11:00
saml33 00941c087e add liquidation fee 2023-03-27 11:25:34 +11:00
saml33 1a920526d5 increase priority fee buttongroup width 2023-03-27 09:58:38 +11:00
tlrsssss a9033f8c6b
Merge pull request #102 from blockworks-foundation/customize-trade-layout
customize trade layout settings
2023-03-26 13:45:58 -04:00
tjs cc723bfd4e better type definition for api response 2023-03-26 12:59:05 -04:00
Adrian Brzeziński bfc8d25f1b temp fix for api returning object for recent trades 2023-03-26 17:19:32 +02:00
saml33 d4344b7241 update data fetching 2023-03-26 23:21:25 +11:00
saml33 f92edf39fe merge main 2023-03-26 20:32:39 +11:00
tjs 505e8150a3 use react query for trade history 2023-03-25 17:16:42 -04:00