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

👷 zapOut when unwinding USDC #64

Merged
merged 3 commits into from
Dec 5, 2024
Merged

Conversation

Flocqst
Copy link
Collaborator

@Flocqst Flocqst commented Nov 20, 2024

No description provided.

@moss-eth moss-eth marked this pull request as ready for review December 5, 2024 02:14
@moss-eth moss-eth merged commit f5bd8d3 into odos-integration Dec 5, 2024
2 checks passed
moss-eth added a commit that referenced this pull request Dec 5, 2024
* 👷 wip odos swap

* forge install: surl

* ⚙️ add ffi to foundry.toml

* 👷 added odos router to zap constructor

* ✅ successful odos quote using SURL

* ✅ arb quote test and fmt

* ✅ successfully calling odosAssemble

* ✅ wip odos testing

* ✨ Lint

* ✅ blocked on testing

* ✅ test failing in the odos swap

* ✅ latest block on base fixed odos test

* ✅ swap for tests + docs

* ✅ asserts on swap for tests

* ✅  fork tests take current block

* ✨ removed all uniswap logic / mentions, renamed odos vars, updated docs

* 👷 replaced ternary logic in unwind

* ✨ removed unused constants

* ✨ fmt

* 📚 docs + fmt

* ✨ renamed swapFrom test

* fmt

* ✅ added new bootstrap with current block forking

* ✨ fmt

* burn test

* ✨fmt

* 👷 fix: odos unwind swap return (#57)

* 👷 fix: odos unwind swap return

* fix

* ✨ fmt

---------

Co-authored-by: Moss <[email protected]>

* 👷🏻‍♂️ Odos refund + Unwind Test (#58)

* 👷 refund logic

* ✅ unwind test

* 👷 Odos audit fix (#59)

* 📚 first round of fixes

* 👷 fix 2

* some test fixes

* 👷 fix leftovers (#60)

* 👷 fix leftovers

* fmt

---------

Co-authored-by: Moss <[email protected]>

* audit remidiations 23/11

* 👷 zapOut when unwinding USDC (#64)

* 👷 zapOut when unwinding USDC

* fix make deploy_base

* 👷 adjust minAmountOut to match usdc 6 decimal precision when unwinding udsc

* 👷 test fix

* ✨ fmt
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.

2 participants