Commit Graph

2492 Commits

Author SHA1 Message Date
tjs 8109dd2f9c allow skipping creating an account
leverage slider will work after disconnecting
2022-08-25 14:22:54 -04:00
saml33 9916747e0d move health impact to swap form 2022-08-25 23:00:42 +10:00
saml33 6bc9b28c9e fix review trade back button clickable area 2022-08-25 21:15:21 +10:00
saml33 6bbbb3c676 center review trade heading text 2022-08-25 20:52:44 +10:00
saml33 600ef0125f re-name portfolio to account 2022-08-25 20:47:34 +10:00
saml33 eeda961a9f reset borrow/withdraw amount on token change 2022-08-25 20:35:56 +10:00
saml33 f412b8bee8 reset deposit amount on token change 2022-08-25 20:32:06 +10:00
saml33 969d747a8d set button group to 100 when hitting max 2022-08-25 20:29:49 +10:00
saml33 9a84e0d722 add total deposit/borrow value to stats 2022-08-25 13:55:55 +10:00
tjs 624997dcaf reload new selected acct after closing an acct 2022-08-24 23:28:01 -04:00
saml33 643e3287ed add missing $ sign 2022-08-25 12:59:38 +10:00
saml33 8950504e56 show error when deposit amount > wallet balance 2022-08-25 12:58:31 +10:00
tjs a4aba34ebb cleanup swap max 2022-08-24 22:47:02 -04:00
tjs c6237e587f add temp deposit limit warning 2022-08-24 22:47:02 -04:00
saml33 1babb59be0 add more info to deposit modal 2022-08-25 10:53:31 +10:00
saml33 9ca67ed52c trade history decimals 2022-08-25 10:14:27 +10: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
microwavedcola1 2274596350 format
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-08-24 17:40:21 +02:00
saml33 49957c70e3 change withdraw amount button text 2022-08-24 22:39:15 +10:00
saml33 bb8769617b fix chart load height 2022-08-24 22:32:01 +10:00
saml33 d56dc3a06a show error when withdraw amount > account balance 2022-08-24 22:29:20 +10:00
saml33 c072c6b0db move account switcher to right side 2022-08-24 21:30:10 +10:00
saml33 4836d21e46 show error when no margin and swap amount > token max 2022-08-24 20:51:06 +10:00
tjs 270a319ab0 add tooltip to asset weight 2022-08-23 20:45:01 -04:00
tjs c48b9f8a95 fix withdraw modal max amount to limit to vault amount 2022-08-23 20:44:43 -04:00
tjs 7300b5eb4b ltv doesnt work, show asset liab weights 2022-08-23 19:49:36 -04:00
tjs a4d1fa797a fix utilization 2022-08-23 18:36:56 -04:00
tjs 39be3f741d add stats page 2022-08-23 18:33:09 -04:00
tjs 7506ee34fe show maint health and init health everywhere 2022-08-23 15:32:51 -04:00
tjs f3f47a102e add init health to account summary box 2022-08-23 14:13:30 -04:00
microwavedcola1 bc3101e90b match latest changes to client
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-08-23 16:24:47 +02:00
microwavedcola1 e1c814997a Fix
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-08-23 15:26:47 +02:00
saml33 daa87d033c fix double minus sign 2022-08-23 22:47:52 +10:00
saml33 f888f0211f set trade size button to 100 when clicking max 2022-08-23 22:41:37 +10:00
microwavedcola1 331300e865 upgrade dependency
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-08-23 13:49:35 +02:00
microwavedcola1 28f652a163
match client changes on mc/ts-client-fixes (#5)
* match client changes on mc/ts-client-fixes

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>

* fix commit hash for dependency

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-08-23 13:45:56 +02:00
saml33 83fe7c998b fix buy input load height 2022-08-23 21:13:17 +10:00
saml33 46d0d75826 format portfolio usd values 2022-08-23 21:03:15 +10:00
saml33 8455bc5fe8 use ETH chart for soETH 2022-08-23 20:55:22 +10:00
tjs 55912dec03 if max withdraw amount is negative use 0 2022-08-22 23:27:06 -04:00
tjs 2ec3bab9ea remove leverage number from swap 2022-08-22 22:26:59 -04:00
tjs 5bde89ee81 sort deposit withdraw tokens by usdc value 2022-08-22 22:23:26 -04:00
tjs dc966975df fix loading after closing a mango account 2022-08-22 21:47:08 -04:00
tjs 2ce386106e show sign next to health impact change 2022-08-22 14:01:06 -04:00
tjs d63bd38542 improvements to setup modal flow 2022-08-22 13:27:03 -04:00
tjs aa5ce47ef5 use tailwind breakpoints instead of isMobile variable 2022-08-22 13:19:09 -04:00
tjs 8011f4ff8e fix buy/sell links in actions menu 2022-08-21 00:08:07 -04:00
tjs c0341773e7 fix onboarding flow 2022-08-20 22:57:07 -04:00
tjs 501510eb43 fix max numbers shown in modals and swap form 2022-08-20 20:09:36 -04:00