Go to file
Christian Kamm 685fd3122f Perps: Limit overall health contribution from perp markets
We don't want to allow borrowing against unsettled pnl in perp markets.

This makes it safer to create perp markets for untrustworthy assets.
2022-06-06 12:58:08 +02:00
.cargo use same rust as what solana uses, use same solana version as cargo toml 2022-05-24 13:52:30 +02:00
.github/workflows serum taker bot (#57) 2022-05-28 07:05:34 +02:00
keeper cargo fix 2022-05-29 12:30:48 +02:00
lib/checked_math Add checked_math library for convenient overflow checking 2022-03-13 15:45:50 +01:00
mango-macro further work on perps 2022-03-22 07:06:33 +01:00
migrations
programs Perps: Limit overall health contribution from perp markets 2022-06-06 12:58:08 +02:00
py
ts/client/src script for pushing account to health<0, reorg scratch files, some helper methods in ts client 2022-06-03 15:34:05 +02:00
.gitignore Mc/keeper next (#45) 2022-04-13 16:41:15 +02:00
Anchor.toml fix address 2022-03-30 17:41:37 +02:00
Cargo.lock serum taker bot (#57) 2022-05-28 07:05:34 +02:00
Cargo.toml poc keeper 2022-04-09 21:18:07 +02:00
README.md Remove anchor dummy type workaround (#53) 2022-05-18 17:16:14 +02:00
idl-fixup.sh Remove anchor dummy type workaround (#53) 2022-05-18 17:16:14 +02:00
mc-release-to-devnet.sh ts client support for perps 2022-05-11 20:06:07 +02:00
package.json script for pushing account to health<0, reorg scratch files, some helper methods in ts client 2022-06-03 15:34:05 +02:00
release-to-devnet.sh Remove anchor dummy type workaround (#53) 2022-05-18 17:16:14 +02:00
tsconfig.json move package.json to root directory 2022-05-02 12:23:58 -04:00
update-local-idl.sh Remove anchor dummy type workaround (#53) 2022-05-18 17:16:14 +02:00
yarn.lock fix spl-token version in package.json 2022-05-25 20:29:13 -04:00

README.md

Development

  • rust version 1.59.0 (9d1b2106e 2022-02-23)
  • solana-cli 1.9.13
  • anchor-cli 0.24.2
  • npm 8.1.2
  • node v16.13.1

Devnet deployment - m43thNJ58XCjL798ZSq6JGAG1BnWskhdq5or6kcnfsD

TS client based examples

  • ts/client/src/scripts/example1-admin.ts
  • ts/client/src/scripts/example1-user.ts