tjs
|
3d8588d434
|
use latest prettier
|
2023-07-21 14:47:53 -04:00 |
saml33
|
e314901f27
|
fix max swap amounts for reduce only
|
2023-05-12 12:25:16 +10:00 |
tjs
|
6c66cdbf20
|
add try catch in useTokenMax
|
2023-03-12 16:01:33 -04:00 |
tjs
|
d565b1ea46
|
add types
|
2023-02-13 22:35:07 -05:00 |
saml33
|
f4209c3f88
|
merge main
|
2023-02-10 21:38:05 +11:00 |
saml33
|
73162e5544
|
fix negative swap max
|
2023-02-10 10:26:28 +11:00 |
saml33
|
5388035d33
|
handle swap reduce only
|
2023-02-09 11:31:53 +11:00 |
tjs
|
17b6861d88
|
check min borrow amount even when not using margin
|
2023-01-29 23:02:16 -05:00 |
tjs
|
8a04998374
|
show slippage msg in notifications
|
2023-01-05 19:44:37 -05:00 |
tjs
|
564c4bdee8
|
max token withdraw shouldnt use maxborrow if its a trustless token
|
2023-01-05 15:35:45 -05:00 |
tjs
|
f9a4652dae
|
fixes for max source amount in swap
|
2022-12-16 17:12:07 -05:00 |
tjs
|
5d034df3b5
|
better rounding for vault balance in tokenMax
|
2022-12-16 12:32:01 -05:00 |
tjs
|
49001d5ae8
|
handle updating price for tradeForm when on limit vs market order
|
2022-12-14 15:54:30 -05:00 |
tjs
|
af27b339aa
|
fix call to getmaxsourceuifortokenswap
|
2022-12-14 11:20:36 -05:00 |
tjs
|
cb3ad6e460
|
add console log for maxSwapForUI
|
2022-12-14 11:11:47 -05:00 |
tjs
|
4eb21b4b41
|
update usetokenmax price
|
2022-12-13 00:38:12 -05:00 |
tjs
|
9e22329cf8
|
wip: debug errors
|
2022-12-12 02:20:28 -05:00 |
saml33
|
313a47e050
|
fix token max vault rounding
|
2022-11-22 15:40:55 +11:00 |
tjs
|
cb0b90dfb5
|
refactor to use mango group hook
|
2022-11-20 15:32:38 -05:00 |
tjs
|
561eba493b
|
fix all eslint errors
|
2022-11-19 14:20:36 -05:00 |
tjs
|
5727d0bc7f
|
add a useMangoAccount hook
|
2022-11-18 12:09:39 -05:00 |
tjs
|
9269b4e18f
|
fix yarn.lock, undo next upgrade
|
2022-10-28 15:24:05 -04:00 |
tjs
|
7ad023653f
|
fix bug with modals
|
2022-10-07 18:27:36 -04:00 |
tjs
|
661fed8ce9
|
refactor useTokenMax to fix regressions
|
2022-09-22 17:35:07 -04:00 |
saml33
|
d17874f87f
|
merge main
|
2022-09-20 14:55:04 +10:00 |
saml33
|
94b4dfe9a0
|
add function for token max
|
2022-09-15 10:02:16 +10:00 |
tjs
|
c2f1f02829
|
use alias imports
|
2022-09-12 12:04:20 -04: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
|
6c714816a2
|
use Decimal class; use NumberFormat for input components
|
2022-09-02 14:37:18 -04:00 |
tjs
|
43b1febc1a
|
update client and handle undefined health values
|
2022-08-31 16:17:17 -04:00 |
tjs
|
a4cfafb484
|
fix handling small decimals in swap form input
|
2022-08-31 11:54:43 -04:00 |
tjs
|
bb9263ed0a
|
test2
|
2022-08-27 01:51:14 -04:00 |
tjs
|
ae0647bec2
|
test tokenmax issue
|
2022-08-27 01:48:18 -04:00 |
tjs
|
d0875ba345
|
fix tokenbalance for max calc
|
2022-08-27 01:23:08 -04:00 |
tjs
|
2ac137a05c
|
use token vault balance for max amount
|
2022-08-26 14:19:20 -04:00 |
tjs
|
0775176122
|
handle when vault balance is below 0
|
2022-08-26 13:17:31 -04:00 |