Closed NoahZinsmeister closed 2 years ago
Projects like GUNI (https://github.com/makerdao/univ3-lp-oracle/blob/master/src/GUniLPOracle.sol) need to price positions (LP NFTs?) against a "fair" oracle price for collateralization purposes. We should wrap this logic up and tie it into the rest of the oracle dev stack.
alright scratch this my brain wasn't working, basically already exists in the form of LiquidityAmounts#getAmountsForLiquidity
LiquidityAmounts#getAmountsForLiquidity
Projects like GUNI (https://github.com/makerdao/univ3-lp-oracle/blob/master/src/GUniLPOracle.sol) need to price positions (LP NFTs?) against a "fair" oracle price for collateralization purposes. We should wrap this logic up and tie it into the rest of the oracle dev stack.