-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: swapRouter 合约基础提交 * feat: 重构swap router逻辑 * feat: 完成 SwapRouter 中 exactInput & exactOutput 函数开发 * feat: 根据 Pool 合约 swap 方法,重新调整 exactInput & exactOutpu 中数量更新逻辑 * feat: add quoteExactInput and quoteExactOutput * fix: swap callback check * test: 初始化测试用例文件 * test: update swap test case * chore: init swapRouter readme --------- Co-authored-by: tingzhao.ytz <yutingzhao1991@gmail.com>
- Loading branch information
1 parent
d4c9aad
commit 0876aac
Showing
6 changed files
with
340 additions
and
51 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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
本节作者:[@mocha.wiz](https://x.com/mocha_wizard) [@愚指导](https://x.com/yudao1024) | ||
|
||
这一讲我们将引导大家完成 `SwapRouter.sol` 合约的开发。 | ||
|
||
--- | ||
|
||
TODO |
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
Oops, something went wrong.