Commit Graph

43 Commits

Author SHA1 Message Date
saml33 ebf9bddfc9 remove formatfixeddecimals 2023-01-25 11:54:24 +11:00
saml33 0f99619e2c remove show/hide account values 2023-01-24 09:52:59 +11:00
saml33 c27fe43835 add ability to show/hide account value and pnl 2023-01-23 11:34:52 +11:00
saml33 c499a0b514 add leverage and pnl to account summary 2023-01-23 10:54:47 +11:00
saml33 da78529b2e more rounding fixes 2023-01-06 21:32:54 +11:00
saml33 13cdf408ef combine deposit and withdraw to single modal 2022-12-17 23:37:00 +11:00
tjs e55619237a remove acct leverage until we have a better calculation 2022-12-13 12:38:59 -05:00
tjs 372fe381d1 fix trade form; more eslint refactor 2022-11-20 18:35:59 -05:00
tjs 5727d0bc7f add a useMangoAccount hook 2022-11-18 12:09:39 -05:00
saml33 555f5625eb fix leverage display on account summary 2022-10-26 14:11:31 +11:00
microwavedcola1 72e4808141 match mango-v4 dev branch
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-10-07 14:27:42 +02:00
tjs ebd0bc796c nvm 2022-10-06 22:10:15 -04:00
tjs 9f073e6b87 update acct leverage to match ftx calc 2022-10-06 21:08:08 -04:00
saml33 9f7518ffed align pop over bg colors 2022-10-06 11:04:16 +11:00
saml33 706de963af add max amount button component 2022-10-06 10:03:10 +11:00
saml33 dbcad96f70 add leverage and total collateral to account page 2022-10-05 15:47:50 +11:00
tjs 7a5c635e25 update tooltip 2022-10-04 23:31:21 -04:00
tjs cc2d32eced add leverage to account summary 2022-10-04 23:30:19 -04:00
tjs d3d803daca add total collateral 2022-10-04 22:45:06 -04: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
saml33 bd6a0e8ced use thin scroll on fund account 2022-09-13 16:21:19 +10:00
tjs c2f1f02829 use alias imports 2022-09-12 12:04:20 -04:00
tjs d4cc454824 move mangoAccount state dep from sidenav into account summary component 2022-09-12 11:30:47 -04:00
saml33 89704f18d5 add icons to buttons 2022-09-08 10:47:59 +10:00
saml33 3ccde1bd02 fix account summary layout 2022-09-07 22:00:21 +10:00
tjs 43b1febc1a update client and handle undefined health values 2022-08-31 16:17:17 -04:00
tjs 647454dc50 remove liquidation from health label 2022-08-25 18:03:38 -04:00
tjs 0d23ceaa7a remove withdraw health in favor of free collateral 2022-08-24 18:22:04 -04:00
tjs cd2ad18ade update health labels 2022-08-24 11:58:01 -04:00
tjs f3f47a102e add init health to account summary box 2022-08-23 14:13:30 -04:00
tjs bea7dee84c move constants out of mangoStore.ts 2022-08-20 14:17:57 -04:00
tjs cade8d7872 latest client; fix health ratio in summary panel 2022-08-20 14:05:00 -04:00
tjs 5feb27c408 fix health after swap 2022-08-20 02:25:50 -04:00
tjs 6ead35fd8a wire up borrow modal; use maint health 2022-08-15 18:18:23 -04: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
saml33 4bcf4dee72 add other account details to portfolio 2022-08-03 22:13:40 +10:00
saml33 96fa045564 add account summary 2022-08-03 12:15:17 +10:00
saml33 7c49882fcc more onboarding and load mango account 2022-07-28 16:35:18 +10:00
saml33 1ba4e0156d use popover for account summary 2022-07-26 21:15:07 +10:00
saml33 97300d9a92 misc styling, organizing components 2022-07-15 21:09:23 +10:00
saml33 12e7b48275 add portfolio header 2022-07-15 15:20:20 +10:00