Commit Graph

388 Commits

Author SHA1 Message Date
microwavedcola1 92792112f7 settle fees along with pnl
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-03-30 10:36:02 +02:00
saml33 d2e50e51ec fix roi and merge main 2023-03-29 21:38:26 +11:00
saml33 e2395aa149 merge main 2023-03-27 21:14:27 +11:00
microwavedcola1 842b567064 Upgrade mango client
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-03-27 11:07:27 +02:00
saml33 ce1502ce96 fix wallet select menu z-index on trade page 2023-03-27 14:52:29 +11: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 fc929f8fb0 update the oracle for selected market via websocket 2023-03-25 14:19:57 -04:00
microwavedcola1 95de994d60 upgrade client
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-03-07 13:13:52 +01:00
microwavedcola1 fea2357cae upgrade client
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-03-07 12:54:38 +01:00
saml33 004254b720 add leaderboard layout 2023-03-06 19:59:14 +11:00
tjs fd061dcdbf move delegate checks into useUnownedAccount hook 2023-03-04 14:17:34 -05:00
microwavedcola1 91331dcd45 run yarn setup
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-03-03 08:13:21 +01:00
microwavedcola1 7b4715df21 extend dashboard
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-03-01 14:16:07 +01:00
saml33 75d7644d06 fix deposit form top spacing 2023-03-01 23:33:02 +11:00
saml33 2b8db8161d rebase and yarn setup 2023-03-01 09:46:41 +11:00
saml33 5770720b5f add share positions to twitter 2023-03-01 09:45:39 +11: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 40c5187521 use latest client 2023-02-22 15:19:55 -05:00
tjs d2540c8be5 improved open order loading 2023-02-21 21:25:00 -05:00
tjs 704018c616 improve open orders display on orderbook 2023-02-21 16:07:47 -05:00
tjs 2dd60d7460 run yarn setup 2023-02-21 11:29:24 -05:00
tjs 31d753ee22 revert to v4 github branch pkg 2023-02-19 16:18:59 -05:00
tjs 48b3b80dc7 use latest v4 npm pkg 2023-02-19 15:52:25 -05:00
tjs 2c8da6f1a7 improve trade history typing and trading view order lines colors 2023-02-15 16:49:56 -05:00
tjs 7f6352d418 use latest client 2023-02-14 22:52:55 -05:00
tjs 640a8f7f40 yarn install force 2023-02-14 16:12:51 -05:00
tjs d7b3827e66 use latest client 2023-02-14 10:49:07 -05:00
tjs 6277984325 use latest client 2023-02-09 16:23:44 -05:00
tjs a85d6cd559 yarn lint and format and setup 2023-02-07 14:03:59 -05:00
tjs 8ea2d9fc4a use latest client 2023-02-02 12:26:29 -05:00
silas-x a103ec71e3 ci dupe check 2023-01-26 14:52:10 +00:00
silas-x 9643907bf8 add dedupe step and update readme 2023-01-26 13:40:56 +00:00
silas-x 4cb1aa32f4 fix json5 vuln 2023-01-26 12:07:26 +00:00
silas-x 4057517676 dep update 2023-01-25 22:48:52 +00:00
silas-x a5ff5bdb47 deny scripts 2023-01-25 15:02:51 +00:00
silas-x 9cf6976c85 pin dep versions 2023-01-25 13:14:19 +00:00
Riordan Panayides b470d03adf Fix mango-v4 dependency 2023-01-18 18:00:27 +00:00
tjs e5dff1c8c3 use latest client; update perp positions table with new pnl calcs 2023-01-17 18:31:58 -05:00
microwavedcola1 d4b2b31183 Bump client
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-01-11 16:04:08 +01:00
microwavedcola1 8a83b9c70b Bump client
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-01-11 09:30:39 +01:00
tjs 2168f5ef8a use latest client 2023-01-09 16:42:09 -05:00
tjs 8884381618 use latest client 2023-01-07 17:40:36 -05:00
tjs a8435616b0 use latest client 2023-01-07 13:59:11 -05:00
tjs adac9591b5 use latest client 2023-01-07 00:17:32 -05:00
Adrian Brzeziński 7975cd7705 upgrade client 2023-01-07 03:07:14 +01:00
tjs f1bcd6a3e0 use latest client 2023-01-06 19:28:42 -05:00
tjs 8e77c37468 use latest client 2023-01-05 14:16:00 -05:00
tjs 106fab4af7 use latest client 2023-01-02 15:43:17 -05:00
tjs f5473bfe07 add leverage back to account page 2022-12-30 15:39:05 -05:00
tjs f91b78424d use latest client to settle serum trades after placing 2022-12-27 18:53:03 -05:00
tjs d603d6e973 show the count next to perp positions; use latest client 2022-12-27 18:15:57 -05:00
Adrian Brzeziński 8bc70fe532 Merge branch 'main' into feature/kline-charts-spot 2022-12-20 01:38:52 +01:00
tjs ea0d1ce4d4 use latest client 2022-12-19 12:42:19 -05:00
tjs 1799e6d44e use latest client to fix place spot order 2022-12-17 14:10:21 -05:00
tjs 3538d22b87 upgrade to latest client 2022-12-16 12:30:46 -05:00
tjs be97e512b9 wip2 2022-12-15 17:51:19 -05:00
Adrian Brzeziński 35735483c0 fix 2022-12-15 11:35:59 +01:00
Adrian Brzeziński 4d71a9d5c5 merge 2022-12-15 11:35:14 +01:00
tjs 3a84953cb8 use latest client 2022-12-14 10:43:42 -05:00
tjs 6dd2244fe5 use latest client 2022-12-13 00:47:03 -05:00
tjs 46b32d01ce use latest client to fix orderbook deserializing 2022-12-09 14:38:55 -05:00
tjs b9c41f237f use latest mango client 2022-12-09 13:04:01 -05:00
tjs 8a2cb80585 more dashboard 2022-12-08 17:27:12 -05:00
tjs 6696594cdb add dashboard 2022-12-08 17:13:06 -05:00
tjs b03b6fb9a8 update to latest group 2022-12-08 14:58:54 -05:00
Adrian Brzeziński 68d3c961b6 merge 2022-12-08 15:12:18 +01:00
tjs 20af1810b0 wip: perp position settle funds 2022-12-08 01:47:32 -05:00
tjs 41223e846c allow setting the amount out in jupiter swap 2022-12-07 16:33:38 -05:00
Adrian Brzeziński 61c20de757 add clsx 2022-12-06 22:58:49 +01:00
Adrian Brzeziński 77954799ec kline chart wip 2022-12-06 00:54:47 +01:00
Adrian Brzeziński 2ec44f1742 technical indc 2022-12-05 18:19:59 +01:00
Adrian Brzeziński 72844038db merge 2022-12-05 13:11:53 +01:00
tjs 6b55d1346a show perp unsettled pnl and updated group on an interval 2022-12-03 16:19:12 -05:00
Adrian Brzeziński 0d7c899730 kline wip 2022-11-29 18:09:32 +01:00
saml33 0447fc5d61 better sound support and fix settings 2022-11-23 23:40:38 +11:00
tjs 529709f30e slightly better error messages 2022-11-21 17:06:40 -05:00
tjs ef144b672f fixup recent trades decimals 2022-11-20 23:52:08 -05:00
tjs 777d44860a use event queue for recent trades until api is ready 2022-11-20 23:16:11 -05:00
tjs dbcaeee439 fix entry price formatting 2022-11-20 22:11:29 -05:00
tjs 561eba493b fix all eslint errors 2022-11-19 14:20:36 -05:00
tjs 7036df7e69 add network offline warning 2022-11-19 13:33:12 -05:00
tjs aba78bb9d5 Merge branch 'ts/refactor' into main 2022-11-18 18:19:48 -05:00
tjs 203c571bc5 use jupiter api and hooks 2022-11-18 18:19:04 -05:00
tjs cd7100179a use latest client 2022-11-18 14:27:51 -05:00
tjs eb6d3785ee downgrade jupiter for now so builds are working 2022-11-17 16:04:31 -05:00
tjs ef3e87fba6 fix nested deps issues please 2022-11-17 13:55:39 -05:00
tjs b2b46d87a3 fix yarn.lock 2022-11-17 11:37:58 -05:00
tjs c9909fa87a use latest v4 pkg 2022-11-17 10:59:47 -05:00
tjs b633fe8a39 specifiy wallet adapter versions 2022-11-17 10:32:31 -05:00
tjs 2c2ea4744e use latest pkg 2022-11-16 23:56:02 -05:00
tjs e33592fb77 use latest headlessui modal layout 2022-11-16 10:23:44 -05:00
tjs 07847b971b support versioned txs 2022-11-15 23:12:57 -05:00
tjs 3baeda5f3e use latest jupiter 2022-11-15 23:12:57 -05:00
tjs 653ba6d270 perp cancel order 2022-11-01 17:46:16 +00:00
tjs dcf5f0c4fd use latest client; create perp position tab 2022-10-31 19:11:34 +00:00
tjs 7f1461123d show perp open orders 2022-10-31 18:26:17 +00:00
saml33 426ccaf41c handle no coingecko data 2022-10-29 21:51:22 +11:00
tjs 818bbc0252 fix zustand nextjs 13 issues 2022-10-28 17:46:38 -04:00
tjs 9269b4e18f fix yarn.lock, undo next upgrade 2022-10-28 15:24:05 -04:00
tylersssss 8ce855dc65
Merge branch 'main' into token-details 2022-10-28 12:46:57 -04:00
tjs 8c7d23c73c upgrade caniuse pkg 2022-10-26 16:03:41 -04:00
tjs cc007ce818 upgrade nextjs to 13 2022-10-26 15:56:50 -04:00
tjs 154c4b6396 use latest client 2022-10-26 15:52:19 -04:00
saml33 93a3109f84 Merge branch 'main' into token-details 2022-10-24 11:47:05 +11:00
saml33 db4317400d add token details page 2022-10-11 22:59:01 +11:00
tjs 7c75d04d52 load perp market 2022-10-10 22:16:41 -04:00
tjs 61c16e9a96 upgrade recharts 2022-10-10 22:16:41 -04:00
tjs f7d5bf8216 use gPA for accounts until ids service is updated 2022-10-10 15:02:57 -04:00
tjs 570d44d24a use main branch of client; update changes 2022-10-07 13:59:13 -04:00
microwavedcola1 72e4808141 match mango-v4 dev branch
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-10-07 14:27:42 +02:00
tjshipe 0b3594f036
Merge branch 'main' into activity-feed 2022-10-06 17:54:31 -04:00
tjs 817a045811 add react-query 2022-10-04 14:17:18 -04:00
saml33 41b7af6cc2 add advanced filters 2022-09-30 13:22:55 +10:00
tjs a8c4c14294 resolve anchor version 2022-09-27 14:47:56 -04:00
tjs 029bc99c0a update open orders and balances on account change 2022-09-25 22:03:03 -04:00
Christian Kamm 9884e25407 Update mango-v4 dependency 2022-09-21 10:45:38 +02:00
tjs 4270ad8d3b use latest client; fix merge conflicts 2022-09-14 10:52:18 -04:00
tjshipe 83dc98ad25
Merge branch 'main' into onboarding-tour 2022-09-14 10:11:13 -04:00
tjs 84728b580b serum spot trade page 2022-09-14 02:24:44 -04:00
saml33 bd6a0e8ced use thin scroll on fund account 2022-09-13 16:21:19 +10:00
tjshipe 1bd163cca6
Merge branch 'main' into onboarding-bg 2022-09-07 14:23:35 -04:00
saml33 9e858968b2 update heroicons to latest version 2022-09-07 14:36:35 +10:00
saml33 31f0b48b1d add particle background 2022-09-06 23:15:54 +10:00
tjs 5e879c1c69 prevent leverage slider from converting swap input to string
use Decimal in more places
2022-09-02 19:52:07 -04:00
tjs 51e1ba37a0 better mango account reloading; use latest client 2022-09-02 19:51:35 -04:00
tjs 6316337807 upgrade to latest wallet-adapter pkg 2022-09-01 15:25:06 -04:00
tjs f98ed3fc6d upgrade to zustand 4.1.1 2022-09-01 15:06:21 -04:00
microwavedcola1 f7ae8dcece Upgrade ts client 2022-09-01 13:59:24 +02:00
microwavedcola1 90cc1e208d Upgrade ts client 2022-09-01 11:01:39 +02:00
tjs 43b1febc1a update client and handle undefined health values 2022-08-31 16:17:17 -04:00
tjs a4cfafb484 fix handling small decimals in swap form input 2022-08-31 11:54:43 -04:00
tjs 9c5ce70aa9 better handle error when simulating acct data 2022-08-27 03:56:59 -04:00
tjs 787801bdca use latest client 2022-08-27 01:59:40 -04:00
tjs c73179448c use latest client 2022-08-26 15:44:10 -04:00
tjs 2ac137a05c use token vault balance for max amount 2022-08-26 14:19:20 -04:00
microwavedcola1 bc3101e90b match latest changes to client
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-08-23 16:24:47 +02:00
microwavedcola1 331300e865 upgrade dependency
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-08-23 13:49:35 +02:00
microwavedcola1 28f652a163
match client changes on mc/ts-client-fixes (#5)
* match client changes on mc/ts-client-fixes

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>

* fix commit hash for dependency

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-08-23 13:45:56 +02:00
tjs cade8d7872 latest client; fix health ratio in summary panel 2022-08-20 14:05:00 -04:00
tjs 1a0baab8e4 fix swap form 2022-08-20 00:03:26 -04:00
Christian Kamm a3c37ef008 Fix HealthImpact display, use bank.uiPrice where needed 2022-08-19 16:56:22 +02:00
microwavedcola1 f74dc7ec72 upgrade ts client
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-08-19 11:58:52 +02:00
microwavedcola1 e250594982 upgrade ts client
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-08-19 11:46:26 +02:00
microwavedcola1 87b12625ae upgrade ts client
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-08-19 08:44:34 +02:00
tjs c7f071641d fix more issues with wallet connect and account loading 2022-08-18 18:26:03 -04:00
tjs ae324a6da5 update to latest client and program version 2022-08-18 16:50:34 -04:00
tjs 2d09b8f858 add react number format pkg 2022-08-17 16:06:45 -04:00
tjs 72191f62ef hide profile page from onboarding until its farther along 2022-08-16 01:10:17 -04:00
tjs 581c02d0c6 latest client 2022-08-16 00:32:41 -04:00
tjs 4631b70d15 again fix percent select on swap 2022-08-16 00:19:09 -04:00
tjs 65f08d6b43 use latest client 2022-08-15 14:23:48 -04:00
microwavedcola1 1dfa13b8d5 upgrade ts client
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-08-15 11:56:05 +02:00
tjs d1acfc6d52 use new client to show pending transaction notifications 2022-08-12 17:18:12 -07:00
tjs 403161f578 show simulated health in swap 2022-08-11 17:52:57 -07:00
tjs d17fb5dcd4 show max health ratio of 100 2022-08-11 12:29:07 -07:00
microwavedcola1 c148f5640a Adapt to latest ts/client changes
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-08-11 18:00:39 +02:00
microwavedcola1 e7d7800291 upgrade ts client
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-08-10 10:16:58 +02:00
tjs ae58eecc65 use latest client to fix swap signature errors 2022-08-09 15:44:01 -07:00
tjs 90e392add0 use latest client 2022-08-08 16:28:12 -07:00
tjs f02dead07c fix mango acct switcher 2022-08-05 18:11:07 -04:00
tjs a417f12e8d use latest client 2022-08-04 12:42:03 -04:00
tjs b9cb38c556 use latest client to fix misordered health account bug 2022-08-04 01:26:09 -04:00
saml33 0777a2ef0b add profile pic and connected menu 2022-07-27 14:40:17 +10:00
tjs b7597dc976 remove solana wallet react ui 2022-07-26 21:21:17 -04:00
saml33 42c8da0c36 add tooltip 2022-07-24 12:48:26 +10:00
tjs 653168fb62 add husky and fix lint errors
add husky; lint fixes

add husky; lint fixes

add husky; lint fixes

add husky; lint fixes

add husky; lint fixes

add husky; lint fixes
2022-07-22 14:19:49 -04:00
tjs a6b68cb00a add husky 2022-07-22 13:53:23 -04:00
tjs 04393806df add flip numbers to chart 2022-07-22 13:07:55 -04:00
saml33 ad34ec3782 merge main 2022-07-15 09:44:28 +10:00
saml33 58292c9505 add layout and nav pattern 2022-07-15 09:36:31 +10:00
tjs aeee2f5297 use latest client 2022-07-14 12:40:32 -04:00
tjs db239c0145 add mango account values 2022-07-12 23:58:13 -04:00
tjs a74fd28ca6 leverage slider and mango account 2022-07-12 22:02:36 -04:00
tjs 375d369573 add token select modal; fix content widths; 2022-07-11 23:00:22 -04:00
tjs 771ee63ea5 wip 2022-07-10 22:01:16 -04:00
tjs 30ba236553 use latest client on main 2022-07-07 00:46:08 -04:00
tjs fc836218d5 use latest dev client 2022-07-05 23:48:19 -04:00
tjs 8f0dc1e3ef more swap work 2022-07-05 23:37:49 -04:00
tjs c5a658ef77 use client branch ts/deps 2022-06-30 16:12:36 -04:00
tjs 8ead99838a use latest clients 2022-06-22 17:10:50 +02:00
tjs ffffeab261 use latest client 2022-06-10 09:23:38 -04:00
tjs 68c194a43d more orca swap integration 2022-06-10 09:05:45 -04:00
tjs cd6637fd72 orca swap integration with margin trade 2022-05-31 21:41:18 -04:00
tjs 0f0f9410cb use correct branch 2022-05-04 15:02:37 -04:00
tjs c8898467db mango v4 sandbox 2022-05-04 00:25:54 -04:00
tjs 8a9a787f72 Initial commit from Create Next App 2022-05-04 00:25:32 -04:00