microwavedcola1
f2442428b6
Merge branch 'main' into deploy
2024-03-10 14:26:29 +01:00
Christian Kamm
072cd766ca
liquidator: parallel tcs execution ( #679 )
2023-08-18 15:36:02 +02:00
Christian Kamm
ad47e9f2e9
tcs liq test: Add net borrow limit test
2023-08-14 16:15:57 +02:00
Christian Kamm
f462c62816
ts: reuse tcs creation function
2023-08-10 13:48:28 +02:00
Christian Kamm
b2e578bc61
Merge remote-tracking branch 'origin/deploy' into dev
2023-08-10 13:32:06 +02:00
Christian Kamm
4810b6afbc
Tcs: store a display-only intention enum ( #667 )
...
This way the ui can know what the user created the tcs order for.
Introduces tcs create and trigger v2 logs.
2023-08-08 18:16:59 +02:00
microwavedcola1
a7247ad7e7
fix ts calls
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-08-07 13:11:23 +02:00
microwavedcola1
776545fcdd
token conditional swaps, fixes from review ( #653 )
...
* tcs fixes from review, and easy to use helper functions
* Fixes from review
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* Fixes from review
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* Fixes from review
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* Fixes from review
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
---------
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-08-07 13:09:19 +02:00
microwavedcola1
a6b6fbbb82
fix ts calls
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-08-07 11:36:13 +02:00
Christian Kamm
c67360071e
Fix tcs test script
2023-07-03 15:23:22 +02:00
Christian Kamm
35064d4ab0
Token conditional swaps ( #604 )
...
Users can request token swaps to happen when the oracle price
is within a price band. Once the price is right, an executor can
trigger the swap. The executors are rewarded with a premium
over the oracle price.
This allows limit and stop loss orders on arbitrary spot pairs.
The PR comes with basic ts support and adjustments to the liquidator,
to execute available token conditional swaps.
Co-authored-by: microwavedcola1 <microwavedcola@gmail.com>
2023-07-03 14:09:11 +02:00