This is the smart contract code for the Bliss Workshop 2026. CauldronPriceOracle is a price oracle that tracks the price of a token via Cauldron pools.
Note that the demo scripts have largely been created by Claude and have not been extensively tested.
Also important to note is that this kind of oracle construction is not safe to use in a production environment, because liquidity pools can be manipulated by miners at the time of the update by sandwiching the update transaction.
Perhaps there are ways to work around this, but as-is, this code should definitely not be used in a production environment.