Skip to content

Instantly share code, notes, and snippets.

# X-Ray Pre-Audit Report: Innflux Contracts V0
**Protocol:** Innflux V0 -- Under-collateralized Lending for African MFIs
**Branch:** `partner-loan-pliot` @ commit `ea89ab2`
**Date:** 2026-04-10
**Toolchain:** Foundry (Solidity 0.8.20)
**Auditor:** Automated X-Ray Engine
---
# Security Review — Innflux Contracts V0
---
## Scope
| | |
| -------------------------------- | ------------------------------------------------------ |
| **Mode** | ALL (full repo) |
| **Files reviewed** | `FloatPool.sol` · `CreditLineVault.sol`<br>`VaultManager.sol` · `FluxScoreOracle.sol`<br>`Errors.sol` · `Events.sol` · `Roles.sol` |
# Entry Point Map: Innflux Contracts V0
**Branch:** `partner-loan-pliot` @ commit `ea89ab2`
**Date:** 2026-04-10
---
## CreditLineVault.sol
### External / Public State-Changing Functions
// ════════════════════════════════════════════════════════════════════════
// BEFORE vs AFTER — loans.prisma migration
//
// Legend:
// // [UNCHANGED] — no changes needed
// // [NEW] — added field/model
// // [CHANGED] — modified from original
// // [WHY] — explains the reason
// ════════════════════════════════════════════════════════════════════════