Maximilian Schneider
|
5a0cfa413f
|
add support for pyth oracle
|
2022-07-26 22:28:34 +02:00 |
Maximilian Schneider
|
1c7749bdfc
|
format everything with prettier
|
2022-07-26 22:21:22 +02:00 |
Tyler Shipe
|
de5e78f75f
|
bump pkg version
|
2021-09-10 12:58:30 -04:00 |
Tyler Shipe
|
deec480dc4
|
Revert "remove tsconfig production"
This reverts commit 31589f5f14 .
|
2021-09-10 12:57:04 -04:00 |
Tyler Shipe
|
c5cb1cf3e4
|
bump version
|
2021-09-10 12:42:13 -04:00 |
Tyler Shipe
|
31589f5f14
|
remove tsconfig production
|
2021-09-10 12:37:13 -04:00 |
Tyler Shipe
|
d01bfd618d
|
update yarn prepare
|
2021-09-10 12:20:45 -04:00 |
Tyler Shipe
|
3015f73724
|
use getMultipleAccounts instead of gPA for serum oo
|
2021-09-10 12:12:50 -04:00 |
Tyler Shipe
|
1e22b639f6
|
bump npm v to 2.1.3
|
2021-07-06 10:28:28 -04:00 |
dboures
|
5b571e513e
|
add info to marginAccount (#16)
|
2021-07-06 12:19:21 +02:00 |
dd
|
770187c6cd
|
Changed interest rate
|
2021-07-04 10:49:06 -04:00 |
Riordan Panayides
|
9181d8012f
|
Bump package version
|
2021-06-16 12:33:56 +01:00 |
Riordan Panayides
|
1aae8a4178
|
Fix hasBorrows memcmp
|
2021-06-15 22:44:33 +01:00 |
Tyler Shipe
|
5b36c32f3d
|
bump npm pkg version to 2.1
|
2021-06-12 17:16:06 -04:00 |
Tyler Shipe
|
2af34d4a88
|
Merge remote-tracking branch 'origin/dd/gui-hoster' into main
|
2021-06-12 17:15:23 -04:00 |
dd
|
66e21732a1
|
updated collateral calculations with referrer rebates
|
2021-06-12 11:35:14 -04:00 |
Maximilian Schneider
|
cc7260914f
|
Bump major version to 2, to match mango program
|
2021-06-09 11:39:44 -04:00 |
Tyler
|
cb4741c7d8
|
Add new client version info to README.md
|
2021-06-08 10:15:42 -04:00 |
Tyler Shipe
|
17440187b1
|
update to npm to new major release version
|
2021-06-08 10:10:41 -04:00 |
Tyler Shipe
|
5bcff496cc
|
Merge branch '5_tokens' into main
|
2021-06-08 10:09:52 -04:00 |
dd
|
9bf82ed3b1
|
adjusted tokenToDecimals in client.ts to correctly reflect coin_lot_size for SOL/USDC and SRM/USDC
|
2021-06-05 14:41:08 -04:00 |
dd
|
e0627fcd34
|
new mango group with new oracles on mainnet
|
2021-06-05 12:58:29 -04:00 |
Maximilian Schneider
|
03f6c9aee2
|
Revert "Cex style api (#15)"
This reverts commit 3a2dbc889c .
|
2021-06-05 10:57:55 -04:00 |
feierabend654
|
3a2dbc889c
|
Cex style api (#15)
* a simple cex style client #14
* add empty line
Signed-off-by: feierabend654 <feierabend654@gmail.com>
* fixes from code review
Signed-off-by: feierabend654 <feierabend654@gmail.com>
* make margin account pk mandatory
Signed-off-by: feierabend654 <feierabend654@gmail.com>
* load attached keypair
Signed-off-by: feierabend654 <feierabend654@gmail.com>
* try actions for yarn test
Signed-off-by: feierabend654 <feierabend654@gmail.com>
* refactor
Signed-off-by: feierabend654 <feierabend654@gmail.com>
* more refactoring
Signed-off-by: feierabend654 <feierabend654@gmail.com>
* export simple client
Signed-off-by: feierabend654 <feierabend654@gmail.com>
* remove testing code
Signed-off-by: feierabend654 <feierabend654@gmail.com>
* detect and throw error
Signed-off-by: feierabend654 <feierabend654@gmail.com>
Co-authored-by: Maximilian Schneider <mail@maximilianschneider.net>
|
2021-06-05 10:23:20 -04:00 |
dd
|
6eaf842b9d
|
Added support for AddMarginAccountInfo instruction but NOT TESTED
|
2021-06-05 09:46:37 -04:00 |
Ralfs
|
48b2fc7cf5
|
bugfix in ids.json
|
2021-06-03 16:28:43 +03:00 |
Ralfs
|
90ad36361b
|
Updated ids.json for devnet
|
2021-06-03 13:56:59 +03:00 |
dd
|
6164366c55
|
deployed mango group on mainnet
|
2021-06-01 17:47:32 -04:00 |
dd
|
907e9d7e0c
|
fixed mainnet ids; deployed new mango program id for 5 tokens on mainnet; mango group not yet deployed
|
2021-06-01 17:27:18 -04:00 |
Ralfs
|
19d8c34a17
|
Merge branch '5_tokens' of github.com:blockworks-foundation/mango-client-ts into 5_tokens
|
2021-06-01 22:46:27 +03:00 |
Ralfs
|
bf5e71c272
|
Updated readme for testing
|
2021-06-01 22:46:10 +03:00 |
dd
|
2fa1557b56
|
Added forceCancelOrders before a partialLiquidate in tests
|
2021-06-01 09:51:58 -04:00 |
Ralfs
|
e6f273410d
|
Test social loss with 1 borrow
|
2021-06-01 16:14:29 +03:00 |
Ralfs
|
6952e68b82
|
Updated tests to be support more options
|
2021-06-01 00:04:13 +03:00 |
dd
|
87d09b0fa0
|
changed ids.json and uploaded new program
|
2021-05-31 13:07:38 -04:00 |
Ralfs
|
b3c05851e2
|
Updated web3js dep
|
2021-05-25 19:12:11 +03:00 |
Riordan Panayides
|
1985bf60be
|
Merge branch '5_tokens' of github.com:blockworks-foundation/mango-client-ts into 5_tokens
|
2021-05-24 22:32:04 +01:00 |
Riordan Panayides
|
dc52a4b151
|
Fix padding length
|
2021-05-24 22:32:02 +01:00 |
Ralfs
|
c1503e9b1d
|
tsconfig path fix #3
|
2021-05-24 23:19:12 +03:00 |
Ralfs
|
68be4694a9
|
tsconfig path fix #2
|
2021-05-24 23:15:46 +03:00 |
Ralfs
|
80f7e5c826
|
tsconfig path fix
|
2021-05-24 21:54:37 +03:00 |
Ralfs
|
e4acf7bec2
|
Separate tsconfig for tests and prod
|
2021-05-24 21:49:48 +03:00 |
Ralfs
|
1323c352ac
|
Added tests
|
2021-05-24 20:30:37 +03:00 |
Ralfs
|
ed129179de
|
Added same group to mainnet to avoid errors on ui
|
2021-05-24 12:17:03 +03:00 |
Ralfs
|
5b50ab5ea1
|
Add USDC MangoGroup
|
2021-05-24 12:12:13 +03:00 |
Riordan Panayides
|
86788e2943
|
Fix type
|
2021-05-22 13:57:53 +01:00 |
Riordan Panayides
|
85e674385e
|
Add function to get token decimals by index
|
2021-05-22 13:54:53 +01:00 |
Riordan Panayides
|
8236f057e4
|
Merge branch '5_tokens' of github.com:blockworks-foundation/mango-client-ts into 5_tokens
|
2021-05-20 21:49:05 +01:00 |
Riordan Panayides
|
a51ac2a293
|
increase marginaccount padding
|
2021-05-20 21:49:00 +01:00 |
Ralfs
|
e4d2998912
|
Merge branch '5_tokens' of github.com:blockworks-foundation/mango-client-ts into 5_tokens
|
2021-05-20 23:35:16 +03:00 |