Skip to content

Conversation

jourdanDunkley
Copy link
Collaborator

Description

Type of change

  • Docs change / dependency upgrade
  • Configuration / tooling changes
  • Refactoring
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Requires changes in customer code

High-level change(s) description - from the user's perspective

Related Issue(s)

Fixes

Related pull request(s)

jourdanDunkley and others added 30 commits January 9, 2025 20:20
- Renamed and restructured the CErc20RewardsDelegateMorpho ABI to CErc20Storage.
- Added new function definitions and updated existing ones for clarity and consistency.
- Removed deprecated functions and events related to morpho bribe distribution.
- Introduced new functions for better interaction with the storage contract.
- Updated comments for improved documentation and understanding of the ABI structure.
- Introduced smUSDC asset with its corresponding details in assets.ts.
- Updated the deployment scripts to include a new market for Morpho Seamless, replacing references to Morpho Ionic.
- Added new task for creating the Morpho Seamless pool and adjusted related tasks to accommodate the new asset.
- Enhanced PoolToggle component to display short names for markets.
- Updated constants to include short names for the new Morpho Seamless market.
rhlsthrm and others added 23 commits April 16, 2025 18:59
- Introduced a new task `market:set-cf:base:morpho-ionic` to set collateral factors for specific assets in the Morpho Ionic market.
- Updated the `useMarketData` hook to improve data retrieval by selecting the appropriate pool based on the selected pool ID, ensuring better handling of market data.
- Introduced a new PNG asset for smUSDC located in the public image directory, enhancing the visual representation of the asset in the UI.
… market

- Eliminated the `market:set-cf:base:morpho-ionic` task, which was responsible for setting collateral factors on specific assets in the Morpho Ionic market, as part of the transition to Morpho Seamless.
- Deleted the Morpho Ionic market entry from the constants file, streamlining the codebase as part of the transition to Morpho Seamless.
- Upgraded the Node.js setup action from version 2 to version 4 in the package SDK pull request build and test workflow, ensuring compatibility with the latest features and improvements.
- Upgraded the Yarn package manager version in both .yarnrc.yml and package.json files to ensure compatibility with the latest features and improvements.
- Removed the old Yarn 4.7.0 release file and added the new Yarn 4.9.1 release file.
- Removed the loading state from the `useHealth` hook call in the WithdrawTab component, simplifying the code and improving readability.
- The health factor and status are now directly destructured from the hook, enhancing clarity in the component's logic.
…eployment script

- Added a new task for deploying the MorphoBribeDistributor with initialization parameters for Morpho market and bribes.
- Enhanced the existing market deployment script to include deployment of CTokenFirstExtension and CErc20RewardsDelegateMorpho, along with their configuration in the FeeDistributor contract.
- Improved transaction handling and logging for better visibility during deployment.
- Updated the foundry.toml file to include Lisk mainnet and archive RPC URLs.
- Enhanced the BaseTest contract to support forking from the Lisk mainnet.
- Added a new test function in DevTesting to create a lock on the Lisk network, ensuring proper functionality and logging.
- Added a new test function for borrowing functionality in the DevTesting contract, allowing for testing of the borrow action on the specified market.
- Updated the user address in the testUserBribes function for accuracy.
- Refactored the setBribeHistoricalPrices task to include improved error handling and added a new task for checking historical prices.
- Introduced a task for transferring ownership of bribe contracts, enhancing management capabilities for bribes.
- Added functionality to set and retrieve historical prices for LP tokens at specific epochs in the Voter contract.
- Updated the BribeRewards contract to utilize the new historical price retrieval method.
- Introduced a new task for setting historical prices over a range, enhancing the management of bribe rewards.
- Commented out the emission of the HistoricalPriceSet event in the setHistoricalPrices function to prevent unnecessary logging.
- Rearranged the parameters in the getHistoricalPrice function for improved clarity, placing the lpToken parameter before the epochTimestamp.
…ced functionality

- Added multiple new BribeRewards contracts with unique implementations and proxies to support various deployment scenarios.
- Introduced new RewardAccumulator contracts to manage reward distribution effectively.
- Updated existing deployment scripts to accommodate the new contracts and ensure proper integration.
- Enhanced the Voter contract with updated historical price management features.
- Added new solc input files for improved compilation tracking.
…gement

- Modified the DevTesting contract to update the BribeRewards address and adjust voting token values for testing.
- Introduced a new task to check rewards over a specified epoch range in the setBribeHistoricalPrices script, enhancing the management of bribe rewards.
…lators and bribes

- Updated the deployment script to check if market reward accumulators are already set before attempting to set them, improving efficiency and preventing redundant transactions.
- Added logic to set bribes only if they are not already assigned to the reward accumulators, ensuring proper management of bribe assignments.
- Enhanced error handling and logging for better visibility during the deployment process.
- Added multiple new RewardAccumulator contracts with unique implementations and proxies to enhance reward distribution management.
- Updated deployment scripts to accommodate the new contracts, ensuring proper integration and functionality.
- Enhanced the Voter contract with updated historical price management features.
- Improved error handling and logging in deployment processes for better visibility.
- Updated the Voter contract to introduce a distributor address and a modifier for restricted access to reward distribution functions.
- Added a new function to set the distributor address, improving control over reward distribution.
- Modified the distributeRewards and setHistoricalPrices functions to utilize the new distributor modifier.
- Enhanced the DevTesting contract to improve bribe management by iterating through incentives and logging earned bribes for both supply and borrow scenarios.
- Updated the testUserBribes function with a new user address for accurate testing.
- Changed the implementation address in Voter and Voter_Implementation to a new address for deployment.
- Introduced a new error type, NotDistributor, to enhance error handling in the Voter contract.
- Added a distributor function to retrieve the distributor address, improving access control for reward distribution.
- Updated the number of deployments in Voter and Voter_Implementation to reflect recent changes.
- Added new solc input files for improved compilation tracking in both base and mode deployments.
- Added emergencyWithdraw function in the Voter contract for owner-controlled withdrawals of specified amounts.
- Introduced testDistro function in DevTesting to validate reward distribution and log transfer events.
- Updated setBribeHistoricalPrices task to improve historical price retrieval and logging for better visibility.
- Added emergencyWithdraw function to the Voter contract for owner-controlled withdrawals of specified amounts.
- Updated implementation addresses in Voter and Voter_Implementation to new addresses for deployment.
- Increased the number of deployments in Voter and Voter_Implementation to reflect recent changes.
- Modified setBribeHistoricalPrices task to improve historical price retrieval and logging for better visibility.
…istro block number

- Added testRewardCycles function to log reward cycles and balances for specified markets.
- Updated testDistro function to use a new block number for testing on the BASE_MAINNET.
Copy link

netlify bot commented Jul 19, 2025

Deploy Preview for ionicv2 failed. Why did it fail? →

Name Link
🔨 Latest commit c8604f3
🔍 Latest deploy log https://app.netlify.com/projects/ionicv2/deploys/687bcaeebb605a00082f37b3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants