Oracle types and contracts

Unit protocol needs price data for system contracts to know the current price of provided collaterals. It is necessary to count borrowing parameters and manage collateralized debt positions (CDPs) in the protocol.

We use Chainlink oracle as the primary oracle to receive collaterals' price.

Additionally to the solution, in reserve, we have another Keydonix-based oracle solution (based on uniswap v2 embedded TWAP oracle).