專案簡介
The target of this audit is the private code repository of Staking Contracts of MegaETH. The Staking Contracts of MegaETH is a KPI-based staking system for the MEGA token on the MegaETH chain. Users can stake MEGA tokens and earn MEGA tokens based on achieved KPI milestones (i.e., tranches). Each tranche is created with a reward token and maturity curves that scale rewards according to the staking duration. This update introduces two key features: (1) a recommit mechanism, enabling users to claim rewards as new stakes; (2) proportional releases of locked staking rewards.
Please refer to the report for the detailed audit scope.
Our audit methodology employs automated vulnerability scans, manual verification, and business logic analysis to uncover potential security issues coupled with gas and code quality optimization recommendations.
In summary, we did not find any critical issues within the audited codebase. However, we have identified some non-critical issues that should be addressed. Additionally, we have put forth notes that should be taken into consideration. It is important to note that the scope of our audit was strictly limited to the specific code versions mentioned in the report. Any updates made subsequent to our review would require a re-evaluation.
關鍵發現
我們在該智能合約中共發現 1 個潛在問題,另有 0 條建議與 2 條說明,明細如下:
| ID | Severity | Description | Status |
|---|---|---|---|
| 1 | Low | Lack of pause state checks in the recommit staking mechanism | Fixed |
| 2 | - | Ensure proper setup for the reward token | - |
| 3 | - | Ensure proper off-chain analysis before updating locked staking records | - |
更多細節見審計報告。