Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

feat(curve): Eliminate Curve static pool definitions #954

Merged
merged 50 commits into from
Jul 29, 2022
Merged

Conversation

immasandwich
Copy link
Contributor

Description

  • Retrieve Curve pool addresses from the main (stable) registry and crypto registry contracts
  • Retrieve Curve gauge addresses from the Curve API (mostly, the latest gauges are unavailable from on-chain requests)
  • On sidechains/L2s, the only implementation remaining is the Child Liquidity Gauge, so eliminate references to the Rewards Only Gauge helpers, and clear out these files
  • Rename every occurrence of CurveV2 to CurveCrypto, and CurveV1 to CurveStable (better aligns with Curve's standards, so maintenance of this module will be easier)
  • Try to re-organize and remove helper classes where possible, eliminate redundancies in the helper classes

Checklist

  • I have followed the Contributing Guidelines
  • (optional) As a contributor, my Ethereum address/ENS is:
  • (optional) As a contributor, my Twitter handle is:

How to test?

@immasandwich immasandwich merged commit e5866a4 into main Jul 29, 2022
@immasandwich immasandwich deleted the curve-refactor branch July 29, 2022 19:30
volt62 pushed a commit to volt62/zapper-studio that referenced this pull request Aug 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant