Closed hippocampus-web3 closed 3 weeks ago
The changes in this pull request introduce a new smart contract, BBroMerge
, which implements the IMergeV2
interface and inherits from the Eater
contract. The BBroMerge
contract manages token merging operations, with functionalities for merging tokens, setting rates, and handling deposits. Additionally, modifications are made to the Eater
contract to simplify the receiveApproval
function. New JSON artifact files are created to support the deployment of BBroMerge
, and updates are made to existing deployment records and modules.
File | Change Summary |
---|---|
contracts/core/merge/BBroMerge.sol |
Added BBroMerge contract with multiple functions for token management and events for ownership and state changes. |
contracts/core/merge/Eater.sol |
Updated receiveApproval function signature and internal logic for token validation. |
ignition/deployments/chain-8453/artifacts/BBroMergeModule#BBroMerge.dbg.json |
New file added for debugging information related to BBroMerge . |
ignition/deployments/chain-8453/artifacts/BBroMergeModule#BBroMerge.json |
New artifact file created for BBroMerge contract, including ABI and bytecode. |
ignition/deployments/chain-8453/artifacts/BroMergeModule#BroMerge.dbg.json |
Updated buildInfo field for BroMerge debugging information. |
ignition/deployments/chain-8453/artifacts/BroMergeModule#BroMerge.json |
Updated ABI for BroMerge to include new events and functions. |
ignition/deployments/chain-8453/deployed_addresses.json |
Updated address for BroMergeModule#BroMerge and added entry for BBroMergeModule#BBroMerge . |
ignition/deployments/chain-8453/journal.jsonl |
Significant updates to deployment records for both BroMergeModule and BBroMergeModule . |
ignition/modules/BBroMerge.ts |
New module BBroMergeModule created for interacting with BBroMerge . |
ignition/modules/BroMerge.ts |
Commented out rate variable and associated method call in BroMerge module. |
BroMerge
contract introduced in the main PR implements the IMergeV2
interface and has similar functionalities to the BroMerge
contract updated in this PR, which also includes methods for merging tokens and managing rates.BroMerge
contract's constructor to include a call to _pause()
and the addition of pause functionality in the Eater
contract are relevant as they enhance the control over contract operations, which aligns with the functionalities introduced in the main PR.SC
In the meadow where tokens play,
A new merge contract hops today.
With rates and merges, all in line,
A rabbit's work, oh so divine!
Let’s pause and sweep, and then we’ll cheer,
For BBroMerge is finally here! 🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
BBroMerge
smart contract for managing token merging operations.Paused
andUnpaused
.Bug Fixes
receiveApproval
function of theEater
contract.Chores
BroMergeModule
andBBroMergeModule
.