Commit Graph

3703 Commits

Author SHA1 Message Date
saml33 1d41d4ef7f add init health zero errors 2022-08-26 13:46:23 +10:00
tjs fdb6ae16ea Reload mango account on interval 2022-08-25 23:31:39 -04:00
tjs f19d02e992 fix max swap decimals 2022-08-25 20:39:17 -04:00
saml33 b70394263c move error messages into buttons 2022-08-26 10:27:05 +10:00
tjs 647454dc50 remove liquidation from health label 2022-08-25 18:03:38 -04:00
tjs 297b945a23 truncate decimals on max swap 2022-08-25 18:03:28 -04:00
tjs 8f39fb2272 smoother onboarding 2022-08-25 17:30:32 -04:00
tjs 1d5e9416d1 0.0% coingecko difference should be green 2022-08-25 17:24:10 -04:00
tjs 5108dafdfb add coingecko price comparison and borrow amount to route info 2022-08-25 16:24:37 -04:00
tjs eefa1ad718 animate health impact 2022-08-25 15:44:02 -04:00
tjshipe 0aaaafeb6c
Merge pull request #6 from blockworks-foundation/swap-health-impact
move health impact to swap form
2022-08-25 14:34:18 -04:00
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