Commit Graph

1470 Commits

Author SHA1 Message Date
rjpeterson 668e068f0a fix price-expect translation 2022-01-07 19:36:48 -06:00
Tyler Shipe 5e7e8065f5 add global alert component 2022-01-07 17:52:16 -05:00
silas 16aff22525
Automated security scanning features (#127)
* Create codeql-scan.yml

Addition of the CodeQL SAST tool

* Create trivy-scan.yml

Scan dependencies on push/PR
2022-01-07 10:51:44 -08:00
Tyler Shipe 7ece053b04 update charts, use y axis domain 2022-01-06 21:35:48 -05:00
Tyler Shipe cdd89c9de2 retry loading mango group and mango account if an error occurs 2022-01-06 16:42:58 -05:00
Nicholas Clarke 15302e3313 Add showAll prop to performance charts 2022-01-05 23:35:50 -08:00
Nicholas Clarke c9e5c9982e Merge remote-tracking branch 'origin/main' into account_equity 2022-01-05 23:24:44 -08:00
Tyler Shipe 2b9d3945b5 add showAll prop to Chart component 2022-01-05 22:58:08 -05:00
saml33 c2f4cd9fc7 add top holders to token info 2022-01-06 13:59:05 +11:00
Nicholas Clarke 4ce7397738 Add PNL to performance tab 2022-01-05 15:58:10 -08:00
tjshipe 4026399449
Merge pull request #125 from blockworks-foundation/ImpossiblePairs-patch-3
Add LUNA Perp Contract Precision
2022-01-05 13:47:39 -05:00
Tyler Shipe d8129aa5fc add default swap chart values 2022-01-04 16:46:38 -05:00
ImpossiblePairs 5de849eec4
Add LUNA Perp Contract Precision
Updated perpContractPrecision for LUNA perp
2022-01-04 13:34:10 -08:00
Tyler Shipe 7e16507288 fix market details useEffect dependency list 2022-01-04 15:56:14 -05:00
Tyler Shipe bb170ebcb3 flip swap chart when usdc and usdt inputs 2022-01-04 14:48:49 -05:00
Nicholas Clarke 3ac97d722b Add english performance translations 2022-01-04 11:17:46 -08:00
saml33 326fb1fc95 new menu label 2022-01-04 15:12:46 +11:00
saml33 9bc00530ef switch rate button 2022-01-04 13:01:08 +11:00
Tyler Shipe e3f4d81e9b add back mono icons 2022-01-03 20:50:12 -05:00
Tyler Shipe 7c70ee15c0 use latest mango client to pull in luna perp 2022-01-03 20:30:51 -05:00
saml33 ca608521b7 fix coingecko rate compare 2022-01-04 11:35:24 +11:00
ImpossiblePairs 0a587edc26
Risk calculator v3 (#79)
* Push risk calculator to branch

* Fixed Enclosing on updatePriceValues

Fixed incorrect enclosing of updatePriceValues

* Clean up and commenting

* Update USDT slider response and asset/liability tabulation

* Update value assignment encapsulation error

* Risk Calculator feedback and bug fixes

* Slider Range updated to 0 - 350%

* Add icons, feedback, open orders toggle

* Remove unnecessary console log

* Update precision and short scenario summary

* Push risk calculator to branch

* Fixed Enclosing on updatePriceValues

Fixed incorrect enclosing of updatePriceValues

* Clean up and commenting

* Update USDT slider response and asset/liability tabulation

* Update value assignment encapsulation error

* Risk Calculator feedback and bug fixes

* Slider Range updated to 0 - 350%

* Add icons, feedback, open orders toggle

* Remove unnecessary console log

* Update precision and short scenario summary

* Add mangoCache check

* use getStaticProps in calculator

* allow loading unowned accounts w/ risk-calculator

* add risk calculator new bubble

* Percent move liquidation no longer relative to slider

Co-authored-by: Tyler Shipe <tjshipe@gmail.com>
Co-authored-by: Maximilian Schneider <mail@maximilianschneider.net>
2022-01-03 16:20:45 -08:00
tjshipe 666641c893
Merge pull request #124 from blockworks-foundation/swap-v2
Swap v2
2022-01-03 12:48:11 -05:00
Tyler Shipe 0573ad86f1 clear output fiels when input is cleared 2022-01-03 12:44:29 -05:00
Tyler Shipe 401a78bbd0 Merge branch 'main' into swap-v2 2022-01-03 12:28:48 -05:00
saml33 2375035cd2 slippage settings modal 2022-01-03 16:05:54 +11:00
saml33 320cd06d76
Account health email alerts (#111)
* create alerts modal

* add translation variables

* translation variables

* handle error states

* add chinese

* limit number of active alerts

Co-authored-by: rjpeterson <r.james.peterson@gmail.com>
Co-authored-by: Maximilian Schneider <mail@maximilianschneider.net>
2022-01-02 20:42:59 -08:00
saml33 9d7ff69500 refresh wallet button 2022-01-03 15:18:31 +11:00
saml33 8b7fff5727 fix conflicts 2022-01-03 12:01:04 +11:00
saml33 a407543558 translations 2022-01-03 11:52:03 +11:00
saml33 aba3118097 tweaks 2022-01-02 23:20:42 +11:00
saml33 f68da5a17b misc fixes 2022-01-01 23:34:46 +11:00
saml33 ba4c9d542a input and output token stats 2022-01-01 14:07:14 +11:00
Tyler Shipe 63adaad55d remove phantom workaround for wallet connection issues in next.js 2021-12-31 11:51:50 -05:00
Tyler Shipe e72447ef28 measure trade page grid after mount 2021-12-31 10:38:42 -05:00
saml33 6e3c852ad0 change chart api data 2021-12-31 23:17:48 +11:00
Maximilian Schneider 7f044ed062 upgrade mango client 2021-12-30 20:53:32 -07:00
Tyler Shipe bf9215562b fix error boundary env var 2021-12-30 21:00:42 -05:00
Tyler Shipe 57f7001694 add swap success notification i18n 2021-12-30 19:39:39 -05:00
saml33 5788bc9e89 price chart 2021-12-30 23:03:14 +11:00
tjshipe cd7320fccc
Merge pull request #118 from rjpeterson/translate-swap
translate swap page
2021-12-29 22:33:32 -05:00
rjpeterson 85cff05e4f update swap translations 2021-12-29 19:37:49 -06:00
rjpeterson 7abb205502 translate swap page 2021-12-29 19:04:55 -06:00
Tyler Shipe 50bd586277 fix scrollbar on swap page 2021-12-29 17:27:36 -05:00
Tyler Shipe 8cfa45c500 add settings modal and route logos 2021-12-29 17:12:43 -05:00
Tyler Shipe 021800f012 allow decimals in swap input 2021-12-29 15:46:26 -05:00
Tyler Shipe 04883b3841 fix error with float values in swap 2021-12-29 15:38:58 -05:00
Tyler Shipe 8b3b55fc8e fix scrollbar on trade page and enable measureBeforeMount on trade grid 2021-12-29 15:03:04 -05:00
Tyler Shipe 1f41c7c826 fix scrollbar 2021-12-29 14:39:58 -05:00
Tyler Shipe 29651a3fb0 settle all should loop through each position 2021-12-29 14:32:41 -05:00