Commit Graph

1683 Commits

Author SHA1 Message Date
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
tjs 362c1c8aba fix oracle price updating 2023-03-25 14:47:37 -04:00
tjs 3cf868d2d3 default funding display to 30 days 2023-03-25 14:43:59 -04:00
tlrsssss dda6c07903
Merge pull request #100 from blockworks-foundation/account-funding
show funding on account page
2023-03-25 14:29:09 -04:00
tlrsssss 6f80cf9d1c
Merge pull request #99 from blockworks-foundation/top-depositors-borrowers
add top token accounts to token stats
2023-03-25 14:21:31 -04:00
tjs fc929f8fb0 update the oracle for selected market via websocket 2023-03-25 14:19:57 -04:00
saml33 7cd26e9da5 add focus states and improve keyboard navigation 2023-03-24 23:22:29 +11:00
saml33 8caa115388 submit trade form on enter button press 2023-03-24 14:06:16 +11:00
saml33 6a1064ca5b add perp liqs to mobile 2023-03-24 11:51:03 +11:00
saml33 142999433d use side badge in activity mobile 2023-03-24 11:11:34 +11:00
saml33 c75291fc1a fix values 2023-03-23 23:08:59 +11:00
saml33 caf98f8354 add customize trade page layout to settings 2023-03-23 19:29:13 +11:00
saml33 de1da7c4b2 add additional perp items 2023-03-23 12:54:51 +11:00
saml33 e75cb06eb2 add perp liquidations 2023-03-23 12:26:02 +11:00
saml33 1cf3096c2c remove wallet prefix from leaderboard card 2023-03-22 16:09:03 +11:00
saml33 803c7d2693 show daily data on 30 day chart 2023-03-22 15:55:37 +11:00
saml33 f805dc215a add terms of use modal and agree to terms in onboarding 2023-03-22 11:52:17 +11:00
saml33 7750942ca5 fix -ve available to borrow and token stats value decimals 2023-03-22 10:00:51 +11:00
saml33 0001419c9c use bar chart 2023-03-21 23:01:48 +11:00
saml33 e5e096ebb4 add account funding total and hourly chart 2023-03-21 21:27:37 +11:00
saml33 bbf8d91fbb update fees collected tooltip 2023-03-20 20:53:29 +11:00
saml33 f8fc155225 fix wbtc token page 2023-03-20 15:40:08 +11:00
saml33 253a5fbb87 add show more button 2023-03-20 14:19:53 +11:00
saml33 dea3eb01e3 add top token accounts to token stats 2023-03-20 12:39:54 +11:00
tlrsssss bc5ff69cc9
Merge pull request #98 from blockworks-foundation/tradeform-borrow-fee
add loan origination fee to trade form
2023-03-19 15:52:28 -04:00
saml33 c56fc05216 swap history mobile display 2023-03-19 21:28:13 +11:00
saml33 ed157d7d09 use disclosure for mobile expanding rows 2023-03-18 23:15:01 +11:00
saml33 91f530c197 token stats mobile and add loan fees to token stats 2023-03-18 22:21:48 +11:00
saml33 8684f380ae add loan origination fee to trade form 2023-03-17 23:48:38 +11:00
saml33 68f32a72b1 fix swap loan orgination fee amount 2023-03-17 22:46:57 +11:00
saml33 216e1c736b mobile trade history display and use perpsidebadge 2023-03-17 22:19:15 +11:00
saml33 b73339802f remove link to token stats from balances 2023-03-16 23:48:15 +13:00
saml33 674adc4e32 orders and unsettled mobile display 2023-03-16 23:44:00 +13:00
microwavedcola1 698248ac3c Revert "set allow borrow to true, so that sane withdraws go through, there is a strange bug at token_withdraw.rs lime 54, which is investigated atm"
This reverts commit c898a57ff0.
2023-03-16 11:31:24 +01:00
saml33 d74b4ccd2b mobile perp positions display 2023-03-16 22:38:17 +13:00
saml33 dcd761137a align icon size 2023-03-16 00:01:34 +13:00
saml33 31b241be19 align balances table and token list on mobile 2023-03-15 23:59:42 +13:00
saml33 f7db0c6f92 add oracle price to perp positions 2023-03-15 22:31:30 +13:00
saml33 eff36ce362 tidy up and add nav links 2023-03-15 21:35:29 +13:00
tlrsssss 0f5e7074d6
Merge pull request #96 from blockworks-foundation/click-table-row
allow click table rows
2023-03-14 11:18:43 -04:00
tlrsssss bd7fac1dab
Merge pull request #95 from blockworks-foundation/perp-long-short-labels
change perp trade labels to long/short
2023-03-14 11:15:37 -04:00
saml33 666b65bbc4 add leaderboard data 2023-03-14 23:50:42 +13:00
saml33 9b14b916bb allow click table rows 2023-03-13 22:03:23 +13:00
tjs 6c66cdbf20 add try catch in useTokenMax 2023-03-12 16:01:33 -04:00
saml33 4d5ac94b9d change perp trade labels to long/short 2023-03-11 22:35:13 +13:00
saml33 9e7a4ebeac sort spot market stats table 2023-03-11 22:01:47 +13:00
microwavedcola1 c898a57ff0 set allow borrow to true, so that sane withdraws go through, there is a strange bug at token_withdraw.rs lime 54, which is investigated atm
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-03-11 09:18:43 +01:00
tjs 58bb6488db improve 24h change 2023-03-10 13:17:24 -05:00
tjs 0713c3ffd7 reduce tooltip delay 2023-03-10 13:01:47 -05:00
tjs cac43c35d6 track market ids for trading view subscriptions 2023-03-10 10:49:22 -05:00
tjs 89364cb76d improve open orders display 2023-03-08 19:34:13 -05:00
tjs 71f1a88256 add price impact description 2023-03-08 15:40:33 -05:00
tjs e93d8091da fix show asks on orderbook 2023-03-08 15:23:35 -05:00
tjs 25393ff5cc remove historical chart for instant funding 2023-03-08 14:50:35 -05:00
tjs a825e6b1cf update side nav links 2023-03-08 14:24:46 -05:00
saml33 d421fe856b improve toggle orderbook sides interaction 2023-03-08 21:19:31 +11:00
saml33 5aa9536819 update onboarding image 2023-03-08 13:54:36 +11:00
saml33 700b0a8583 update onboarding intro copy 2023-03-08 10:54:13 +11:00
saml33 bbb569308b remove commented code 2023-03-08 10:14:11 +11:00
saml33 0e4d180131 fix perp market stats 2023-03-08 10:12:40 +11:00
saml33 198ce59269 fix perp market table stable price 2023-03-08 09:42:49 +11:00
tjs 5faf8421e3 update perp funding chart calcs 2023-03-07 12:48:25 -05:00
tjs b9d6857694 format funding and add market trade info msg 2023-03-07 12:31:32 -05:00
tjs 79c3daab36 convert funding to percent 2023-03-07 11:28:16 -05:00
saml33 e73873fb44 select first installed wallet on cancel tour 2023-03-07 09:36:58 +11:00
tjs 90ab423d78 add a state variable to track header ready state in trading view 2023-03-06 14:50:07 -05:00
saml33 6b7398323e style new app version refresh button 2023-03-06 22:48:24 +11:00
saml33 c494bfd7c0 increase open interest value font size 2023-03-06 21:08:26 +11:00
saml33 004254b720 add leaderboard layout 2023-03-06 19:59:14 +11:00
tylersssss 11065d1f51
Merge pull request #92 from blockworks-foundation/swap-intro-modal
Swap intro: update copy/styling
2023-03-06 00:20:07 -05:00
saml33 bd2113101f fix market select dropdown position 2023-03-06 14:33:13 +11:00
saml33 23ca473f5a update copy 2023-03-06 14:21:15 +11:00
saml33 941a6324f2 update copy/styling 2023-03-06 11:34:54 +11:00
tjs a663b9404b check for mango tokens length before fetching price info 2023-03-05 17:44:33 -05:00
tjs a7ca4164f3 center text for volume alert 2023-03-05 16:39:06 -05:00
tjs 3f0044ebd7 prompt for refresh on new build 2023-03-05 15:33:57 -05:00
tjs 7f489f28bb move datafeed 2023-03-05 00:48:09 -05:00
tjs e0bfc5e429 reduce coingecko calls on page load 2023-03-05 00:47:29 -05:00
tjs 89cbe0e572 dont use postOnly on market trades 2023-03-04 23:06:45 -05:00
tjs 2d37f7f64a close mkt select dropdown on click 2023-03-04 15:59:42 -05:00
tjs 042f2e0386 add grids to trading view chart 2023-03-04 15:52:09 -05:00
tjs b44c498b7b combine trading view datafeeds 2023-03-04 15:42:35 -05:00
tjs fd061dcdbf move delegate checks into useUnownedAccount hook 2023-03-04 14:17:34 -05:00
tjs 36248b23d6 trade summary fixes 2023-03-04 13:53:53 -05:00
tjs 917080ac09 add warning for delegate accounts 2023-03-04 13:42:46 -05:00
tjs 8423750c9f fix icon centering 2023-03-04 12:46:49 -05:00
tjs 1b220ddf55 center modal text 2023-03-04 12:46:35 -05:00
tjs 0f87d0c07b fix trade history date display 2023-03-04 12:46:21 -05:00
tjs 6fce2640a4 fix header ready check on tv chart 2023-03-04 12:10:34 -05:00
tjs 991bb6c251 load tv chart buttons after header rdy 2023-03-04 12:08:19 -05:00
tjs e6fb6da6b0 remove backdrop brightness prop and hardcode instead 2023-03-03 09:32:28 -05:00
saml33 49c0d5517c merge main 2023-03-03 22:29:34 +11:00
tjs 4be933148f fix perp side badge 2023-03-02 21:40:49 -05:00
tjs 08866b20fe dont recreate chart when clicking on custom buttons 2023-03-02 20:37:20 -05:00
tjs 96f9945746 fix fee display in activity fee 2023-03-02 15:42:59 -05:00
tjs 1d7b488cb3 margin swap modal explainer 2023-03-02 12:02:26 -05:00
tjs a0a10890c2 fix issue with double clicking connect 2023-03-01 18:38:25 -05:00
tylersssss 912428bc04
Merge pull request #86 from blockworks-foundation/assets-and-liabilities
add assets and liabilities breakdown to account page
2023-03-01 18:02:04 -05:00
tjs 4c6401cdeb 10 perp open orders 2023-03-01 12:47:26 -05:00
saml33 75d7644d06 fix deposit form top spacing 2023-03-01 23:33:02 +11:00
saml33 0898318f23 merge main 2023-03-01 09:53:43 +11:00
saml33 49612197b8 bg images 2023-03-01 09:45:39 +11:00
saml33 6220907b0c remove unused icon 2023-03-01 09:45:39 +11:00
saml33 5770720b5f add share positions to twitter 2023-03-01 09:45:39 +11:00
tjs 5293f04bdb prevent wordwrap on recent trades 2023-02-28 12:13:30 -05:00
tjs 3bed60af56 turn on lint errors for typescript any 2023-02-28 02:20:11 -05:00
tjs 1a763c8c9d fix stable price line updates 2023-02-26 20:04:02 -05:00
tjs 5cae40d347 use api for perp market trade history 2023-02-26 18:44:38 -05:00
tjs abb408678e replace any type with more defined types 2023-02-25 19:22:39 -05:00
tjs dc33e98a8a remove deposit limit notification 2023-02-25 15:02:21 -05:00
tjs ebb0d546b7 useCallback to reduce trading view rerenders and memory leaks 2023-02-25 14:59:35 -05:00
tjs c3f3a34a63 only update orderbook websocket when changing markets 2023-02-25 14:59:35 -05:00
tjs a437909af9 fix api call guards 2023-02-23 21:22:24 -05:00
tjs 09133bf7b2 more refactoring for type safety 2023-02-23 19:28:49 -05:00
tjs 09852aa007 improve typing to fix errors with recent trades and history 2023-02-23 16:44:54 -05:00
tjs f80144640f add more types to api calls 2023-02-23 12:28:09 -05:00
tjs 58b7fd708c update wallet balances when opening deposit or repay modal 2023-02-22 14:20:36 -05:00
tjs e9811605a1 condense market select box for now 2023-02-22 14:04:18 -05:00
tjs b5eabc4de6 show no swap route error when amount in is gt 0 2023-02-22 13:49:03 -05:00
tjs 939496def7 fix orderbook grouping bug 2023-02-22 00:11:56 -05:00
tjs d8f6153eab more improvements to open orders displayed in orderbook 2023-02-21 23:29:25 -05:00
tjs d2540c8be5 improved open order loading 2023-02-21 21:25:00 -05:00
tjs 921e791809 check if expiry is u64 max first 2023-02-21 17:25:45 -05:00
tjs fd73581483 fix number overflow 2023-02-21 17:17:25 -05:00
tjs 704018c616 improve open orders display on orderbook 2023-02-21 16:07:47 -05:00
tjs bebd1ef40a fix enhanced wallet provider 2023-02-21 13:32:06 -05:00
tjs ccccb33843 fix trade fee display 2023-02-20 15:07:16 -05:00
tjs da05ee7ce0 move chart overrides into useeffect 2023-02-20 15:06:42 -05:00
tjs db12922284 more orderbook refactoring 2023-02-20 01:05:07 -05:00