Commit Graph

324 Commits

Author SHA1 Message Date
saml33 f49d4dd56a fix edit profile pic 2022-12-24 11:12:32 +11:00
saml33 c0332aa489 prevent duplicates on activity feed 2022-12-20 20:32:17 +11:00
tjs 19a7ddc04c fix duplicate activity feed 2022-12-20 00:33:43 -05:00
saml33 3d317e4532 merge main 2022-12-20 11:00:15 +11:00
tjs da50977eac better swap history fetching 2022-12-19 14:42:28 -05:00
saml33 a0ab23a596 account actions button component 2022-12-19 12:47:01 +11:00
saml33 de69a19ade update connection/client 2022-12-16 13:19:11 +11:00
Adrian Brzeziński 279e521918 fix openOrders reload 2022-12-15 02:07:48 +01:00
tjs 49001d5ae8 handle updating price for tradeForm when on limit vs market order 2022-12-14 15:54:30 -05:00
tjs 84f813b84c use L2 in type name to distinguish orderbook types 2022-12-14 15:54:30 -05:00
tjs 1cb810a2f4 update unsettled balances when open orders are updated 2022-12-14 13:46:01 -05:00
tjs a74771d337 catch warnings on refreshing group 2022-12-14 10:47:47 -05:00
saml33 bed8540a56 merge main 2022-12-14 15:52:57 +11:00
tjs acc02b3a4c use env var for rpc endpoint 2022-12-12 14:09:10 -05:00
saml33 fda8dac2b2 handle empty token/stats api data 2022-12-11 21:10:11 +11:00
tjs b03b6fb9a8 update to latest group 2022-12-08 14:58:54 -05:00
saml33 6836974fda fetch perp stats 2022-12-08 12:31:50 +11:00
tjs 41223e846c allow setting the amount out in jupiter swap 2022-12-07 16:33:38 -05:00
saml33 5102129a49 add total deposit/borrow value charts 2022-12-06 14:23:22 +11:00
saml33 9d0bdf4c1a fix calling activity feed when mango account changes 2022-12-05 14:46:31 +11:00
tjs 23d406ec47 remove unnecessary group refetching; faster sub account switching 2022-12-03 16:56:22 -05:00
tjs 4ec95495d5 console error when performance data doesn't load 2022-12-02 18:27:08 -05:00
saml33 a9526cff9e merge main 2022-12-02 10:14:10 +11:00
tjs 0757af2213 perp funding rate 2022-11-30 10:51:38 -05:00
saml33 f9f86b529d add slippage to trade form 2022-11-25 21:10:23 +11:00
tjs 0808c900bc enable linking to market pages 2022-11-21 22:57:00 -05:00
saml33 365f06ae87 swap success animation 2022-11-22 14:23:54 +11:00
tjs 777d44860a use event queue for recent trades until api is ready 2022-11-20 23:16:11 -05:00
tjs 6b4c1d9f7e improve advanced trade sliders 2022-11-19 20:40:06 -05:00
saml33 982662c5f5 pnl and interest change 2022-11-19 22:28:06 +11:00
tjs 203c571bc5 use jupiter api and hooks 2022-11-18 18:19:04 -05:00
tjs 185ab4748b revert to coingecko for swap and prices.
we'll use birdeye only for candles
2022-11-18 11:29:37 -05:00
tylersssss f78ebae5c8
Merge branch 'main' into use-birdeye-api 2022-11-14 19:59:21 -05:00
saml33 28c0fed1c7 use birdeye for serum market price history 2022-11-05 18:13:24 +00:00
Adrian Brzeziński 8613fa5bb4 mango accounts reaload on wallet change 2022-11-03 16:59:21 +00:00
saml33 83e59b2bff use jupiter tokens for coingecko ids 2022-11-02 10:03:50 +04:00
tjs 9e885f10bb show users order in orderbook 2022-11-01 18:13:02 +00:00
tjs b62ff845a9 perp positions table 2022-11-01 13:10:08 +00:00
tjs 7f1461123d show perp open orders 2022-10-31 18:26:17 +00:00
tjs 7c34ed0bcb use last slot when updating mango account 2022-10-29 21:17:14 -04:00
saml33 bb62181a1b prevent activity feed double load 2022-10-28 23:23:28 +11:00
tjs a8b2670a84 fix errors with loading serum oo accounts 2022-10-27 14:39:43 -04:00
tjs 679e44cd63 remove console.log 2022-10-27 14:30:23 -04:00
tylersssss bb3c9b2b54
Merge branch 'main' into mango-accounts-modal 2022-10-24 17:34:13 -04:00
tjs 7c75d04d52 load perp market 2022-10-10 22:16:41 -04:00
tjs a6aca2a30d use dynamic imports for 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 d5870391e6 use tokenless rpc 2022-10-07 14:57:20 -04:00
microwavedcola1 72e4808141 match mango-v4 dev branch
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-10-07 14:27:42 +02:00
saml33 40bf21992f add mango accounts list modal 2022-10-07 22:47:15 +11:00
saml33 490d7feaeb reset performance and interest data on disconnect 2022-10-07 10:06:49 +11:00
tjshipe 0b3594f036
Merge branch 'main' into activity-feed 2022-10-06 17:54:31 -04:00
saml33 cff49ded6f merge main 2022-09-30 22:55:28 +10:00
saml33 41b7af6cc2 add advanced filters 2022-09-30 13:22:55 +10:00
saml33 a04b7cc630 add basic filters 2022-09-29 13:35:34 +10:00
saml33 b6513b70d1 add activity details view 2022-09-28 16:17:06 +10:00
saml33 e81d048bee merge main 2022-09-28 13:55:22 +10:00
tjs a2ca52d09c create mangoprovider; add support for viewing other mangoaccounts 2022-09-27 14:47:56 -04:00
saml33 ab2749cea0 add basic table 2022-09-27 16:22:51 +10:00
tjs 029bc99c0a update open orders and balances on account change 2022-09-25 22:03:03 -04:00
saml33 f5d83a4d9a add edit profile form component 2022-09-23 20:57:19 +10:00
saml33 9750b82e9c save hasSeen tour to db 2022-09-23 14:00:42 +10:00
saml33 f5abb4d381 add tours and copy 2022-09-22 14:25:24 +10:00
saml33 b5adfae658 add profile details to connected menu 2022-09-21 11:03:59 +10:00
tjs 84728b580b serum spot trade page 2022-09-14 02:24:44 -04:00
saml33 c90802d729 fix token list on mobile 2022-09-08 12:36:39 +10:00
tjs 51e1ba37a0 better mango account reloading; use latest client 2022-09-02 19:51:35 -04:00
tjs f98ed3fc6d upgrade to zustand 4.1.1 2022-09-01 15:06:21 -04:00
tjs d3f96621f6 fix retry fn 2022-08-31 16:16:48 -04:00
tjs 44ae5bc6df add retryFn to ensure health simulation runs 2022-08-31 10:54:37 -04:00
tjs f4d155af10 add useMangoAccount hook to fix updating account page 2022-08-26 15:15:50 -04:00
tjs 98fe5bf521 remove mango account interval fetching; fix setting banks in fetchGroup 2022-08-26 12:01:28 -04:00
tjs fdb6ae16ea Reload mango account on interval 2022-08-25 23:31:39 -04:00
tjs f19d02e992 fix max swap decimals 2022-08-25 20:39:17 -04:00
tjs dc966975df fix loading after closing a mango account 2022-08-22 21:47:08 -04:00
tjs 501510eb43 fix max numbers shown in modals and swap form 2022-08-20 20:09:36 -04:00
tjs 52064b7627 disable swapping between the same tokens while using direct routes 2022-08-20 14:54:38 -04:00
tjs bea7dee84c move constants out of mangoStore.ts 2022-08-20 14:17:57 -04:00
tjs 605f49e702 fix wallet connect and disconnect 2022-08-20 02:06:00 -04:00
tjs 1a0baab8e4 fix swap form 2022-08-20 00:03:26 -04:00
tjs 1257c73662 fix connect account; add feature to remember last selected 2022-08-19 17:17:30 -04:00
tjs c7f071641d fix more issues with wallet connect and account loading 2022-08-18 18:26:03 -04:00
tjs 9badb0dbd9 ensure client is updated with anchorprovider that has the wallet after connecting 2022-08-18 17:38:48 -04:00
tjs ae324a6da5 update to latest client and program version 2022-08-18 16:50:34 -04:00
tjs bec94218b5 fix decimal handling 2022-08-17 21:50:08 -04:00
saml33 af922c8cdb set load mango accounts to false if no length 2022-08-17 09:49:39 +10:00
saml33 37135e35db load mango accounts 2022-08-16 22:50:08 +10:00
saml33 9c67b18eff single component for account charts 2022-08-16 10:16:21 +10:00
saml33 7b8867781f merge main 2022-08-16 08:19:24 +10:00
microwavedcola1 0139bf40ec change group
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-08-13 20:46:36 +02:00
microwavedcola1 e942045275 change default group
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-08-13 20:11:42 +02:00
saml33 b419098e6c move trade history data to store 2022-08-13 16:06:09 +10:00
tjs d1acfc6d52 use new client to show pending transaction notifications 2022-08-12 17:18:12 -07:00
saml33 2124044fe4 remove start-date from interest totals api call 2022-08-13 08:29:31 +10:00
saml33 03c0436877 merge main 2022-08-12 22:21:23 +10:00
saml33 e7af834a2d move account stats fetching to store 2022-08-12 22:14:28 +10:00
saml33 94aa653817 fix account loading and onboarding 2022-08-12 14:20:17 +10:00
tjs 60c1720bd2 filter jup swap list by mint address 2022-08-10 12:43:16 -07:00
tjs 43089b195f close review trade modal after successful tx 2022-08-08 11:44:25 -07:00
tjs fab687ac87 swap settings modal 2022-08-08 10:42:18 -07:00
tjs a417f12e8d use latest client 2022-08-04 12:42:03 -04:00
tjs 8ec490c042 extract jupiter logic into hook 2022-08-03 22:25:38 -04:00
saml33 0f46288df6 add simple area chart 2022-08-03 10:17:42 +10:00
tjs d6d29e072b filter swap list by tokens in group 2022-08-02 14:09:29 -04:00
tjs 449dce1e7a move fetchJupiterTokens to zustand actions 2022-08-02 14:09:29 -04:00
saml33 f87517bf1f add nft profile modal 2022-08-02 15:32:21 +10:00
saml33 bc848c0042 add all mango accounts 2022-08-02 11:08:08 +10:00
saml33 04a6722ef1 add close account modal 2022-07-28 20:51:36 +10:00
saml33 7c49882fcc more onboarding and load mango account 2022-07-28 16:35:18 +10:00
saml33 0777a2ef0b add profile pic and connected menu 2022-07-27 14:40:17 +10:00
saml33 82e9925e6e populate swap form from token list 2022-07-26 15:27:53 +10:00
tjs fc339abac5 get simulated values after reloading account 2022-07-14 15:33:11 -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 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 974da0d98d use flash loan 3 2022-06-29 23:37:25 -04:00
tjs c5d96e72bb show prices in token box 2022-06-22 13:55:03 +02:00
tjs b5f42d70ad show token balances and rates 2022-06-21 12:58:57 +02: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 dd5eba3878 fix serum imports 2022-05-04 17:46:04 -04:00
tjs c8898467db mango v4 sandbox 2022-05-04 00:25:54 -04:00