Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add swapOptions to universal swap #246

Merged
merged 2 commits into from
Apr 23, 2024

Conversation

trung2891
Copy link
Contributor

  • add swapOptions to universal swap

@trung2891 trung2891 requested a review from haunv3 April 23, 2024 03:44
Copy link

badge

Code Coverage Summary

Filename                                                                           Stmts    Miss  Cover    Missing
-------------------------------------------------------------------------------  -------  ------  -------  ----------------------------------------------------------------------------------------------------------------------------------
packages/oraidex-common-ui/src/components/TVChartContainer/helpers/constants.ts        6       0  100.00%
packages/oraidex-common-ui/src/components/TVChartContainer/helpers/utils.ts           33       2  93.93%   23-24
packages/oraidex-common/src/bigdecimal.ts                                             80      29  63.75%   23, 40, 45-53, 120-153, 173-177
packages/oraidex-common/src/constant.ts                                              121       0  100.00%
packages/oraidex-common/src/helper.ts                                                245      68  72.24%   142, 146-147, 163-168, 266-268, 276-288, 298-302, 325-329, 333-335, 353-372, 376-383, 387-388, 392-393, 398-406, 416-437, 523, 549
packages/oraidex-common/src/network.ts                                                17       0  100.00%
packages/oraidex-common/src/pairs.ts                                                  27       2  92.59%   151, 157
packages/oraidex-common/src/token.ts                                                  27       0  100.00%
packages/universal-swap/src/handler.ts                                               286     163  43.00%   58, 80, 95-96, 103-106, 117-118, 148-168, 248-277, 288-400, 406-663, 672-677, 697, 716, 732-738, 771, 790, 836
packages/universal-swap/src/helper.ts                                                345      70  79.71%   74-75, 212, 347, 354, 367-370, 464, 473-511, 544, 595, 612, 640, 647-670, 704, 708, 728-761, 846-855, 867-872, 891, 918
packages/universal-swap/src/swap-filter.ts                                            11       0  100.00%
packages/universal-swap/src/types.ts                                                   2       0  100.00%
packages/universal-swap/src/proto/proto-gen.ts                                        13       0  100.00%
TOTAL                                                                               1213     334  72.46%

Diff against main

Filename      Stmts    Miss  Cover
----------  -------  ------  --------
TOTAL             0       0  +100.00%

Results for commit: a8bd23e

Minimum allowed coverage is 0%

♻️ This comment has been updated with latest results

@trung2891 trung2891 merged commit 93248d9 into main Apr 23, 2024
1 check passed
@trung2891 trung2891 deleted the feat/universal-add-swap-options branch April 23, 2024 04:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants