Commit Graph

155 Commits

Author SHA1 Message Date
dd 03a85ffc2b new mango group 2021-03-04 10:47:04 -05:00
dd 67f4c04a2a added new mango program id 2021-03-04 10:39:50 -05:00
dd 13329cbc9f updated ids 2021-03-04 10:20:45 -05:00
dd 154fe0d5a2 pushed new oracles to devnet 2021-03-03 21:21:05 -05:00
dd 6c002c42b1 deployed on devnet 2021-03-03 11:33:15 -05:00
dd e2816f30fc added MangoSrmAccount and utility functions 2021-03-02 11:15:21 -05:00
dd 038e8f08a1 clean up imports 2021-03-01 23:27:11 -05:00
dd de17a3e16b changed default timeout to 30s 2021-03-01 18:06:22 -05:00
dd 626101afcb added timeout param to placeOrder 2021-03-01 18:05:48 -05:00
dd 77d6cc9479 removed console log 2021-03-01 18:01:17 -05:00
dd 22a313e02b fixed maxQuoteQuantity bug 2021-03-01 17:49:24 -05:00
dd 664d4f70cd fixed confirmation check in awaitSignatureConfirmation 2021-03-01 17:43:59 -05:00
dd 942c225b08 fixed confirmation check in awaitSignatureConfirmation 2021-03-01 17:29:57 -05:00
dd 94d6327db4 fixed confirmation check in awaitSignatureConfirmation 2021-03-01 14:42:39 -05:00
dd bfe9294dec Fixed timeout in client.ts sendTransactions; added get largest token account function in utils 2021-03-01 09:23:13 -05:00
dd 92b316c276 new send tx 2021-02-27 16:09:28 -05:00
dd 971828ad27 new ids 2021-02-27 14:19:00 -05:00
dd 23ce407264 removed print statement 2021-02-27 13:46:03 -05:00
dd 4ac8f7b4df fixed ids.json 2021-02-27 13:37:55 -05:00
dd 981a606f02 fixed ids.json 2021-02-27 12:51:56 -05:00
root 3c0176f14d added mainnet pks 2021-02-27 16:47:32 +00:00
dd 84d1f10e81 fixed ids.json 2021-02-27 11:44:11 -05:00
dd 0d172a460e fixed ids.json 2021-02-27 11:36:20 -05:00
dd c671403f03 added mango and oracle ids 2021-02-26 23:42:35 -05:00
dd d928ec70ca moved functions to utils 2021-02-26 16:31:09 -05:00
dd f63473a2b9 fixed MangoClient.settleAll 2021-02-26 16:18:12 -05:00
dd 0f52246909 added spot_market_symbols to ids.json 2021-02-26 14:29:31 -05:00
dd ecd34d1585 deployed USDT mango group on devnet 2021-02-26 12:53:09 -05:00
dd 4139de80d0 added USDT spot markets and new dex program id 2021-02-26 12:33:45 -05:00
dd 8f51b00efb added srm vault pk to ids.json; added nativeSrm to MangoGroup; fixed settleAll function 2021-02-25 15:09:06 -05:00
dd b3d4e240f9 changed makeSettleBorrowInstruction 2021-02-24 21:14:23 -05:00
dd db4ae6f666 fixed bug in get prices 2021-02-24 17:00:34 -05:00
dd bcff05dfc3 fixed bug in getAllMarginAccounts 2021-02-24 15:02:49 -05:00
dd 25a1873853 optimized getAllMarginAccounts 2021-02-24 14:31:48 -05:00
dd 322468ce7e export utils, layout 2021-02-24 11:43:46 -05:00
dd 0075bcfb5f added more symbols to mainnet-beta ids.json 2021-02-24 11:40:57 -05:00
dd cf9e250971 changed pretty string 2021-02-23 16:33:00 -05:00
dd 1ce9fc7a68 new mango group with fixed index updating 2021-02-23 14:18:01 -05:00
dd 28585ffacd return 0 on depositRate and borrowRate when no deposits or borrows 2021-02-23 11:27:29 -05:00
dd a5b5aabbd3 Added getBorrowRate and getDepositRate 2021-02-23 09:41:58 -05:00
Tyler Shipe f7fb17168e update settleborrowinstructions fn to accept native quantity 2021-02-22 22:36:17 -05:00
dd fdd723fac1 removed merge defects 2021-02-22 22:02:26 -05:00
dafyddd 5b6d1c4cdf
Merge branch 'main' into borrow_limits 2021-02-22 21:54:48 -05:00
dd 55660d048f ad back borsh 2021-02-22 21:49:31 -05:00
dd 270df3cb2c removed borsh 2021-02-22 21:49:31 -05:00
dd 155a9cfe4b added back schema 2021-02-22 21:49:31 -05:00
dd 6feded9629 removed agg 2021-02-22 21:49:31 -05:00
dd d9b1c17633 removed solray 2021-02-22 21:49:31 -05:00
dd d531d2eb27 removed solray 2021-02-22 21:49:31 -05:00
dd 0d863ef269 removed all schema.ts 2021-02-22 21:49:31 -05:00
dd 095c0393ed launched new mango group with borrow limits 2021-02-22 21:49:31 -05:00
dd 77cab2d2e2 updated ids.json 2021-02-22 21:49:31 -05:00
dd 01fc2f4847 fixed solana-flux-aggregator 2021-02-22 21:49:31 -05:00
dd 988f131f1c testSolink() 2021-02-22 21:49:31 -05:00
dd 0d1fd26805 not working -- still integrating aggregator 2021-02-22 21:49:28 -05:00
dd eac21f6d44 trying to integrate new aggregator 2021-02-22 21:49:28 -05:00
Tyler Shipe e7c2ae8380 Revert "prettier"
This reverts commit 460eae5858.
2021-02-22 21:48:07 -05:00
Tyler Shipe 87047b6741 remove export 2021-02-22 18:13:37 -05:00
Tyler Shipe 376a976f49 export fn from instructions 2021-02-22 17:40:14 -05:00
Tyler Shipe 2ee17d3607 fix BN import 2021-02-22 17:36:45 -05:00
Tyler Shipe 7f254fe289 add fn to create settle borrow instructions 2021-02-22 17:30:08 -05:00
Tyler Shipe 460eae5858 prettier 2021-02-22 17:08:07 -05:00
dd c128a9a676 added makeSettleFundsInstruction as another example 2021-02-19 09:56:16 -05:00
dd ab1053e596 added makeCancelOrderInstruction to instruction.ts as an example of instruction factory function 2021-02-19 09:33:11 -05:00
dd f670846d4d got rid of complete margin account idea; fixed openOrdersAccounts to never be undefined 2021-02-18 15:15:54 -05:00
dd 0783c0cc7e updated mango program 2021-02-18 10:47:06 -05:00
dd b69e7ad1cd fixed bug in place order 2021-02-18 10:22:31 -05:00
dd 4581ea974d fixed bug in place order 2021-02-18 10:20:33 -05:00
dd 9cfe14badb updated mango program 2021-02-18 09:55:32 -05:00
dd 8cba70abcd added getCompleteMarginACcountsForOwner 2021-02-17 14:22:28 -05:00
dd 222262e43a added getCompleteMarginACcountsForOwner 2021-02-17 13:40:06 -05:00
dd 3d88bd40c7 finished adding all v3 functions + SRM fee tier support. Untested 2021-02-17 12:35:45 -05:00
dd 5ec31a740f changed mango id 2021-02-17 10:50:26 -05:00
dd fa266a6e89 added more of the fee tier functions 2021-02-17 10:36:48 -05:00
dd 0273db2c5b updated layouts and class data fields 2021-02-16 16:35:24 -05:00
dd 3488905c41 new ids.json 2021-02-15 22:13:56 -05:00
dd a00feb1d94 added utility functions to MangoGroup 2021-02-14 10:53:19 -05:00
dd f5cb53ff2c fixed loadOpenOrders 2021-02-13 17:31:19 -05:00
dd 0ee0507f9e changed cancelAllOrdersByMarket 2021-02-13 17:27:55 -05:00
dd fac8a952a4 changed default commitment to singleGossip 2021-02-13 16:11:40 -05:00
dd c42bcfc6cb upgraded solana version + changed mango program id 2021-02-13 16:04:38 -05:00
dd 3d47a65b30 upgraded solana version + changed mango program id 2021-02-13 16:01:03 -05:00
dd 1fd715e9ac Merge remote-tracking branch 'origin/main' into main 2021-02-11 13:53:56 -05:00
dd ea42cfc8b4 added settleAll 2021-02-11 13:53:32 -05:00
Maximilian Schneider f93bfe3127 add tether markets to mainnet-beta ids, need to remove usdc later 2021-02-11 17:24:36 +01:00
Maximilian Schneider f15e51f531 switch to serum json rpc endpoint 2021-02-11 11:23:12 +01:00
dd 10eb1bac82 added getAssets and getLiabs 2021-02-10 14:52:22 -05:00
dd f9f7395c83 added cancelAllOrdersByMarket 2021-02-10 11:36:20 -05:00
dd dab2e9c686 added getCompleteMarginAccount to client 2021-02-10 10:08:10 -05:00
dd 01ed2eab2c updated ids.json after uploading Mango 2021-02-09 17:31:36 -05:00
dd 6fb4036e1e fixed liquidate bug 2021-02-09 17:03:58 -05:00
dd 319f96f833 fixed getMarginAccountsForOwner 2021-02-09 16:11:27 -05:00
dd ca32f542ee removed Wallet capability 2021-02-09 16:05:26 -05:00
dd 6e9cbd5003 changed typeof to instanceof 2021-02-08 17:24:49 -05:00
dd a63d9e4d2d changed typeof to instanceof 2021-02-08 17:11:56 -05:00
dd 58caf023a4 fixed quesiton mark issue 2021-02-08 15:57:16 -05:00
dd e532c02160 added proper Wallet support for Deposit and InitMarginAccount functions 2021-02-08 12:14:21 -05:00
dd fb1347556a fixed solink decimals 2021-02-07 17:40:11 -05:00
dd 92b2b736e8 updated solink layout 2021-02-07 17:33:43 -05:00
dd 66558f28d7 cleaned up index.ts 2021-02-07 17:26:42 -05:00