Two things live here, both serving FreClean's move into multi-year B2B relationships:
legal-templates/— four real contract templates (hotel cleaning, Airbnb/property management cleaning, office cleaning, and product supply agreements), each supporting 2–4 year terms. Polished.docxversions are pre-built indist/.contracts/ServiceAgreementRegistry.sol— FreClean's one smart contract: a Celo registry that records the existence and payment-compliance status of these agreements. No token, no fund custody, no automated enforcement.
FreClean's build standard is explicit that smart contracts are only added when a genuine technical requirement exists. Read docs/JUSTIFICATION.md first — it lays out exactly what that requirement is (a tamper-evident, independently checkable payment-compliance record for multi-year B2B clients) and, just as importantly, what was deliberately left out (a token, escrow, automated penalties).
| Template | Use case | Word doc |
|---|---|---|
| Hotel Cleaning Services Agreement | 2–4 year hotel room-turnover and common-area cleaning contracts | dist/hotel-cleaning-services-agreement.docx |
| Airbnb / Property Management Cleaning Agreement | Standing turnover-cleaning relationships with property owners/managers | dist/airbnb-property-management-agreement.docx |
| Office Cleaning Services Agreement | 2–4 year recurring office cleaning contracts | dist/office-cleaning-services-agreement.docx |
| Product Supply Agreement | Recurring wholesale product delivery to a business (retailer, distributor, or an Entrepreneur Program participant's registered business) | dist/product-supply-agreement.docx |
Every template is marked "requires legal review before use" and leaves governing law, insurance specifics, and exact rates blank rather than inventing placeholder figures — consistent with FreClean's realism principle. Regenerate the Word versions after editing a template's markdown source:
npm install
npm run gen:contracts-docx # legal-templates/*.md → dist/*.docxnpm install
npm test # Hardhat test suite
npm run compile
npm run deploy:alfajores # testnet first — see docs/DEPLOYMENT.mdServiceAgreementRegistry.sol stores, per agreement: a hash of the signed document (never the document itself), the agreement type, term length, payment interval, and a status FreClean's backend updates as freclean-payment confirms or misses a payment. Fully tested — see test/ServiceAgreementRegistry.test.js, including an explicit test asserting the contract exposes no fund-custody function at all.
- Legal templates: drafted, not yet reviewed by counsel — do not send to a real client as final.
- Smart contract: written and tested, not yet deployed anywhere — see
docs/DEPLOYMENT.mdfor the required staging sequence before any mainnet use.
- Payment confirmation that would be recorded on-chain comes from
freclean-payment's existing verification worker — this repo doesn't duplicate or reimplement that logic. - Wholesale pricing referenced in the Product Supply Agreement template pulls from
freclean-entrepreneurship/docs/05-pricing-guidance.mdonce finalized, not invented here.
Not provided.