InverseFinance / anchor

BSD 3-Clause "New" or "Revised" License
28 stars 25 forks source link

add xSushiFeed #3

Closed nourharidy closed 3 years ago

nourharidy commented 3 years ago

XSushiFeed uses Chainlink SUSHI/ETH and ETH/USD feeds to determine SUSHI/USD price and coverts it to XSUSHI price using XSushiExchangeRate contract.

XSushiFeed inherits the Chainlink interface and is meant to mimic a XSUSHI/USD Chainlink feed to be added to Anchor's Oracle contract by governance using setFeed function.

Mainnet Deployment: 0x8Aa3932790b33C7Cc751231161Ae5221af058D12 Anchor oracle: 0xE8929AFd47064EfD36A7fB51dA3F8C5eb40c4cb4