Closed bitcoinbrisbane closed 1 month ago
The changes in this pull request involve updates to multiple files, primarily enhancing the documentation in README.md
with new command examples and contract addresses. Additionally, several new smart contracts are introduced, including BaseUniRouter
, UniswapV3ViaRouterETH
, and modifications to existing contracts like UniswapV3ViaRouter
and MergeWithMarket
. The changes also include updates to the IAMM
interface, deployment scripts, and test files, reflecting a comprehensive enhancement of the project's functionality and documentation.
File | Change Summary |
---|---|
README.md |
Added new command for WEWE category and updated contract addresses. |
contracts/core/adaptors/BaseUniRouter.sol |
Introduced BaseUniRouter contract with fee management and token swap functions. |
contracts/core/adaptors/UniswapV3ViaRouter.sol |
Modified UniswapV3ViaRouter to inherit from BaseUniRouter , updated fee management, and renamed methods. |
contracts/core/adaptors/UniswapV3ViaRouterETH.sol |
Added UniswapV3ViaRouterETH contract with buy/sell functionality for ETH. |
contracts/core/merge/MergeWithMarket.sol |
Added treasury variable and updated mergeAndSell logic. |
contracts/interfaces/IAMM.sol |
Replaced swap with buy and sell methods, updated events. |
ignition/deployments/chain-8453/artifacts/UniAdaptorModule#UniswapV3ViaRouterETH.dbg.json |
New debug JSON file added for UniswapV3ViaRouterETH . |
ignition/deployments/chain-8453/artifacts/UniAdaptorModule#UniswapV3ViaRouterETH.json |
New artifact JSON file added for UniswapV3ViaRouterETH with ABI and metadata. |
ignition/deployments/chain-8453/deployed_addresses.json |
Added entry for UniswapV3ViaRouterETH contract address. |
ignition/deployments/chain-8453/journal.jsonl |
Updated deployment journal with new contract deployment details. |
ignition/modules/MergeWithMarket.ts |
Introduced MergeModule for the MergeWithMarket contract. |
ignition/modules/UniAdaptor.ts |
Updated contract reference from UniswapV3ViaRouter to UniswapV3ViaRouterETH . |
package.json |
Added new deployment script for MergeWithMarket . |
test/Uniswap.test.ts |
Enhanced test setup for WETH and added new test cases. |
test/constants.ts |
Added new constant WETH_ADDRESS . |
README.md
file, adding command examples and contract addresses, similar to the changes made in the main PR.README.md
file, including command examples and contract addresses, which aligns with the documentation enhancements in the main PR.README.md
file, updating contract addresses and script examples, which relates to the documentation updates in the main PR.MergeFactory
contract and updates the README.md
with new contract addresses, which connects to the overall theme of enhancing documentation and functionality in the main PR.README.md
and introduces new contracts, which relates to the documentation and contract updates in the main PR.SC
, eat-all-the-tokens
🐰 In the meadow, where bunnies play,
New contracts bloom, bright as the day.
With swaps and sales, we hop with glee,
Documentation shines, as clear as can be!
Let's gather 'round, our work is done,
In this code garden, we’ve had our fun! 🌼✨
feat: Add UniswapV3ViaRouterETH contract
feat: Add UniswapV3ViaRouterETH contract
feat: Add UniswapV3ViaRouterETH contract
chore: set to max on deploy
chore: refactor base contract
chore: refactor base contract
Summary by CodeRabbit
Release Notes
New Features
UniswapV3ViaRouterETH
contract for enhanced token swapping functionality.MergeWithMarket
contract.Bug Fixes
Tests
Chores
MergeWithMarket
module.