generated from Kwenta/foundry-scaffold
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* π· 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 <moss@cc.snxdao.io> * π·π»ββοΈ 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 <moss@cc.snxdao.io> * 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
- Loading branch information
Showing
37 changed files
with
2,905 additions
and
701 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
[submodule "lib/forge-std"] | ||
path = lib/forge-std | ||
url = https://github.com/foundry-rs/forge-std | ||
[submodule "lib/surl"] | ||
path = lib/surl | ||
url = https://github.com/memester-xyz/surl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
docs/src/src/interfaces/ISynthetix.sol/interface.IPerpsMarket.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
docs/src/src/interfaces/ISynthetix.sol/interface.ISpotMarket.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.