Summary:
- Finalized
GenericButtonswapRouter
to handle multi-hop swaps when interacting with Buttonswap-V1-Core contracts. This includes:- Pool Swaps
- WETH Wrapping
- WETH Unwrapping
- ButtonToken Wrapping
- ButtonToken Unwrapping
- Pool Swaps involving USDM
Change Log
- Initializing forge project by @SocksNFlops in #1
- copying-and-pasting old files into new buttonswap-repo by @SocksNFlops in #4
- running forge-fmt to clean up raw uneditted contract files by @SocksNFlops in #5
- adding original buttonwood-router with formatting by @SocksNFlops in #6
- Adding buttonwood router by @SocksNFlops in #3
- Migrating rest of codebase by @SocksNFlops in #7
- removing solidity-lib dep and now everything compiles by @SocksNFlops in #8
- Reformatting Codebase by @SocksNFlops in #9
- test(buttonwood-router/library): creating intial test-suites by @SocksNFlops in #10
- Prom 809 buttonswap periphery buttonswap library code coverage by @SocksNFlops in #11
- Renaming buttonwood library to buttonswap library by @SocksNFlops in #12
- Buttonwood router add liquidity tests by @SocksNFlops in #13
- Addressing build warnings about constructor visibility by @SocksNFlops in #14
- Adding reservoir and eth liquidity coverage by @SocksNFlops in #15
- adding coverage to add-liquidity-eth-with-reservoir by @SocksNFlops in #16
- Adding coverage to remove liquidity functions by @SocksNFlops in #17
- Prom 834 buttonwood router swap coverage by @SocksNFlops in #18
- tests(buttonwood-router): adding coverage to buttonswap-forwarding functions and updating mocks directory to fix coverage calls by @SocksNFlops in #19
- refactor(buttonswap-router): renaming buttonwood-router to buttonswap-router by @SocksNFlops in #20
- Prom 841 buttonswap periphery migrating out safe math by @SocksNFlops in #21
- Prom 892 buttonswap periphery rewrite by @SocksNFlops in #22
- Refactoring buttonswap periphery to use remappings by @SocksNFlops in #23
- update(buttonswap-library): updating the init-hash-code in buttonswap-library by @SocksNFlops in #24
- fix(root-buttonswap-router): fixing create-pair bug in add-liquidity function by @SocksNFlops in #25
- update(buttonswap-library): updating core dependency by @SocksNFlops in #26
- Disable metadata hash by @Fiddlekins in #28
- Added script to compute init hash by @Fiddlekins in #29
- Prom 973 buttonswap periphery add moving average protection by @SocksNFlops in #30
- update(buttonswap-core): updating buttonswap-core dependency by @SocksNFlops in #31
- Add deploy scripts by @Fiddlekins in #33
- fix(foundry.toml): updating arbitrum rpc entry to match chain identifier by @SocksNFlops in #34
- feat(router-v1): separating out create-and-add-liquidity functions by @SocksNFlops in #36
- Prom 972 buttonswap periphery buttonswap router button tokening router by @SocksNFlops in #35
- Prom 1278 update router to handle usdm by @SocksNFlops in #37
- Prom 1279 update generic router to handle larger twap deviations by @SocksNFlops in #38
New Contributors
- @Fiddlekins made their first contribution in #28
Full Changelog: https://github.com/buttonwood-protocol/buttonswap-periphery/commits/1.0.0