[WOOF!] General Compound Weekly Report | Jan 27 - Jan 31, 2025
Compound Migrator
Done 27-31 Jan
Front
Completed AAVEv3 cross-isolated margin migration logic. (Except for the functionality of swap switching to the base token).
To be done 3-7 Feb
Smart Contracts
Unit tests - Basic coverage with unit tests for Morpho.
Unit tests - Full coverage with unit tests for Morpho, Spark, and AAVE V3.
Fork tests - Develop tests for all 7 networks for each of the 3 protocols.
Scripts deployment - Provide deployment for the left 6 networks.
Documentation - Create documentation for the front end on how to integrate Morpho.
To finish Natspec.
Front
Complete the functionality of swap switching to the base token.
To connect AAVEv3 free collateral margin logic.
Start Spark logic integration on the front end.
QA
Provide testing of the migration from AAVEv3 to the Compound.
Compound Frontend
Done 27-31 Jan
Created the Dune Dashboard with the necessary fields, filters, and sorting to process data for voting on the Mainnet collaterals’ supply capitalization limit increasing.
To be done 3-7 Feb
To test the feature for increasing the supply cap limit voting on Mainnet.
To start applying the feature to the next networks: Optimism, Arbitrum, Base, and Polygon.
To get the audit feedback from OZ on 10 Feb.
Compound Sandbox
Done 27-31 Jan
Working on testing environment setup.
Started creating the mock for PID Controller.
To be done 3-7 Feb
To go ahead with the testing environment setup.
Proceed to create the mock for the PID Controller.
Definition of the scope and tasks for the next development direction:
To define the complete scope of a Smart contract direction.
[WOOF!] Compound Weekly Report | Feb 3 - Feb 7, 2025
Compound Migrator
Done 03-07 Feb
Front
Completed AAVEv3 cross-isolated margin migration logic with the functionality of swap switching to the base token).
Started AAVEv3 free collateral logic connection.
Solidity
Applied edits after the internal review and provided code refactoring.
Fix conflicts in current tests regarding code edits.
Set up Fork tests for AAVEv3 and Spark.
New testing scenarios have been added.
Design
Started needed changes implementation (desktop and mobile).
To be done 10-14 Feb
Smart Contracts
Resolv blockers on Aave and Spark in some scenarios on all networks except Ethereum.
Run Fork test scenarios for AAVEv3 and Spark.
Set up Fork tests for Morpho.
Run Fork test scenarios for Morpho.
Unit tests - Basic coverage with unit tests for Morpho.
Unit tests - Full coverage with unit tests for Morpho, Spark, and AAVE V3.
Backlog
Scripts deployment
Provide deployment for the networks left for AAVEv3, Spark.
Provide deployment for the networks left for Spark and Morpho.
Documentation - Create documentation for the front end on how to integrate Morpho.
To finish Natspec.
Mini contract to process the route with the intermediate tokens (Connectors).
Front
Proceed with AAVEv3 free collateral logic connection.
Start Free Collaterals logic implementation on Spark.
To implement UI changes.
To check all Formulas and to collect them into the document for QA.
To Start Morpho Connection.
Bugfix.
Design
To complete changes implementation (desktop and mobile).
Compound Frontend
Done 03-07 Feb
Dune
To Complete the Dune Dashboard creation for voting for collaterals’ supply capitalization limit increasing on the Mainnet.
To collect one last vote per user per collateral for each market since the recent supply capitalization change to define his collateral has more votes.
To deploy the contract for left networks Optimism, Arbitrum, Base, and Polygon.
Started applying the feature to the next networks: Optimism, Arbitrum, Base, and Polygon.
Design
Designed settings to hide positions with <$1 balance on the Dashboard (desktop and mobile).
To be done 10-14 Feb
Dune
To test the feature for increasing the supply cap limit voting on Mainnet.
To complete applying the feature to the next networks: Optimism, Arbitrum, Base, and Polygon.
UI and Web3 logic
To implement sorting lend and borrow positions on the dashboard by balance value.
To implement the hiding of the positions with <$1 balance on the Dashboard (desktop and mobile).
Finished the Config Controller Factory epic development.
Deployed Bulker, Market, Sandbox Controller, Config Controller Factory, Market Factory on the testnet.
Described tasks for the Price Feed Controller epic development.
Worked on the Liquidation Bot epic (development and testing).
Worked on the Subgraph epic development.
Continue working on the revenue for the POF liquidator epic development.
Design:
Defined the design concept.
Apply the design concept to the wireframes for the Regular User flow (desktop).
UI:
Start implementing the layout for the Regular user flow - Common markets page, Market Details page, Dashboard page (desktop).
Provided initial deployment to the dev environment.
Documentation:
Business logic:
1. Market page creation business logic.
2. Initiate Market Changes Roles Ability Comparison Table.
3. Owner and Curator Dashboards.
Worked with the SDK implementation on Web3 logic.
To do 28 Apr - 9 May
Proceed with working on the Market epic development.
Finish the Config Controller epic development.
Continue working on the Liquidation Bot epic (development and testing).
To deploy the logic for the transactions on the testnet.
Continue working on the Subgraph epic development.
Continue working on the revenue for the POF liquidator epic development.
Design:
Apply the design concept to the wireframes for the Regular user flow - Common markets page, Market Details page, Dashboard page (desktop).
Start working on a clickable prototype.
UI:
Work on the layout for the Regular user flow - Common markets page, Market Details page, transaction widget, Dashboard page (desktop).
Documentation:
Business logic:
1. To describe the business logic for the transaction widget on the Market Details page.
2. To describe the business logic for the Market Details page.
3. To describe the business logic for the Common markets page.
4. To describe the business logic for the Dashboard page.
5. To describe the business logic for the widget on the Dashboard page.
To proceed with the SDK implementation on Web3 logic.
To implement the logic for the transactions.
To proceed with the Migrator-Sandbox implementation (Solidity).
Compound Grant
Done/Ongoing 14 Apr - 25 Apr
[market] USDTv3 Sonic (in progress)
[market] cWSv3 Sonic (in progress)
Sonic USDC.e Market Migration audit fixes (in progress)
Bi-weekly Development Report | Apr 28 - May 9, 2025
Compound Migrator
Done
Implemented the post-audit fixes.
Compound Frontend
Done
Created the WBS and estimated how to implement the RewardsV2 on the front and backend.
To do
Start to implement the RewardsV2 on the front and backend.
RewardsV2 implementation + Integrate computations v2 with v1.
Integrate RewardsV2 support into the Bulker contract.
Sandbox
Done
Solidity:
1.1. The coverage of the Sandbox Controller epic with tests.
1.2. Proceeded with the Market epic development.
1.3. Liquidation Bot support.
1.4. Migrator-Sandbox: Started implementation.
Backend:
2.1. Worked on the Liquidation Bot epic (development and testing).
2.2. Worked on the Subgraph epic development.
2.3. Continued working on the SDK for Comet Development.
2.4. Continued working on the revenue for the POF liquidator epic development.
Design:
3.1. Worked on the Markets page, Market Details page, Dashboard page - mobile, and responsive version.
UI:
4.1. Worked on the layout for the Markets page, Market Details page, Dashboard page - mobile, and responsive version.
Web3 logic:
5.1. Worked on logic for the Market Details page (SDK and app).
5.2. Connected the testnet contract.
Documentation:
7.1. Business logic: Started to describe the Sandbox Migrator logic.
To do
Solidity:
1.1. Proceed with coverage of the Sandbox Controller epic with tests.
1.2. Proceed with working on the Market epic development.
1.3. Liquidation Bot support.
1.4. To assess the correlation of the price feeds to the Ethers.
1.5. Migrator-Sandbox: To proceed with the Migrator-Sandbox implementation.
Backend:
2.1. Automation of npm package version incrementation via GitHub.
2.2. Work on the Backend part.
2.3. Work on the Liquidation Bot testing.
2.4. Worked on the Subgraph epic development.
2.5. Continue working on the revenue for the POF liquidator epic development.
UI:
4.1. Layout for the Markets page, Market Details page, Dashboard - mobile, and responsive version.
4.2. Start working on the layout for the Sandbox Migrator desktop.
Web3 logic:
5.1. Logic for the Dashboard page (SDK and app).
Documentation:
6.1. Business logic: To describe the Sandbox Migrator logic.
6.2. Tech concept documentation:
a. Start to describe the Liquidation part.
b. Start to describe the Rewards part.
Compound Grant
Done/Ongoing
[market] Ron on Ronin
[market] Unichain WETH
[market] cWSv3 Sonic (in progress)
Sonic USDC.e Market Migration audit fixes (in progress)
Integrated RewardsV2 support into the Bulker contract.
Backend:
Worked on RewardsV2 implementation and computations integration v2 with v1 epic.
Worked on the Datasets storage integration epic.
Design:
Suggested up-to-date design.
Business Logic.
Described Rewards V2 logic.
To do
Backend:
Work on RewardsV2 implementation and computations integration v2 with v1 epic.
Work on the Datasets storage integration epic.
Campaign datasets management.
Provide the documentation.
Provide the automation testing.
Sandbox
Done
Solidity:
Worked on covering the Sandbox Controller epic with tests.
Proceeded with the Market epic development.
Liquidation Bot support.
Started the internal contract audit.
Migrator-Sandbox:
1. Proceeded with the contract implementation.
Backend:
Provided automation of npm package version incrementation via GitHub.
Worked on the Liquidation Bot epic (development and testing).
Worked on the Subgraph epic development.
Design:
Sandbox Migrator desktop design.
UI:
Worked on the layout for the Markets page, Market Details page, Dashboard page - mobile, and responsive version.
Web3 logic:
Worked on logic for the Dashboard page (SDK and app).
Documentation:
Business logic:
1. Started to describe the Sandbox Migrator logic.
To do
Solidity:
Work on the Sandbox Controller epic development.
1. Handle the proposal’s maturity and lifetime by its structure.
2. To add a maturity time, a life time, and the time for change parameters for the curve update proposal.
3. To add a parameter that is responsible for the time of decreasing the liquidationFactor and collateralFactor.
Market epic tasks refinement.
1. Make changes to the repay borrow function.
2. Smooth curve transition.
Proceed with the Config Controller epic development.
1. Add a deadline to the curator’s proposal.
2. Change Curve parameters.
3. Develop a proposal for token removal
Liquidation Bot support.
1. Remove part of the address in the function absorbAndArbitrage.
2. Integrate slippage for amountOutMinimum in the function uniswapV3FlashCallback for each asset.
3. Write tests for the OnChainLiquidator contract with maximum possible coverage.
4. To implement 1-inch swaps in the onChainLiquidator contract.
Proceed with the internal contract audit.
Work on contract enhancements obtained from the internal audit.
Migrator-Sandbox:
1. To proceed with the Migrator-Sandbox contract implementation.
Backend:
Work on the Backend part.
1. Create info controller (subgraph data, etc).
Work on the Liquidation Bot testing.
1. Test events listening and reaction.
2. Test each scenario on the schema.
3. Update Liquidator Contract ABI, Extend Pool Config, and Refresh Anvil States.
4. Apply Fixes.
Work on the Subgraph epic development.
1. To track the transition events for the new curator, owner, and guardian.
Work on the Revenue for the POF liquidator epic development.
Design:
Sandbox Migrator responsive design.
UI:
Fixes for responsive display for the Markets page, Market Details page, and Dashboard page.
Start working on the layout for the Sandbox Migrator desktop.
Web3 logic:
Logic fixes.
Sandbox SDK fixes.
Start working on the Sandbox Migrator SDK development.
Documentation:
Business logic:
1. To describe the Sandbox Migrator logic.
Tech concept documentation:
1. Start to describe the Liquidation part.
This report outlines the features and tasks completed over the past two weeks, as well as the current work in progress (WIP) and plans for the upcoming two-week period.
Please note that priorities for the next phase are subject to change. Should you have any questions or require further clarification, do not hesitate to reach out via this thread, direct message, or Discord.
Module for automatic documentation update of the Comet changes.
Reserves Dashboard
Dashboard with historical data of Compound v2 & v3 reserves, and DAO spending tracking
Bitecode Repository
A smart contract that stores bytecodes of Comets, allowing for faster development and auditing of new markets.
Governance notifications bot
A telegram bot that updates delegates about proposals that have not reached the quorum when the active voting phase ends in 24 hours.
DeFi Llama Update
DeFi Llama updates with actual information about TVL, fees, volume, etc.
Optimistic Governance Track
Push on-chain proposals to update governance to the optimistic governance track.
Markets and assets
Assets
Markets
WIP
wOETH on WETH Mainnet
WETH on Linea USDS on Arbitrum USDT on Linea
Backlog
deUSD USDC Mainnet deUSD USDS Mainnet deUSD USDT Mainnet sdeUSD USDC Mainnet sdeUSD USDS Mainnet sdeUSD USDT Mainnet Eigen on Mainnet pufETH on WETH Mainnet
Sandbox
Done
WIP
Custom Comet
Variables refactoring, liquidation fees distribution, internal audit, minor bug fixing and polishing, testing. Dashboards finalization.
Proposal deadlines, soft switch between curves, market deprecation, adding/removing of collateral, DAO rewards speeds, dashboards, internal audit. Rewards, performance fee, and fee distribution dashboard.
Liquidation Bot
1inch integration, Uniswap flow optimisation.
Logic for revenue calculation.
Front-end SDK
Position migrator flow, charts for the market and dashboard pages.
Move from Subgraph to custom back-end.
Position Migrator
Testnet deployment, code review, testing and refactoring.
Fork testing, internal audit, bug fixing and improvements.
This report outlines the features and tasks completed over the past two weeks, as well as the current work in progress (WIP) and plans for the upcoming two-week period.
Please note that priorities for the next phase are subject to change. Should you have any questions or require further clarification, do not hesitate to reach out via this thread, direct message, or Discord.
Pushed on-chain proposals to update governance to the optimistic governance track.
Development preparation, estimation.
Improvement of the testing infrastructure
Updating Hardhat, Ethers, Solhint, Prettier, adapting and improving tests, optimization of the tests stucture.
Improvements Planning, estimation.
Markets and assets
Assets
Markets
WIP
wOETH on WETH Mainnet pufETH on WETH Mainnet deUSD on USDC Mainnet deUSD on USDS Mainnet deUSD on USDT Mainnet sdeUSD on USDC Mainnet sdeUSD on USDS Mainnet sdeUSD on USDT Mainnet Eigen on WETH Mainnet
USDT on Linea WETH on Linea Arbitrum on USDS
Sandbox
Done
WIP
Custom Comet
Proposal deadlines, soft switch between curves, market deprecation, adding/removing of collateral, DAO rewards speeds, dashboards, internal audit. Rewards, performance fee, and fee distribution dashboard.
Internal audit, fixes, tests and documentation writing. Working on bulker, proposal deadlines, the displaying of the market proposals, market closure, change the base token curve params, function of adding a collateral to the Market and update the Collateral Params. Performance fee, and fee distribution.
Liquidation Bot
Logic for revenue calculation.
Testing each scenario on schema and refinement.
Sandbox SDK
Move from Subgraph to custom back-end.
Reconnection according to the user, transfer of calls to the SDK and refinement.
Position Migrator
Fork testing, internal audit, bug fixing and improvements.
Code review and internal audit.
Rewards V2
Deployed the contrract on Sepolia for custom commet.