Commit Graph

250 Commits

Author SHA1 Message Date
tjs f8a0849c40 update zustand store types to work with zustand 3.7 2022-03-16 17:27:26 -04:00
tjs 597c930b98 use blockhash that expires with timeout 2022-03-13 19:26:30 -04:00
tjs 98a60b6f67 add check that market is loaded 2022-03-11 13:37:52 -05:00
saml33 d4d3cb1eea move size rounding to hook 2022-03-11 13:02:36 +11:00
tjs 59978a9973 fix bug with returning the correct market to decode bookside 2022-03-09 17:46:10 -05:00
tjs 5654ddcb9e parse account info on update 2022-03-09 17:39:57 -05:00
dd e49025c9a2 Set proper decimals in BalancesTable; 2022-02-28 12:51:10 -05:00
dd 5d7599ef97 optimizations; Add more commas to large numbers; NO MERGE STILL UNFINISHED 2022-02-28 12:51:03 -05:00
tjs 7ca2e6d31f update navigation transitions and ordering 2022-02-18 17:24:06 -05:00
tjs 138a664c77 fetch market info on an interval 2022-02-18 11:39:43 -05:00
saml33 97d6a4f993 implement pr feedback 2022-02-18 14:32:48 +11:00
tjs 86874a87e0 show fee discount in trade form 2022-02-14 17:23:57 -05:00
tjs d31dbc5bb8 use latest client; update fee display 2022-02-14 16:42:32 -05:00
tjs f54af5c787 add ref links 2022-02-14 12:17:11 -05:00
tjs 3ad223f95b add types to the store set function 2022-02-10 12:49:59 -05:00
tjs 366617dc5c fix type errors 2022-02-09 11:28:57 -05:00
Tyler Shipe 0ddcf8c2c2 update order book on trade history change 2022-02-05 16:09:18 -05:00
Tyler Shipe a6d432f32d utilize zustand for perppositions 2022-01-27 22:57:18 -05:00
Tyler Shipe 8f27393c22 reload open orders more frequently 2022-01-27 12:24:15 -05:00
Tyler Shipe 2355dfcaa6 store openOrders in zustand 2022-01-27 11:57:36 -05:00
Tyler Shipe 351bc5d11d ensure mango account is loaded before connecting wallet 2022-01-26 13:37:02 -05:00
Tyler Shipe a1f3485687 fix pagination 2022-01-20 12:09:19 -06:00
Tyler Shipe 1c2e89b00d don't geo block on devnet 2022-01-20 11:48:42 -06:00
Tyler Shipe e0a539382e fix trade history pagination 2022-01-19 17:43:50 -06:00
Vidor Gencel b59abf5f80
Profile Picture Support (#134)
* render profile picture

* update profile picture package

* Include PFP only if set

* no need to wait pfp to load

Co-authored-by: Maximilian Schneider <mail@maximilianschneider.net>
2022-01-18 10:26:13 -08:00
Tyler Shipe 679064d8a2 only update mango account at most once per sec and check last slot 2022-01-17 14:23:06 -06:00
Tyler Shipe fe4130ca4b v3.3 supports closing mango accounts 2022-01-16 18:35:47 -06:00
Tyler Shipe 9ba98b1e82 handle notifications when closing account 2022-01-15 18:14:20 -06:00
Tyler Shipe e1114d7477 handle when perpmarket isnt loaded yet 2022-01-12 16:46:41 -06:00
Tyler Shipe bf9215562b fix error boundary env var 2021-12-30 21:00:42 -05:00
Tyler Shipe 0f13c748e4 add jupiter ag swap 2021-12-17 16:02:02 -05:00
Tyler Shipe 714de8e34f update srm fees 2021-12-08 12:27:48 -05:00
Tyler Shipe f0edd15fef move state out of parent components that were causing additional renders 2021-12-07 23:14:00 -05:00
Tyler Shipe 5a7a95842b always show liq price in account info 2021-12-06 15:14:29 -05:00
Tyler Shipe 855a6e6d58 add ws watching for mangoAccount 2021-12-05 20:13:23 -05:00
dd 60b2c4b92d updated MarketClose to have maxSlippage at 2.5% 2021-12-03 00:15:03 -05:00
dd 588ae8dd18 Looks like max slippage on perp Market orders is working 2021-12-02 21:38:44 -05:00
dd f248ab7805 Added code for maxSlippage and removal of market order type; Changed mark price to just be book mid. 2021-12-02 17:33:35 -05:00
Tyler Shipe 84233b2a56 improve rerender when cancelling orders for a market other than the one selected 2021-11-30 18:35:49 -05:00
Tyler Shipe 2d824c2213 add lastUpdatedAt to improve useMangoAccount rerendering trigger 2021-11-30 16:04:55 -05:00
Tyler Shipe 4eb7cd3934 forceReload components when mango account is updated in store 2021-11-30 12:32:14 -05:00
Riordan Panayides 2f6ceef7a9 Revert UK IP block 2021-11-23 13:36:48 +00:00
Denmark 36f6585b6a
add bitpie wallet (#86) 2021-11-23 13:25:31 +01:00
Riordan Panayides edac2473fc Allow UK spot trading 2021-11-22 23:54:51 +00:00
Riordan Panayides dd6ea25527
Block UK users :( 2021-11-22 22:48:44 +00:00
Tyler Shipe 6ed230d900 add deposit and withdraw history to account page 2021-11-17 15:51:17 +00:00
Tyler Shipe a1e0e82990 reconnect to phantom on each page change 2021-11-15 18:27:57 +00:00
Tyler Shipe af88a1486d support solflare extension 2021-11-14 18:58:30 +00:00
Tyler Shipe 010be224e0 remove console logs 2021-11-14 18:57:00 +00:00
saml33 d216ec1f1a add solflare 2021-11-10 22:46:54 +11:00