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
Ralfs
6e5432ce87
Placed the new group ids in mainnet to avoid errors on ui
2021-05-20 23:34:49 +03:00
Riordan Panayides
90b5a0a2c0
add hasBorrows to marginaccount layout, add function to get all accounts with borrows
2021-05-20 21:25:31 +01:00
Riordan Panayides
3e1130c0c4
Add new token decimals, get token symbols from serum
2021-05-20 21:02:51 +01:00
Ralfs
0f47d83101
Updated ids and layout
2021-05-20 21:44:11 +03:00
Maximilian Schneider
0a528077e7
maintenance ( #13 )
...
* add commitment arg to getMultipleAccounts
* upgrade dependencies
* use sequence number to continuosly read out event queue ring buffer
* add test for market order
* version 0.1.19
2021-05-13 14:32:38 +03:00
Tyler Shipe
d03fcdf0fe
bump pkg version for new mainnet mango group
2021-04-30 11:25:01 -04:00
dafyddd
7dc12b8b2d
Merge pull request #11 from blockworks-foundation/reusable_srm_vault_ids
...
Implements the ids of the new reusable SRM vault
2021-04-30 11:13:58 -04:00
Maximilian Schneider
bfb6f89952
add new ids for SOL/SRM/USDT
2021-04-30 14:50:28 +00:00
Ralfs
5c360a644a
Implements the ids of the new reusable SRM vault
2021-04-30 16:52:41 +03:00
Tyler Shipe
47ad73f568
bump version
2021-04-29 17:45:44 -04:00
Tyler Shipe
2e30ca4824
remove rounding in deposit and borrow function
2021-04-29 17:22:31 -04:00
Ralfs
475b5cf30b
Add SOL and SRM to mainnet ids ( #10 )
...
* added SOL and SRM oracles to mainnet ids
* Added SRM/USDT spot market address
* remove unused USDC markets
Co-authored-by: Maximilian Schneider <mail@maximilianschneider.net>
2021-04-28 14:57:20 +03:00
Maximilian Schneider
4f120a56f7
Merge pull request #9 from lagzda/sol_srm_usdt_group
...
add SOL_SRM_USDT & BTC_ETH_USDT MangoGroup to devnet
2021-04-27 17:42:23 +03:00
Ralfs
8db1458dbe
Added new BTC_ETH_USDT MangoGroup
2021-04-27 17:38:40 +03:00
Ralfs
f371dde5c7
added SOL_SRM_USDT mango group
2021-04-27 10:53:05 +03:00
dd
87222de559
changed interest rate vars OPTIMAL_RATE and MAX_RATE
2021-04-26 14:11:14 -04:00
dd
1de41048c9
changed interest rate vars OPTIMAL_RATE and MAX_RATE
2021-04-26 14:11:01 -04:00
dd
5496005868
updated devnet oracles
2021-04-25 22:07:30 -04:00
Tyler Shipe
0b2abb6d41
bump version
2021-04-20 14:10:37 -04:00
Tyler Shipe
a203b31eab
add borrowAndWithdraw function
2021-04-20 14:10:20 -04:00
dd
9c539e7945
got rid of index.ts tests
2021-04-20 11:05:11 -04:00
dd
d7f9600ac9
got rid of index.ts tests
2021-04-20 11:05:04 -04:00
dd
59145a7a5c
updated version number
2021-04-20 10:58:02 -04:00
dd
82237df167
Merge branch 'partial_liq' into main
2021-04-20 10:57:26 -04:00
dd
ec10681c75
Added different confirm levels for transactions in the client; Removed useless log statements
2021-04-20 10:56:07 -04:00
Tyler Shipe
0c9c38b642
Merge remote-tracking branch 'origin/partial_liq' into main
2021-04-14 15:08:51 -04:00
dd
7f01eaf412
updated package version
2021-04-09 16:40:35 -04:00
dafyddd
5f4db748eb
Merge pull request #8 from blockworks-foundation/partial_liq
...
Partial liq
2021-04-09 16:36:53 -04:00
dd
52d74a6a78
Merge branch 'partial_liq' of github.com:blockworks-foundation/mango-client-ts into partial_liq
2021-04-09 16:36:04 -04:00
dd
0c3859fb24
Added limit to ForceCancelOrders
2021-04-09 16:35:47 -04:00
dd
767734b224
Added beingLiquidated to MarginAccount
2021-04-09 16:35:47 -04:00
dd
bc53bea5fa
Added new parseTokenAccount
2021-04-09 16:35:47 -04:00
dd
2564c25803
Added logging of tx size
2021-04-09 16:35:47 -04:00
dd
260819939c
Added TOKEN_PROGRAM_ID to PartialLiquidationInstruction
2021-04-09 16:35:47 -04:00
dd
0216c58da8
Added make functions in instructions.ts
2021-04-09 16:35:47 -04:00
dd
52ce8a1665
Added PartialLiquidate and ForceCancelOrders
2021-04-09 16:35:47 -04:00
dd
7e5016ccff
Added limit to ForceCancelOrders
2021-04-08 10:15:52 -04:00
dd
e10fadd7bb
Added beingLiquidated to MarginAccount
2021-04-07 20:52:34 -04:00
dd
f78266cbc2
Added new parseTokenAccount
2021-04-07 09:09:54 -04:00
dd
e581b5dfc7
Added logging of tx size
2021-04-06 20:43:07 -04:00
dd
1dc05f4a2f
Added TOKEN_PROGRAM_ID to PartialLiquidationInstruction
2021-04-06 18:57:25 -04:00
dd
f22868ceaa
Added make functions in instructions.ts
2021-04-06 16:43:00 -04:00
dd
007706fcb7
Added PartialLiquidate and ForceCancelOrders
2021-04-05 16:22:41 -04:00