{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":726676852,"defaultBranch":"master","name":"uniswap-sdk-core-rust","ownerLogin":"malik672","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2023-12-03T03:29:50.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/61387346?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1726214519.0","currentOid":""},"activityList":{"items":[{"before":"3eb67dc9693c6f5db843309f5c2ce6549e14a23e","after":null,"ref":"refs/heads/addresses","pushedAt":"2024-09-13T07:58:46.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"malik672","name":"malik","path":"/malik672","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61387346?s=80&v=4"}},{"before":"eb9285d6700c5c24c67cf0e7e0beb26348f4992b","after":"d04f121776d22143835ed924049dfb291ddcd734","ref":"refs/heads/master","pushedAt":"2024-09-13T07:58:39.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"malik672","name":"malik","path":"/malik672","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61387346?s=80&v=4"},"commit":{"message":"refactor!: address mappings for conciseness (#80)\n\n* refactor!: address mappings for conciseness\r\n\r\nRefactored address mappings to use `AddressMap` and `from_iter` for brevity and readability. This change removes redundant code and improves maintainability. Adjusted constant definitions and function signatures accordingly.\r\n\r\n* refactor(weth9): Simplify WETH9 tokens initialization\r\n\r\nReplaced multiple `FxHashMap::insert` calls with `FxHashMap::from_iter` using a vector. This improves code readability and reduces redundancy.\r\n\r\n* fix(clippy): Add #[inline] annotations to various functions\r\n\r\nInline annotations were added to functions across multiple modules to suggest the compiler to replace function calls with the function's body. This could potentially optimize runtime performance by reducing the overhead of function calls.\r\n\r\n* fix(clippy): Enable additional Clippy lints and refactor assertions\r\n\r\nRe-enable several Clippy lints for cleaner code validation. Refactor `panic!` calls to `assert!` for better consistency and clarity. Update function arguments to use references where appropriate.\r\n\r\n* fix(clippy): Enable `clippy::must_use_candidate` lint\r\n\r\nUncommented the `clippy::must_use_candidate` lint and annotated essential functions with `#[must_use]` attribute. This increases code reliability by enforcing that critical return values are not ignored.\r\n\r\n---------\r\n\r\nCo-authored-by: malik ","shortMessageHtmlLink":"refactor!: address mappings for conciseness (#80)"}},{"before":"6320be582c96f9234b8ad93c02abb605ee8014e0","after":null,"ref":"refs/heads/clippy","pushedAt":"2024-09-13T07:56:45.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"malik672","name":"malik","path":"/malik672","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61387346?s=80&v=4"}},{"before":"b80660a6e262e4ee182273351a38e23764bf574f","after":"3eb67dc9693c6f5db843309f5c2ce6549e14a23e","ref":"refs/heads/addresses","pushedAt":"2024-09-13T07:56:40.000Z","pushType":"pr_merge","commitsCount":4,"pusher":{"login":"malik672","name":"malik","path":"/malik672","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61387346?s=80&v=4"},"commit":{"message":"Merge pull request #81 from malik672/clippy\n\nMake clippy happy","shortMessageHtmlLink":"Merge pull request #81 from malik672/clippy"}},{"before":null,"after":"6320be582c96f9234b8ad93c02abb605ee8014e0","ref":"refs/heads/clippy","pushedAt":"2024-09-13T03:07:32.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"shuhuiluo","name":"Shuhui Luo","path":"/shuhuiluo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/107524008?s=80&v=4"},"commit":{"message":"fix(clippy): Enable `clippy::must_use_candidate` lint\n\nUncommented the `clippy::must_use_candidate` lint and annotated essential functions with `#[must_use]` attribute. This increases code reliability by enforcing that critical return values are not ignored.","shortMessageHtmlLink":"fix(clippy): Enable clippy::must_use_candidate lint"}},{"before":"41bcfec6849f50b6ce8832ff9973fe87583617b4","after":"b80660a6e262e4ee182273351a38e23764bf574f","ref":"refs/heads/addresses","pushedAt":"2024-09-13T03:05:31.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"shuhuiluo","name":"Shuhui Luo","path":"/shuhuiluo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/107524008?s=80&v=4"},"commit":{"message":"refactor(weth9): Simplify WETH9 tokens initialization\n\nReplaced multiple `FxHashMap::insert` calls with `FxHashMap::from_iter` using a vector. This improves code readability and reduces redundancy.","shortMessageHtmlLink":"refactor(weth9): Simplify WETH9 tokens initialization"}},{"before":null,"after":"41bcfec6849f50b6ce8832ff9973fe87583617b4","ref":"refs/heads/addresses","pushedAt":"2024-09-13T02:43:41.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"shuhuiluo","name":"Shuhui Luo","path":"/shuhuiluo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/107524008?s=80&v=4"},"commit":{"message":"refactor!: address mappings for conciseness\n\nRefactored address mappings to use `AddressMap` and `from_iter` for brevity and readability. This change removes redundant code and improves maintainability. Adjusted constant definitions and function signatures accordingly.","shortMessageHtmlLink":"refactor!: address mappings for conciseness"}},{"before":"8c334b0d6650088e399e94e133c25041c3a32e25","after":null,"ref":"refs/heads/eth","pushedAt":"2024-09-05T04:23:52.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"shuhuiluo","name":"Shuhui Luo","path":"/shuhuiluo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/107524008?s=80&v=4"}},{"before":"15f1d3d4f5e62cdb31f500b0666bdc280a38e00d","after":"eb9285d6700c5c24c67cf0e7e0beb26348f4992b","ref":"refs/heads/master","pushedAt":"2024-09-05T04:22:29.000Z","pushType":"pr_merge","commitsCount":7,"pusher":{"login":"malik672","name":"malik","path":"/malik672","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61387346?s=80&v=4"},"commit":{"message":"Merge pull request #79 from malik672/eth\n\nchore!: refactor trait implementations and add traits","shortMessageHtmlLink":"Merge pull request #79 from malik672/eth"}},{"before":"84be7baf8ccafd51a098321e70c3e0b3546436d6","after":"8c334b0d6650088e399e94e133c25041c3a32e25","ref":"refs/heads/eth","pushedAt":"2024-09-05T04:06:50.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"shuhuiluo","name":"Shuhui Luo","path":"/shuhuiluo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/107524008?s=80&v=4"},"commit":{"message":"refactor: currency amount parameters to references\n\nChange function parameters in `quote` and `compute_price_impact` to use references instead of values for `CurrencyAmount`. This optimizes memory usage and performance by avoiding unnecessary cloning.","shortMessageHtmlLink":"refactor: currency amount parameters to references"}},{"before":null,"after":"84be7baf8ccafd51a098321e70c3e0b3546436d6","ref":"refs/heads/eth","pushedAt":"2024-09-04T17:00:29.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"shuhuiluo","name":"Shuhui Luo","path":"/shuhuiluo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/107524008?s=80&v=4"},"commit":{"message":"feat: Add `NativeCurrency` trait and implement for `Ether`\n\nIntroduced `NativeCurrency` trait representing native blockchain currencies. Implemented this trait for `Ether` and updated the `prelude` and entity modules accordingly.","shortMessageHtmlLink":"feat: Add NativeCurrency trait and implement for Ether"}},{"before":"d71763f094c705a5c6c90708fa5d461661436650","after":null,"ref":"refs/heads/perf","pushedAt":"2024-09-03T07:02:37.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"shuhuiluo","name":"Shuhui Luo","path":"/shuhuiluo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/107524008?s=80&v=4"}},{"before":"bcd486f4bd3dfb04799d2a75513a45238b80b1e5","after":"15f1d3d4f5e62cdb31f500b0666bdc280a38e00d","ref":"refs/heads/master","pushedAt":"2024-09-03T06:46:24.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"malik672","name":"malik","path":"/malik672","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61387346?s=80&v=4"},"commit":{"message":"perf!: reduce cloning, add inline attribute (#78)\n\n* Refactor `Fraction` methods to reduce cloning\r\n\r\nRevise the `Fraction` and `CurrencyAmount` methods to reduce unnecessary cloning and improve performance. Add trait constraints and modify functions to work with references, enhancing code efficiency and maintainability.\r\n\r\n* Refactor to reduce unnecessary cloning\r\n\r\nUpdated methods to return references instead of owned values and removed redundant clone operations. This should reduce unnecessary heap allocations and improve performance by minimizing malloc overhead.\r\n\r\n* Add inline attributes to improve function call performance\r\n\r\nAnnotated various functions and methods with #[inline] to suggest the compiler perform inline expansion, potentially enhancing performance for frequently called operations. This change spans across multiple modules, including token, weth9, base_currency, currency_amount, percent, fraction, price, compute_price_impact, and ether.","shortMessageHtmlLink":"perf!: reduce cloning, add inline attribute (#78)"}},{"before":null,"after":"d71763f094c705a5c6c90708fa5d461661436650","ref":"refs/heads/perf","pushedAt":"2024-09-03T04:56:22.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"shuhuiluo","name":"Shuhui Luo","path":"/shuhuiluo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/107524008?s=80&v=4"},"commit":{"message":"Add inline attributes to improve function call performance\n\nAnnotated various functions and methods with #[inline] to suggest the compiler perform inline expansion, potentially enhancing performance for frequently called operations. This change spans across multiple modules, including token, weth9, base_currency, currency_amount, percent, fraction, price, compute_price_impact, and ether.","shortMessageHtmlLink":"Add inline attributes to improve function call performance"}},{"before":"b9887e820f5fd62eda84a613fe5de8d90bf80773","after":null,"ref":"refs/heads/dep","pushedAt":"2024-08-22T07:07:07.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"shuhuiluo","name":"Shuhui Luo","path":"/shuhuiluo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/107524008?s=80&v=4"}},{"before":"8e539cdf7d4b3af7a93581ce23477d6231da8c4c","after":"bcd486f4bd3dfb04799d2a75513a45238b80b1e5","ref":"refs/heads/master","pushedAt":"2024-08-22T07:06:39.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"malik672","name":"malik","path":"/malik672","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61387346?s=80&v=4"},"commit":{"message":"Merge pull request #77 from malik672/dep\n\nchore: Bump version to 1.1.0 and update alloy-primitives","shortMessageHtmlLink":"Merge pull request #77 from malik672/dep"}},{"before":null,"after":"b9887e820f5fd62eda84a613fe5de8d90bf80773","ref":"refs/heads/dep","pushedAt":"2024-08-22T06:54:29.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"shuhuiluo","name":"Shuhui Luo","path":"/shuhuiluo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/107524008?s=80&v=4"},"commit":{"message":"chore: Bump version to 1.1.0 and update alloy-primitives\n\nUpdated the package version to 1.1.0 to reflect new changes. Additionally, upgraded alloy-primitives dependency from version 0.7 to 0.8 to maintain compatibility and leverage new features.","shortMessageHtmlLink":"chore: Bump version to 1.1.0 and update alloy-primitives"}},{"before":"8bc99a6e8d421f55eb2e747c667d3ac771625343","after":null,"ref":"refs/heads/stabilize","pushedAt":"2024-08-18T08:56:03.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"shuhuiluo","name":"Shuhui Luo","path":"/shuhuiluo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/107524008?s=80&v=4"}},{"before":"549435c106e9b14e4d2cd17fd0600732f73a2ed7","after":"8e539cdf7d4b3af7a93581ce23477d6231da8c4c","ref":"refs/heads/master","pushedAt":"2024-08-18T08:53:18.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"malik672","name":"malik","path":"/malik672","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61387346?s=80&v=4"},"commit":{"message":"Merge pull request #76 from malik672/stabilize\n\nchore: Update error variants and improve documentation","shortMessageHtmlLink":"Merge pull request #76 from malik672/stabilize"}},{"before":"b01a59a995591d205c1fb2e22a5158c945230c18","after":"8bc99a6e8d421f55eb2e747c667d3ac771625343","ref":"refs/heads/stabilize","pushedAt":"2024-08-17T21:19:13.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"shuhuiluo","name":"Shuhui Luo","path":"/shuhuiluo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/107524008?s=80&v=4"},"commit":{"message":"chore: Update error variants and improve documentation\n\nChanged multiple occurrences of `Error::Incorrect` to `Error::Invalid` for better clarity. Updated the README with additional notes and corrected minor format issues. Also included new resources in the references section and transitioned the project version from \"1.0.0-rc\" to \"1.0.0\".","shortMessageHtmlLink":"chore: Update error variants and improve documentation"}},{"before":null,"after":"b01a59a995591d205c1fb2e22a5158c945230c18","ref":"refs/heads/stabilize","pushedAt":"2024-08-17T21:15:48.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"shuhuiluo","name":"Shuhui Luo","path":"/shuhuiluo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/107524008?s=80&v=4"},"commit":{"message":"chore: Update error variants and improve documentation\n\nChanged multiple occurrences of `Error::Incorrect` to `Error::Invalid` for better clarity. Updated the README with additional notes and corrected minor format issues. Also included new resources in the references section and transitioned the project version from \"1.0.0-rc\" to \"1.0.0\".","shortMessageHtmlLink":"chore: Update error variants and improve documentation"}},{"before":"a9436e5da1637109346edfc60cc69fd7bd34cb6e","after":"549435c106e9b14e4d2cd17fd0600732f73a2ed7","ref":"refs/heads/master","pushedAt":"2024-07-25T09:48:49.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"shuhuiluo","name":"Shuhui Luo","path":"/shuhuiluo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/107524008?s=80&v=4"},"commit":{"message":"fix: Update readme to make code example run (#75)\n\n* Update readme to make code example run.\r\n\r\n* Update README.md","shortMessageHtmlLink":"fix: Update readme to make code example run (#75)"}},{"before":"417428a3742273e1f17454824e362c06c2b56eda","after":null,"ref":"refs/heads/chore","pushedAt":"2024-07-18T07:18:45.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"shuhuiluo","name":"Shuhui Luo","path":"/shuhuiluo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/107524008?s=80&v=4"}},{"before":"c3537fc9e7b34a701183c1b0a6393f66985d4a75","after":"a9436e5da1637109346edfc60cc69fd7bd34cb6e","ref":"refs/heads/master","pushedAt":"2024-07-18T07:16:46.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"malik672","name":"malik","path":"/malik672","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61387346?s=80&v=4"},"commit":{"message":"Merge pull request #74 from malik672/chore\n\nchore: Improve CI tests, README documentation, and update feature gua…","shortMessageHtmlLink":"Merge pull request #74 from malik672/chore"}},{"before":null,"after":"417428a3742273e1f17454824e362c06c2b56eda","ref":"refs/heads/chore","pushedAt":"2024-07-18T04:36:02.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"shuhuiluo","name":"Shuhui Luo","path":"/shuhuiluo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/107524008?s=80&v=4"},"commit":{"message":"chore: Improve CI tests, README documentation, and update feature guard in error.rs\n\nThis commit includes updates to the README.md to show the updated uniswap-sdk-core version and additional notes on the `no_std` feature. It also introduces improvements in the CI tests by adding a step to run tests with all features. Furthermore, the condition for running tests in error.rs is updated.","shortMessageHtmlLink":"chore: Improve CI tests, README documentation, and update feature gua…"}},{"before":"aa19902da3945314cbfabebfb6f0d4aa1016a6fd","after":null,"ref":"refs/heads/currency","pushedAt":"2024-07-10T20:35:54.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"shuhuiluo","name":"Shuhui Luo","path":"/shuhuiluo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/107524008?s=80&v=4"}},{"before":"64016165ce61c6a13ad313767204d522be61482c","after":"c3537fc9e7b34a701183c1b0a6393f66985d4a75","ref":"refs/heads/master","pushedAt":"2024-07-10T20:20:41.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"malik672","name":"malik","path":"/malik672","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61387346?s=80&v=4"},"commit":{"message":"refactor: Refactor currency representation and correct minor comment typos (#73)\n\nRestructured the handling of currencies in the system by consolidating all currency-related functionalities under the `Currency` trait. Eliminated the `CurrencyTrait` and the `Currency` enum, which were previously holding this responsibility across multiple code portions. Also corrected several minor errors in the comments and improved the comment descriptions across multiple files.","shortMessageHtmlLink":"refactor: Refactor currency representation and correct minor comment …"}},{"before":null,"after":"aa19902da3945314cbfabebfb6f0d4aa1016a6fd","ref":"refs/heads/currency","pushedAt":"2024-07-10T00:48:11.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"shuhuiluo","name":"Shuhui Luo","path":"/shuhuiluo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/107524008?s=80&v=4"},"commit":{"message":"refactor: Refactor currency representation and correct minor comment typos\n\nRestructured the handling of currencies in the system by consolidating all currency-related functionalities under the `Currency` trait. Eliminated the `CurrencyTrait` and the `Currency` enum, which were previously holding this responsibility across multiple code portions. Also corrected several minor errors in the comments and improved the comment descriptions across multiple files.","shortMessageHtmlLink":"refactor: Refactor currency representation and correct minor comment …"}},{"before":"64016165ce61c6a13ad313767204d522be61482c","after":null,"ref":"refs/tags/v1.0.0-rc","pushedAt":"2024-07-10T00:47:35.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"shuhuiluo","name":"Shuhui Luo","path":"/shuhuiluo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/107524008?s=80&v=4"}},{"before":"cff8aa8fa23105d2296082c2b5ff9f768a08d792","after":null,"ref":"refs/heads/no_std","pushedAt":"2024-07-10T00:45:40.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"shuhuiluo","name":"Shuhui Luo","path":"/shuhuiluo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/107524008?s=80&v=4"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"Y3Vyc29yOnYyOpK7MjAyNC0wOS0xM1QwNzo1ODo0Ni4wMDAwMDBazwAAAAS1OED1","startCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wOS0xM1QwNzo1ODo0Ni4wMDAwMDBazwAAAAS1OED1","endCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wNy0xMFQwMDo0NTo0MC4wMDAwMDBazwAAAAR7Nhuj"}},"title":"Activity · malik672/uniswap-sdk-core-rust"}