| contributor-guide.md |
Start here if you are new to the contracts codebase. Module layout, build commands, invoice lifecycle, bidding, escrow, KYC gates, error/event stability contracts, test auth pattern, WASM budget. |
| invoice-lifecycle.md |
Full invoice state machine, transition table, investment status integration |
| INVOICE_LIFECYCLE_DIAGRAM.md |
Full invoice state machine diagram — all statuses, transitions, invariants, and entrypoint signatures in one page (issue #1946) |
| OFF_CHAIN_SIGNATURES.md |
Threat model and implementation notes for all off-chain signed operations: KYC payloads, cursor attestations, dispute evidence (issue #1894) |
| DEFAULT_FLOW_DIAGRAM.md |
State-machine diagram from invoice past-due → default → recovery; grace period, finality guards, dispute interception, and concrete timeline example |
| QLX_INVOICE_LOCK_TIME_LIMITS.md |
Contributor-facing summary of the practical invoice lock time limits, auto-release behavior, and the default grace-period path |
| QLX_INVOICE_TAXONOMY.md |
Canonical invoice categories and statuses defined in the contract, with transition table and concrete examples |
| errors.md |
Error code reference (stable integers) |
| events.md |
Event schema and topic constants |
| security.md |
Reentrancy guard, pause circuit breaker, access control |
| protocol-limits.md |
Configurable numeric limits and string-length caps |
| fees.md |
Fee management and revenue distribution |
| PROFIT_SPLIT.md |
How platform and investor fees are split |
| settlement.md |
Settlement flows and partial payments |
| dispute.md |
Dispute lifecycle and resolution |
| escrow.md |
Escrow creation, release, and refund |
| bidding.md |
Bid ranking, TTL, and cleanup |
| QLX_BID_MATCH_ALGORITHM.md |
Deterministic 5-tier bid-matching comparison algorithm write-up and total-ordering specification |
| admin.md |
Admin setup and transfer |
| storage-schema.md |
Persistent storage keys and index layout |
| backup.md |
Backup and restore |
| audit.md |
Audit trail and hash chain |
| AUDIT_PREP.md |
Security audit preparation checklist for contributors |
| CROSS_INVOICE_ANALYTICS.md |
Cross-invoice read patterns, supported entrypoints, and pagination bounds for contributors and integrators |
| QLX_REPORT_LIFECYCLE.md |
Analytics report lifecycle — Requested → Delivered → Archived, entrypoints, storage layout, and invariants |
| QLX_RISK_PARAMETERS.md |
Complete catalog of risk-related parameters with min/max/default values — investor tiers, business supply limits, bid controls, fee ceilings, and operational bounds |
| UPGRADE_QUIESCE.md |
How writes drain before a contract upgrade — maintenance mode, drain window, and operator checklist |
| QLX_INSURANCE_CLAIM_LIFECYCLE.md |
From opt-in to claim to close. The insurance claim lifecycle for downstream integrators and operators |
| OPERATIONAL_PLAYBOOKS.md |
Protocol reasons, meaning, and operational playbooks |
| QLX_INDEXER_CONTRACT.md |
What the off-chain indexer relies on from the on-chain contract (events, structures) |