curveresearch / curvesim

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

Tricrypto price oracle and lp price #256

Closed allt0ld closed 1 year ago

allt0ld commented 1 year ago

Description

Closes #230.

Hygiene checklist

Cute Animal Picture

Put a link to a cute animal picture inside the parenthesis-->

github-actions[bot] commented 1 year ago

Coverage report

The coverage rate went from 75.61% to 76.08% :arrow_up: The branch rate is 62%.

95.83% of new lines are covered.

Diff Coverage details (click to unfold) ### curvesim/pool/cryptoswap/pool.py `94.11%` of new lines are covered (`90.21%` of the complete file). Missing lines: `1014` ### curvesim/pool/cryptoswap/calcs/factory_2_coin.py `100%` of new lines are covered (`85.71%` of the complete file). ### curvesim/pool/cryptoswap/calcs/__init__.py `100%` of new lines are covered (`87.5%` of the complete file). ### curvesim/pool/cryptoswap/calcs/tricrypto_ng.py `100%` of new lines are covered (`90.26%` of the complete file).