tjs
|
8384bca7e0
|
submit jup api swap transaction
|
2022-11-18 23:59:06 -05:00 |
tjs
|
203c571bc5
|
use jupiter api and hooks
|
2022-11-18 18:19:04 -05:00 |
tjs
|
5727d0bc7f
|
add a useMangoAccount hook
|
2022-11-18 12:09:39 -05:00 |
tjs
|
661fed8ce9
|
refactor useTokenMax to fix regressions
|
2022-09-22 17:35:07 -04:00 |
saml33
|
94b4dfe9a0
|
add function for token max
|
2022-09-15 10:02:16 +10:00 |
tjs
|
5e879c1c69
|
prevent leverage slider from converting swap input to string
use Decimal in more places
|
2022-09-02 19:52:07 -04:00 |
tjs
|
0775176122
|
handle when vault balance is below 0
|
2022-08-26 13:17:31 -04:00 |
tjs
|
8109dd2f9c
|
allow skipping creating an account
leverage slider will work after disconnecting
|
2022-08-25 14:22:54 -04:00 |
tjs
|
bea7dee84c
|
move constants out of mangoStore.ts
|
2022-08-20 14:17:57 -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
|
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 |
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 |
saml33
|
040d942ed9
|
style slider
|
2022-08-17 13:42:16 +10:00 |
tjs
|
6ead35fd8a
|
wire up borrow modal; use maint health
|
2022-08-15 18:18:23 -04: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
|
8ec490c042
|
extract jupiter logic into hook
|
2022-08-03 22:25:38 -04:00 |
tjs
|
d6d29e072b
|
filter swap list by tokens in group
|
2022-08-02 14:09:29 -04:00 |
saml33
|
7c49882fcc
|
more onboarding and load mango account
|
2022-07-28 16:35:18 +10:00 |
saml33
|
82e9925e6e
|
populate swap form from token list
|
2022-07-26 15:27:53 +10:00 |
saml33
|
05ebd8b69a
|
add buttongroup/slider to action modals
|
2022-07-25 14:22:17 +10:00 |
saml33
|
7b772c3e6e
|
add margin toggle ui
|
2022-07-17 21:48:33 +10:00 |
tjs
|
db239c0145
|
add mango account values
|
2022-07-12 23:58:13 -04:00 |
tjs
|
a74fd28ca6
|
leverage slider and mango account
|
2022-07-12 22:02:36 -04:00 |