Caps Risk Oracle Activation on Optimism, BNB, Gnosis, Polygon














Caps Risk Oracle Activation on Optimism, BNB, Gnosis, Polygon







Author

BGD Labs (@bgdlabs)

Creator

0xf71fc92e2949ccF6A5Fd369a0b402ba80Bc61E02

Simple Summary

Following the successful operation of the automated cap risk stewards (AGRS) on Aave v3 Arbitrum, Base and Avalanche, this proposal enables exactly the same constraint system on Optimism, Gnosis, BNB and Polygon instances.

Motivation

Proposal 253 and 292 approved by governance enabled an automated AGRS (Aave Generalised Risk Stewards) system to allow modification of supply and borrow caps in Aave v3 Arbitrum, Base and Avalanche, in order to make caps maintenance more efficient, reducing the overall overhead of updating them via manual stewards or governance proposals, while having a more dynamic system reducing the delta between caps and supplies/borrowings.

Since then, the system has been working flawlessly on Arbitrum, Base and Avalanche. So following the plan it is reasonable to continue optimizing by introducing the same on other networks, more precisely Optimism, Gnosis, BNB and Polygon.

Specification

These new instances of AGRS on Optimism, Gnosis, BNB and Polygon will mirror exactly the same infrastructure as the currently active on the previous networks like Arbitrum, Base and Avalanche, but a summary of specifications is the following:

  • The AGRS will only have two configurable parameters: supply and borrow caps.
  • Recommendation of these parameters will be submitted to a RiskOracle smart contract, from the Edge off-chain infrastructure.
  • Between the risk oracle smart contract and the AGRS contract, there will be a thin middleware AaveStewardCapsInjector, with the following logic:
    • Takes recommendations from the Edge Risk Oracle side and propagate them to the AGRS contract.
    • Enforce that only the whitelisted assets can be acted upon.
    • Given the protections (percentage constraints and time delay) on the AGRS side and that it is an assumption that risk recommendations will be timed correctly on the Edge Risk Oracle side, the propagation will be permissionless.
  • The AaveStewardCapsInjector will be part of the Aave Robot infrastructure, running on Chainlink Automation and consuming LINK from the Aave Collector on each network. Please note: on Gnosis network the injector robot will be running on Gelato Automation
  • The new AGRS contract will be given RISK_ADMIN role.
  • Constraints on the new instances will be the same as on the system currently live: maximum 30% increase/decrease each 3 days
  • The off-chain caps methodology description can be found on the Aave governance forum here

The following assets have been whitelisted for automated AGRS system, enforced on the AaveStewardCapsInjector contract:

Optimism

Gnosis

BNB

Polygon

References

Copyright

Copyright and related rights waived via CC0.

by BGD Labs