{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":601294527,"defaultBranch":"master","name":"phoenix-v1","ownerLogin":"Ellipsis-Labs","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2023-02-13T19:11:58.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/113389252?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1702573368.0","currentOid":""},"activityList":{"items":[{"before":"620f8fdef9973a12caefd3e683c35c66b9e0c939","after":"dac82fef2b8862be04fa6710386f3e7485a31a48","ref":"refs/heads/master","pushedAt":"2024-03-18T16:17:18.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"jarry-xiao","name":"Jarry Xiao","path":"/jarry-xiao","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61092285?s=80&v=4"},"commit":{"message":"Added a json file with solana-verify parameters (#41)\n\n- Added `.verified-build.json` with `Solana-verify` parameters to help\r\nautomate the verification process of On-chain Program.","shortMessageHtmlLink":"Added a json file with solana-verify parameters (#41)"}},{"before":"c16694d4f5f8ebd650799ada4853fde1637d4909","after":"620f8fdef9973a12caefd3e683c35c66b9e0c939","ref":"refs/heads/master","pushedAt":"2023-12-14T22:16:48.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"eugene-chen","name":"Eugene Chen","path":"/eugene-chen","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5567141?s=80&v=4"},"commit":{"message":"Increase bug bounty amount (#40)","shortMessageHtmlLink":"Increase bug bounty amount (#40)"}},{"before":null,"after":"e27b0dbbffa7e6f4ecaf0fef57d37c810989c0c3","ref":"refs/heads/eugene/increase-bug-bounty","pushedAt":"2023-12-14T17:02:48.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"eugene-chen","name":"Eugene Chen","path":"/eugene-chen","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5567141?s=80&v=4"},"commit":{"message":"Increase bug bounty amount","shortMessageHtmlLink":"Increase bug bounty amount"}},{"before":"4a8489887396a04bdc9de82c2fa05da52b9271e3","after":"c16694d4f5f8ebd650799ada4853fde1637d4909","ref":"refs/heads/master","pushedAt":"2023-11-21T20:26:45.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"jarry-xiao","name":"Jarry Xiao","path":"/jarry-xiao","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61092285?s=80&v=4"},"commit":{"message":"Address minor ordering issue in PlaceMultipleOrders (#39)\n\nThe logic in PlaceMultipleOrders sorts both bids and asks from lowest\r\nprice to highest price. When combined with the feature to silently fail\r\non insufficient funds, this results in slightly unexpected behavior\r\nwhere the wider (less aggressive) levels of the bid orders are placed\r\nbefore the tighter levels. If the user runs out of quote collateral in\r\nthis process, the wide bid levels will be displayed but the tight levels\r\nwill be silently omitted.\r\n\r\nThe opposite but desired effect is true for the ask orders.","shortMessageHtmlLink":"Address minor ordering issue in PlaceMultipleOrders (#39)"}},{"before":null,"after":"1cbfb3443fafc9699dcf38607637f3ecef4b1038","ref":"refs/heads/phoenix/place-multiple-order-sort-order","pushedAt":"2023-11-20T15:34:28.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"jarry-xiao","name":"Jarry Xiao","path":"/jarry-xiao","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61092285?s=80&v=4"},"commit":{"message":"Address minor ordering issue in PlaceMultipleOrders","shortMessageHtmlLink":"Address minor ordering issue in PlaceMultipleOrders"}},{"before":"0610731ae6e901bd1eed384f07c7bdae4048c26c","after":"4a8489887396a04bdc9de82c2fa05da52b9271e3","ref":"refs/heads/master","pushedAt":"2023-11-09T16:08:59.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"jarry-xiao","name":"Jarry Xiao","path":"/jarry-xiao","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61092285?s=80&v=4"},"commit":{"message":"add MadShield audit (#37)","shortMessageHtmlLink":"add MadShield audit (#37)"}},{"before":null,"after":"8921418643e2317d0b26fe4e7f3f6a4f5d94609d","ref":"refs/heads/eugene/audit2","pushedAt":"2023-11-09T15:41:33.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"eugene-chen","name":"Eugene Chen","path":"/eugene-chen","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5567141?s=80&v=4"},"commit":{"message":"add MadShield audit","shortMessageHtmlLink":"add MadShield audit"}},{"before":"c588f4d8252d74c1a59fe58b7675ed8a2022fe6b","after":"2de55b118e55b3992150cf4993734892718c8dd5","ref":"refs/heads/crate","pushedAt":"2023-10-19T20:57:39.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"jarry-xiao","name":"Jarry Xiao","path":"/jarry-xiao","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61092285?s=80&v=4"},"commit":{"message":"bump ata version","shortMessageHtmlLink":"bump ata version"}},{"before":"3bc435ebf979239275b9175db925f73d83850ddd","after":"c588f4d8252d74c1a59fe58b7675ed8a2022fe6b","ref":"refs/heads/crate","pushedAt":"2023-09-09T20:56:59.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"jarry-xiao","name":"Jarry Xiao","path":"/jarry-xiao","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61092285?s=80&v=4"},"commit":{"message":"Update crates branch and remove bpf tests","shortMessageHtmlLink":"Update crates branch and remove bpf tests"}},{"before":"ef053c5606bd9a4d111a93596e25fd82e2680a22","after":"3bc435ebf979239275b9175db925f73d83850ddd","ref":"refs/heads/crate","pushedAt":"2023-09-09T20:53:02.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"jarry-xiao","name":"Jarry Xiao","path":"/jarry-xiao","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61092285?s=80&v=4"},"commit":{"message":"Update cargo lock for phoenix-common","shortMessageHtmlLink":"Update cargo lock for phoenix-common"}},{"before":"3d09bc831e3d5711b295fcbe5619cd90d45cbcd9","after":"0610731ae6e901bd1eed384f07c7bdae4048c26c","ref":"refs/heads/master","pushedAt":"2023-08-08T18:24:49.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"eugene-chen","name":"Eugene Chen","path":"/eugene-chen","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5567141?s=80&v=4"},"commit":{"message":"Update OtterSec audit (#34)\n\n- Update audit file","shortMessageHtmlLink":"Update OtterSec audit (#34)"}},{"before":null,"after":"a95371f0af3c18196fe2d390666c881df34c772f","ref":"refs/heads/phoenix-v1/update-osec-audit","pushedAt":"2023-08-08T17:54:51.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"jarry-xiao","name":"Jarry Xiao","path":"/jarry-xiao","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61092285?s=80&v=4"},"commit":{"message":"Update OtterSec audit","shortMessageHtmlLink":"Update OtterSec audit"}},{"before":"1bdb4f35ba76397f152da0575b22c9e215e66e33","after":"3d09bc831e3d5711b295fcbe5619cd90d45cbcd9","ref":"refs/heads/master","pushedAt":"2023-07-31T19:30:17.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"jarry-xiao","name":"Jarry Xiao","path":"/jarry-xiao","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61092285?s=80&v=4"},"commit":{"message":"Add quiet limit order short circuit. Refactor tests to use pkg version (#33)\n\nThe proposed contract changes here are extremely small. The goal is to\r\nprevent limit order instructions from rolling back the full transaction\r\nif the user has insufficient funds.\r\n\r\nThe new test checks this logic against multiple different inputs.\r\n\r\nChanges:\r\n- Create an `amount` function for the token checker. This is pulled\r\ndirectly from Anchor:\r\nhttps://github.com/coral-xyz/anchor/blob/master/spl/src/token.rs#L534\r\n- Create logic in the new order processor to quietly exit the function\r\nin the case of insufficient funds:\r\n 1) Check that the user specified that the tx should fail silently\r\n2) Check the available quote lots and base lots (free + token balance)\r\n3) For either bid or ask, make sure that the trader has sufficient\r\navailable balance to perform the new operation\r\n 4) If the funds are insufficient, exit\r\n- Update the test file to use a far more recent version of phoenix-sdk\r\n(this is the majority of the changes in this PR). Note that this doesn't\r\naffect the contract at all\r\n- Write a new test case to validate that the short circuiting logic\r\nworks as intended\r\n- Add a new field to OrderPacket to enable the silent failing case.\r\n- Update the deserializer to maintain backwards compatibility","shortMessageHtmlLink":"Add quiet limit order short circuit. Refactor tests to use pkg version ("}},{"before":"770c96edf0d91bfb069b8b68133eaff9e80acfce","after":"ed71eae4556b0c9bc39c5a9ce4f959605dd3c187","ref":"refs/heads/phoenix-v1/place-limit-order-fails-silently","pushedAt":"2023-07-25T20:24:04.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"jarry-xiao","name":"Jarry Xiao","path":"/jarry-xiao","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61092285?s=80&v=4"},"commit":{"message":"Fix comments","shortMessageHtmlLink":"Fix comments"}},{"before":"f0eb7a4925b378a3b6778d0a4cb5ab630dfd4533","after":"770c96edf0d91bfb069b8b68133eaff9e80acfce","ref":"refs/heads/phoenix-v1/place-limit-order-fails-silently","pushedAt":"2023-07-25T20:04:29.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"jarry-xiao","name":"Jarry Xiao","path":"/jarry-xiao","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61092285?s=80&v=4"},"commit":{"message":"Add comment for amount function","shortMessageHtmlLink":"Add comment for amount function"}},{"before":"140b680fd7d9b9c5c2ea0586c3f038d407880af3","after":"f0eb7a4925b378a3b6778d0a4cb5ab630dfd4533","ref":"refs/heads/phoenix-v1/place-limit-order-fails-silently","pushedAt":"2023-07-25T20:02:36.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"jarry-xiao","name":"Jarry Xiao","path":"/jarry-xiao","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61092285?s=80&v=4"},"commit":{"message":"Address PR comments","shortMessageHtmlLink":"Address PR comments"}},{"before":"1b33e21462d443998cdcfa590194694bb3a578a9","after":"140b680fd7d9b9c5c2ea0586c3f038d407880af3","ref":"refs/heads/phoenix-v1/place-limit-order-fails-silently","pushedAt":"2023-07-12T03:29:53.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"jarry-xiao","name":"Jarry Xiao","path":"/jarry-xiao","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61092285?s=80&v=4"},"commit":{"message":"add test for bids and asks","shortMessageHtmlLink":"add test for bids and asks"}},{"before":"95d913bc4d06cac7492341211f92692f2edffcf6","after":"1b33e21462d443998cdcfa590194694bb3a578a9","ref":"refs/heads/phoenix-v1/place-limit-order-fails-silently","pushedAt":"2023-07-11T23:03:19.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"jarry-xiao","name":"Jarry Xiao","path":"/jarry-xiao","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61092285?s=80&v=4"},"commit":{"message":"Remove test case that enables crossing limit orders","shortMessageHtmlLink":"Remove test case that enables crossing limit orders"}},{"before":"3ded6c9040335738ce8860752958429b02681b83","after":"95d913bc4d06cac7492341211f92692f2edffcf6","ref":"refs/heads/phoenix-v1/place-limit-order-fails-silently","pushedAt":"2023-07-11T22:59:16.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"jarry-xiao","name":"Jarry Xiao","path":"/jarry-xiao","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61092285?s=80&v=4"},"commit":{"message":"Update shank structs","shortMessageHtmlLink":"Update shank structs"}},{"before":"4d32e610c0d75e77eba529fcd47eb20735163075","after":"3ded6c9040335738ce8860752958429b02681b83","ref":"refs/heads/phoenix-v1/place-limit-order-fails-silently","pushedAt":"2023-07-11T22:57:56.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"jarry-xiao","name":"Jarry Xiao","path":"/jarry-xiao","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61092285?s=80&v=4"},"commit":{"message":"Add test cases for silent failure cases","shortMessageHtmlLink":"Add test cases for silent failure cases"}},{"before":"75a7db54e1bebec73654befaa0d9bda381508b20","after":"4d32e610c0d75e77eba529fcd47eb20735163075","ref":"refs/heads/phoenix-v1/place-limit-order-fails-silently","pushedAt":"2023-07-11T21:56:59.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"jarry-xiao","name":"Jarry Xiao","path":"/jarry-xiao","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61092285?s=80&v=4"},"commit":{"message":"Add a test to see if the order crosses","shortMessageHtmlLink":"Add a test to see if the order crosses"}},{"before":"5ec8855d911b869e5c7484b12dbce4ae06f06552","after":"75a7db54e1bebec73654befaa0d9bda381508b20","ref":"refs/heads/phoenix-v1/place-limit-order-fails-silently","pushedAt":"2023-07-11T21:25:03.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"jarry-xiao","name":"Jarry Xiao","path":"/jarry-xiao","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61092285?s=80&v=4"},"commit":{"message":"Add silent failing logic for multiple new orders","shortMessageHtmlLink":"Add silent failing logic for multiple new orders"}},{"before":"b511ac8b3268d7a6a88565f286cdf87005e656aa","after":"5ec8855d911b869e5c7484b12dbce4ae06f06552","ref":"refs/heads/phoenix-v1/place-limit-order-fails-silently","pushedAt":"2023-07-11T16:40:43.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"jarry-xiao","name":"Jarry Xiao","path":"/jarry-xiao","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61092285?s=80&v=4"},"commit":{"message":"Update test cases","shortMessageHtmlLink":"Update test cases"}},{"before":"7c13c317eb1a8596fa2e983a8fccc0f555145dcb","after":"b511ac8b3268d7a6a88565f286cdf87005e656aa","ref":"refs/heads/phoenix-v1/place-limit-order-fails-silently","pushedAt":"2023-07-11T16:06:27.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"jarry-xiao","name":"Jarry Xiao","path":"/jarry-xiao","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61092285?s=80&v=4"},"commit":{"message":"Added additional fields to err branch / style changes","shortMessageHtmlLink":"Added additional fields to err branch / style changes"}},{"before":"dc96082a918529f75bce02d9edc6a19a46ebef56","after":"7c13c317eb1a8596fa2e983a8fccc0f555145dcb","ref":"refs/heads/phoenix-v1/place-limit-order-fails-silently","pushedAt":"2023-07-10T15:34:47.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"jarry-xiao","name":"Jarry Xiao","path":"/jarry-xiao","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61092285?s=80&v=4"},"commit":{"message":"Address minor PR comments","shortMessageHtmlLink":"Address minor PR comments"}},{"before":"b529f4c6a41677cd9bf91ee257aba346fb4d32b7","after":"dc96082a918529f75bce02d9edc6a19a46ebef56","ref":"refs/heads/phoenix-v1/place-limit-order-fails-silently","pushedAt":"2023-07-08T16:34:10.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"jarry-xiao","name":"Jarry Xiao","path":"/jarry-xiao","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61092285?s=80&v=4"},"commit":{"message":"Refactor decode_order_packet","shortMessageHtmlLink":"Refactor decode_order_packet"}},{"before":"f72883a4fb0b2acd6ab0ba8d6e48bd568c28cf71","after":"b529f4c6a41677cd9bf91ee257aba346fb4d32b7","ref":"refs/heads/phoenix-v1/place-limit-order-fails-silently","pushedAt":"2023-07-07T23:04:25.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"jarry-xiao","name":"Jarry Xiao","path":"/jarry-xiao","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61092285?s=80&v=4"},"commit":{"message":"Create a new order packet field + deserializer to determine when this new logic should kick in.","shortMessageHtmlLink":"Create a new order packet field + deserializer to determine when this…"}},{"before":"92e4af8565a092ef66551591463a5961f6434588","after":"f72883a4fb0b2acd6ab0ba8d6e48bd568c28cf71","ref":"refs/heads/phoenix-v1/place-limit-order-fails-silently","pushedAt":"2023-07-07T21:21:10.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"jarry-xiao","name":"Jarry Xiao","path":"/jarry-xiao","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61092285?s=80&v=4"},"commit":{"message":"Bump package version","shortMessageHtmlLink":"Bump package version"}},{"before":null,"after":"92e4af8565a092ef66551591463a5961f6434588","ref":"refs/heads/phoenix-v1/place-limit-order-fails-silently","pushedAt":"2023-07-07T19:46:35.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"jarry-xiao","name":"Jarry Xiao","path":"/jarry-xiao","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61092285?s=80&v=4"},"commit":{"message":"Add quiet limit order short circuit. Refactor tests to use pkg version","shortMessageHtmlLink":"Add quiet limit order short circuit. Refactor tests to use pkg version"}},{"before":"ee9cc0333fbab6ee20861e51201951b3e9c38dc9","after":"1bdb4f35ba76397f152da0575b22c9e215e66e33","ref":"refs/heads/master","pushedAt":"2023-06-12T18:25:23.698Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"jarry-xiao","name":"Jarry Xiao","path":"/jarry-xiao","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61092285?s=80&v=4"},"commit":{"message":"Phoenix v1/correct fee adjustment overflow (#32)","shortMessageHtmlLink":"Phoenix v1/correct fee adjustment overflow (#32)"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEGL4g1QA","startCursor":null,"endCursor":null}},"title":"Activity · Ellipsis-Labs/phoenix-v1"}