squeeth-monorepo
squeeth-monorepo copied to clipboard
flash swap & burn
Description
-Integrates Partial and full close short with flash swap function
Note: This branch is checked out from the flashswapmint branch so that we can eventually merge this branch to the flashswapmint branch then merge the flashswapmint branch to the main branch.
Fixes # (issue)
Type of change
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] Document update
How Has This Been Tested
Please describe how to test to verify the changes. Provide instructions so we can reproduce.
Checklist
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [x] My changes generate no new warnings
- [ ] Added video recordings if it is a UI change
This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.
🔍 Inspect: https://vercel.com/opynfinance/continuouscall/HC1pW5t98JWYQWZkgrFgpSVWCndZ
✅ Preview: https://continuouscall-git-fe-flash-swap-wburn-opynfinance.vercel.app
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Updated |
---|---|---|---|
continuouscall | ✅ Ready (Inspect) | Visit Preview | Jul 8, 2022 at 1:35AM (UTC) |
Was getting this issue where it wouldn't let me partial close, just defaulted back to full close. Fixed itself after a couple of refreshes
https://user-images.githubusercontent.com/13340486/177704375-e0c26767-b15c-4402-96d4-48d017cfbf31.mov
@alexisgauba It's because useAppEffect for setting close full type is called periodically. I fixed it, so it should be good now.