From 5e6ab5705fbc73a75f2ef165e179b32cd9e84d5e Mon Sep 17 00:00:00 2001 From: Julian R <56316686+julianmrodri@users.noreply.github.com> Date: Mon, 30 Oct 2023 10:31:46 -0300 Subject: [PATCH] add comment for non supported metapools --- .../plugins/assets/curve/CurveStableMetapoolCollateral.sol | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/contracts/plugins/assets/curve/CurveStableMetapoolCollateral.sol b/contracts/plugins/assets/curve/CurveStableMetapoolCollateral.sol index 7fd4fe005b..d978048071 100644 --- a/contracts/plugins/assets/curve/CurveStableMetapoolCollateral.sol +++ b/contracts/plugins/assets/curve/CurveStableMetapoolCollateral.sol @@ -13,6 +13,9 @@ interface ICurveMetaPool is ICurvePool, IERC20Metadata { * This plugin contract is intended for 2-fiattoken stable metapools that * DO NOT involve RTokens, such as LUSD-fraxBP or MIM-3CRV. * + * Does not support older metapools that have a separate contract for the + * metapool's LP token. Metapool and LP token contracts must be the same. + * * tok = ConvexStakingWrapper(PairedUSDToken/USDBasePool) * ref = PairedUSDToken/USDBasePool pool invariant * tar = USD @@ -20,6 +23,7 @@ interface ICurveMetaPool is ICurvePool, IERC20Metadata { * * @notice Curve pools with native ETH or ERC777 should be avoided, * see docs/collateral.md for information + * */ contract CurveStableMetapoolCollateral is CurveStableCollateral { using OracleLib for AggregatorV3Interface;