Commit Graph

99 Commits

Author SHA1 Message Date
tjs 2ec3bab9ea remove leverage number from swap 2022-08-22 22:26:59 -04:00
tjs 501510eb43 fix max numbers shown in modals and swap form 2022-08-20 20:09:36 -04:00
tjs 52064b7627 disable swapping between the same tokens while using direct routes 2022-08-20 14:54:38 -04:00
tjs bea7dee84c move constants out of mangoStore.ts 2022-08-20 14:17:57 -04:00
tjs 5feb27c408 fix health after swap 2022-08-20 02:25:50 -04:00
tjs 1a0baab8e4 fix swap form 2022-08-20 00:03:26 -04:00
tjs e36a88ddbd allow leverage sliding while not connected 2022-08-19 17:25:31 -04:00
tjs ae324a6da5 update to latest client and program version 2022-08-18 16:50:34 -04:00
tjs 32ca6ff2f5 add function to flip chart pair 2022-08-18 09:59:40 -04:00
saml33 a365bbbc04 disable review trade when amount in is 0 2022-08-18 16:14:15 +10:00
tjs acc2a2cfdd switch amounts after flipping the token 2022-08-18 00:35:35 -04:00
saml33 0f7a1b2ad4 update slider amount prop type 2022-08-18 14:25:30 +10:00
saml33 b82259d17f remove onChange from effect dependencies 2022-08-18 13:17:22 +10:00
saml33 a74aaf4405 set swap input amount to 0 on token switch 2022-08-18 13:14:44 +10:00
tjs bec94218b5 fix decimal handling 2022-08-17 21:50:08 -04:00
saml33 44b3981e48 update slider when amountIn changes 2022-08-18 11:21:16 +10:00
tjs f64f73f2b7 fix for slider bg when changing account 2022-08-17 18:17:12 -04:00
tjs e168add75c give default background size to slider 2022-08-17 17:36:38 -04:00
tjs 78e79b0715 combine jupiter route info into one component 2022-08-17 16:06:45 -04:00
tjs a7b915d071 add sheen loader for price on swap chart 2022-08-17 16:06:45 -04:00
saml33 040d942ed9 style slider 2022-08-17 13:42:16 +10:00
tjs 08b6da5d2f remove tailwind deprecated transform class
and remove default-transitions that weren't paired with a class change
2022-08-16 18:58:03 -04:00
tjs 4631b70d15 again fix percent select on swap 2022-08-16 00:19:09 -04:00
tjs 49e340d1f6 fix for percent select on swap form 2022-08-15 23:16:20 -04:00
saml33 0d19b462b6 update token icons 2022-08-16 12:41:06 +10:00
tjs 6ead35fd8a wire up borrow modal; use maint health 2022-08-15 18:18:23 -04:00
tjs d3a05e01c6 fix max percentage when no margin 2022-08-15 12:02:46 -04:00
saml33 2039d4ce09 style swap setting margin switch 2022-08-15 21:52:17 +10:00
saml33 979f6aada8 load swap amount out 2022-08-15 21:28:36 +10:00
saml33 a1eb6b38d9 button hovers 2022-08-15 16:10:46 +10:00
saml33 e672dd4792 style review trade panel 2022-08-14 21:56:19 +10:00
tjs d1acfc6d52 use new client to show pending transaction notifications 2022-08-12 17:18:12 -07:00
saml33 80ccba7b72 fix review trade back arrow 2022-08-12 22:40:26 +10:00
tjs 29da9b24f6 update decimal formatting 2022-08-11 19:27:36 -07:00
tjs fdec02b730 add back swap route options 2022-08-11 18:26:36 -07:00
tjs 403161f578 show simulated health in swap 2022-08-11 17:52:57 -07:00
tjs 0800e9f30f exclude Serum jup routes due to lg tx size 2022-08-11 17:52:57 -07:00
tjs 6630f554cc leverage slider max shouldnt exceed available deposits 2022-08-11 17:52:57 -07:00
microwavedcola1 c148f5640a Adapt to latest ts/client changes
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-08-11 18:00:39 +02:00
tjs 643627708b show tx id in error notifications 2022-08-10 13:42:15 -07:00
tjs 596d4713d7 exclude raydium routes due to tx size 2022-08-10 13:34:30 -07:00
tjs af25ab651f lookup swap symbol by mint address 2022-08-10 13:23:19 -07:00
tjs ae58eecc65 use latest client to fix swap signature errors 2022-08-09 15:44:01 -07:00
tjs a3a4275462 fix chart timeframe active class 2022-08-09 10:06:36 -07:00
tjs 730283d8c3 center loading icon after trade; reload account after editing 2022-08-08 14:45:56 -07:00
tjs 43089b195f close review trade modal after successful tx 2022-08-08 11:44:25 -07:00
tjs fab687ac87 swap settings modal 2022-08-08 10:42:18 -07:00
tjs a417f12e8d use latest client 2022-08-04 12:42:03 -04:00
tjs 8ec490c042 extract jupiter logic into hook 2022-08-03 22:25:38 -04:00
saml33 b6168b9089 review trade font size 2022-08-03 20:02:18 +10:00