Skip to content

Commit ec73976

Browse files
authored
Update ResillientOracle.md
1 parent 477bc62 commit ec73976

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

oracle/ResillientOracle.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,13 @@
44

55
Resillient oracle is the price oracle that the protocol interacts with for fetching price of assets.
66

7-
## Details
8-
97
DeFi Protocols are usually vulnerable to price oracles reporting incorrect prices. There are various ways in which oracle prices can be manipulated depending on the type of price oracle used which can create a single point of failure and opens several ways for attacking the protocol.
108

119
Keeping this in mind, we have designed a resilient oracle which uses multiple oracle sources to validate prices and fallback mechanisms to provide accurate prices and protect from oracle attacks. Currently it includes integrations with Chainlink, Pyth, Binance Oracle and TWAP (Time-Weighted Average Price) oracles. TWAP uses PancakeSwap as the on-chain price source.
1210

11+
## Details
12+
13+
1314
The way the Resilient Oracle works is for every market (vToken) we configure the main, pivot and fallback oracles. The main oracle oracle is the most trustworthy price source, the pivot oracle is is used as a loose sanity checker and the fallback oracle is used as a backup price source.
1415

1516
![Resillient Oracle](../.gitbook/assets/oracles.png)

0 commit comments

Comments
 (0)