Commit Graph

572 Commits

Author SHA1 Message Date
tjs 10cf640f11 update prettier pkgs, config, and reformat 2023-08-17 19:47:11 -04:00
saml33 9560db9ace merge main and add connect button to market swap form 2023-08-18 08:25:46 +10:00
saml33 402437bbf6
Merge pull request #174 from blockworks-foundation/stop-orders
stop orders
2023-08-18 08:08:21 +10:00
saml33 2e31184037 sort swap history 2023-08-17 15:52:42 +10:00
saml33 70f9d6da16 add mobile swap orders table 2023-08-17 13:57:39 +10:00
saml33 31dc29e05f remove saving chart settings and fix latest price chart flicker 2023-08-17 12:58:35 +10:00
saml33 0b86592ae4 add latest price to chart, remove comments, update copy 2023-08-17 08:31:47 +10:00
saml33 038cd74396 add trigger orders table to account page 2023-08-16 15:47:02 +10:00
saml33 68206cea69 merge main 2023-08-16 15:27:45 +10:00
saml33 f37f352975
Merge pull request #234 from blockworks-foundation/favorite-swaps
add favoriting swap pairs
2023-08-16 11:54:35 +10:00
saml33 34312e2c59 add to swap and trade 2023-08-15 22:39:42 +10:00
saml33 f4409c5424 add validation to swap form for account token positions 2023-08-15 14:25:24 +10:00
saml33 03c0fad2fa add favoriting swap pairs 2023-08-14 14:57:03 +10:00
tjs 60810ca2e4 improve speed of market swap 2023-08-14 00:26:39 -04:00
saml33 574d51bd40 add beta label 2023-08-14 11:30:28 +10:00
saml33 5aefb6b49f use helper function for current price 2023-08-13 22:47:25 +10:00
saml33 8ed1ab81bc merge main 2023-08-13 21:21:08 +10:00
tjs 62a3f337e1 use latest client; upgrade to new signature status 2023-08-12 14:40:34 -04:00
saml33 eef5d86e1a fix place order button 2023-08-11 19:56:01 +10:00
saml33 38241f739d add deposit funds button when no balance or collateral 2023-08-11 10:52:42 +10:00
saml33 25e885a084 add free collateral warning 2023-08-11 09:53:11 +10:00
saml33 317c7579c2 improve repay borrow order description 2023-08-09 14:31:49 +10:00
saml33 621839af25 add cancel all 2023-08-09 13:40:26 +10:00
saml33 64bc709034 fix order desc for flip prices 2023-08-09 13:14:59 +10:00
saml33 7d91dc1c91 add side to table and fix size 2023-08-09 12:53:59 +10:00
saml33 f575a39cec add whitelist and bump client 2023-08-09 11:03:54 +10:00
saml33 3a3e058234 add updated client functions 2023-08-08 23:26:56 +10:00
saml33 751afaae79 merge main 2023-08-08 10:09:05 +10:00
saml33 5c207b8add attempt to fix chart flicker and less renders 2023-08-04 23:48:17 +10:00
saml33 f9c3e457ec rearrange trigger price elements 2023-08-04 22:03:19 +10:00
saml33 306e1f0fdf save chart and price direction on flip price 2023-08-04 21:32:42 +10:00
saml33 37d9b1ce0a fix default trigger price for flip prices 2023-08-04 20:25:43 +10:00
saml33 07642c4d3b add form validation 2023-08-04 16:14:41 +10:00
saml33 1c85169e3d fix chart change mouse data bug 2023-08-04 13:29:04 +10:00
saml33 78da92f453 various fixes 2023-08-04 12:06:09 +10:00
saml33 a2f2c0fe03 add order types back 2023-08-03 23:44:23 +10:00
saml33 ce1939b63c save chart direction 2023-08-03 20:37:40 +10:00
saml33 bb9354baa4 add est slippage/received 2023-08-03 10:45:40 +10:00
saml33 aaa5260083 add order info 2023-08-02 23:21:51 +10:00
saml33 934e55ec93 simplify form 2023-08-02 15:32:20 +10:00
saml33 f284f45afd set sizes from bal/max/repay buttons 2023-08-01 22:21:19 +10:00
saml33 83662a52eb remove validation for testing 2023-08-01 20:49:01 +10:00
saml33 9013cd8722 fix limit and trigger price decimals 2023-08-01 15:13:12 +10:00
saml33 c35ccd54ae form validation and copy 2023-08-01 10:57:53 +10:00
saml33 2e0076bd73 fixes 2023-07-31 22:25:46 +10:00
saml33 7e600cfd20 test placing orders and swap orders table 2023-07-31 16:05:26 +10:00
saml33 840991961f merge main 2023-07-31 09:56:42 +10:00
saml33 9203be64a2 save swap margin to local storage 2023-07-27 10:37:35 +10:00
saml33 ce4c9389c0 merge main and more componenets 2023-07-26 12:48:13 +10:00
saml33 a151aa5190 add missing parts to market swap trade form 2023-07-25 12:35:27 +10:00
Adrian Brzeziński 7f8e8eaa14
fix oracle tools (#216)
* use direct routes

* fix
2023-07-24 20:16:10 +02:00
tjs abc5984647 use latest next-themes 2023-07-21 14:50:06 -04:00
tjs 3d8588d434 use latest prettier 2023-07-21 14:47:53 -04:00
saml33 226d610bbf
Merge pull request #193 from blockworks-foundation/depth-chart
orderbook depth chart
2023-07-21 20:01:41 +10:00
saml33 5929ebbbbf
Merge pull request #208 from blockworks-foundation/improve-swap-history-chart
improve swap history indicators on swap chart
2023-07-21 12:20:15 +10:00
saml33 588433f19a add callbacks 2023-07-21 10:45:03 +10:00
tjs 4bb2c0016e migrate to wallet-adapter only; use autoconnect 2023-07-20 19:08:04 -04:00
tlrsssss cb9124b64c
Merge pull request #209 from blockworks-foundation/filter-swap-token-list
filter swap token list input
2023-07-20 10:48:55 -04:00
saml33 6954082b0b remaining fixes 2023-07-20 20:40:27 +10:00
saml33 b271793f66 filter swap token list input 2023-07-20 13:19:03 +10:00
saml33 c5a0efa781 improve swap history indicators on swap chart 2023-07-20 11:26:13 +10:00
tjs 848286d947 add trade page swap summary details 2023-07-18 14:55:13 -04:00
tjs e5945b60e2 Merge branch 'main' into ts/trade-pg-jup 2023-07-18 13:23:07 -04:00
saml33 d1cbec6196 add repay amount to swap output token 2023-07-18 15:22:13 +10:00
tjs e478d6405a use jupiter on trade page 2023-07-16 23:41:13 -04:00
saml33 81d007f8a5 show swap chart unavailable when data.length < 2 2023-07-13 08:17:20 +10:00
tjs 3e6f6aa4d2 capture swap exceptions 2023-07-12 12:31:08 -04:00
tjs 94b8aec4d9 order exactout swap amounts correctly 2023-07-10 13:15:32 -04:00
saml33 866afe27f8
Merge pull request #194 from blockworks-foundation/custom-token-logos
add custom icons
2023-07-06 08:24:59 +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
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
saml33 bf76285c66 better handle limit price 2023-06-17 22:22:05 +10:00
saml33 f65305de7f merge main 2023-06-16 22:30:06 +10:00
saml33 eedc32fadb split swap and limit into two components 2023-06-16 22:23:50 +10:00
saml33 a89a042e57 add input/output notional value to swap form 2023-06-16 14:08:45 +10:00
saml33 dd3d2f52aa add input/output notional values 2023-06-16 13:58:12 +10:00
saml33 42051e0ea5 add stop order ui to trade form 2023-06-15 20:45:42 +10:00
saml33 b548e7f61e ui for swap limit orders 2023-06-15 14:42:34 +10:00
saml33 5f90821a22 add manual refresh button 2023-06-14 11:12:28 +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 ab62e89893 show if margin is enabled/disabled on swap form 2023-06-02 10:55:24 +10:00
saml33 8deaeccf18 remove swap form double border 2023-05-15 14:41:32 +10:00
saml33 50e567b278 show borrow fee in swap review 2023-05-14 21:33:01 +10:00
saml33 dd0f89861e undo allowing delegate accounts to swap 2023-05-12 12:49:01 +10:00
saml33 e314901f27 fix max swap amounts for reduce only 2023-05-12 12:25:16 +10:00
saml33 ef383bec36 fix reduce only display in swap list 2023-05-12 11:48:30 +10:00
saml33 aa6a5e75c9 add missing tooltips 2023-05-03 13:57:54 +10:00
saml33 1afb2fe36c update recharts 2023-05-02 12:01:14 +10:00
tlrsssss 78fcb8ca8c
Merge pull request #131 from blockworks-foundation/swap-review-animation
fix swap review transition
2023-04-26 13:13:27 -04:00
saml33 8b53a01232 fix swap history filtering 2023-04-24 11:51:46 +10:00
saml33 302dadd35b merge main and show swaps by default 2023-04-24 11:29:36 +10:00
saml33 b960c25db4 fix swap review transition 2023-04-21 16:10:09 +10:00
saml33 1750b865ca remove inline default-transition class 2023-04-20 11:12:45 +10:00
saml33 228ea6d59a change focus states to use focus-visible 2023-04-20 10:43:33 +10:00
microwavedcola1 da49da23c1 Revert "swaps disabled message"
This reverts commit 17ea3b2be4.
2023-04-19 08:49:16 +02:00
microwavedcola1 50c6fc0a38 Revert "fix typo"
This reverts commit a9666ffffe.
2023-04-19 08:49:09 +02: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
saml33 948c37ad59 merge main 2023-04-17 21:31:51 +10:00
saml33 821cc56328 format swap token symbols 2023-04-17 11:04:13 +10:00