Commit Graph

11 Commits

Author SHA1 Message Date
tylersssss 4c9f99832f
Update package.json build steps and move js scripts out of src folder (#470)
* extracts scripts from source; update tsc build configs and packages

* publish latest

* remove type module
2023-02-22 08:36:59 +01:00
tjs 9d168f56bd - fix sort order of open order accounts in buildHealthRemainingAccounts
- refactor buildHealthRemainingAccounts to be more idiomatic
2023-01-07 17:06:35 -05:00
tjs 9efe95cc75 fix serum3PlaceOrder logic so health remaining accounts are in order 2023-01-07 00:10:50 -05:00
Adrian Brzeziński 068fad98f7
combine open orders create with place order (#362)
* wip

* place order fix

* fixes

* comment

* cleanup

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

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
Co-authored-by: microwavedcola1 <microwavedcola@gmail.com>
2023-01-05 08:30:15 +01:00
microwavedcola1 6aea3f97db Merge branch 'main' into dev 2022-12-07 11:01:36 +01:00
tjs 256b948207 parse fill events 2022-11-20 23:50:08 -05:00
Christian Kamm 58f7ff2e0e Add staleness param to OracleConfig
Since Bank can't expand the existing OracleConfig, add a new one to Bank
and (temporarily!) copy over the old value to the new one in
TokenUpdateIndexAndRate.

Add some reserved space to OracleConfig to make this easier in the
future.

Breaks the PerpMarket and PerpPosition layouts
2022-11-12 12:11:09 +01:00
Christian Kamm 3b3258769f ts: TokenEdit takes optional arguments 2022-09-02 12:24:04 +02:00
Nicholas Clarke 8a1c58e723
FlashLoan: Add flash_loan_type (#164)
Co-authored-by: Christian Kamm <mail@ckamm.de>
2022-08-17 12:36:55 +02:00
Christian Kamm c8ebc1f611 Rename MarginTrade -> FlashLoan 2022-06-23 10:23:52 +02:00
tjs b8f1a060c3 finish orca pool integration with margin trade 2022-05-31 21:38:47 -04:00