microwavedcola1
aa8214412b
v0.5.26
2023-03-07 12:54:04 +01:00
microwavedcola1
d9181fc4b5
Merge branch 'deploy-mm' into dev
2023-03-07 08:32:52 +01:00
microwavedcola1
b38bca5517
easy building of governance ixs
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-03-02 09:20:49 +01:00
microwavedcola1
8ec2a458a8
v0.5.25
2023-03-01 12:41:49 +01:00
microwavedcola1
cd87b33400
v0.5.24
2023-03-01 12:20:50 +01:00
tjs
a77affa5be
0.5.23
2023-02-23 13:35:48 -05:00
tjs
5c5638ab8d
deploy latest main to npm 0.5.22
2023-02-22 15:18:02 -05:00
microwavedcola1
9d72ba5612
tsconfig fix for ts-node scripts ( #473 )
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-02-22 10:23:50 +01:00
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
microwavedcola1
b2b029e21e
upgrade a bunch of ts packages ( #449 )
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-02-09 18:02:28 +01:00
microwavedcola1
b439630474
v0.4.3
2023-02-01 13:47:42 +01:00
microwavedcola1
63a5fdb9c3
v0.4.2
2023-01-30 14:33:42 +01:00
microwavedcola1
98c756e88c
update npm package version
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-01-30 14:27:49 +01:00
riordanp
2f78bd336f
Add oracleLastUpdatedSlot to Bank and PerpMarket ( #395 )
...
* Parse last updated slot from oracle
* Fix typo
* Remove unused package
2023-01-17 18:03:16 +00:00
microwavedcola1
3c2a55bf07
Merge branch 'dev'
2023-01-04 13:23:48 +01:00
tjs
c30ecbb7bb
downgrade pyth client
2023-01-03 20:11:55 -05:00
riordanp
89c024e9df
Setup MM for Heroku deployments ( #358 )
...
* Setup mm for heroku
* Update params
* Update Procfile
* Fix runtime dependencies
* Run linter
2023-01-02 19:21:08 +00:00
Christian Kamm
071dc34ccc
Client: Rework max_swap function ( #340 )
...
* Client: Rework max_swap function
Determining the amounts at which the health function changes slope
becomes too difficult when serum3 open orders come in.
Instead, generally find the function's maximum and then work with that.
* max_swap: Add test for swapping into a trustless token
* ts port
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
Co-authored-by: microwavedcola1 <microwavedcola@gmail.com>
2022-12-16 16:33:37 +01:00
microwavedcola1
51cded4965
Mc/health max swap with serum effects ( #333 )
...
* rearrange, log before expect
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* rearrange, log before expect
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* Fix test
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* health max swap with serum effects
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* max swap: Fix with serum reserved amounts
* port rust code to ts
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* port tests
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* Fix method call
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* Fixes from review
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
Co-authored-by: Christian Kamm <mail@ckamm.de>
2022-12-14 09:21:45 +01:00
microwavedcola1
d0c85f14e6
make mm work with mango-perp, deposit some funds into shared wallet mango account, fixed some ts perp issues
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-12-09 20:23:30 +01:00
microwavedcola1
2ca5354e48
bump timeout, hoping ci job passes
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-12-09 06:12:00 +01:00
microwavedcola1
f37b94a189
fix
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-12-08 11:06:57 +01:00
microwavedcola1
6aea3f97db
Merge branch 'main' into dev
2022-12-07 11:01:36 +01:00
tjs
20adf76aac
add dotenv for client config vars
2022-12-05 14:48:06 -05:00
microwavedcola1
d3661bac7b
mc/oracle peg ts client ( #290 )
...
* oracle peg client support
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>
* Fix from review
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-11-21 19:34:41 +01:00
tjs
8dcedfb501
bump pkg v
2022-11-17 22:04:53 -05:00
tjs
1c70988068
remove reference to yarn
2022-11-17 15:23:53 -05:00
tjs
4a62912284
hardcode spl-token version
2022-11-17 14:38:30 -05:00
tjs
8b128c9cfd
use latest spl-token pkg
2022-11-17 13:24:11 -05:00
tjs
679bc05fa8
use switchboard v2 lite client
2022-11-17 13:22:30 -05:00
tjs
c4582b0b76
use spl-token v 0.2.0
2022-11-17 12:51:12 -05:00
tjs
4649774347
add back web3.js pkg resolution
2022-11-17 10:51:20 -05:00
tjs
96f707e96d
fix pkg json
2022-11-16 23:51:44 -05:00
tjs
96104fc1cd
support versioned txs
2022-11-15 23:10:03 -05:00
tjs
3993c5926b
v0.0.1-beta.5
2022-10-27 11:25:24 -04:00
microwavedcola1
3efebb3ea6
ts: market maker improvements ( #270 )
...
* ts: fix typechecking on scripts
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* ts: market maker round of improvements
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-10-11 09:39:57 +02:00
tjs
56313b6eac
Merge branch 'dev' into main
2022-10-04 14:54:42 -04:00
microwavedcola1
dd83aeb156
ts: ALTs integration
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-09-28 17:09:59 +02:00
tjs
5b4a810c5e
push latest client
2022-09-26 10:10:01 -04:00
microwavedcola1
b7aa6dbd5d
ts: tiny liabs pushes health ratio beyond what I80F48 can support ( #243 )
...
* ts: tiny liabs pushes health ratio beyond what I80F48 can support
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* add alias
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-09-24 07:11:57 +02:00
tjs
b687435a37
v0.0.1-beta.2
2022-09-12 12:34:55 -04:00
microwavedcola1
aae3c32c78
mc/switchboard ts support ( #182 )
...
* switchboard oracle v2 parsing
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* fix
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-08-24 10:16:43 +02:00
Nicholas Clarke
808f0abde9
Clarkeni/ids from api ( #177 )
...
* Fetch ids from api. Use mint public key in client args instead of token name.
Fix tests
Add getFirstBankByMint and getFirstBankByTokenIndex
* prettier
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* yarn fix
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* fix usage of service
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* cleanup
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* clean up testing scripts
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
Co-authored-by: microwavedcola1 <microwavedcola@gmail.com>
2022-08-18 08:48:45 +02:00
tjs
4b7fa7288b
bump pkg version
2022-08-04 14:46:16 -04:00
tjs
3abc8e482b
run prettier and add prettierignore
2022-08-04 14:13:46 -04:00
tjs
21f469fe4d
add eslint config and fix errors
2022-08-04 13:42:41 -04:00
Nicholas Clarke
4f1f4ec84e
Clarkeni/anchor tests ( #120 )
...
* Anchor tests
* Liquidation client functions
* Add payer to client functions
2022-08-03 09:05:16 -07:00
microwavedcola1
2fb92abad8
Mc/ts upgrade ( #122 )
...
* upgrade anchor fork, supports anchor idl close now
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* upgrade ts deps
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-07-26 17:14:07 +02:00
tjs
1b04f924e3
make jup-ag/core a devdependency
2022-07-05 23:38:53 -04:00
tjs
18a9877e5a
remove jup from client
2022-06-30 15:53:29 -04:00
tjs
97d45896b9
add yarn prepare
2022-06-30 13:32:55 -04:00
tjs
91b2e770e6
add esm tsconfig
2022-06-30 13:17:10 -04:00
tjs
997c610ec9
use jupiter swap and remove orca integration code
2022-06-24 16:41:04 +02:00
tjs
997d363195
wip margin trade with spl token transfers
2022-06-23 15:20:32 +02:00
tjs
46f3fd4c29
adds fn to get oracle prices for group tokens
2022-06-21 19:14:24 +02:00
tjs
2a39e4c603
add deposit and borrow rate client fns
2022-06-21 12:38:05 +02:00
tjs
f8b7fc7037
add back yarn prepare
2022-06-10 09:21:54 -04:00
tjs
07ad602133
integrate initial pass of orcas devnet swap
2022-06-10 09:02:10 -04:00
microwavedcola1
3370e105eb
script for pushing account to health<0, reorg scratch files, some helper methods in ts client
2022-06-03 15:34:05 +02:00
tjs
b8f1a060c3
finish orca pool integration with margin trade
2022-05-31 21:38:47 -04:00
tjs
9f9c8a0a7a
fix spl-token version in package.json
2022-05-25 20:29:13 -04:00
tjs
9bf1e56615
fix package.json
2022-05-24 15:08:01 -04:00
tjs
55b7c73ac4
update package.json
2022-05-24 14:50:05 -04:00
Christian Kamm
8089824063
Merge remote-tracking branch 'origin/dev' into main
2022-05-24 16:51:30 +02:00
tjs
4027ef540f
v0.0.1
2022-05-03 23:49:59 -04:00
tjs
b9fb552e9e
move package.json to root directory
...
to support the ui
2022-05-02 12:23:58 -04:00
microwavedcola1
62ee1bc5c0
prepare for multiple ts packages
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-04-12 17:28:47 +02:00
microwavedcola1
3ed3220838
fix package.json targets
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-04-07 19:09:11 +02:00
microwavedcola1
ed312e71d5
fix package.json targets
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-04-07 17:16:46 +02:00
microwavedcola1
da4835c84b
serum3 place order, with some todos
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-04-04 07:20:46 +02:00
microwavedcola1
0bdbd19ddd
Make Serum3 ix anchor friendly
...
Make work with changes in mango account, add no deploy part to release script
Clippy
Fixes from cr
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-04-02 08:59:07 +02:00
microwavedcola1
4d4745d75b
Some more progress on the client
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-04-01 08:59:39 +02:00
microwavedcola1
78df0082c4
Some progress on initial ts example
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-03-31 15:58:18 +02:00
microwavedcola1
3dba9095ba
bump anchor ts lib
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-02-23 11:10:50 +01:00
microwavedcola1
634d442469
ts client boilerplate
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-02-23 11:09:17 +01:00
microwavedcola1
a73ba559c2
cleanup
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-02-23 10:56:03 +01:00
microwavedcola1
66172881a1
First commit
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-01-21 19:21:46 +01:00