chore: consolidate documentation — delete status/fix/progress cruft

Before: 335 tracked .md files; top level had 14 README-like docs;
docs/ contained ~234 files, most of them auto/LLM-generated status
reports (ALL_*_COMPLETE*, *_FIX*, DEPLOYMENT_*_FINAL*, etc.).

After: 132 tracked .md files. Repo now has exactly five top-level
docs: README.md, QUICKSTART.md, RUNBOOK.md, CONTRIBUTING.md,
CHANGELOG.md (moved up from docs/).

Keeper philosophy in docs/:
- API, CCIP (ops + security + receiver/router refs), Chainlist refs,
  compliance, deployment (guides not status), database connection,
  legal compliance, metamask integration, production checklist,
  tiered-architecture implementation/setup, reusable-components plan,
  token-mechanism doc, wrap-and-bridge operational reference, plus
  docs/specs/** and docs/api/ / docs/openapi/ trees.

Deleted (git history preserves provenance):
- All 'ALL_*_COMPLETE*' / '*_FIX*' / '*_FIXED*' / '*_FINAL*' /
  '*_STATUS*' / '*_PROGRESS*' / '*_SUMMARY*' files.
- BLOCKSCOUT_*_FIX / _CRASH / _INITIALIZATION / _SCHEMA / _YAML /
  _SKIP / _NEXT_STEPS / _START_AND_BUILD / _DATABASE_CREDENTIALS
  (the last contained passwords).
- CCIP_IMPLEMENTATION_* / CCIP_CURRENT_STATUS / CCIP_GAP_*
  (gap analyses are not a sustained reference).
- NPMPLUS_CREDENTIALS_GUIDE.md (contained creds).
- LETSENCRYPT_CONFIGURATION_GUIDE.md (contained creds; will be
  re-introduced as runbook content post-secrets-scrub).
- docs/diagnostic-reports/, docs/feature-flags/ (run-time artifacts).

README.md: dead links (START_HERE, README_DEPLOYMENT, COMPLETE_DEPLOYMENT,
DEPLOYMENT_COMPLETE_FINAL) replaced with links to the five canonical
top-level docs + docs/ index.
This commit is contained in:
2026-04-18 18:56:17 +00:00
parent e1c3b40cb0
commit 40c9af678f
205 changed files with 8 additions and 37633 deletions

View File

@@ -1,173 +0,0 @@
# Compilation Fixes Summary
**Date**: 2025-12-24
**Status**: ✅ **COMPLETE** - All compilation errors fixed
---
## 📋 Fixed Compilation Errors
### 1. MultiSig Contract
**File**: `smom-dbis-138/contracts/governance/MultiSig.sol`
**Issue**: Missing Ownable constructor parameter
```
Error (3415): No arguments passed to the base constructor. Specify the arguments or mark "MultiSig" as abstract.
```
**Fix**: Added `Ownable(msg.sender)` to existing constructor
```solidity
constructor(address[] memory _owners, uint256 _required) Ownable(msg.sender) validRequirement(_owners.length, _required) {
```
**Status**: ✅ **FIXED**
---
### 2. Voting Contract
**File**: `smom-dbis-138/contracts/governance/Voting.sol`
**Issue**: Missing Ownable constructor parameter
```
Error (3415): No arguments passed to the base constructor. Specify the arguments or mark "Voting" as abstract.
```
**Fix**: Added `Ownable(msg.sender)` to existing constructor
```solidity
constructor() Ownable(msg.sender) {}
```
**Status**: ✅ **FIXED**
---
### 3. MockPriceFeed Contract
**File**: `smom-dbis-138/contracts/reserve/MockPriceFeed.sol`
**Issue**: Missing implementations for IAggregator interface
```
Error (3656): Contract "MockPriceFeed" should be marked as abstract.
Note: Missing implementation:
- function description() external view returns (string memory);
- function updateAnswer(uint256 answer) external;
- function version() external view returns (uint256);
```
**Fix**: Added all three missing functions
```solidity
function description() external pure override returns (string memory) {
return "Mock Price Feed";
}
function updateAnswer(uint256 answer) external override onlyOwner {
require(answer > 0, "MockPriceFeed: answer must be positive");
_latestAnswer = int256(answer);
_latestTimestamp = block.timestamp;
emit PriceUpdated(int256(answer), block.timestamp);
}
function version() external pure override returns (uint256) {
return 1;
}
```
**Status**: ✅ **FIXED**
---
### 4. CCIPSender Contract
**File**: `smom-dbis-138/contracts/ccip/CCIPSender.sol`
**Issue**: Using deprecated `safeApprove`
```
Error (9582): Member "safeApprove" not found or not visible after argument-dependent lookup in contract IERC20.
```
**Fix**: Replaced with `safeIncreaseAllowance`
```solidity
// Before:
IERC20(feeToken).safeApprove(address(ccipRouter), fee);
// After:
SafeERC20.safeIncreaseAllowance(IERC20(feeToken), address(ccipRouter), fee);
```
**Status**: ✅ **FIXED**
---
### 5. ReserveTokenIntegration Contract
**File**: `smom-dbis-138/contracts/reserve/ReserveTokenIntegration.sol`
**Issue**: Using non-existent `burnFrom` function
```
Error (9582): Member "burnFrom" not found or not visible after argument-dependent lookup in contract IeMoneyToken.
```
**Fix**: Changed to `burn` with reason code
```solidity
// Before:
IeMoneyToken(sourceToken).burnFrom(msg.sender, amount);
// After:
IeMoneyToken(sourceToken).burn(msg.sender, amount, "0x00");
```
**Status**: ✅ **FIXED**
---
### 6. OraclePriceFeed Contract
**File**: `smom-dbis-138/contracts/reserve/OraclePriceFeed.sol`
**Issue**: `updatePriceFeed` was `external` and couldn't be called internally
```
Error (7576): Undeclared identifier. "updatePriceFeed" is not (or not yet) visible at this point.
```
**Fix**: Changed visibility from `external` to `public`
```solidity
// Before:
function updatePriceFeed(address asset) external onlyRole(PRICE_FEED_UPDATER_ROLE) {
// After:
function updatePriceFeed(address asset) public onlyRole(PRICE_FEED_UPDATER_ROLE) {
```
**Status**: ✅ **FIXED**
---
### 7. PriceFeedKeeper Contract
**File**: `smom-dbis-138/contracts/reserve/PriceFeedKeeper.sol`
**Issue**: `checkUpkeep` was `external` and couldn't be called internally
```
Error (7576): Undeclared identifier. "checkUpkeep" is not (or not yet) visible at this point.
```
**Fix**: Changed visibility from `external` to `public`
```solidity
// Before:
function checkUpkeep() external view returns (bool needsUpdate, address[] memory assets) {
// After:
function checkUpkeep() public view returns (bool needsUpdate, address[] memory assets) {
```
**Status**: ✅ **FIXED**
---
## 📊 Summary
- **Total Errors Fixed**: 7
- **Contracts Modified**: 7
- **Compilation Status**: ✅ **SUCCESS**
- **Deployment Status**: ✅ **SUCCESS**
---
**Last Updated**: 2025-12-24
**Status**: ✅ **ALL COMPILATION ERRORS FIXED**