Commit Graph

2104 Commits

Author SHA1 Message Date
saml33 07472248f9 health pie chart 2023-07-07 13:45:32 +10:00
Adrian Brzeziński d69378a960 white list api 2023-07-07 01:12:38 +02:00
Adrian Brzeziński c7dcbc7836 Merge branch 'main' into mango-mints 2023-07-07 00:57:51 +02:00
Adrian Brzeziński b07aa77f1d
fix (#195) 2023-07-06 16:24:07 +02:00
saml33 a34103ee2b fix manual refresh mobile padding 2023-07-06 23:16:19 +10:00
saml33 9b2b84a162 token logo backgrounds 2023-07-06 22:08:10 +10:00
saml33 9b3fd3a454 allow view account charts when no data 2023-07-06 21:00:47 +10:00
saml33 675cc6d274 load oo account for settle candidates 2023-07-06 19:49:16 +10:00
saml33 a3db18d6e1 Merge branch 'main' into depth-chart 2023-07-06 08:35:14 +10:00
saml33 3f59a23377
Merge pull request #192 from blockworks-foundation/account-volume-stats
account volume stats
2023-07-06 08:26:09 +10:00
saml33 866afe27f8
Merge pull request #194 from blockworks-foundation/custom-token-logos
add custom icons
2023-07-06 08:24:59 +10:00
tlrsssss 75fce54638
Merge pull request #191 from blockworks-foundation/positions-stats
add largest positions and closest to liquidation
2023-07-05 12:20:41 -04:00
tlrsssss 77ecc92987
Merge pull request #189 from blockworks-foundation/improve-market-loading
improve market loading on trade page
2023-07-05 12:13:10 -04:00
tlrsssss e444490b81
Merge pull request #190 from blockworks-foundation/preview-entry-price
show avg entry price in perp trade summary
2023-07-05 12:12:32 -04:00
saml33 7f29bcd93f bump client 2023-07-05 15:49:12 +10:00
saml33 ba6799c202 show margin switch on swap form 2023-07-05 15:38:14 +10:00
saml33 462d6210d6 add custom icons 2023-07-05 14:40:47 +10:00
saml33 034ab5071e merge main 2023-07-05 10:13:19 +10:00
saml33 775f2f6ef5 bump client and mobile 2023-07-05 10:05:03 +10:00
Adrian Brzeziński ef1bdd11fe delegated governance tokens warning text 2023-07-04 13:04:41 +02:00
saml33 bbcb50f8fb add volume chart 2023-07-04 13:24:13 +10:00
saml33 24d927e156 merge main 2023-07-04 11:31:07 +10:00
saml33 6f61ec17a1 update endpoints and format data 2023-07-04 11:25:47 +10:00
saml33 fe0e6eee3d fix close perp on mobile and some styling fixes 2023-07-03 23:17:17 +10:00
saml33 a78e222110 move data fetching to store 2023-07-03 22:29:10 +10:00
saml33 aa4958f35a subscribe to orderbook for depth chart 2023-07-03 15:55:25 +10:00
saml33 b577f6fffc fix rpc url from local storage 2023-07-03 12:31:00 +10:00
saml33 89a192041e console.log connection 2023-07-03 12:17:11 +10:00
saml33 3d86ec7ca8 fix rpc settings form styling 2023-07-03 11:57:20 +10:00
saml33 1de717f74c update perp logos 2023-07-03 11:52:51 +10:00
saml33 c7031f9936 fix perp market logos 2023-07-03 11:04:46 +10:00
saml33 6d2c1bccdb fix position side 2023-07-03 10:32:22 +10:00
saml33 c48b72a79d fix tabs 2023-07-03 10:01:10 +10:00
saml33 9891734675 Merge branch 'main' into positions-stats 2023-07-03 09:56:14 +10:00
saml33 b62b414f53 add largest positions/closest to liquidation tables 2023-07-03 09:55:06 +10:00
saml33 7afcfb897b change to limit order on book price click 2023-07-01 20:28:31 +10:00
saml33 239cb1990b update trade side display in tables 2023-07-01 20:07:15 +10:00
Adrian Brzeziński 157119eea8 fix marking notifications as seen 2023-06-30 22:59:09 +02:00
Adrian Brzeziński 80050824ea small seen msgs request impro 2023-06-30 14:38:38 +02:00
saml33 1d6c5da71b show avg entry price in perp trade summary 2023-06-30 21:14:35 +10:00
saml33 50e40aee90 hide avg entry price on trade summary. calc not correct 2023-06-30 14:37:01 +10:00
saml33 fe7293dd45 improve market loading 2023-06-30 14:00:28 +10:00
saml33 03fdc2ae10 render basic chart to component 2023-06-30 13:05:41 +10:00
saml33 cd98c98e23 add avg entry price to perp trade summary 2023-06-29 21:38:32 +10:00
saml33 dca1a78073 create perp stats overview component 2023-06-29 20:15:30 +10:00
saml33 bee6b7449b add lifetime trade volume to account page 2023-06-29 14:23:49 +10:00
saml33 3c9b894841 align trade side ui to perp positions 2023-06-29 11:04:53 +10:00
Adrian Brzeziński b001df20b8 fix latest blockhash in governance feature 2023-06-29 02:25:21 +02:00
saml33 38a34fb732 merge main 2023-06-29 10:10:31 +10:00
Adrian Brzeziński d60ac284c9 small list market fix 2023-06-29 02:08:19 +02:00
Adrian Brzeziński e5273f9620
Delegate swap (#186)
* allow swap button for delegate

* restrict routes to jupiter only when using delegate

* fix

---------

Co-authored-by: saml33 <slam.uke@gmail.com>
2023-06-28 19:19:02 +02:00
Adrian Brzeziński 7d87d69ed4
fix refresh of voting power to fresh governance account (#188) 2023-06-28 18:44:20 +02:00
saml33 f31f099cc1 fix roe calc 2023-06-28 21:35:42 +10:00
saml33 830a7cfed7 fix label 2023-06-28 21:17:43 +10:00
saml33 82b8457f69 merge main 2023-06-28 20:53:53 +10:00
saml33 2c4a1cf772 fix ROE and update client 2023-06-28 20:50:27 +10:00
saml33 d5b9537341 copy update 2023-06-28 13:48:25 +10:00
saml33 febb6a7ad3 calc liq price outside of the positions table 2023-06-28 12:10:47 +10:00
tjs 11af68b30c fix env name 2023-06-27 19:56:09 -04:00
tjs f603c139fb use correct env var 2023-06-27 19:49:36 -04:00
tjs 2cdafd7c08 add dedicated node rpc setting 2023-06-27 19:30:50 -04:00
Riordan Panayides c12dad59e4 Fix token page links for mixed case symbols 2023-06-27 16:00:48 +01:00
saml33 b76df3c87c new layout and add liq price 2023-06-27 12:43:15 +10:00
tjs ce13f685a3 Merge branch 'main' into trade-hot-keys 2023-06-26 12:58:10 -04:00
tjs 789a38acb3 update rpc urls 2023-06-26 12:29:11 -04:00
Adrian Brzeziński b223bd0b04
propose token stats change depending on liqudity (#178)
* formmated values of bank on dashboard

* suggested values parse

* fix

* suggested values ui

* create proposal wip

* create proposal

* listing tools

* fix

* propose state change
2023-06-26 14:48:37 +02:00
saml33 c296946f30 convert trigger key to lower case 2023-06-26 11:14:28 +10:00
saml33 743fbb3c40 limit number of keys per user to 20 2023-06-26 11:11:31 +10:00
saml33 4e56e3db07 disallow hot keys already in use 2023-06-26 11:02:52 +10:00
saml33 adac0ada69 update description 2023-06-24 23:06:19 +10:00
saml33 a8fd16eb29 errors and translations 2023-06-24 22:44:15 +10:00
saml33 5144b4db12 fix eth filter in activity feed 2023-06-23 20:57:53 +10:00
saml33 6337b696e7 form validation 2023-06-23 13:37:34 +10:00
saml33 1450bfa6ef remove health tooltip scenario when no mango account 2023-06-23 10:42:51 +10:00
saml33 737a01a815
Merge pull request #181 from blockworks-foundation/show-unrealized-pnl
use unrealized as primary value for perp pnl
2023-06-23 10:16:36 +10:00
saml33 f91ae8a032
Merge pull request #180 from blockworks-foundation/withdraw-buffer
add buffer when withdrawing with open positions
2023-06-23 10:15:40 +10:00
Riordan Panayides c11025a227 Fix spot orderbook update filtering 2023-06-22 19:29:40 +01:00
saml33 a52c29f1d2 use scaled value for init asset/liab weight 2023-06-22 22:02:09 +10:00
saml33 daaa1fcfeb use unrealized as primary value for perp pnl 2023-06-22 21:17:35 +10:00
saml33 c40ead15d5 fix interest values 2023-06-22 19:48:09 +10:00
saml33 a33fdcea62 add buffer when withdrawing with open positions 2023-06-22 12:58:47 +10:00
saml33 8ed973a063 place order on hot key 2023-06-22 10:48:15 +10:00
microwavedcola1 dd7716d99a upgrade to latest mango-v4 client
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-06-21 15:30:45 +02:00
Lou-Kamades 64ea624972
Merge pull request #177 from blockworks-foundation/lou/update-funding-convention
Update funding sign to match smart contract
2023-06-20 22:44:44 -05:00
saml33 53a5b4e619 do not close menu on favorite click 2023-06-21 09:40:51 +10:00
saml33 9976698c67 default market dropdown category to selected market type 2023-06-21 09:30:31 +10:00
saml33 0a122c0f79 hot keys modal form 2023-06-21 09:16:58 +10:00
Lou-Kamades 969f78dc16
update funding sign to match smart contract 2023-06-20 09:41:01 -05:00
saml33 f7d77a353a handle not connected 2023-06-19 22:41:51 +10:00
saml33 0d85a6ff12 filter markets dropdown 2023-06-19 15:44:41 +10:00
saml33 51791de4bb wire up api endpoints 2023-06-19 13:47:25 +10:00
Riordan Panayides 3e5b91fb96 Fix perp sorting 2023-06-17 10:55:34 +01:00
saml33 a89a042e57 add input/output notional value to swap form 2023-06-16 14:08:45 +10:00
saml33 3db404d790 add max-width to market name input 2023-06-16 12:33:30 +10:00
saml33 bba4c7208b add market name conventions to list form 2023-06-16 12:28:19 +10:00
saml33 0941f431e5 fix refresh on account page 2023-06-16 09:27:49 +10:00
saml33 4f12c9e9cf fix leading period on trade form 2023-06-15 22:32:40 +10:00
saml33 2e3a0e8a2e fix order value 2023-06-15 22:18:44 +10:00
saml33 78f2544ffe fix spot price quote token display 2023-06-15 21:24:54 +10:00
saml33 2a9d74de15
Merge pull request #169 from blockworks-foundation/manual-refresh
add manual refresh button
2023-06-15 20:56:53 +10:00
saml33 2e4852e965 use soon badge on perp stats page 2023-06-15 10:49:16 +10:00
riordanp b5f6bba803
Disable trading for markets where oracle was never active (#171) 2023-06-15 00:02:40 +01:00
riordanp a229d55ed6
Add soon label to perp markets where oracle was never active (#170) 2023-06-14 18:19:39 +01:00
saml33 de567bf3e0 update image 2023-06-14 14:17:23 +10:00
saml33 e2af69ec3f only expand sidebar if breakpoint >= xl 2023-06-14 12:19:09 +10:00
saml33 5f90821a22 add manual refresh button 2023-06-14 11:12:28 +10:00
saml33 aa3b2f8adf add leaderboard view 2023-06-13 22:52:58 +10:00
saml33 0fa3271c55 add missing image properties 2023-06-13 15:53:00 +10:00
saml33 59fd4334d1 add promo banner 2023-06-13 15:33:15 +10:00
saml33 0b650e8a5e rewards tier icons 2023-06-13 14:41:59 +10:00
saml33 4faa2afc1a add how it works modal 2023-06-13 13:01:01 +10:00
saml33 96f6dfeb93 add win/loss modals 2023-06-11 22:39:48 +10:00
saml33 29a5ca8563 start claim ui 2023-06-09 22:35:36 +10:00
saml33 fc9b64bf66 add layout and some placeholders 2023-06-09 15:43:54 +10:00
saml33 1492c1b138 allow stats tabs to scroll on mobile 2023-06-09 09:59:11 +10:00
Adrian Brzeziński 0b0f5970ab
add untursted tier + small refactor (#166)
* untursted tier

* small refactor

* fix
2023-06-08 11:14:46 +02:00
saml33 59261f95e1 fix tooltip fonts 2023-06-08 15:37:13 +10:00
saml33 6540396c74 fix modals 2023-06-08 12:30:56 +10:00
Adrian Brzeziński 655662bf05
token listing presets (#163)
* wip create oracle

* wip

* wip

* wi[

* switchboard oracle wip

* switchboard oracle

* switchboard authority

* deduplicate

* fix cfg

* listing presets

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* small fixes

* fix insurance found prop

* more param fixes

* more sol funding to switchboard oracle

* oracle lock fix

* adjust oracle settings

* adjust params
2023-06-07 00:54:44 +02:00
saml33 4e0239e366 fix sidenav animation duration 2023-06-06 22:47:42 +10:00
saml33 38b04561e1 use pnl from mangoaccount.getpnl 2023-06-06 15:29:04 +10:00
saml33 527fb69801 fix spot market price chart gradient 2023-06-06 14:00:22 +10:00
saml33 258131aa5c sort perp positions by notional value 2023-06-06 09:59:45 +10:00
Adrian Brzeziński 79b6fd6cc7
create switchboard oracle from ui (#162)
* wip create oracle

* wip

* wip

* wi[

* switchboard oracle wip

* switchboard oracle

* switchboard authority

* deduplicate

* fix cfg
2023-06-05 17:29:04 +02:00
tlrsssss d8b66e390e
Merge pull request #165 from blockworks-foundation/perp-volume-chart
add volume chart to perp stats
2023-06-05 11:21:40 -04:00
saml33 48ffc844e9 only show funding chart button when funding exists for account 2023-06-05 21:25:42 +10:00
saml33 0f0a7c937b calc volume from cumulative 2023-06-05 21:06:37 +10:00
saml33 7ec3fa02f0 Merge branch 'main' into perp-volume-chart 2023-06-05 11:14:19 +10:00
saml33 96f4af9288 add volume to perp stats overview table 2023-06-05 11:12:54 +10:00
saml33 53159a372b add perp volume to trade page 2023-06-05 11:06:03 +10:00
saml33 6dfca6c781 improve select option hover style 2023-06-05 10:51:49 +10:00
saml33 1a6e1d5b6d fix perp position table tize click 2023-06-05 10:19:19 +10:00
saml33 ab62e89893 show if margin is enabled/disabled on swap form 2023-06-02 10:55:24 +10:00
saml33 6d04ac7378 comment out perp volume 2023-06-01 13:07:34 +10:00
saml33 1be8cd7cd7 add perp volume chart 2023-06-01 13:03:56 +10:00
saml33 a8e590514b add volume to perp stats table 2023-06-01 11:50:00 +10:00
saml33 aaa4c04adc add perp volume to trade header 2023-06-01 10:17:31 +10:00
saml33 29070b1fa4 add spot market volume to stats 2023-05-31 22:15:50 +10:00
saml33 5d20993914 fix medal icons on light themes 2023-05-31 15:13:41 +10:00
saml33 6bf3714e80
Merge pull request #159 from blockworks-foundation/24h-spot-volume
add spot market volume to trade header
2023-05-31 11:00:36 +10:00
saml33 fe5379f60a add spot market volume to trade header 2023-05-31 10:05:02 +10:00
saml33 557e79566d fix account action buttons on mobile 2023-05-30 15:49:26 +10:00
saml33 e062212347 connection lost mobile 2023-05-30 15:30:34 +10:00
saml33 0fbe2c7871 deposit/withdraw button on mobile 2023-05-30 15:21:31 +10:00
saml33 657f88241f align back button styles 2023-05-30 13:48:43 +10:00
saml33 571c372054 remove oracle link for usdc 2023-05-30 13:35:19 +10:00
saml33 ba08b0ffe1 clean up listing success 2023-05-30 13:20:37 +10:00
saml33 05d853e9af add connect wallet empty state to list page 2023-05-30 10:24:02 +10:00
tlrsssss ae5b3f1c87
Merge pull request #156 from blockworks-foundation/feature/list-market
WIP: List market
2023-05-29 20:01:28 -04:00
Adrian Brzeziński 570ab5c9c2 fix 2023-05-29 20:51:01 +02:00