Commit Graph

430 Commits

Author SHA1 Message Date
Maximilian Schneider 12b69398d2 make bids & asks invariant between perp & spot, also reenable trade form 2021-06-17 18:37:03 -04:00
Maximilian Schneider 4d3dae3b1a load order books both from perp & spot 2021-06-17 17:07:10 -04:00
Maximilian Schneider 2307246dd0 fix deposit modal rendering 2021-06-17 14:42:39 -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
saml33 90cbbf8531 fix data passed to borrow chart 2021-06-17 20:14:11 +10:00
Maximilian Schneider 8aed0f0840 expose market config in store and switch between spot & perp 2021-06-17 01:38:49 -04:00
saml33 2d7783ba98 Merge branch 'stats-page' of github.com:blockworks-foundation/mango-ui-v2 into stats-page 2021-06-17 14:26:08 +10:00
saml33 5a30a1314b use current price if no match from prices api 2021-06-17 14:19:35 +10:00
Tyler Shipe 4ef75d0b39 add root banks key to useMangoStore 2021-06-16 21:55:46 -04:00
Tyler Shipe cb331fb2c7 comment out stuff in the ui so it works 2021-06-16 21:50:16 -04:00
Maximilian Schneider 6c4507cfc6 fix lint errors 2021-06-16 12:17:51 -04:00
Maximilian Schneider d31eb4b119 Merge remote-tracking branch 'origin/main' into stats-page 2021-06-16 12:07:13 -04:00
Maximilian Schneider bfebd8a900 fix babelrc to handle logical assignment ops 2021-06-16 12:05:03 -04:00
Tyler 02183890ef
Merge pull request #34 from blockworks-foundation/dd/place_settle_fix
only send pre-settle instructon if open orders account already exists
2021-06-16 10:24:19 -04:00
dd 1087750421 only send pre-settle instructon if open orders account already exists 2021-06-16 10:23:01 -04:00
Tyler 3bd8343f3d
Merge pull request #32 from blockworks-foundation/dd/improve_place_settle
Added a settle instruction before place and settle to reduce compute …
2021-06-15 15:31:43 -04:00
dd 5b66381805 Added a settle instruction before place and settle to reduce compute by 30k 2021-06-15 15:29:10 -04:00
saml33 107d9cb883 use historic prices for total deposits/borrows 2021-06-15 20:24:40 +10:00
Maximilian Schneider 3dbbe87ded
fix data issues when switching markets (#31) 2021-06-12 22:03:05 -04:00
Maximilian Schneider 3b66cf9090
fix volume sometimes null (#30) 2021-06-12 20:04:13 -04:00
Tyler Shipe 3c65fc267e fix bug showing fee rebate in wrong balances col 2021-06-12 17:55:27 -04:00
Tyler Shipe 69bb0e02d3 add back US to countries list 2021-06-12 17:26:56 -04:00
Tyler Shipe 8171b25167 use latest mango-client version 2.1 2021-06-12 17:17:59 -04:00
Tyler Shipe 2f5f489bd2 Merge branch 'development' into main 2021-06-12 17:10:05 -04:00
Tyler Shipe 82678a3447 fix net balances 2021-06-12 16:57:09 -04:00
dd c3fedf9f80 fixed placeAndSettle to round properly 2021-06-12 15:49:04 -04:00
Tyler Shipe 09df840c6a use correct quote net balance 2021-06-12 15:23:15 -04:00
Tyler Shipe 48374fa3fb update devnet ws url 2021-06-12 15:10:56 -04:00
Tyler Shipe f6101964f2 clean up quote balance logic 2021-06-12 14:04:30 -04:00
Tyler Shipe 4476a2254e rebate gui hoster fees to users 2021-06-12 13:46:06 -04:00
saml33 e14350e624
disable 0 bal assets for deposits and fix withdraw validations (#25) 2021-06-11 14:23:51 -04:00
Tyler Shipe 147c702f3e update devnet url 2021-06-11 10:42:08 -04:00
saml33 e5dc75456e round large numbers 2021-06-11 23:39:44 +10:00
saml33 0ec22513d6 reduce icon size to match trade page 2021-06-11 19:54:49 +10:00
saml33 c1638183db merge main 2021-06-11 11:12:35 +10:00
saml33 c69045f652 responsive and bar chart 2021-06-11 11:07:32 +10:00
Tyler 32346a75c0
Merge pull request #27 from ImpossiblePairs/trade-form-ui-bugs
Updated TradeForm.tsx UI Bugs
2021-06-10 19:42:17 -04:00
Tyler Shipe 821c24fa45 add additional blocked countries 2021-06-10 11:18:13 -04:00
saml33 a3d74a5488 total deposit/borrow value charts, new chart styles 2021-06-11 00:09:25 +10:00
ImpossiblePairs 2f066cb92c
Updated TradeForm.tsx UI Bugs
Added handling of USDT orders below minimum size (e.g. $1), removed ability to execute trades at half minimum order size due to rounding, and allowing user input leading with numerical input that is not strictly a number (e.g. decimal point).
2021-06-09 15:30:53 -07:00
Tyler b3f5d132e6
Merge pull request #26 from blockworks-foundation/max/bump-npm
bump mango-client to 2.0.0 for consistency
2021-06-09 14:44:58 -04:00
Tyler Shipe 956664b91f show accounts in select when length is greater than two 2021-06-09 12:28:33 -04:00
Maximilian Schneider d4560af064 bump mango-client to 2.0.0 for consistency 2021-06-09 12:01:34 -04:00
Tyler Shipe f3a86a5a0c combine quote currency balances now that we're showing all markets 2021-06-09 11:52:32 -04:00
Tyler Shipe e68211a56b adding settle all button temporarily to test issue in ui 2021-06-08 18:49:53 -04:00
Tyler Shipe 15bb7c56d1 fix link 2021-06-08 11:04:56 -04:00
Tyler Shipe 1afe59e4e0 update modal with sol srm info 2021-06-08 10:59:39 -04:00
Tyler Shipe 9e16290300 fix NaN on account change modal 2021-06-07 19:33:59 -04:00
Tyler Shipe 31dc68d120 add back fee discounts table 2021-06-07 18:06:00 -04:00