Commit Graph

185 Commits

Author SHA1 Message Date
Tyler Shipe 16513f9f46 use latest client 2021-07-15 13:56:25 -04:00
Tyler Shipe 1fa7075c0e latest client 2021-07-15 11:09:51 -04:00
Tyler Shipe 153bff4499 remove access token now that client is public 2021-07-14 11:07:34 -04:00
Tyler Shipe bd651df0cb use latest client 2021-07-14 10:56:59 -04:00
Tyler Shipe 7d5ec35874 use latest group 2021-07-12 21:50:09 -04:00
Tyler Shipe dda50c8aee update to latest client; use toFixed for I80F48 2021-07-12 12:55:16 -04:00
dd 70a08df247 updated mango client 2021-07-08 14:56:34 -04:00
Tyler Shipe b3aae90c5a use latest client 2021-07-08 11:11:54 -04:00
dd ca85a90b38 changed Balances interface for net; use toFixedUi 2021-07-08 10:16:39 -04:00
Tyler Shipe 8e3f3b7a9a use latest client 2021-07-07 16:41:47 -04:00
Tyler Shipe c11890582d handle rounding errors 2021-07-07 16:38:04 -04:00
Tyler Shipe 4c1f3d3283 use latest mango group 2021-07-07 11:20:57 -04:00
Tyler Shipe a0ba6f44e8 update notifications, wire up account change modal 2021-07-06 18:04:20 -04:00
Tyler Shipe d9c367cc9e latest mango-client 2021-07-05 11:06:00 -04:00
Tyler Shipe c355f7132e add Borrows page and health ratio 2021-07-05 11:03:57 -04:00
Tyler Shipe 671e50eba0 wip: max borrow calculations 2021-07-01 13:35:47 -04:00
Tyler Shipe 9b41daf876 use latest mango-client 2021-06-30 13:35:15 -04:00
Tyler Shipe e9cdeb8a08 add settle all spot markets to balances 2021-06-24 18:15:23 -04:00
Tyler Shipe 619295d2e0 parsed trade history for perps 2021-06-24 16:57:11 -04:00
Tyler Shipe cb94124124 use latest group 2021-06-23 19:30:04 -04:00
dd 45c033238d updated mango client 2021-06-23 18:15:45 -04:00
dd 53949ded01 changed default mango group name 2021-06-23 18:00:17 -04:00
Maximilian Schneider 162954ab1f fix i64 parsing in client 2021-06-23 19:24:48 +02:00
Tyler Shipe 1b02a53314 update naming to match client 2021-06-23 11:32:33 -04:00
Tyler Shipe 99f3231d58 netlify deploy 2021-06-20 16:14:25 -04:00
Maximilian Schneider 135e3012af cancel perp order fixed 2021-06-19 02:47:02 -04:00
Maximilian Schneider 107c2e8ed3 add cancel perp order call and remove unused imports 2021-06-19 00:26:47 -04:00
Maximilian Schneider 5b7ea2a889 fix linter issues 2021-06-18 23:35:22 -04:00
Maximilian Schneider 2c487348f6 open orders are kinda adapted 2021-06-18 23:07:57 -04:00
Tyler Shipe 3f3ffb1a37 spot market orderbook on websockets 2021-06-18 19:57:02 -04:00
Maximilian Schneider dcbb37fbb7 simple json stuff 2021-06-18 18:51:34 -04:00
Tyler Shipe 054cc5c82e remove console logs and fetch all markets 2021-06-18 18:38:09 -04:00
Tyler Shipe d3af1ac5b1 show open orders and wire up cancel order 2021-06-18 16:46:20 -04:00
Maximilian Schneider 4d7b02e6a0 place perp order works now 2021-06-18 14:07:07 -04:00
Tyler Shipe 3df663614a use imported mangoClient in trade form; display userInfo component 2021-06-18 11:17:49 -04:00
Tyler Shipe 370d25f7bd fix init and deposit; fix disconnect bug 2021-06-17 21:10:47 -04:00
Tyler Shipe fd8df42503 update packages 2021-06-17 20:44:03 -04:00
Maximilian Schneider c610da11aa reenable trade form 2021-06-17 20:32:45 -04:00
Tyler Shipe dc4cf3412c latest client 2021-06-17 18:39:59 -04:00
Maximilian Schneider 4d3dae3b1a load order books both from perp & spot 2021-06-17 17:07:10 -04:00
Tyler Shipe c6dab39463 add interest rates 2021-06-17 14:40:44 -04:00
Maximilian Schneider 275fafa4c4 refactor deposit modal 2021-06-17 14:03:47 -04:00
Maximilian Schneider 8aed0f0840 expose market config in store and switch between spot & perp 2021-06-17 01:38:49 -04:00
Tyler Shipe cb331fb2c7 comment out stuff in the ui so it works 2021-06-16 21:50:16 -04:00
Maximilian Schneider bfebd8a900 fix babelrc to handle logical assignment ops 2021-06-16 12:05:03 -04:00
Tyler Shipe 8171b25167 use latest mango-client version 2.1 2021-06-12 17:17:59 -04:00
Tyler Shipe 4476a2254e rebate gui hoster fees to users 2021-06-12 13:46:06 -04:00
Maximilian Schneider d4560af064 bump mango-client to 2.0.0 for consistency 2021-06-09 12:01:34 -04:00
Tyler Shipe 1afe59e4e0 update modal with sol srm info 2021-06-08 10:59:39 -04:00
Tyler Shipe 74c9016374 use latest 5 token mango client 2021-06-05 13:06:56 -04:00
Tyler Shipe 9e5a844f5d latest mango-client 2021-06-05 11:03:25 -04:00
Tyler Shipe 081c846caa update to latest 5_token client-ts version 2021-06-05 10:47:24 -04:00
Tyler Shipe ff0aeb5ee0 upgrade yarn.lock 2021-06-01 18:13:18 -04:00
Tyler Shipe a2163f7cf4 use web3.js v0.95.0 2021-05-31 16:23:48 -04:00
dd 572f9597f1 updating mango client in yarn lock 2021-05-31 14:08:55 -04:00
Ralfs a9ad62ee83
use the 5_token USDC group (#16) 2021-05-26 16:35:45 +03:00
Ralfs 7a110f9ea5 Fixed build bugs 2021-05-20 23:43:18 +03:00
Ralfs eb73a8f4d5 Use another client branch 2021-05-20 22:39:14 +03:00
Maximilian Schneider 935129c45e
simulate withdraw operation so we can preview equity & coll (#10)
* show margin details in withdraw ui

Co-authored-by: saml33 <slam.uke@gmail.com>
2021-05-18 19:27:09 +03:00
saml33 806b527502
Bring alert details and notifications into the UI (#5)
* hook to get alerts, add triggered alerts to alerts list
* alerts page, count unseen alerts, clear alerts from nav view
* consolidate components, add custom value to alert modal dropdown, sort margin accounts alphanumerically
* ring bell when count increments and ping animation on count
* create/fetch alerts from store, filter by account, populate modal state from triggered alert
* fix alert sorting
* enable MA selection also for re-activate
2021-05-07 22:41:26 +03:00
Tyler Shipe 9cc7eaf559 increase grid columns 2021-05-02 00:33:27 -04:00
saml33 23220e3555 trigger set alerts modal from margininfo 2021-05-02 00:02:21 +10:00
saml33 7c4513575e fixed active states for toggle buttons in tradingview left toolbar 2021-04-28 10:46:06 +10:00
Tyler Shipe c480e2d362 bump mango-client version 2021-04-26 15:12:11 -04:00
Tyler Shipe 2d489b29c4 add Lagzda's alerts 2021-04-24 22:10:28 -04:00
saml33 9a3ef99b3d include borrow switch and styling 2021-04-21 10:39:19 +10:00
Tyler Shipe 3db7ed86a5 extract borrowAndWithdraw from ui to mango-client pkg 2021-04-20 14:14:45 -04:00
Tyler Shipe 7b8035e960 Merge remote-tracking branch 'origin/table-styling' into main 2021-04-20 12:46:41 -04:00
Tyler Shipe 349966cb7e upgrade to mango-client 0.1.12 and add refresh button to account select 2021-04-20 11:46:56 -04:00
saml33 4285339e5a responsive tables and start on stats page 2021-04-21 00:19:08 +10:00
Tyler Shipe b22ac152bd Add new tooltip component 2021-04-16 14:16:31 -04:00
Tyler Shipe 92eef50f54 upgrade tailwind and next 2021-04-16 11:04:04 -04:00
Tyler Shipe b5d72c0b55 remove ant library and fix tailwind config for lato 2021-04-15 23:32:03 -04:00
Tyler Shipe a674ff74d3 texting fixes 2021-04-14 18:46:36 -04:00
saml33 abf9aaa671 disconnect wallet dropdown with copy address 2021-04-14 22:01:58 +10:00
Tyler Shipe 59f1156703 Add UiLock toggle and themed the stats page 2021-04-13 12:51:42 -04:00
Tyler Shipe 932b52f649 remove xwind and convert to className prop 2021-04-12 12:49:02 -04:00
saml33 d9c27cca3c support for more than two themes 2021-04-12 23:32:01 +10:00
cryptopherhitchens 4e06be9bb8 theme start 2021-04-12 07:25:01 +10:00
Tyler Shipe b5562c161c wip: wire up deposit withdraw modals 2021-04-09 10:27:49 -04:00
Tyler Shipe 10e4fff211 add stats page 2021-04-07 19:06:02 -04:00
Tyler Shipe a0c0768473 add market select dropdown 2021-04-06 18:11:42 -04:00
Tyler Shipe f03f1919a4 add trade form component 2021-04-02 14:26:21 -04:00
Tyler Shipe 37cf5bae14 create next app with trading view form and orderbook 2021-03-30 18:47:08 -04:00
Tyler Shipe f8825bd246 Initial commit from Create Next App 2021-03-26 12:44:55 -04:00