In the medium / long term, we intend to migrate to Chainlink oracles when they are available.
This type of TWAP oracle is resistant to flashloan attacks, like the recent exploit on CREAM Finance. The big advantage of our oracles is that they operate in a complete decentralized way, and allow us to quickly add new, more chain-specific, tokens.
However, one weakness of TWAP oracles is the freshness of the price in volatile market conditions. For this reason, we will keep conservative collateral factors for all markets until Chainlink oracles are integrated.
In addition to the TWAP oracles, the team also maintains a fallback oracle that kicks in if the TWAP oracle price is not fresh or the pair has insufficient liquidity. The prices are queried from Coingecko and periodically posted to the contract.
The team also have a suite of alerts paging us when anomalies occur, such as discrepancies in the oracle price. We will take swift and appropriate action to defend the assets deposited with the protocol.
Because the VVS and MMF TWAP oracles require constant updates to maintain freshness, we have jobs to periodically make the update transactions. Additionally, we have implemented an economic incentive for the community to help keep the oracles up to date.
Anyone can claim a small amount of MIMAS that is slowly dripped by the faucet. In doing so, the transaction also updates the TWAP oracles. Cronos' relatively low fees makes claiming from the faucet regularly worthwhile to do.
These are the main oracles for Mimas Finance:
Additionally, each VVS or MMF pair has its own TWAP oracle: