Riordan Panayides
dc52a4b151
Fix padding length
2021-05-24 22:32:02 +01: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
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
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
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
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
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
a203b31eab
add borrowAndWithdraw function
2021-04-20 14:10:20 -04:00
dd
d7f9600ac9
got rid of index.ts tests
2021-04-20 11:05:04 -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
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
Tyler Shipe
cc73a0c2bc
test deposit error code
2021-03-29 18:14:32 -04:00
dd
8d846fe974
added better printing of margin account;
2021-03-26 08:15:47 -04:00
dd
87c53c838e
pushed new mango group for native tether on mainnet
2021-03-23 13:15:07 -04:00
dd
33e81b9c93
pushed new mango group for native tether on mainnet
2021-03-23 11:17:21 -04:00
dd
4faa6f95d8
pushed new mango group for native tether on mainnet
2021-03-23 09:10:05 -04:00
dd
b61c29f60f
launched new mango group on devnet
2021-03-22 12:36:08 -04:00
dd
36511b4acc
new USDT token account and faucet in devnet
2021-03-22 12:10:50 -04:00
dd
dcc45b0ad4
started native tether migration
2021-03-22 11:45:03 -04:00
dd
160320b856
added devnet faucets to ids.json
2021-03-17 13:11:20 -04:00
dafyddd
bbc453d76d
Merge pull request #7 from blockworks-foundation/place_order
...
Place order
2021-03-16 22:45:43 -04:00
dd
a118e0630c
reverted placeOrder and created new instruction placeAndSettle
2021-03-16 21:54:03 -04:00
Maximilian Schneider
a8f9f51ae1
update margin account display string to include open orders
2021-03-16 12:27:22 +01:00
dd
c858f91312
new ids.json for tesitng new place_order
2021-03-15 14:15:32 -04:00
dd
240f5a05b5
separated out tokenDecimals
2021-03-14 13:22:42 -04:00
dd
36f6b18a35
fixed Margin Account layout
2021-03-05 11:01:50 -05:00
dd
ed8ef6c0f6
working program and ids
2021-03-04 12:18:53 -05:00
dd
fd7282c9f5
fixed ids
2021-03-04 12:10:26 -05:00
dd
481cf394f8
new mango group
2021-03-04 11:49:13 -05:00