stability-contracts
stability-contracts copied to clipboard
Improve contracts coverage
Here we collect all the uncovered areas in the code base with a description of how to cover them.
Core
- ...
Strategies
- DefiEdgeQuickSwapMerklFarmStrategy
- [ ] _normalise, _getChainlinkPrice: test with asset that have decimals > 18
- [ ] _calculateShares: test with totalShares == 0 DefiEdge underlying ALM or make such underlyings unsupportable
- [ ] _getPriceInUSD: test with not
_isBaseasset that need chainlink price
- GammaQuickSwapMerklFarmStrategy
- [ ] _previewDepositAssets: try to write fuzzing test or something like it
- [ ] _assetsAmounts: read on empty vault in test
- GammaRetroMerklFarmStrategy
- [ ] initVariants: test with not active farm
- [ ] _previewDepositAssets: try to write fuzzing test or something like it
- [ ] _assetsAmounts: read on empty vault in test
- IchiQuickSwapMerklFarmStrategy
- [ ] getAssetsProportions: test with other underlyings
- ...