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

support SwapRouter02 and update UniversalRouter addr #283

Closed
wants to merge 2 commits into from

Conversation

charlesjhongc
Copy link
Contributor

@charlesjhongc charlesjhongc commented Aug 17, 2023

@github-actions
Copy link

github-actions bot commented Aug 17, 2023

Changes to gas cost

Generated at commit: c7c3c0c2ff485e9677c0b2dfccb4214c460a8a7b, compared to commit: 1f46ec17d693cefa616da18d4ac15b332989d61e

🧾 Summary (20% most significant diffs)

Contract Method Avg (+/-) %
UniAgent approveTokensToRouters
swap
+49,630 ❌
-43,669 ✅
+46.61%
-22.98%

Full diff report 👇
Contract Deployment Cost (+/-) Method Min (+/-) % Avg (+/-) % Median (+/-) % Max (+/-) % # Calls (+/-)
UniAgent 1,412,993 (+53,254) approveTokensToRouters
swap
76,927 (+25,421)
88,963 (0)
+49.36%
0.00%
156,115 (+49,630)
146,383 (-43,669)
+46.61%
-22.98%
162,715 (+51,648)
150,318 (-518)
+46.50%
-0.34%
162,715 (+51,648)
211,668 (-147,562)
+46.50%
-41.08%
13 (0)
10 (0)
AMMStrategy 1,576,523 (0) executeStrategy 101,806 (0) 0.00% 251,413 (-1,037) -0.41% 178,536 (-1,905) -1.06% 470,076 (+3,570) +0.77% 11 (0)
SmartOrderStrategy 1,172,950 (0) executeStrategy 709 (0) 0.00% 78,558 (-212) -0.27% 42,733 (0) 0.00% 487,135 (-2,970) -0.61% 14 (0)

@charlesjhongc charlesjhongc deleted the v6-update-and-fix-UA-routers branch September 4, 2023 06:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

1 participant