Commit Graph

222 Commits

Author SHA1 Message Date
Maximilian Schneider 0fc6783bc2 switch to npm package instead of git clone for mango client 2021-12-26 06:24:14 -07:00
dd 9e4ad312f7 upgrade mango-client to support optimized settlePnl and reduce retry interval to 15s; implement more optimized settlePnl 2021-12-25 12:23:04 -05:00
Tyler Shipe c503b21f0a upgrade jup ag npm pkg 2021-12-22 19:39:57 -05:00
Tyler Shipe 9b37735e3b remove spl-token-registry package and use jup-ag token list
downgrade eslint

more eslint downgrade

remove swap page as a test

add back swap form

moar tests

try

add back jup form

remove unused import
2021-12-18 16:06:54 -05:00
Tyler Shipe 0f13c748e4 add jupiter ag swap 2021-12-17 16:02:02 -05:00
Tyler Shipe 8bb6cdcae1 use latest mango client for BNB and AVAX markets 2021-12-13 18:00:18 -05:00
Tyler Shipe 800448220d add avax 2021-12-13 16:53:50 -05:00
Tyler Shipe 483c0b5fb9 use latest mango client 2021-12-13 16:03:26 -05:00
saml33 8acb039630
Merge pull request #100 from Mango-Heroes/export-csv
Export History, Funding, and Interest data to CSV file
2021-12-08 10:01:09 +11:00
Tyler Shipe 23e8fd23a4 display tx id in timeout errors 2021-12-06 01:48:20 -05:00
Tyler Shipe 78a45ebe96 use latest mango-client 2021-12-05 12:11:37 -05:00
Tyler Shipe a2dc7812a4 use latest mango-client 2021-12-04 13:08:03 -05:00
Tyler Shipe 5604423709 add loading spinner when claiming mngo rewards 2021-12-03 18:33:28 -05:00
Tyler Shipe 3ce0e1580e use latest mango client 2021-12-03 17:36:34 -05:00
Tyler Shipe a80f03247f use latest mango-client 2021-12-03 13:01:09 -05:00
tjshipe 8f380933bb
Revert "Mango Heroes NFT Integration" 2021-12-03 11:03:51 -05:00
tjshipe 0aa16f0a8d
Merge pull request #75 from Mango-Heroes/mango_heroes
Mango Heroes NFT Integration
2021-12-03 11:03:44 -05:00
Yandre 40e7c2875c Added code to export data to CSV file 2021-12-02 19:37:20 -05:00
Tyler Shipe 3c4b4c1132 use latest mango-client 2021-12-02 18:41:21 -05:00
Yandre 43776f6f03 Pulled latest code from main 2021-12-02 17:14:14 -05:00
Tyler Shipe b9c8dd09d5 use lodash instead of lodash-es 2021-11-30 21:46:23 -05:00
Tyler Shipe 4eb7cd3934 forceReload components when mango account is updated in store 2021-11-30 12:32:14 -05:00
saml33 d102a1d3d7 add spanish translations 2021-11-24 10:08:14 +11:00
Riordan Panayides 2f6ceef7a9 Revert UK IP block 2021-11-23 13:36:48 +00:00
dd a480ee166f fixed issue in mSOL not being able to settle 2021-11-20 10:25:14 -05:00
Tyler Shipe a717a4c88c add msol 2021-11-19 20:15:32 +00:00
Tyler Shipe 45c4f20bd7 use latest client; error msg when depositing all sol; pointer cursor on orderbook 2021-11-18 16:49:48 +00:00
Tyler Shipe 6ed230d900 add deposit and withdraw history to account page 2021-11-17 15:51:17 +00:00
Riordan Panayides 17db321b6c Upgrade client 2021-11-14 21:50:54 +00:00
Yandre 4956e28e9a Refactored the code 2021-11-11 11:51:54 -05:00
Maximilian Schneider 87356b449f update yarn lock 2021-11-06 01:03:10 +00:00
Maximilian Schneider 328fd828b8 use event history api candles 2021-11-05 13:49:51 +00:00
saml33 f3ea08c1c1 merge main 2021-11-04 20:17:39 +11:00
Tyler Shipe f49f1cb0d0 update to latest mango client to get new markets 2021-11-01 15:24:27 -04:00
Tyler Shipe eebec54d2e use latest mango client 2021-10-29 14:44:41 -04:00
saml33 b8d34934d9 setup introjs tour 2021-10-29 23:05:55 +11:00
Tyler Shipe fc1665444f upgrade to next12, remove babel, remove emotionjs, convert emotion styles to inline 2021-10-27 16:46:31 -04:00
Tyler Shipe eecf9a919d move useOrderbook login into useHydrateStore to reduce rerenders 2021-10-21 15:45:13 -04:00
rjpeterson bf679598bb
Add next-i18next translation framework & Traditional and Simplified Chinese UI Translations (#54)
* start english localization

* fix typo

* add to english localization

* add some zh translations, fix discrepencies in en

* add more chinese translations

* finish trad chinese translations

* add simplified folder, add locales.json with meta info, add latest ui updates in english

* add latest ui changes for chinese-trad and sort

* fix typo

* convert trad to simp

* Update common.json

* add review changes by @HZ2078

* fix typos

* add latest ui changes

* new ui change & trad-simp convert

* delete monospace from locales.json

* add next-i18next translation framework. Add translations up to #103

* replace more html with traslate tags

* lint & add more phrases

* add missing translations

* add language select dropdown

* add new update transltations

* add latest gui update translations

* add useTranslation to lang switch

* sort common.json, add lang descriptions

* update netlify config to support i18n

* make translations more consistent

Co-authored-by: Hz2078 <92381714+HZ2078@users.noreply.github.com>
Co-authored-by: Tyler Shipe <tjshipe@gmail.com>
2021-10-20 13:42:40 +01:00
Tyler Shipe e049456edd MSRM deposit and withdraw 2021-10-18 16:38:03 -04:00
Tyler Shipe 91427ee809 use latest client 2021-10-12 16:20:55 -04:00
dd 5cda732cc0 upgraded mango client with more fixes 2021-10-10 11:30:06 -07:00
dd f3fbb1af6b changed mango client package to v3.1 after place spot order2 fix 2021-10-10 11:06:57 -07:00
Tyler Shipe 9cb4ccf519 use new placePerpOrder market order type when closing pos 2021-10-05 17:01:44 -07:00
Maximilian Schneider 93abdab9f6 Merge remote-tracking branch 'origin/main' into max/stoploss 2021-10-05 23:02:01 +02:00
Maximilian Schneider 97bb02e593
show unsettled pnl (#46)
* display unsettled pnl more dominantly (#43)

* display perp markets that have unsettled pnl

* fix dependencies to a working version

* add back unrealized pnl vs unsettled pnl

* add todo

* settle all

* cleanup

* catch error

* fix crash in market position & refactor

* bugfixes

* correct unrealized pnl
* remove unsetlled pnl from table
* only show unsettled balances after closing position
2021-10-05 22:22:47 +02:00
Tyler Shipe 7e2d6053fc use latest client to support reduceOnly flag in placePerpTriggerOrder 2021-10-01 16:51:24 -04:00
Tyler Shipe 052de958f2 consistent padding; use latest from client branch 2021-10-01 13:21:17 -04:00
Tyler Shipe 9118dbf010 fix trade form button colors; use latest client to handle when no advanced orders exist 2021-09-29 16:47:10 -04:00
Tyler Shipe f2667e3346 use latest client 2021-09-29 13:10:16 -04:00