Christian Kamm
c391c29347
liq token: Instruction outline
2022-03-27 14:46:51 +02:00
microwavedcola1
b139f6beab
ask example test
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-03-26 17:27:50 +01:00
microwavedcola1
b851dd13ad
add new ask
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-03-26 17:06:55 +01:00
microwavedcola1
c83be301e4
extend
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-03-26 06:41:39 +01:00
microwavedcola1
1e5a6f90bc
extend
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-03-26 06:37:32 +01:00
microwavedcola1
223179b278
basic test to measure cu
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-03-26 06:16:52 +01:00
microwavedcola1
c7bf53659c
fix warning
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-03-25 20:44:06 +01:00
microwavedcola1
00da3460ab
cleanuo
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-03-25 20:35:19 +01:00
microwavedcola1
860b7aa1d4
cleanup
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-03-25 20:03:44 +01:00
microwavedcola1
27eaa5f8f5
ported fees
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-03-25 09:46:38 +01:00
microwavedcola1
3036ffa45c
clippy
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-03-24 19:27:00 +01:00
microwavedcola1
671c06da89
events
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-03-24 19:20:56 +01:00
microwavedcola1
0e953f5e80
more
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-03-24 19:15:46 +01:00
microwavedcola1
f895467bf5
weights
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-03-24 17:29:30 +01:00
microwavedcola1
21073d6b71
cleanup
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-03-24 16:12:55 +01:00
microwavedcola1
de0ce5ad8f
cleanup
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-03-24 15:29:42 +01:00
microwavedcola1
baf4b255c8
remove more dead code
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-03-24 14:48:11 +01:00
microwavedcola1
1eaf58812f
remove more dead code
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-03-24 14:46:09 +01:00
microwavedcola1
ba4300accc
simplify
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-03-24 14:40:08 +01:00
microwavedcola1
4a3d61a0b0
cleanup unused
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-03-24 14:08:10 +01:00
microwavedcola1
e6ee72b8b0
remove unused
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-03-24 13:45:46 +01:00
microwavedcola1
4f7eb1b38f
add ts basic example, cleanup release script, update idl
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-03-23 15:39:11 +01:00
microwavedcola1
4459369c23
Merge pull request #30 from blockworks-foundation/mc/clippy
...
fix clippy warnings
2022-03-23 10:04:01 +01:00
microwavedcola1
5919a5a1df
Merge branch 'main' into mc/clippy
2022-03-23 09:53:50 +01:00
microwavedcola1
f135ca4d9b
fix clippy warnings
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-03-23 09:33:51 +01:00
microwavedcola1
fde4bce86f
Merge pull request #29 from blockworks-foundation/mc/event_queue
...
add event queue
2022-03-23 08:54:11 +01:00
microwavedcola1
b0d6a14d00
fix clippy warnings
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-03-23 08:34:23 +01:00
microwavedcola1
f7fb9b7e35
add event queue
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-03-23 07:53:45 +01:00
Christian Kamm
696806ee77
Add liq_token_with_token file outline
2022-03-22 19:25:33 +01:00
Christian Kamm
bfcb672116
Health: allow account order to be fixed, or to scan for accounts
...
The latter is important when we want to compute health for two different
accounts. Then the remainingAccounts would hold the union of the
necessary accounts, and each health check would need to look for the
accounts that it needs.
This patch al so reduces the compute needs for fixed-layout health
checks significantly (Deposit for an account with 8 tokens and 7 markets
takes 65k instead of 70k cu)
2022-03-22 14:13:07 +01:00
microwavedcola1
3443ab0d70
Merge pull request #27 from blockworks-foundation/mc/ci
...
checked math
2022-03-22 11:47:10 +01:00
microwavedcola1
237d776e2b
fix test cu requirement
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-03-22 11:33:06 +01:00
microwavedcola1
974724cfe1
fix some clippy warnings
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-03-22 11:19:12 +01:00
microwavedcola1
ed9368cb3d
checked math
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-03-22 10:39:51 +01:00
Christian Kamm
d1a7cd109d
Serum: remove some duplicated functions
2022-03-22 09:58:10 +01:00
Christian Kamm
43eba0a529
Serum: Test for force cancel orders
2022-03-22 09:25:13 +01:00
silas
d7e4fc3ea9
Add manual run
2022-03-22 07:45:36 +00:00
microwavedcola1
b8d84112d7
fix
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-03-22 07:09:49 +01:00
microwavedcola1
ec5e959804
further work on perps
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-03-22 07:06:33 +01:00
Christian Kamm
34d14ef267
Serum: serum3_liq_force_cancel_orders instruction
...
Still needs a test.
2022-03-21 17:39:52 +01:00
Christian Kamm
27f882a333
Tests: More flexible test context construction
2022-03-21 10:45:55 +01:00
Christian Kamm
a6a31f226c
Tests: Unify group + tokens setup
2022-03-21 07:49:51 +01:00
Christian Kamm
75ac224b6e
Tests: Bank deposit/withdraw/active/dust tests
2022-03-21 07:01:25 +01:00
microwavedcola1
e7b32c6149
clippy
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-03-20 10:16:02 +01:00
microwavedcola1
fbedea9424
reorg, placeholder for place perp order
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-03-20 10:11:36 +01:00
Christian Kamm
1ad0826573
Clippy warnings
2022-03-19 12:53:24 +01:00
Christian Kamm
6f72cd27e8
Serum: Cancel order instruction
2022-03-19 12:19:16 +01:00
Christian Kamm
63050c3661
Serum: No health check needed after settle_funds
...
It just moves free funds from open_orders to the user account.
2022-03-19 09:05:42 +01:00
Christian Kamm
9fb16f3906
Add comments
2022-03-19 08:54:33 +01:00
microwavedcola1
9475d9545c
add comment
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-03-19 08:52:38 +01:00