Oracle
Price feed oracles on DeFiner

Basics

There are three types of Oracle that DeFiner is currently using to feed the prices for available token assets on DeFiner: Third-party oracles, DEX Oracle, and DeFiner Oracle.

Third-Party Oracles

Third-party Oracles such as Chainlink, OKLink are used on DeFiner across different blockchains. Chainlink Oracle is currently the most adopted and trusted third-party oracle in DeFi. Chainlink feeds the price to some of the most reputable DeFi projects. That’s why DeFiner uses Chainlink Oracle whenever there is availability on different chains. ( Click here to find more information about Chainlink Oracle.) For chains where Chainlink is not available, we adopt the most trustworthy oracle of that particular chain. For example, the Chainlink oracle is not available on OKEx Chain and we adopted the official OKLink Oracle as the third-party price feed.

DEX Oracles

DEX Oracle came into the picture when tokens are not supported by Chainlink Oracle but have sufficient liquidity on one particular decentralized exchange.DEX that we adopted is different on different chains. It depends on the overall liquidity and trading volume. Currently, we use Uniswap as our DEX oracle on the Ethereum blockchain and SushiSwap on OKExChain. The community will review the source and DEX Oracle periodically to ensure DeFiner adopts the most trustworthy and deep liquidity oracle.

DeFiner Oracle

DeFiner Oracle is used if there is no trustworthy third-party oracle available and the DEX trading volume and liquidity of that particular token are relatively low. The token price of DeFiner oracle is reviewed periodically to ensure the price is within an acceptable bound of the time-weighted average price of the token/USD pair across major trading venues, including both centralized and decentralized exchanges. DeFiner oracle proxy contract only stores prices that are within an acceptable bound of the Time-Weighted Average Price (TWAP) and are updated only when the TWAP deviates from the acceptable bound. If there is a significant breakthrough of the token price, the price feed would be triggered to ensure the new price is within the new acceptable bound. The DeFiner Oracle also contains logic that upscales the posted prices into the format that DeFiner's Comptroller expects.

Price Feeds Contract Addresses

Ethereum
OKExChain
Polygon
Price Pair
Price Feed Method
Contract Address
WBTC/ETH
Chainlink Oracle
ETH/USD
Chainlink Oracle
DAI/ETH
Chainlink Oracle
USDC/ETH
Chainlink Oracle
USDT/ETH
Chainlink Oracle
TUSD/ETH
Chainlink Oracle
MKR/ETH
Chainlink Oracle
BAT/ETH
Chainlink Oracle
ZRX/ETH
Chainlink Oracle
REP/ETH
Chainlink Oracle
LINK/ETH
Chainlink Oracle
FIN/ETH
FixedPriceOracleFIN
FIN-LP/ETH
FixedPriceOracleFIN
Price Pair
Price Feed Method
Contract Address
CHE
Cherry Swap TokenBalancePair Oracle
TPT
DeFiner Fixed price oracle
FIN/USD
DeFiner Fixed price oracle
FIN-LP/OKT
SushiSwap Oracle
Price Pair
Price Feed Method
Contract Address
DAI/MATIC
Chainlink Oracle
USDC/MATIC
Chainlink Oracle
USDT/MATIC
Chainlink Oracle
WBTC/MATIC
Chainlink Oracle
SUSHI/MATIC
Chainlink Oracle
LINK/MATIC
Chainlink Oracle
CRV/MATIC
Chainlink Oracle
QUICK/MATIC
Chainlink Oracle
ETH/MATIC
Chainlink Oracle
FIN/MATIC
FixedPriceOracleFIN