Commit Graph

572 Commits

Author SHA1 Message Date
saml33 b255022914 set swap form from url query 2023-09-26 15:31:06 +10:00
saml33 e38ce34d55 fix prop name 2023-09-25 10:06:54 +10:00
saml33 1bacd9cad8
Merge pull request #276 from blockworks-foundation/saml33/wallet-swap
wallet swap
2023-09-24 20:19:17 +10:00
tjs ba8504392a update prop name 2023-09-21 17:22:04 -04:00
saml33 d36ea0a708 improve layout 2023-09-19 11:22:10 +10:00
saml33 812894f718 Merge branch 'main' into saml33/wallet-swap 2023-09-19 10:05:43 +10:00
saml33 962aa6c23f add disabled swap button state back for no form values/route 2023-09-19 08:44:21 +10:00
saml33 5fcb003efe remove free collateral warning from trigger orders 2023-09-19 08:17:58 +10:00
saml33 5677250e39 hide swap free collateral warning 2023-09-19 08:14:01 +10:00
Lou-Kamades 53c2bf9c74
disable swap input validation 2023-09-18 15:42:37 -05:00
Adrian Brzeziński 8175ee6431 fix ata creation during wallet swap 2023-09-18 21:25:42 +02:00
microwavedcola1 fbb77015ed another attempt at allowing swaps
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-09-18 20:13:17 +02:00
microwavedcola1 8a7ce380e4 disable free collateral warning for now, might be not 100% correct
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-09-18 19:30:13 +02:00
saml33 140a0f9352 wallet swap ui 2023-09-18 22:55:37 +10:00
microwavedcola1 5133f00dcf disable mango router for now due to tx hitting tx size limit
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-09-18 12:39:45 +02:00
saml33 92139308e4 add tcs orders 2023-09-13 11:10:21 +10:00
saml33 634a017b1e add token positions warning to trigger swap 2023-09-10 23:26:52 +10:00
saml33 3957e93fb4 format trigger order table prices 2023-09-10 22:00:06 +10:00
saml33 63aadfbe7e add important info to trigger orders 2023-09-09 23:00:45 +10:00
saml33 117f6a1d2b fix borrows in period warning 2023-09-09 21:32:28 +10:00
saml33 2dfdcb13ba remove whitelist 2023-09-08 22:28:36 +10:00
saml33 bfd89d41e2 fix order price units 2023-09-08 22:06:58 +10:00
microwavedcola1 436ded7122 flipped price needed one more flip
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-09-08 13:52:34 +02:00
saml33 5c90007892 merge main 2023-09-08 21:42:03 +10:00
saml33 fbeeafd253 order table fixes, allow margin on short positions and fix borrow order desc 2023-09-08 21:38:17 +10:00
saml33 a3b46c6ca0 fix account token positions count 2023-09-08 19:39:56 +10:00
saml33 006da27edf fix token positions warning for market swap 2023-09-08 14:36:57 +10:00
saml33 7866282b47 fix balance click for trigger orders 2023-09-08 13:35:30 +10:00
saml33 a30b5a42e4 show borrow amount in order desc when reducing short on margin 2023-09-08 12:39:39 +10:00
saml33 ba859597ef fix trigger price when changing tokens 2023-09-07 23:59:24 +10:00
saml33 e4b3e95d8f order description and form errors 2023-09-07 23:26:55 +10:00
saml33 3cb444c332 reduce rendering from mangoAccount and remove repay borrow code 2023-09-07 22:37:33 +10:00
saml33 a9380dfd3b fix default trigger price 2023-09-07 21:55:56 +10:00
Christian Kamm 9bf63a9862 fix order type string 2023-09-07 11:50:51 +02:00
Christian Kamm 5a5976dc63 fix default trigger price for bonk
by generally restricting significant decimals on prices, instead using
the in or output banks decimals.
2023-09-07 11:43:29 +02:00
Christian Kamm b1a159d58f fix default trigger order price 2023-09-07 10:22:31 +02:00
Christian Kamm 3d71e76d26 fix trigger order slider for shorts 2023-09-07 09:59:04 +02:00
saml33 a9332f3e7a update place order to handle borrow positions 2023-09-07 14:29:31 +10:00
saml33 7f225b3502 expand on ckamm wip 2023-09-07 13:51:57 +10:00
Christian Kamm 1bf1514cc0 wip 2023-09-06 15:18:05 +02:00
saml33 82946353d3 refactor isMobile 2023-09-01 13:22:50 +10:00
saml33 de4568c48e move manual refresh on trade page 2023-08-31 15:34:22 +10:00
saml33 2aaffdd8b1 add to trade form 2023-08-28 21:59:36 +10:00
saml33 2c60c255b2 add to limit swap form 2023-08-28 16:06:16 +10:00
saml33 075e8156b2 add period borrow limit warning to market swap 2023-08-28 15:59:56 +10:00
saml33 e10e54fcc7 change default buy token to sol if sell token is usdc 2023-08-24 10:21:06 +10:00
saml33 094b6524e3 comment out repay borrow 2023-08-24 10:09:48 +10:00
saml33 06fc6dcefc update copy and set default buy token to usdc for trigger order 2023-08-24 09:55:49 +10:00
saml33 a86f6dd94a disable margin in sell token list for trigger orders 2023-08-24 08:44:16 +10:00
saml33 2ee1060882 move slider beneath sell input 2023-08-24 08:17:04 +10:00