tjs
9f9c8a0a7a
fix spl-token version in package.json
2022-05-25 20:29:13 -04:00
Christian Kamm
946e6b1c96
margin_trade: doc improvements
2022-05-25 08:02:55 +02:00
Christian Kamm
0686199ed2
ci: don't push instruction cu logs to repo
2022-05-25 07:55:20 +02:00
dafyddd
382059cb42
added first attempt for `withdraws` vec. try it out and see if it breaks
2022-05-24 18:40:05 -04:00
github-actions[bot]
f6c2ad8e11
chore: push cu test logs
2022-05-24 20:20:03 +00:00
github-actions[bot]
6a13ff549b
chore: push cu test logs
2022-05-24 20:16:52 +00:00
microwavedcola1
f9cdf731cf
Merge branch 'dev'
2022-05-24 22:06:36 +02:00
microwavedcola1
33a5e7d50a
Change tuple to a struct, seemingly anchor ts doesnt support tuples
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-05-24 16:04:37 -04:00
microwavedcola1
ed4e63a82f
Change tuple to a struct, seemingly anchor ts doesnt support tuples
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-05-24 22:03:35 +02:00
tjs
d56b439951
remove unused npm files in ts/client
2022-05-24 15:47:10 -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
tjs
d4097e5fc2
wip - margin trade with orca
2022-05-24 14:25:31 -04:00
github-actions[bot]
e7d5b7cff9
chore: push cu test logs
2022-05-24 15:16:58 +00:00
github-actions[bot]
30bc466072
chore: push cu test logs
2022-05-24 15:15:11 +00:00
Christian Kamm
662e2acc16
Merge remote-tracking branch 'origin/main' into dev
2022-05-24 17:03:47 +02:00
Christian Kamm
3aca793f0e
Commit deployment changes
2022-05-24 17:01:34 +02:00
Christian Kamm
8089824063
Merge remote-tracking branch 'origin/dev' into main
2022-05-24 16:51:30 +02:00
github-actions[bot]
e4013d2cd9
chore: push cu test logs
2022-05-24 14:51:03 +00:00
Christian Kamm
9aa5464b0d
Merge pull request #55 from blockworks-foundation/ckamm/margin-trade-updates
...
Improvements to margin_trade
2022-05-24 16:36:10 +02:00
microwavedcola1
9145746ac0
use same rust as what solana uses, use same solana version as cargo toml
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-05-24 13:52:30 +02:00
Christian Kamm
f844720130
Review fixes
2022-05-24 13:00:32 +02:00
Christian Kamm
53a5e208fd
margin_trade: loan origination fees, limited withdraws
2022-05-23 08:55:30 +02:00
Christian Kamm
21af012d1f
Improvements to margin_trade
...
- don't hard-code the group as the first passed account
- token::approve() banks for each token vault
- sign for each bank
- deal with using tokens without an existing position
- handle deactivation of token account if balance goes to 0
2022-05-20 10:16:09 +02:00
github-actions[bot]
437f502c79
chore: push cu test logs
2022-05-18 21:00:17 +00:00
Christian Kamm
8a8b36e345
Fold loan origination fee handling into Bank
2022-05-18 22:53:03 +02:00
github-actions[bot]
ca3db2770c
chore: push cu test logs
2022-05-18 15:29:10 +00:00
microwavedcola1
717b72857d
Remove anchor dummy type workaround ( #53 )
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-05-18 17:16:14 +02:00
github-actions[bot]
6daa66f2bf
chore: push cu test logs
2022-05-17 15:23:34 +00:00
microwavedcola1
ab0df0e7f2
unwrap
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-05-17 17:11:37 +02:00
microwavedcola1
2de149f74c
checked math + rustfmt
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-05-17 17:08:00 +02:00
microwavedcola1
15ef563812
support base58 keypairs for running on ci
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-05-17 16:56:40 +02:00
microwavedcola1
6ecd4a0da9
Update funding for keeper
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-05-17 15:59:47 +02:00
github-actions[bot]
7cd81f42b2
chore: push cu test logs
2022-05-17 13:32:46 +00:00
microwavedcola1
e0c5562a5b
Fix client to make work with latest perp changes
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-05-17 15:20:31 +02:00
github-actions[bot]
12ced75fea
chore: push cu test logs
2022-05-17 13:18:23 +00:00
microwavedcola1
2518ec24a6
Update client to match program changes
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-05-17 15:06:29 +02:00
microwavedcola1
f19f3da659
add todo
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-05-17 13:01:48 +02:00
microwavedcola1
a4f3569a87
Fix merge
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-05-17 10:12:16 +02:00
microwavedcola1
fac9b4a57a
perp funding
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-05-17 10:07:24 +02:00
microwavedcola1
be73106ce1
perp funding ( #51 )
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-05-16 15:34:56 +02:00
microwavedcola1
f5c505f847
fix test
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-05-16 15:26:38 +02:00
microwavedcola1
db82fcbbcc
perp cancel order instructions
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-05-16 10:49:11 +02:00
microwavedcola1
67c1d5d451
format
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-05-16 10:49:11 +02:00
microwavedcola1
967ce34002
move comment
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-05-16 10:49:11 +02:00
microwavedcola1
a1034c08b7
refactor
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-05-16 10:49:11 +02:00
microwavedcola1
ee6fe93b26
Fix tests
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-05-16 10:49:11 +02:00
microwavedcola1
fbd3fd410c
loan_origination_fees
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-05-16 10:49:11 +02:00
github-actions[bot]
16cf12b3ba
chore: push cu test logs
2022-05-14 09:10:07 +00:00
silas
3b398487cd
Delete cu-per-ix-clean.log ( #49 )
2022-05-14 10:58:25 +02:00