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 |
microwavedcola1
|
331bb7ebf0
|
refactor,format
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
|
2022-08-04 12:13:36 +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
|
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
|
7953e123cc
|
add simple logging
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
|
2022-08-04 09:25:19 +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
|
e6fe7bd8cc
|
update idl, cleanup code
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
|
2022-08-04 08:50:48 +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
|
505cbd48aa
|
fixes from review
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 |
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
|
157b322635
|
ts: fix scripts
- group create
- perp event queue + book side sizes
|
2022-08-02 09:45:12 +02:00 |
microwavedcola1
|
54b8a940f2
|
rename
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
|
2022-08-02 09:38:28 +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
|
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 |
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
|
c88297f42e
|
mc/ts and keeper improvements (#127)
* ts and keeper improvements
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* remove stray heroku experiments
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* Fixes from reviews
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
|
2022-07-31 09:25:11 +02:00 |
microwavedcola1
|
0b2e1e6e6c
|
Mc/realloc 4 (#119)
Realloc + dynamic mango account
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
Co-authored-by: Christian Kamm <mail@ckamm.de>
|
2022-07-25 16:07:53 +02:00 |
Christian Kamm
|
46b6bce14b
|
IDL: Remove NodeRef and NodeRefMut enums
Anchor cannot load idls that include enums with tuple variants.
|
2022-07-22 08:35:30 +02:00 |
Christian Kamm
|
ea85824ccb
|
Remove code copied from solana-address-lookup-table-program
This removes the ProgramInstruction enum from the IDL, which was unused
and could break clients.
|
2022-07-21 06:49:04 +02:00 |
Christian Kamm
|
f8d4b2443c
|
Liq: Don't log common+expected simulation errors
|
2022-07-20 09:47:37 +02:00 |
Christian Kamm
|
eee7ed097b
|
fix getEquivalentNativeUsdcPosition for null TokenPosition
|
2022-07-18 18:18:57 +02:00 |
Christian Kamm
|
45f3e26386
|
Improve scripts for making a liquidation candidate
|
2022-07-18 18:18:57 +02:00 |
Christian Kamm
|
5231ee7f98
|
Token edit: Fix bug where mintinfo.oracle goes out of sync
|
2022-07-18 18:18:57 +02:00 |
Christian Kamm
|
33d4412ff8
|
Example scripts: accept GROUP_NUM env var
|
2022-07-18 18:18:57 +02:00 |
Christian Kamm
|
a75e282793
|
ts: Always increase stack trace limit
|
2022-07-17 13:26:57 +02:00 |
microwavedcola1
|
b3c30eeff1
|
Update mangoAccount.ts
|
2022-07-14 15:01:10 +02:00 |
microwavedcola1
|
227eda9844
|
Fix
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
|
2022-07-14 14:29:44 +02:00 |
microwavedcola1
|
62bc3649d7
|
off by default
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
|
2022-07-14 14:01:47 +02:00 |
microwavedcola1
|
1e903bf32c
|
fix confusing method name
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
|
2022-07-14 14:00:41 +02:00 |
microwavedcola1
|
6b31b6af48
|
update
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
|
2022-07-14 10:12:47 +02:00 |
microwavedcola1
|
fdda9c7a2e
|
update
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
|
2022-07-14 10:03:36 +02:00 |
microwavedcola1
|
ba3cf21e29
|
deposit
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
|
2022-07-14 09:47:42 +02:00 |
microwavedcola1
|
e00f189687
|
log format
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
|
2022-07-14 09:37:11 +02:00 |
microwavedcola1
|
db93aeaa32
|
Fix params
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
|
2022-07-14 09:32:56 +02:00 |
microwavedcola1
|
fcd373656b
|
update idl
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
|
2022-07-14 08:53:35 +02:00 |
microwavedcola1
|
efed3a03ab
|
Merge branch 'dev'
|
2022-07-14 08:52:12 +02:00 |
tjshipe
|
fcf3da0a9b
|
patch anchor's simulate fn so signing is required for simulation (#106)
|
2022-07-14 08:42:21 +02:00 |
microwavedcola1
|
bc4c57911a
|
Health from health components in ts/client (#104)
|
2022-07-13 19:18:55 +02:00 |
microwavedcola1
|
97d936c9ca
|
attempt to skip wallet approve dialg box - dont sign
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
|
2022-07-13 18:02:08 +02:00 |
microwavedcola1
|
4ca1e30bf5
|
Fix comment
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
|
2022-07-13 18:01:59 +02:00 |