{"adoption": {"forks": 528, "observed_at": "2026-08-28T04:07:56.341516+00:00", "stars": 3323}, "canonical_url": "https://ross.abutalabs.com/products/solidity-patterns", "card": {"archived": false, "artifact_type": "learning-resource", "description": "A compilation of patterns and best practices for the smart contract programming language Solidity", "domain": ["blockchain", "security", "developer-tools", "tutorials"], "enriched": true, "function": ["security", "documentation"], "health_score": 20, "homepage": "https://fravoll.github.io/solidity-patterns/", "language": "Solidity", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["fravoll/solidity-patterns"], "name": "fravoll/solidity-patterns", "platform": ["cross-platform"], "pushed_at": "2024-04-19T08:52:31+00:00", "repo": "fravoll/solidity-patterns", "stars": 3323, "tags": ["solidity", "smart-contracts", "design-patterns", "ethereum", "gas-optimization", "upgradeability"], "topics": ["solidity-patterns", "solidity", "solidity-language", "smart-contract"], "urls": [], "use_cases": ["learn common solidity design patterns", "secure my smart contract against reentrancy", "how to upgrade a smart contract without breaking dependencies", "optimize gas costs in solidity contracts", "generate random numbers on the blockchain safely", "restrict access to contract functions", "implement an emergency stop in a smart contract"], "what_it_is": "A curated collection of design, security, upgradeability, and economic patterns for the Solidity smart contract language, each with code samples and detailed explanations. It is published as a documentation site and is no longer under active development.", "when_to_avoid": ["working with modern Solidity versions, since examples target 0.4.20 and may be outdated", "needing a maintained library or production-ready audited code", "requiring up-to-date best practices for current tooling and standards"], "when_to_choose": ["learning foundational smart contract design and security patterns", "studying classic patterns like checks-effects-interactions or proxy delegate", "getting concise code examples with explanations for Ethereum contracts"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/solidity-patterns", "repo": "fravoll/solidity-patterns", "role": "main", "score": 32}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:07:56.341516+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:41:48.987587+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "38612a6f9aea0a759ca56a0067e0abd84f8f13234c86ba7abb1e5e33e7e76c17", "fetched_at": "2026-08-28T04:07:56.341516+00:00", "kind": "readme", "missing": false, "url": "https://github.com/fravoll/solidity-patterns"}, {"content_hash": "937408bbf867ebaa574aa55adb3d990a2b48769447bab307f7e126c4241afed8", "fetched_at": "2026-08-29T09:34:46.759180+00:00", "kind": "homepage", "missing": false, "url": "https://fravoll.github.io/solidity-patterns/"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:07:56.341516+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:41:48.987587+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "38612a6f9aea0a759ca56a0067e0abd84f8f13234c86ba7abb1e5e33e7e76c17", "fetched_at": "2026-08-28T04:07:56.341516+00:00", "kind": "readme", "missing": false, "url": "https://github.com/fravoll/solidity-patterns"}, {"content_hash": "937408bbf867ebaa574aa55adb3d990a2b48769447bab307f7e126c4241afed8", "fetched_at": "2026-08-29T09:34:46.759180+00:00", "kind": "homepage", "missing": false, "url": "https://fravoll.github.io/solidity-patterns/"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:41:48.987587+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "38612a6f9aea0a759ca56a0067e0abd84f8f13234c86ba7abb1e5e33e7e76c17", "fetched_at": "2026-08-28T04:07:56.341516+00:00", "kind": "readme", "missing": false, "url": "https://github.com/fravoll/solidity-patterns"}, {"content_hash": "937408bbf867ebaa574aa55adb3d990a2b48769447bab307f7e126c4241afed8", "fetched_at": "2026-08-29T09:34:46.759180+00:00", "kind": "homepage", "missing": false, "url": "https://fravoll.github.io/solidity-patterns/"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:07:56.341516+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:07:56.341516+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:07:56.341516+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:41:48.987587+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "38612a6f9aea0a759ca56a0067e0abd84f8f13234c86ba7abb1e5e33e7e76c17", "fetched_at": "2026-08-28T04:07:56.341516+00:00", "kind": "readme", "missing": false, "url": "https://github.com/fravoll/solidity-patterns"}, {"content_hash": "937408bbf867ebaa574aa55adb3d990a2b48769447bab307f7e126c4241afed8", "fetched_at": "2026-08-29T09:34:46.759180+00:00", "kind": "homepage", "missing": false, "url": "https://fravoll.github.io/solidity-patterns/"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:07:56.341516+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:07:56.341516+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:41:48.987587+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "38612a6f9aea0a759ca56a0067e0abd84f8f13234c86ba7abb1e5e33e7e76c17", "fetched_at": "2026-08-28T04:07:56.341516+00:00", "kind": "readme", "missing": false, "url": "https://github.com/fravoll/solidity-patterns"}, {"content_hash": "937408bbf867ebaa574aa55adb3d990a2b48769447bab307f7e126c4241afed8", "fetched_at": "2026-08-29T09:34:46.759180+00:00", "kind": "homepage", "missing": false, "url": "https://fravoll.github.io/solidity-patterns/"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:07:56.341516+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:07:56.341516+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:07:56.341516+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:41:48.987587+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "38612a6f9aea0a759ca56a0067e0abd84f8f13234c86ba7abb1e5e33e7e76c17", "fetched_at": "2026-08-28T04:07:56.341516+00:00", "kind": "readme", "missing": false, "url": "https://github.com/fravoll/solidity-patterns"}, {"content_hash": "937408bbf867ebaa574aa55adb3d990a2b48769447bab307f7e126c4241afed8", "fetched_at": "2026-08-29T09:34:46.759180+00:00", "kind": "homepage", "missing": false, "url": "https://fravoll.github.io/solidity-patterns/"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:07:56.341516+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:07:56.341516+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:41:48.987587+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "38612a6f9aea0a759ca56a0067e0abd84f8f13234c86ba7abb1e5e33e7e76c17", "fetched_at": "2026-08-28T04:07:56.341516+00:00", "kind": "readme", "missing": false, "url": "https://github.com/fravoll/solidity-patterns"}, {"content_hash": "937408bbf867ebaa574aa55adb3d990a2b48769447bab307f7e126c4241afed8", "fetched_at": "2026-08-29T09:34:46.759180+00:00", "kind": "homepage", "missing": false, "url": "https://fravoll.github.io/solidity-patterns/"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:41:48.987587+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "38612a6f9aea0a759ca56a0067e0abd84f8f13234c86ba7abb1e5e33e7e76c17", "fetched_at": "2026-08-28T04:07:56.341516+00:00", "kind": "readme", "missing": false, "url": "https://github.com/fravoll/solidity-patterns"}, {"content_hash": "937408bbf867ebaa574aa55adb3d990a2b48769447bab307f7e126c4241afed8", "fetched_at": "2026-08-29T09:34:46.759180+00:00", "kind": "homepage", "missing": false, "url": "https://fravoll.github.io/solidity-patterns/"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:41:48.987587+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "38612a6f9aea0a759ca56a0067e0abd84f8f13234c86ba7abb1e5e33e7e76c17", "fetched_at": "2026-08-28T04:07:56.341516+00:00", "kind": "readme", "missing": false, "url": "https://github.com/fravoll/solidity-patterns"}, {"content_hash": "937408bbf867ebaa574aa55adb3d990a2b48769447bab307f7e126c4241afed8", "fetched_at": "2026-08-29T09:34:46.759180+00:00", "kind": "homepage", "missing": false, "url": "https://fravoll.github.io/solidity-patterns/"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:41:48.987587+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "38612a6f9aea0a759ca56a0067e0abd84f8f13234c86ba7abb1e5e33e7e76c17", "fetched_at": "2026-08-28T04:07:56.341516+00:00", "kind": "readme", "missing": false, "url": "https://github.com/fravoll/solidity-patterns"}, {"content_hash": "937408bbf867ebaa574aa55adb3d990a2b48769447bab307f7e126c4241afed8", "fetched_at": "2026-08-29T09:34:46.759180+00:00", "kind": "homepage", "missing": false, "url": "https://fravoll.github.io/solidity-patterns/"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3122, "days_push": 866, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 32, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}