0xBa6C6EaC41a24F9D39032513f66D738B3559f15a
0xD18660Ab8d4eF5bE062652133fe4348e0cB996DA
0x2AD064cEBA948A2B062ba9AfF91c98B9F0a1f608
0x97587c990617f65A83CAb4f08b23F78472a0413b
0xD0435BF68dF2B516C6382caE8847Ab5cdC5c3Ea7
0x9e483C76D7a66F7E1feeBEAb54c349Df2F00eBdE
0x28fdA30a6Cf71d5fC7Ce17D6d20c788D98Ff2c46
0x4FCb1759BD13950E7e73eEd650eb5bB355bC1CBC
ChainlinkETHUSDPriceConsumer
contract is responsible for getting the price of ETH in terms of USD. To get the price of ETH in USD from this contract, call getLatestPrice()
and divide by getDecimals()
.1 hour
time-weighted average price on its Uniswap pools to get price information for FRAX, FXS, and the collateral tokens in the system. The period of the time-weighted average price is changeable as a system parameter through a governance proposal.UniswapPairOracle
contract allows one to get the price of a token within the system from its pool balance. To get the price of a token from a pair, call consult(address token, uint amountIn)
on the pair's UniswapPairOracle instance with the token's address and requested quantity.