# curvefi/curve-contract

Vyper contracts used in Curve.fi exchange pools.

Repository: https://github.com/curvefi/curve-contract
Canonical: https://ross.abutalabs.com/products/curve-contract
Homepage: https://www.curve.finance/
Language: Python
License: NOASSERTION
License Family: other
Topics: ethereum, vyper, defi
Last push: 2025-05-29T17:30:37+00:00

## Health v2 (maintenance only)
Score: 43/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 24, release rhythm 35, longevity 100
- inputs: {"age_days": 2422, "days_push": 461, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1112, forks 421 (observed 2026-08-28T04:03:37.823068+00:00)

## What it is
The official Vyper smart contracts powering Curve.fi's exchange liquidity pools on Ethereum. It includes pool templates, per-pool contract sources, and a Brownie-based test and deployment workflow.

## Use cases
- deploy a new stablecoin liquidity pool on Curve
- audit or review Curve pool smart contracts
- fork Curve's stableswap AMM algorithm for my own DeFi project
- run the Curve contract test suite locally with Brownie
- understand how Curve's low-slippage pool math is implemented in Vyper
- integrate Curve pool contracts into another protocol

## When to choose
- you are building or deploying a Curve liquidity pool
- you need the canonical, audited Vyper source for Curve pools
- you want to fork a battle-tested stableswap AMM implementation

## When to avoid
- you want a general-purpose Solidity DeFi toolkit rather than Curve-specific contracts
- you need a frontend or SDK for interacting with Curve from an app
- you are not comfortable working with Vyper and Ethereum smart contract tooling

## Facets
- artifact type: library
- maturity: active
- function: blockchain, security, testing, developer-tools
- domain: blockchain, fintech, developer-tools
- platform: python
- tags: vyper, defi, smart-contracts, stablecoin, liquidity-pool, ethereum, brownie, cryptocurrency

## Member repositories
- curvefi/curve-contract (main) score 43

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:37.823068+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:42:42.582282+00:00, confidence not recorded.
  - readme: https://github.com/curvefi/curve-contract (fetched 2026-08-28T04:03:37.823068+00:00, sha 50a0b45548b7)
  - homepage: https://www.curve.finance/ (fetched 2026-08-29T12:46:40.800353+00:00, sha 33daadf0782c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
