Commit Graph

1973 Commits

Author SHA1 Message Date
tjs 53aa685196 v0.17.26 2023-07-20 13:12:47 -04:00
tjs 214ffafb1f expose additional bank params 2023-07-19 14:57:29 -04:00
microwavedcola1 87b8048bed v0.17.25 2023-07-17 15:24:28 +02:00
microwavedcola1 f3a7c5ca14 make consistent with other sim functions
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-07-17 15:23:47 +02:00
microwavedcola1 eea5e4c03e v0.17.24 2023-07-14 14:02:37 +02:00
microwavedcola1 7e917bb85d Fix type
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-07-14 14:02:06 +02:00
microwavedcola1 1772754fd2 v0.17.23 2023-07-14 13:19:57 +02:00
microwavedcola1 b1b0729eee settle all even spot
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-07-14 13:19:17 +02:00
microwavedcola1 fba6ad6d87 bump
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-07-14 10:57:35 +02:00
microwavedcola1 9d2e4bf609
Perp close all positions helper (#643)
* close multiple perp positions in one tx

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>

* settle all

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>

* update

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-07-13 17:10:16 +02:00
microwavedcola1 e623b8c276
Enforce safety limits while borrowing, while computing max swap source, and max spot order base/quote (#642)
* --wip-- [skip ci]

* enforce safety limits while borrowing

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>

* --wip-- [skip ci]

* --wip-- [skip ci]

* --wip-- [skip ci]

* 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-07-13 16:29:13 +02:00
microwavedcola1 23b72b54a3 v0.17.21 2023-07-13 12:15:55 +02:00
microwavedcola1 c2a939bcfd Fix decimals
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-07-13 12:15:28 +02:00
microwavedcola1 524dec57c1 v0.17.20 2023-07-12 17:25:52 +02:00
microwavedcola1 2ebffcdb05 update
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-07-12 17:25:16 +02:00
microwavedcola1 20a4fdebf9 v0.17.19 2023-07-12 15:46:24 +02:00
microwavedcola1 b3b932f148 Fix headers
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-07-12 15:45:42 +02:00
microwavedcola1 344d77d6de v0.17.9 2023-07-12 15:29:04 +02:00
microwavedcola1 d67970ebc1 fix header
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-07-12 15:28:20 +02:00
microwavedcola1 7d41927691 v0.17.8 2023-07-12 14:31:29 +02:00
microwavedcola1 5ca349f94b use mngo cloud for risl
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-07-12 14:30:47 +02:00
Christian Kamm 77da9d49a6 liquidator: when rebalancing allow multi-hop jupiter routes
and if that doesn't fit into a transaction, try a direct route with USDC
or SOL.

(cherry picked from commit db8f5ae30d)
2023-07-12 10:32:35 +02:00
Christian Kamm 2be2c29101 Client: jupiter swap and tx builder improvements
- jupiter swap now supports multiple hops
- tx builder can check resulting tx size

(cherry picked from commit c58ee91356)
2023-07-12 10:32:35 +02:00
microwavedcola1 d5472d790e v0.17.6 2023-07-12 09:54:12 +02:00
microwavedcola1 604c38ed5b fix max swap
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-07-12 09:53:38 +02:00
microwavedcola1 54f1e9e1e5 v0.17.5 2023-07-12 09:39:47 +02:00
microwavedcola1 a6fe8dfd48 fix max swap
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-07-12 09:38:48 +02:00
microwavedcola1 c40bffb047 Merge branch 'main' into deploy 2023-07-07 15:44:50 +02:00
microwavedcola1 3b7092a6a2 v0.17.4 2023-07-06 18:46:21 +02:00
microwavedcola1 2060245f31 optimise
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-07-06 18:45:42 +02:00
microwavedcola1 ea66b34d36 v0.17.3 2023-07-06 18:18:10 +02:00
microwavedcola1 05b9f8f5da ui helper
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-07-06 18:17:24 +02:00
microwavedcola1 ca4a8c179a v0.17.2 2023-07-06 15:22:08 +02:00
microwavedcola1 4b82771487 also consider shorts
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-07-06 15:21:30 +02:00
microwavedcola1 7ab0164d38 v0.17.1 2023-07-05 07:32:26 +02:00
microwavedcola1 08188f3cf2 updarte
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-07-04 11:20:21 +02:00
microwavedcola1 baab384055 update
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-07-04 10:55:59 +02:00
microwavedcola1 580a565705 token-delegate-example
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-07-04 10:55:14 +02:00
microwavedcola1 6b1ac492dc v0.17.0 2023-07-04 09:27:53 +02:00
microwavedcola1 1ffa65d01b optimise getAllMangoAccounts
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-07-04 09:26:59 +02:00
Christian Kamm ae66dbc462 Bump version and idl to v0.17.1 2023-07-03 19:54:21 +02:00
Christian Kamm a9a3c63f91 Changelog for v0.17.1 2023-07-03 19:25:42 +02:00
Christian Kamm cb3a43236d Revert "Pyth oracles: Check that status is "trading" (#607)"
This reverts commit bbf0186398.
2023-07-03 19:16:17 +02:00
microwavedcola1 5ea81fc0d5 v0.16.12 2023-07-03 09:03:08 +02:00
microwavedcola1 c2e48df051 Merge branch 'main' into deploy 2023-07-03 09:02:25 +02:00
microwavedcola1 6f2345edcb v0.16.11 2023-07-03 08:20:50 +02:00
microwavedcola1 eba7b4d15b add perp market filter
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-07-03 08:20:13 +02:00
microwavedcola1 f75b086200 v0.16.10 2023-06-28 15:04:05 +02:00
microwavedcola1 acf02e2575 new helpers
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-06-28 15:03:32 +02:00
microwavedcola1 9a31c587a1 v0.16.9 2023-06-28 09:45:46 +02:00