Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FreClean Contracts

Two things live here, both serving FreClean's move into multi-year B2B relationships:

  1. 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 .docx versions are pre-built in dist/.
  2. 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.

Why this repo exists now

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).

Legal templates

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/*.docx

Smart contract

npm install
npm test              # Hardhat test suite
npm run compile
npm run deploy:alfajores   # testnet first — see docs/DEPLOYMENT.md

ServiceAgreementRegistry.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.

Status

  • 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.md for the required staging sequence before any mainnet use.

How this connects to the rest of the ecosystem

  • 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.md once finalized, not invented here.

License

Not provided.

About

FreClean Contracts multi-year B2B legal templates (hotel, Airbnb, office, product supply) + one justified Celo registry contract for payment-compliance tracking. No token, no custody.

Topics

Resources

Code of conduct

Contributing

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages