Oracle is an interface allowing for a customization layer on top of onchain oracles.
UniV3OracleImpl
is an implementation for uniswap v3's twap mechanism.
[ ]
Please be aware, an oracle's owner has SIGNIFICANT CONTROL (depending on the implementation) of the deployment.
forge fmt
forge i
- install dependencies
forge b
- compile the contracts
forge t
- compile & test the contracts
forge t -vvv
- produces a trace of any failing tests