⚠️ DEPRECATED: do not use⚠️ This version was superseded by
StableLPOracleV2, 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 StableLPOracle and its corresponding StableLPOracleFactory.
These contracts provide a manipulation-resistant mechanism to compute the market price of LP tokens from stable pools given market price feeds for each of the tokens registered in the pool.
- Code.
- Ethereum mainnet addresses
- Gnosis mainnet addresses
- Arbitrum mainnet addresses
- Base mainnet addresses
- Optimism mainnet addresses
- Avalanche mainnet addresses
- Hyperevm mainnet addresses
- Plasma mainnet addresses
- X-Layer mainnet addresses
- Monad mainnet addresses
- Sepolia testnet addresses
StableLPOracleartifactStableLPOracleFactoryartifact