Commit Graph

449 Commits

Author SHA1 Message Date
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 a89a042e57 add input/output notional value to swap form 2023-06-16 14:08:45 +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
saml33 0ada9e231c use swap market name instead of input bank name 2023-04-17 10:38:09 +10:00
saml33 aff12ef294 only insert swap points when swap history is toggled 2023-04-17 10:17:45 +10:00
saml33 fea60efbbb change swap history points to use arrows 2023-04-15 23:56:50 +10:00
saml33 707205eabe show swap history on swap chart 2023-04-14 15:22:39 +10:00
saml33 a9666ffffe fix typo 2023-04-14 09:48:12 +10:00
saml33 17ea3b2be4 swaps disabled message 2023-04-14 09:40:20 +10:00
saml33 ea80f1698a implement pr feedback 2023-04-06 13:24:29 +10:00
saml33 a8a8fd9fda remove formatting from max swap amount value 2023-04-06 11:15:22 +10:00
saml33 a0e4efa5bb merge main 2023-04-06 09:21:31 +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 e551280fa0 remove price from swap history 2023-04-03 13:02:55 +10:00
saml33 dd0ba043e6 update focus styles 2023-03-27 14:11:10 +11:00
saml33 7cd26e9da5 add focus states and improve keyboard navigation 2023-03-24 23:22:29 +11:00
tlrsssss bc5ff69cc9
Merge pull request #98 from blockworks-foundation/tradeform-borrow-fee
add loan origination fee to trade form
2023-03-19 15:52:28 -04:00
saml33 c56fc05216 swap history mobile display 2023-03-19 21:28:13 +11:00
saml33 8684f380ae add loan origination fee to trade form 2023-03-17 23:48:38 +11:00
saml33 68f32a72b1 fix swap loan orgination fee amount 2023-03-17 22:46:57 +11:00
tjs 6c66cdbf20 add try catch in useTokenMax 2023-03-12 16:01:33 -04:00
tjs 0713c3ffd7 reduce tooltip delay 2023-03-10 13:01:47 -05:00
tjs 71f1a88256 add price impact description 2023-03-08 15:40:33 -05:00
tjs fd061dcdbf move delegate checks into useUnownedAccount hook 2023-03-04 14:17:34 -05:00
tjs 917080ac09 add warning for delegate accounts 2023-03-04 13:42:46 -05:00
tjs 1d7b488cb3 margin swap modal explainer 2023-03-02 12:02:26 -05:00