Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

readme.md

2025-08-14 - V3 Weighted Pool Oracle

⚠️ DEPRECATED: do not use ⚠️

This version was superseded by WeightedLPOracle V2, which allows creation of oracles that only work when the Balancer Vault is locked. This oracle can still be used as long as a deposit cap is implemented somewhere in the system (i.e. in the lending protocol accepting BPT as collateral); otherwise the V2 oracle is a superset of this version that allows the creator to configure an extra layer of protection against flash-minted BPT.

Contains WeightedLPOracle and its corresponding WeightedLPOracleFactory. These contracts provide a manipulation-resistant mechanism to compute the market price of LP tokens from weighted pools given market price feeds for each of the tokens registered in the pool.

Useful Files