tjs
21f469fe4d
add eslint config and fix errors
2022-08-04 13:42:41 -04:00
microwavedcola1
38a5951558
remove extra signers from tokenDeposit, tokenWithdraw, createMangoAccount, liquidation ixs ( #141 )
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-08-04 17:35:05 +02:00
Christian Kamm
681c69e3a5
Client: Add jupiter_swap ( #139 )
2022-08-04 17:01:00 +02:00
microwavedcola1
331bb7ebf0
refactor,format
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-08-04 12:13:36 +02:00
microwavedcola1
dd8086d8eb
format
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-08-04 12:04:08 +02:00
microwavedcola1
ca6b857a43
format
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-08-04 12:03:06 +02:00
microwavedcola1
d34dea961c
format
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-08-04 12:01:23 +02:00
microwavedcola1
a546f6fb3e
format
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-08-04 11:58:46 +02:00
microwavedcola1
f134f0257a
format
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-08-04 11:54:19 +02:00
microwavedcola1
1cab5f92fb
match spec of incoming types to accounts on chain, and also the order
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-08-04 10:41:54 +02:00
microwavedcola1
325e29c9a3
rename
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-08-04 09:53:38 +02:00
microwavedcola1
c39cbc660b
refactor
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-08-04 09:38:43 +02:00
microwavedcola1
fcad07b42e
changelog
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-08-04 09:30:20 +02:00
microwavedcola1
f49990339c
fix method name
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-08-04 09:28:18 +02:00
microwavedcola1
5d961f144d
fix
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-08-04 09:25:42 +02:00
microwavedcola1
e81da8f570
Merge branch 'main' into dev
2022-08-04 09:25:24 +02:00
microwavedcola1
7953e123cc
add simple logging
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-08-04 09:25:19 +02:00
microwavedcola1
cf3b49f0d2
Merge branch 'main' into dev
2022-08-04 09:07:44 +02:00
microwavedcola1
327ea8acff
extend type
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-08-04 09:07:32 +02:00
microwavedcola1
ba21d736c1
update idl
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-08-04 08:51:16 +02:00
microwavedcola1
5b367b9863
Merge branch 'main' into dev
2022-08-04 08:50:58 +02:00
microwavedcola1
e6fe7bd8cc
update idl, cleanup code
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-08-04 08:50:48 +02:00
Christian Kamm
22080fdcc1
TokenRegister: Fix anchor seed derivation
...
It likes names constant, but not constant literals.
2022-08-04 08:26:18 +02:00
Christian Kamm
a994626ef5
TokenRegister: Fix anchor seed derivation
...
It likes names constant, but not constant literals.
2022-08-04 08:25:41 +02:00
microwavedcola1
cc17f2a95a
Merge branch 'dev'
2022-08-04 08:03:59 +02:00
microwavedcola1
82ac70ea8e
idl update
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-08-04 08:00:41 +02:00
tjs
bb8cdd4a8f
tokenIndices need to be in order for remaininghealthaccounts
2022-08-04 01:20:03 -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
b62c0cd9be
fix
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-08-03 15:45:10 +02:00
microwavedcola1
9d117c84ac
fix from review
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-08-03 15:45:10 +02:00
microwavedcola1
505cbd48aa
fixes from review
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-08-03 15:45:10 +02:00
microwavedcola1
59dd3aa66e
insurance fund for trustless vs not trustful
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-08-03 15:45:10 +02:00
microwavedcola1
e31ad9ce34
token register trustless
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-08-03 15:45:10 +02:00
Christian Kamm
d3a634c709
Cargo: Fix mango-v4 deps to specify client feature
2022-08-03 09:48:50 +02:00
microwavedcola1
a7654f43a1
update idl, and fix tsc errors
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-08-02 11:28:39 +02:00
Christian Kamm
b0dae7ec22
client: construct from account pubkeys
2022-08-02 09:45:12 +02:00
Christian Kamm
16290e07f4
client: fix mango account reading
2022-08-02 09:45:12 +02:00
Christian Kamm
157b322635
ts: fix scripts
...
- group create
- perp event queue + book side sizes
2022-08-02 09:45:12 +02:00
Christian Kamm
c22590302a
Add "cli" command line tool to generate pda addresses
2022-08-02 09:45:12 +02:00
microwavedcola1
9c10101166
remove traces of address lookup tables aka transactions v2
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-08-02 09:39:08 +02:00
microwavedcola1
54b8a940f2
rename
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-08-02 09:38:28 +02:00
microwavedcola1
374c0eb136
mc/clippy ( #135 )
...
* clippy pass 1
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* clippy pass 2
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-08-02 09:07:10 +02:00
microwavedcola1
a9a03b97ac
mc/registration time ( #132 )
...
* registration time
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* fix from review
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* fix from review
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* mc/u32 numbers - consistent numbers in pdas (#133 )
* consistent numbers in pdas
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* fix
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-08-01 18:46:45 +02:00
microwavedcola1
5c3b2c1189
mc/kill flash loan 1 & 2 and rename flash loan 3 to flash loan ( #131 )
...
* remove flash loan 1 & 2
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* rename flash loan 3 to flash loan
* fix test
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-08-01 16:55:17 +02:00
microwavedcola1
c516e45d08
mc/review reserved on accounts ( #130 )
...
* review and extend reserved on accounts
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* revert changes to node size, stack gets smashed in rust unit tests
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* max possible
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* max
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* Fixes from review
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* header version
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* Fix from review
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* fix
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>
2022-08-01 16:53:30 +02:00
microwavedcola1
e8e774a1a4
mc/feature gating ( #129 )
...
* feature gating
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* Fixes from review
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-08-01 12:56:29 +02:00
Christian Kamm
16e1e83e26
Client: Move chain_data to client for reuse
2022-07-31 11:03:54 +02:00
microwavedcola1
91d59c1918
close insurance vault also
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-07-31 09:57:56 +02:00
microwavedcola1
0c3efe21a9
match latest changes in group creation
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-07-31 09:36:46 +02:00
microwavedcola1
45fd36642e
prepare group for ownership transfer to governance ( #125 )
...
* prepare group for ownership transfer to governance
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* Fixes from reviews
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* fix from review
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-07-31 09:28:16 +02:00