Releases: adrastia-oracle/adrastia-periphery
Releases · adrastia-oracle/adrastia-periphery
v4.7.1
v4.7.0
Dependencies
- Upgrade adrastia-core to v4.7.0.
Accumulators
- Update ManagedAlocUtilizationAndErrorAccumulator: Added a flag to consider an empty portfolio as 0% utilized.
Prudentia
Computers
- Add HistoricalRatesComputer: An IRateComputer that fetches historical rates from an IHistoricalRates contract.
- Add ManagedHistoricalRatesComputer: A HistoricalRatesComputer that implements standard management functions.
- Add SlopedOracleMutationComputer: An OracleMutationComputer that applies a two-part slope function to the value returned by an oracle.
- Add ManagedSlopedOracleMutationComputer: A SlopedOracleMutationComputer that implements standard management functions.
v4.6.2
v4.6.1
Dependencies
- Upgrade adrastia-core to v4.6.1.
Accumulators
- Update ManagedCompoundV2SBAccumulator, ManagedIonicSBAccumulator, and ManagedVenusIsolatedV2SBAccumulator: Out of an abundance of caution, only those with the CONFIG_ADMIN role can refresh token mappings.
v4.6.0
v4.5.0
Dependencies
- Upgrade adrastia-core to v4.5.0.
Accumulators
- Add ManagedCompoundV2SBAccumulator: A CompoundV2SBAccumulator that implements standard management functions.
- Add ManagedIonicSBAccumulator: An IonicSBAccumulator that implements standard management functions.
v4.4.0
Dependencies
- Upgrade adrastia-core to v4.4.0.
Accumulators
- Add ManagedAlocUtilizationAndErrorAccumulator: An AlocUtilizationAndErrorAccumulator that implements standard management functions.
Prudentia
Controllers
- Add PidController: A RateController extension that implements a PID controller.
- Add ManagedPidController: A PidController that implements standard management functions.
- Add TrueFiAlocPidController: A ManagedPidController designed for integration into TrueFi.
Transformers
- Add IInputAndErrorTransformer: Interface for transforming input and error values in a PID controller.
- Add NegativeErrorScalingTransformer: Implements the IInputAndErrorTransformer interface to scale negative error values.
- Add PositiveErrorScalingTransformer: Implements the IInputAndErrorTransformer interface to scale positive error values.
v4.3.0
v4.2.0
Dependencies
- Upgrade adrastia-core to v4.2.0.
Accumulators
- Ensure heartbeat is not zero in setConfig
- Revert if the config is unchanged in setConfig
Oracles
- Revert if the pause status is unchanged in setUpdatesPaused
- Revert if the token config is unchanged in setTokenConfig
- Revert if the config is unchanged in setConfig
Prudentia
Controllers
- Revert if a component has zero weight in setConfig
- Revert if duplicate components are provided in setConfig
- Revert if the pause status is unchanged in setUpdatesPaused
- Fix precision loss error in computeRateInternal
v4.1.0
Accumulators
- Add ManagedCometSBAccumulator and ManagedAaveV3SBAccumulator
- Allows for calculations of time-weighted average total supply and borrow amounts for Aave V3 and Compound III (Comet) pools.
Prudentia
Computers
- Add [Managed/Aave]OracleMutationComputer: A contract that computes mutated values from Adrastia oracles.