Commit Graph

223 Commits

Author SHA1 Message Date
tjs 813cd3c1c9 use finalized blockhashes; remove saving old blockhashes 2022-04-03 17:04:15 -04:00
tjs 7368325bdc update trade history api 2022-04-01 21:35:38 -04:00
Kieran Gillen 764ea28cb4 Adds more null checking 2022-03-30 19:10:15 +02:00
Kieran Gillen b9b4541ed6 Adds more null checks 2022-03-30 14:42:33 +02:00
Kieran Gillen 39e4a6def5 Adds more null checks 2022-03-30 13:08:05 +02:00
saml33 36bd258c15 filter trade history 2022-03-29 10:43:42 +11:00
Kieran Gillen 17c6dd784c Refactors wallet in store 2022-03-23 13:18:34 +01:00
Kieran Gillen 1a40a98af0 Removes calls to Wallet and Connected through MangoStore hook 2022-03-23 11:42:04 +01:00
Kieran Gillen cd8549b1dc Reverts revert wallet adapter 2022-03-22 10:18:58 +01:00
tjs 6ef483f306 fix trade history loading 2022-03-20 22:28:43 -04:00
tjshipe e841d7e0b9
Merge pull request #197 from blockworks-foundation/ts/performance-refactor
Ts/performance refactor
2022-03-20 21:53:30 -04:00
tjshipe d3d8ab85f4
Merge pull request #190 from blockworks-foundation/show-referral-balance-history
Show referral fees history and total
2022-03-20 20:27:59 -04:00
tjs 32fc5052e9 store order lines in mango store and show preferences in local storage 2022-03-20 18:50:05 -04:00
tjs 4c0eb2114e refactor trade history to use the mango store
reduces rerenders
update usePerpPosition with tradeHistory
2022-03-20 04:06:30 -04:00
saml33 e9550fddda
Markets Page (#182)
* update api endpoint

* update to new api
2022-03-19 17:57:54 +01:00
Luc Succes 37b2cc0c02 Merges main 2022-03-18 14:43:14 -04:00
tjs 9ce177ca3d Revert solana wallet adapter 2022-03-18 14:41:23 -04:00
Luc Succes c15969482d Add DateDisplay component 2022-03-18 14:41:19 -04:00
tjs 0b700a7fbe store 3 blockhashes 2022-03-18 14:25:36 -04:00
tjs 45127eb8c0 use latest mango client 2022-03-18 10:34:46 -04:00
tjs 4edd362ec2 use latest mango-client 2022-03-17 20:54:06 -04:00
Luc Succes 562d45677e Merges main 2022-03-17 12:53:33 -04:00
Kieran Gillen b921b7ed2d Updates fetch all accounts null check 2022-03-17 13:07:51 +01:00
tjs 7306523c00 Merge branch 'main' into show-referral-balance-history 2022-03-16 17:34:55 -04:00
tjs f8a0849c40 update zustand store types to work with zustand 3.7 2022-03-16 17:27:26 -04:00
Luc Succes 35d7b63479 Merges main 2022-03-16 11:01:11 -04:00
Luc Succes 1c6b4fb950 Adds referral fees history and total 2022-03-15 18:48:26 -04:00
tjs 68bf9ba5e4 remove console logs 2022-03-14 23:28:42 -04:00
tjs 597c930b98 use blockhash that expires with timeout 2022-03-13 19:26:30 -04: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
tjs da39c6826b fetch next page of perp trade history if needed 2022-03-09 11:51:50 -05:00
tjs ccdbdfe9ae fetch last account from local storage 2022-02-22 17:06:11 -08:00
tjs 8e1b92b1e5 handle when lastAccount isn't in localStorage 2022-02-22 16:15:14 -08:00
tjs 90c60294c4 disable 24hr change 2022-02-19 16:47:39 -05:00
tjs 7ca2e6d31f update navigation transitions and ordering 2022-02-18 17:24:06 -05:00
saml33 95d73df500 add markets page 2022-02-17 20:44:28 +11:00
tjs 0d645927b6 set default cluster to mainnet 2022-02-14 16:44:41 -05:00
tjs f54af5c787 add ref links 2022-02-14 12:17:11 -05:00
tjs 55b7907bfd wip 2022-02-14 12:15:46 -05:00
tjshipe 8490ef3bc8
Merge pull request #149 from blockworks-foundation/pan/delegate
Add delegate functionality
2022-02-13 12:40:58 -05:00
tjs 3ad223f95b add types to the store set function 2022-02-10 12:49:59 -05:00
tjs 9248782932 revert trade history api changes 2022-02-10 10:05:06 -05:00
tjs bd1a14224b fetch perp trade history before spot 2022-02-09 23:04:36 -05:00
Riordan Panayides 0c3c5ada98 Add delegate functionality 2022-02-09 15:11:51 +00:00
saml33 5d28deeb57 add favorites bar and change % 2022-02-09 21:55:54 +11:00
Tyler Shipe 0ddcf8c2c2 update order book on trade history change 2022-02-05 16:09:18 -05:00
Tyler Shipe 09272d4266 add check to orderbook highlighting so it only shows selected market 2022-01-30 16:48:36 -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