Commit Graph

379 Commits

Author SHA1 Message Date
tlrsssss 66a5a2e5ea
Merge pull request #128 from blockworks-foundation/feature/resolve-proposal-description
resolve descriptions for proposals
2023-04-19 12:05:44 -04:00
tlrsssss 94329f4d89
Merge pull request #124 from blockworks-foundation/foramt-swap-token-symbols
format swap token symbols
2023-04-18 18:07:13 -04:00
Adrian Brzeziński fbf91eab28 resolve descriptions for proposals 2023-04-18 22:18:03 +02:00
saml33 821cc56328 format swap token symbols 2023-04-17 11:04:13 +10:00
Adrian Brzeziński 3e0f66f063 fix spl token class import for gov 2023-04-14 21:13:10 +02:00
Adrian Brzeziński 453b62fdd7
governance active proposal voting (#117)
* governance wip

* governance store + helpers wip

* get voter weight

* on boarding realms component

* token list wip

* pyth oracle get

* adv fields

* hidden adv fields

* create proposal fcn + mangolana

* register market wip

* list market fixes wip

* translations

* register to register trustless + layout changes

* fix layout

* match switchboard oracle

* loaders

* validation

* style components

* change icon

* copy update

* translations keys

* fix translation

* fix warning create open book market

* fix

* fix transaltion

* fix

* fix

* fix pr

* fix onboarding translation

* fix token owner record error in console

* remove axios

* generic vsr idl

* fix pr

* remove mangolana

* small folder ref

* voting wip

* code fix

* menu

* fix

* additional prop in onboarding component

* fix translation

* fix transaltion

* voting fixes

* add basic styling

* fix merge

* fix files

* fix

* fix loaders

* fix

* fix loading voteRecord

* fix voter state without wallet

* fix

* translations

* fix translation

* dynamic imports

* copy updates, show vote weight and current vote

* fix

---------

Co-authored-by: saml33 <slam.uke@gmail.com>
2023-04-14 21:05:27 +02:00
Adrian Brzeziński 6660b751bb fix 2023-04-14 16:02:19 +02:00
saml33 840084433c load nfts from metaplex 2023-04-14 21:48:09 +10:00
saml33 e0b855f6c4 show perp stats details on a page 2023-04-12 13:38:21 +10:00
Adrian Brzeziński 3bf2a7d470
list tokens from ui (#107)
* governance wip

* governance store + helpers wip

* get voter weight

* on boarding realms component

* token list wip

* pyth oracle get

* adv fields

* hidden adv fields

* create proposal fcn + mangolana

* register market wip

* list market fixes wip

* translations

* register to register trustless + layout changes

* fix layout

* match switchboard oracle

* loaders

* validation

* style components

* change icon

* copy update

* translations keys

* fix translation

* fix warning create open book market

* fix

* fix transaltion

* fix

* fix

* fix pr

* fix onboarding translation

* fix token owner record error in console

* remove axios

* generic vsr idl

* fix pr

* remove mangolana

* small folder ref

* additional prop in onboarding component

* fix translation

* fix navbar

* change order of governance in navbar

* fix proposal index

* fix pr

* remove link without href for mint

---------

Co-authored-by: saml33 <slam.uke@gmail.com>
2023-04-05 23:59:30 +02:00
saml33 dbc3cb4f57 save trade checkboxes to local storage 2023-04-03 14:51:36 +10:00
saml33 9d38639ec7 add open interest to perp market trade header 2023-03-29 10:57:59 +11:00
saml33 97c0abc2ce merge main 2023-03-27 11:42:50 +11:00
tlrsssss a9033f8c6b
Merge pull request #102 from blockworks-foundation/customize-trade-layout
customize trade layout settings
2023-03-26 13:45:58 -04:00
saml33 caf98f8354 add customize trade page layout to settings 2023-03-23 19:29:13 +11:00
saml33 f805dc215a add terms of use modal and agree to terms in onboarding 2023-03-22 11:52:17 +11:00
saml33 e5e096ebb4 add account funding total and hourly chart 2023-03-21 21:27:37 +11:00
tjs 55db739d76 revert change to load last account and bump local storage key version 2023-03-08 12:53:48 -05:00
tjs 7f489f28bb move datafeed 2023-03-05 00:48:09 -05:00
tjs 8d28ab1cb6 restore last viewed acct functionality 2023-03-02 20:19:08 -05:00
tjs 1d7b488cb3 margin swap modal explainer 2023-03-02 12:02:26 -05:00
saml33 75d7644d06 fix deposit form top spacing 2023-03-01 23:33:02 +11:00
tjs 3bed60af56 turn on lint errors for typescript any 2023-02-28 02:20:11 -05:00
tjs 5cae40d347 use api for perp market trade history 2023-02-26 18:44:38 -05:00
tjs abb408678e replace any type with more defined types 2023-02-25 19:22:39 -05:00
tjs dc33e98a8a remove deposit limit notification 2023-02-25 15:02:21 -05:00
Adrian Brzeziński d9fc7f11ac
Feature/kline perp stats (#88)
* kline perp wip

* fix

* make data more common with trading view

* datafeeds

* fixes

* fixes

* fix

* fix error

* better logging
2023-02-15 23:17:58 +01:00
saml33 066fd9b364 merge main 2023-02-15 10:41:47 +11:00
saml33 42d660b2be merge main 2023-02-12 20:40:26 +11:00
saml33 93956ca44f merge main 2023-02-12 20:33:50 +11:00
tylersssss 320853dbc3
Merge branch 'main' into trade-volume-alert 2023-02-11 15:21:07 -05:00
saml33 9c0cb6e6c1 add stable price line to tv chart 2023-02-09 22:41:15 +11:00
saml33 21896ca2c3 add order lines to tv chart 2023-02-08 20:58:03 +11:00
tjs 65bc3acb8f fix deposit limit max 2023-02-03 09:38:09 -05:00
saml33 68118a20b1 merge main 2023-01-30 11:53:05 +11:00
saml33 6a9a40f95e remove trimdecimals 2023-01-25 14:11:42 +11:00
saml33 f8f022fe9a only use floortodecimal for unformatted values 2023-01-25 13:54:06 +11:00
saml33 d25b0dc399 remove formatdecimal 2023-01-25 12:12:13 +11:00
saml33 ebf9bddfc9 remove formatfixeddecimals 2023-01-25 11:54:24 +11:00
saml33 fc1aac89e1 split functions for value/currency 2023-01-25 11:14:51 +11:00
saml33 d8348ce02a remove duplicate function 2023-01-24 20:15:27 +11:00
saml33 c916a38b85 round to floor instead of down 2023-01-24 13:36:59 +11:00
saml33 5e2e449e38 add commas to large values 2023-01-24 12:47:06 +11:00
saml33 aec60a1288 add format numeric value component 2023-01-24 12:26:14 +11:00
saml33 0f99619e2c remove show/hide account values 2023-01-24 09:52:59 +11:00
saml33 dc357fb42c add chart range buttons to token page charts 2023-01-23 14:40:59 +11:00
saml33 454a1900d7 remove references to soETH 2023-01-23 13:20:44 +11:00
saml33 3e932635bf merge main 2023-01-23 13:08:08 +11:00
saml33 c27fe43835 add ability to show/hide account value and pnl 2023-01-23 11:34:52 +11:00
tjs f94bd3c656 better handle display around very small balances 2023-01-20 18:21:57 -05:00
tjs b974a84461 move trade history parsing out of JSX 2023-01-20 08:24:35 -05:00
saml33 0952fde644 merge main 2023-01-20 22:38:56 +11:00
tjs dd07d08d1f add dollar sign and catch errors for coingecko 2023-01-19 23:15:11 -05:00
tjs 651c411a3c increase alpha deposit limit 2023-01-19 21:27:04 -05:00
tjs 39bbe69ffb add priority fee to settings 2023-01-19 15:31:45 -05:00
saml33 53cb435393 add format y-axis function 2023-01-19 21:42:39 +11:00
saml33 aafa6c8e0c merge main 2023-01-19 15:35:36 +11:00
tylersssss e9a284619b
Merge branch 'main' into pan/change-transaction-log-url 2023-01-18 19:11:02 -05:00
tylersssss 3c83103b30
Merge pull request #62 from blockworks-foundation/paginate-trade-history
paginate trade history
2023-01-18 18:58:35 -05:00
Riordan Panayides 4d5230cf05 Replace references to mango-transaction-log 2023-01-18 13:21:01 +00:00
saml33 bf626cc8ef add recent trade volume alert 2023-01-18 16:06:00 +11:00
Adrian Brzeziński c96fe8a739 Revert "Revert "Merge pull request #56 from blockworks-foundation/feature/mango-router""
This reverts commit 774219cadd.
2023-01-14 21:16:01 +01:00
saml33 9d94828aac paginate trade history 2023-01-13 11:16:10 +11:00
tylersssss 774219cadd Revert "Merge pull request #56 from blockworks-foundation/feature/mango-router"
This reverts commit aa46e5f998.
2023-01-12 14:39:19 -05:00
tylersssss aa46e5f998
Merge pull request #56 from blockworks-foundation/feature/mango-router
use mango router
2023-01-12 11:53:04 -05:00
saml33 5866cd0cdf use compact number format on token charts 2023-01-11 21:01:35 +11:00
Adrian Brzeziński cd2597e26a use mango router 2023-01-09 14:13:48 +01:00
saml33 93738b0dcc fix formatfixeddecimals rounding 2023-01-09 12:50:46 +11:00
tjs b4e63ffcb6 add commas to swap history 2023-01-07 13:59:32 -05:00
saml33 04c4c5e00d fix borrow modal rounding 2023-01-06 19:49:15 +11:00
saml33 e3aedfc8a9 show 3 significant digits for small currency values 2023-01-06 11:00:36 +11:00
tjs d7f6439d14 update formatDecimals to handle 5 decimals and add fallback 2023-01-05 18:44:58 -05:00
tjs 4a35ab5470 bonk and dai fixes 2023-01-05 15:10:24 -05:00
saml33 94ac53ebf5 fix low sol balance in fund account 2023-01-04 10:58:31 +11:00
tjs de80d92b9a use constant for connection commitment 2023-01-02 17:21:41 -05:00
tjs 4c7ade3492 increase alpha limit 2023-01-02 16:48:31 -05:00
Adrian Brzeziński d29c641058
Merge pull request #48 from blockworks-foundation/feature/datafeed-v2
Feature/datafeed v2
2023-01-02 21:36:23 +01:00
tjs 09c4d817e7 improve slippage calc for spot trades 2023-01-02 14:51:09 -05:00
Adrian Brzeziński ef78b8eb3b common data feed for bars 2023-01-02 20:50:03 +01:00
tjs a4f9fa8846 Merge branch 'alpha' into main 2022-12-29 03:24:06 -05:00
saml33 99f190d576 use amount and value in account action modals 2022-12-29 13:01:37 +11:00
saml33 d1b2bf5c87 add withdraw context to borrow 2022-12-29 11:45:09 +11:00
tjs e4930cc9a4 update rpc settings key 2022-12-27 19:40:03 -05:00
tjs b945b62a7a more custom rpc fixes 2022-12-27 16:34:05 -05:00
tjs 61216e299f fix merge conflict 2022-12-27 14:00:34 -05:00
tylersssss 30153160ae
Merge branch 'main' into rpc-settings 2022-12-27 13:58:22 -05:00
saml33 48e8b2ecb9 fix modal heights and align inline notification position 2022-12-27 23:07:02 +11:00
saml33 916089f0fa trade chart selection settings 2022-12-22 21:04:38 +11:00
Adrian Brzeziński 2ef6070991 do not use translated values in settings fix 2022-12-21 23:33:26 +01:00
Adrian Brzeziński ca1bbefafc fix 2022-12-21 18:31:25 +01:00
Adrian Brzeziński e98c67b769 api migrate 2022-12-21 12:21:04 +01:00
Adrian Brzeziński b60c61f181 Merge branch 'main' into feature/kline-charts-spot 2022-12-20 21:31:57 +01:00
Adrian Brzeziński 134dae05d9 fixes 2022-12-20 01:45:04 +01:00
Adrian Brzeziński 8bc70fe532 Merge branch 'main' into feature/kline-charts-spot 2022-12-20 01:38:52 +01:00
tjs 955d8bc659 use custom key for theme 2022-12-19 19:38:07 -05:00
tjs 70da12776b update local storage key names 2022-12-19 19:24:46 -05:00
saml33 d7ccc7b4a6 combine borrow and repay modals 2022-12-18 23:30:49 +11:00
tjs be97e512b9 wip2 2022-12-15 17:51:19 -05:00
saml33 0a75f8f0b6 add rpc settings ui 2022-12-15 23:28:17 +11:00
Adrian Brzeziński 4d71a9d5c5 merge 2022-12-15 11:35:14 +01:00
tjs f2f2cc9120 wip 2022-12-14 21:51:21 -05:00
tjs 1f7c6667f7 update fn name to better describe functionality and return value 2022-12-14 16:24:08 -05:00
tjs 84f813b84c use L2 in type name to distinguish orderbook types 2022-12-14 15:54:30 -05:00
tjs 822daf2f9f check that form values are numbers 2022-12-14 13:48:13 -05:00
saml33 fda8dac2b2 handle empty token/stats api data 2022-12-11 21:10:11 +11:00
tjs a9f57cb2ad use openbook TV api 2022-12-08 18:25:43 -05:00
Adrian Brzeziński 68d3c961b6 merge 2022-12-08 15:12:18 +01:00
Adrian Brzeziński 2dfeca2863 add ema 2022-12-08 15:11:09 +01:00
saml33 3e159261e6 move howl outside components 2022-12-08 16:05:36 +11:00
Adrian Brzeziński 04ea8408e3 chart settings 2022-12-06 18:35:15 +01:00
Adrian Brzeziński 77954799ec kline chart wip 2022-12-06 00:54:47 +01:00
saml33 a9526cff9e merge main 2022-12-02 10:14:10 +11:00
saml33 443858dc36 add market favorites 2022-11-30 15:01:55 +11:00
saml33 f9f86b529d add slippage to trade form 2022-11-25 21:10:23 +11:00
saml33 75f2fd720b componentize settings page 2022-11-25 13:39:14 +11:00
saml33 c043a76e6a new sound files 2022-11-24 15:16:14 +11:00
saml33 0447fc5d61 better sound support and fix settings 2022-11-23 23:40:38 +11:00
saml33 f52cb54008 sound support and settings 2022-11-23 16:38:31 +11:00
saml33 37df58f959 use settings for slider or buttons to swap 2022-11-23 14:31:50 +11:00
tjs ef144b672f fixup recent trades decimals 2022-11-20 23:52:08 -05:00
tjs dbcaeee439 fix entry price formatting 2022-11-20 22:11:29 -05:00
tjs 6b4c1d9f7e improve advanced trade sliders 2022-11-19 20:40:06 -05:00
tjs 203c571bc5 use jupiter api and hooks 2022-11-18 18:19:04 -05:00
tjs 7b48469827 patch merge issues 2022-11-17 17:08:45 -05:00
saml33 332dacbad3 populate trade form from balances table 2022-11-16 16:09:55 +11:00
saml33 4a368e2514 add buttongroup to trade form 2022-11-16 12:32:55 +11:00
saml33 7000eea155 fix activity feed date range filter 2022-11-15 21:47:11 +11:00
saml33 49667afdc1 add warning when not enough sol to create account 2022-11-10 16:22:01 +11:00
saml33 4383fefd1f add copy account address 2022-11-02 15:50:03 +00:00
saml33 83e59b2bff use jupiter tokens for coingecko ids 2022-11-02 10:03:50 +04:00
saml33 0c344ee6c5 add ray to coingecko ids 2022-10-31 12:41:54 +11:00
saml33 426ccaf41c handle no coingecko data 2022-10-29 21:51:22 +11:00
saml33 bfb5453b34 update mSOL symbol 2022-10-24 14:39:29 +11:00
saml33 bb8b7a35bb update static paths 2022-10-24 14:34:47 +11:00
saml33 db4317400d add token details page 2022-10-11 22:59:01 +11:00
saml33 5f246b1454 add custom notification position 2022-10-10 14:07:35 +11:00
saml33 6820d0e6e7 fix one-day change values 2022-10-06 16:11:28 +11:00
saml33 2e34511aee add jupiter logos to actions menu and format token symbol 2022-10-06 13:12:41 +11:00
saml33 95c5ef6bdf extract logos in marketlogos component 2022-10-03 14:14:26 +11:00
saml33 00aef2de4e merge main 2022-10-03 12:42:59 +11:00
tjs 32578711b2 general refinements 2022-09-30 00:21:23 -04:00
saml33 ac200c20b6 add preferred explorer 2022-09-28 13:07:26 +10:00
saml33 512ba74009 add function to get logos from market 2022-09-27 11:19:27 +10:00
tjs a51ba82cd1 setup up market order calculation 2022-09-25 22:03:30 -04:00
saml33 2fea0ed266 add orderbook grouping ui 2022-09-18 22:53:28 +10:00
tjshipe 83dc98ad25
Merge branch 'main' into onboarding-tour 2022-09-14 10:11:13 -04:00
tjs 84728b580b serum spot trade page 2022-09-14 02:24:44 -04:00
saml33 bd6a0e8ced use thin scroll on fund account 2022-09-13 16:21:19 +10:00
tjs c2f1f02829 use alias imports 2022-09-12 12:04:20 -04:00
tjs 6c714816a2 use Decimal class; use NumberFormat for input components 2022-09-02 14:37:18 -04:00
tjs 4f299f186f remember sidenav collapse state in localstorage 2022-09-01 14:51:15 -04:00
tjs d3f96621f6 fix retry fn 2022-08-31 16:16:48 -04:00
tjs 44ae5bc6df add retryFn to ensure health simulation runs 2022-08-31 10:54:37 -04:00
tjs c6237e587f add temp deposit limit warning 2022-08-24 22:47:02 -04:00
saml33 9ca67ed52c trade history decimals 2022-08-25 10:14:27 +10: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 c0341773e7 fix onboarding flow 2022-08-20 22:57:07 -04:00
tjs bea7dee84c move constants out of mangoStore.ts 2022-08-20 14:17:57 -04:00
tjs 605f49e702 fix wallet connect and disconnect 2022-08-20 02:06:00 -04:00
tjs 1257c73662 fix connect account; add feature to remember last selected 2022-08-19 17:17:30 -04:00
tjs ae324a6da5 update to latest client and program version 2022-08-18 16:50:34 -04:00
saml33 7d3b16496d add interest value to token list 2022-08-14 15:11:02 +10:00
tjs 29da9b24f6 update decimal formatting 2022-08-11 19:27:36 -07:00
saml33 6cc89d7386 add trade history 2022-08-10 21:17:10 +10:00
tjs 8ec490c042 extract jupiter logic into hook 2022-08-03 22:25:38 -04:00
saml33 0f46288df6 add simple area chart 2022-08-03 10:17:42 +10:00
tjs d6d29e072b filter swap list by tokens in group 2022-08-02 14:09:29 -04:00
tjs e1f573a3a3 don't format decimals if value is 0 2022-08-02 14:09:29 -04:00
saml33 f87517bf1f add nft profile modal 2022-08-02 15:32:21 +10:00
tjs 5e3a710728 fix decimals on swap chart 2022-07-22 17:41:31 -04:00
saml33 3278a2d686 more onboarding flow 2022-07-22 15:09:04 +10:00
saml33 b304ea208f start onboarding flow 2022-07-21 14:50:56 +10:00
saml33 4ad733844d add top bar account summary 2022-07-15 13:38:02 +10:00
saml33 65f339340e remove icons.tsx 2022-07-15 10:24:46 +10:00
saml33 58292c9505 add layout and nav pattern 2022-07-15 09:36:31 +10:00
tjs 771ee63ea5 wip 2022-07-10 22:01:16 -04:00
tjs 8f0dc1e3ef more swap work 2022-07-05 23:37:49 -04:00
tjs c8898467db mango v4 sandbox 2022-05-04 00:25:54 -04:00