VIP-145 Upgrade of the Resilient Price Feeds. Summary. If passed, this VIP will perform the following actions:.

21 Jul 2023, 14:51
VIP-145 Upgrade of the Resilient Price Feeds Summary If passed, this VIP will perform the following actions: * Upgrade the contract’s implementations of the Resilient Price Feeds * Configure the price feed for the SD token Description This upgrade includes a new function in the Resilient Price Feeds (VIP-123) that will allow anyone to get the price of an asset, providing the asset address. Previously, the vToken contract address associated with the asset had to be provided. This enables the possibility of configuring price feeds for assets not listed in the Venus markets. This is needed, for example, to calculate the Distribution APY of the rewards in the Venus UI. Moreover, this VIP configures the price feed of the SD token (0x3bc5ac0dfdc871b365d159f728dd1b9a0b5481e8 in BNB chain), using the Binance Oracle as a provider. #### Security and additional considerations We applied the following security procedures for this upgrade: * Prices pre/post upgrade: in a simulation environment, validating the asset prices pre-upgrade are the same as post-upgrade * Deployment on testnet: the same Oracles have been deployed to testnet, and used in the Venus Protocol testnet deployment * Audit: Peckshield and Certik have audited the updated code Audit reports * Peckshield audit report * Certik audit report References * Repository * Simulation pre/post upgrade * Deployment on testnet * Documentation Vote 👉🏻