{"adoption": {"forks": 177, "observed_at": "2026-08-28T04:05:09.423240+00:00", "stars": 1598}, "canonical_url": "https://ross.abutalabs.com/products/useful-solidity-patterns", "card": {"archived": false, "artifact_type": "learning-resource", "description": null, "domain": ["blockchain", "developer-tools", "tutorials"], "enriched": true, "function": ["developer-tools", "documentation"], "health_score": 29, "homepage": null, "language": "Solidity", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["dragonfly-xyz/useful-solidity-patterns"], "name": "dragonfly-xyz/useful-solidity-patterns", "platform": ["cross-platform"], "pushed_at": "2025-04-10T16:48:00+00:00", "repo": "dragonfly-xyz/useful-solidity-patterns", "stars": 1598, "tags": ["solidity", "smart-contracts", "evm", "patterns", "educational", "blockchain-development"], "topics": [], "urls": [], "use_cases": ["learn solidity patterns used in real contracts", "understand how flash loans work in solidity", "implement eip712 signed messages on-chain", "write upgradeable proxy contracts safely", "handle errors thrown by other contracts", "store large data on-chain cheaply with sstore2", "build commit-reveal mechanisms to prevent front-running", "work with non-compliant erc20 tokens"], "what_it_is": "An ongoing collection of practical Solidity/EVM smart contract patterns with concise, self-contained working code examples and tests. Each bite-sized guide explains patterns actually used in the wild in approachable terms for engineers of all skill levels.", "when_to_avoid": ["you need production-ready, security-audited contract code to deploy as-is", "you need a reusable Solidity library rather than educational examples", "you are not working with Ethereum/EVM smart contracts"], "when_to_choose": ["you are learning or teaching Solidity and EVM development", "you need working, tested code examples of common smart contract patterns", "you want gas-saving tricks and idioms used in production contracts"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/useful-solidity-patterns", "repo": "dragonfly-xyz/useful-solidity-patterns", "role": "main", "score": 39}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:09.423240+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:53:16.170243+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0b642d55514ac775441d303ebf1673e093992683a57873e014ff82248b1cbc4e", "fetched_at": "2026-08-28T04:05:09.423240+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dragonfly-xyz/useful-solidity-patterns"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:09.423240+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:53:16.170243+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0b642d55514ac775441d303ebf1673e093992683a57873e014ff82248b1cbc4e", "fetched_at": "2026-08-28T04:05:09.423240+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dragonfly-xyz/useful-solidity-patterns"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:53:16.170243+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0b642d55514ac775441d303ebf1673e093992683a57873e014ff82248b1cbc4e", "fetched_at": "2026-08-28T04:05:09.423240+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dragonfly-xyz/useful-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:05:09.423240+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:09.423240+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:09.423240+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:53:16.170243+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0b642d55514ac775441d303ebf1673e093992683a57873e014ff82248b1cbc4e", "fetched_at": "2026-08-28T04:05:09.423240+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dragonfly-xyz/useful-solidity-patterns"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:09.423240+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:09.423240+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:53:16.170243+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0b642d55514ac775441d303ebf1673e093992683a57873e014ff82248b1cbc4e", "fetched_at": "2026-08-28T04:05:09.423240+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dragonfly-xyz/useful-solidity-patterns"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:09.423240+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:09.423240+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:09.423240+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:53:16.170243+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0b642d55514ac775441d303ebf1673e093992683a57873e014ff82248b1cbc4e", "fetched_at": "2026-08-28T04:05:09.423240+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dragonfly-xyz/useful-solidity-patterns"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:09.423240+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:09.423240+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:53:16.170243+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0b642d55514ac775441d303ebf1673e093992683a57873e014ff82248b1cbc4e", "fetched_at": "2026-08-28T04:05:09.423240+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dragonfly-xyz/useful-solidity-patterns"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:53:16.170243+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0b642d55514ac775441d303ebf1673e093992683a57873e014ff82248b1cbc4e", "fetched_at": "2026-08-28T04:05:09.423240+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dragonfly-xyz/useful-solidity-patterns"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:53:16.170243+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0b642d55514ac775441d303ebf1673e093992683a57873e014ff82248b1cbc4e", "fetched_at": "2026-08-28T04:05:09.423240+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dragonfly-xyz/useful-solidity-patterns"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:53:16.170243+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0b642d55514ac775441d303ebf1673e093992683a57873e014ff82248b1cbc4e", "fetched_at": "2026-08-28T04:05:09.423240+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dragonfly-xyz/useful-solidity-patterns"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 15, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 1520, "days_push": 510, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 39, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}