microwavedcola1
7748147737
extend example to include serum oo account in health metas
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-04-03 16:02:14 +02:00
microwavedcola1
a1cb64a01b
add support for creating serum3 open orders
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-04-03 13:50:46 +02:00
microwavedcola1
fc6066b4ef
cleanup dead code
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-04-03 08:58:52 +02:00
microwavedcola1
06a4bb90ba
more reorg
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-04-03 08:57:45 +02:00
microwavedcola1
2cc8bfbeeb
reorg
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-04-03 08:47:02 +02:00
microwavedcola1
e6727cbfae
fix clippy warning
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-04-03 06:21:34 +02:00
microwavedcola1
7803cae654
fix clippy warning
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-04-03 06:16:41 +02:00
microwavedcola1
dfd1dc5216
fix clippy warning
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-04-03 06:11:41 +02:00
microwavedcola1
204ab6963d
checked math
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-04-03 06:09:01 +02:00
microwavedcola1
d6fe317ac9
checked math
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-04-03 06:06:03 +02:00
microwavedcola1
bf161ac3f6
stub oracle
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-04-03 06:00:30 +02:00
microwavedcola1
9debc63a6a
update idl, add tokenmint to stuboracle for gpa ( #34 )
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-04-03 05:43:32 +02:00
microwavedcola1
884d638e36
Merge pull request #33 from blockworks-foundation/mc/stub-oracle-ext
...
Mc/stub oracle ext
2022-04-03 05:36:24 +02:00
microwavedcola1
ace5df2a85
revert unintended changes
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-04-03 05:21:16 +02:00
microwavedcola1
d7a8c5c91d
add todo
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-04-02 21:04:00 +02:00
microwavedcola1
77ddbd4eeb
fix test
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-04-02 21:02:48 +02:00
microwavedcola1
c7d3103e6b
--wip-- [skip ci]
2022-04-02 20:42:17 +02:00
microwavedcola1
041b8ecdd0
optimise imports
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-04-02 20:17:08 +02:00
microwavedcola1
5fbc27e184
remove dead code
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-04-02 20:16:31 +02:00
microwavedcola1
4d1a9e4556
refactor
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-04-02 20:15:56 +02:00
microwavedcola1
d2a0fd5305
serum3market ts typings
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-04-02 19:35:30 +02:00
microwavedcola1
605ef31353
rename
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-04-02 19:29:18 +02:00
microwavedcola1
8210e9bc00
adapt to program side renaming
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-04-02 19:18:46 +02:00
microwavedcola1
227f03b125
support for registerting serum markets
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-04-02 19:13:58 +02:00
microwavedcola1
057045fa19
simplify
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-04-02 18:05:05 +02:00
Christian Kamm
9f0a7f67ae
Orderbook: Port over unittests
2022-04-02 13:51:26 +02:00
Christian Kamm
cbc3cc7bbd
MangoAccount: Rename how tokens/serum3/perps data is stored
...
token_account_map -> tokens
serum3_account_map -> serum3
perp -> perps
2022-04-02 13:51:26 +02:00
microwavedcola1
c567a2d330
basic support for registering serum market
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-04-02 12:55:29 +02:00
microwavedcola1
881bdb2367
remove hardcoded
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-04-02 11:59:58 +02:00
microwavedcola1
5f49755f51
extend example, multiple wallets
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-04-02 11:52:28 +02:00
microwavedcola1
09bc5a8473
support unbound vars
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-04-02 10:09:21 +02:00
microwavedcola1
1d15db37c5
clippy
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-04-02 10:02:12 +02:00
microwavedcola1
9cd08a1355
improve checks
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-04-02 09:52:40 +02:00
microwavedcola1
87bcc538cd
compiles
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-04-02 09:05:31 +02:00
microwavedcola1
27ee48a206
Merge pull request #32 from blockworks-foundation/mc/serum-anchor-style-args
...
Make Serum3 ix anchor friendly
2022-04-02 08:59:58 +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
Christian Kamm
d26caf1c87
Perp: Rename fields to be explicit about being in lots
2022-04-01 15:47:12 +02:00
Christian Kamm
f2607889e3
Perps: Place accounts and open orders in MangoAccount::perp
...
Also make test_perp succeed by fixing the FillEvent size.
2022-04-01 12:45:01 +02:00
Christian Kamm
f48a7f5ed9
Clippy: Address issues
2022-04-01 12:21:19 +02:00
Christian Kamm
833a909aa4
Orderbook: unify new_bid/new_ask
2022-04-01 12:21:19 +02:00
Christian Kamm
6505abcd54
Side: Make inversion function be associated
2022-04-01 12:21:19 +02:00
microwavedcola1
8e608ac606
some more building ix separately and then sending it separately
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-04-01 11:24:45 +02:00
microwavedcola1
9aa86ecb6a
add example of building ix separately and then sending it separately
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-04-01 11:20:26 +02:00
microwavedcola1
30ef479df9
update
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-04-01 10:23:47 +02:00
microwavedcola1
997301d079
more docs
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-04-01 09:11:08 +02:00
microwavedcola1
7ab18cff9f
update exports
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-04-01 09:05:38 +02:00
microwavedcola1
4b17381658
update example + types
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-04-01 09:04:26 +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
Christian Kamm
10ab9804d1
Rename perp instructions to have perp_ prefix
2022-04-01 08:01:56 +02:00
microwavedcola1
fbc7c5e9d5
empty devnet setup
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-03-31 21:04:45 +02:00