Skip to content

Releases: adrastia-oracle/adrastia-periphery

v4.1.0-rc.1

19 Aug 20:57
98ae2da
Compare
Choose a tag to compare
v4.1.0-rc.1 Pre-release
Pre-release

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

Controllers

  • Make RateController#computeRate return a clamped rate.
  • Add 64 bits of config storage space for user extensions.
  • Add [Managed]CapController: A special-purpose rate controller for supply&borrow cap management.
  • Add AaveCapController: A special-purpose rate controller for Aave V3 supply&borrow cap management that feeds into the Aave v3 config engine and uses the Aave ACL manager for permissioning.
  • Add AaveRateController: A rate controller that uses the Aave ACL manager for permissioning.

Computers

  • Add MutatedValueComputer: An abstract contract for computing mutated values.
  • Add [Managed]ERC20MutationComputer: An abstract contract for computing mutated values from tokens, with decimal trimming and scaling.
  • Add AaveV3BorrowMutationComputer: A contract for computing Aave v3 total borrow mutated values.
  • Add AaveV3SupplyMutationComputer: A contract for computing Aave v3 total supply mutated values.
  • Add CTokenBorrowMutationComputer: A contract for computing Compound v2 total borrow mutated values.
  • Add CTokenSupplyMutationComputer: A contract for computing Compound v2 total supply mutated values.
  • Add CometBorrowMutationComputer: A contract for computing Compound III (Comet) total borrow mutated values.
  • Add CometSupplyMutationComputer: A contract for computing Compound III (Comet) total supply mutated values.
  • Add CometCollateralMutationComputer: A contract for computing Compound III (Comet) total collateral mutated values.

v4.0.0

10 Jul 00:30
c4eeb38
Compare
Choose a tag to compare

Dependencies

  • Upgrade adrastia-core to v4.0.0.

Accumulators

  • Add AccumulatorConfig: A base contract for managing the configuration of an accumulator.
    • All accumulators now extend this contract.
  • Update the role hierarchy:
    • ADMIN
      • CONFIG_ADMIN
      • UPDATER_ADMIN
        • ORACLE_UPDATER
  • Add ManagedOffchainPriceAccumulator and ManagedOffchainLiquidityAccumulator.
  • Add managed interest rate accumulators for Compound v2, Compound III, Aave v2, and Aave v3.
  • Add managed price and liquidity accumulators for Balancer v2.
  • Add managed price and liquidity accumulators for Algebra DEX.

Bounties

  • Add PriceManipulationBounty: A contract for setting up and claiming bounties against price manipulation.

Oracles

  • Add ManagedPeriodicPriceAccumulationOracle.
  • Add IOracleAggregatorTokenConfig and OracleAggregatorTokenConfig: These config contracts allow config admins to update oracle aggregator configurations.
  • Add ManagedCurrentAggregatorOracle.
  • Add the ability to pause updates to the aggregators.
  • Add ManagedMedianFilteringOracle.
  • Add ManagedPriceVolatilityOracle.

Rates (Prudentia)

  • Add RateController and related contracts: A contract that periodically computes and stores rates for tokens.
  • Add ManualRateComputer: A contract that computes rates based on manual input by an authorized rate configurator.

Compatibility

  • Add AdrastiaPoweredPriceOracle: A contract that adapts an IPriceOracle implementation to be used with AggregatorV3Interface.

v4.0.0-beta.7

07 Jul 02:13
c78d129
Compare
Choose a tag to compare
v4.0.0-beta.7 Pre-release
Pre-release

Dependencies

  • Upgrade adrastia-core to v4.0.0-beta.8

v4.0.0-beta.6

05 Jul 01:13
4d2f591
Compare
Choose a tag to compare
v4.0.0-beta.6 Pre-release
Pre-release

Dependencies

  • Upgrade adrastia-core to v4.0.0-beta.7.

v4.0.0-beta.5

30 Jun 21:02
f9abcca
Compare
Choose a tag to compare
v4.0.0-beta.5 Pre-release
Pre-release

Accumulators

  • Add managed price and liquidity accumulators for Algebra DEX.

v4.0.0-beta.4

27 Jun 20:16
f2a5f48
Compare
Choose a tag to compare
v4.0.0-beta.4 Pre-release
Pre-release

Dependencies

  • Upgrade adrastia-core to v4.0.0-beta.5.

v4.0.0-beta.3

11 Jun 03:25
460fed7
Compare
Choose a tag to compare
v4.0.0-beta.3 Pre-release
Pre-release

Dependencies

  • Upgrade adrastia-core to v4.0.0-beta.4.

Accumulators

  • Add managed Balancer v2 accumulators.

Bounties

  • Add PriceManipulationBounty: A contract for setting up and claiming bounties against price manipulation.

Oracles

  • Add ManagedPeriodicPriceAccumulationOracle.
  • Add IOracleAggregatorTokenConfig and OracleAggregatorTokenConfig: These config contracts allow config admins to update oracle aggregator configurations.
  • Add ManagedCurrentAggregatorOracle.
  • Add the ability to pause updates to the aggregators.
  • Add ManagedMedianFilteringOracle.
  • Add ManagedPriceVolatilityOracle.

Rates (Prudentia)

  • Implement ERC165 in ManualRateComputer.
  • Add RateUpdated event to ManualRateComputer.

v4.0.0-beta.2

14 May 00:21
3cab82e
Compare
Choose a tag to compare
v4.0.0-beta.2 Pre-release
Pre-release

Dependencies

  • Upgrade adrastia-core to v4.0.0-beta.2.

Accumulators

  • Add managed interest rate accumulators for Compound v2, Compound III, Aave v2, and Aave v3.

v4.0.0-beta.1

08 May 19:30
0c68bde
Compare
Choose a tag to compare
v4.0.0-beta.1 Pre-release
Pre-release

Dependencies

  • Upgrade adrastia-core to v4.0.0-beta.1.

Accumulators

  • Add AccumulatorConfig: A base contract for managing the configuration of an accumulator.
    • All accumulators now extend this contract.
  • Update the role hierarchy:
    • ADMIN
      • CONFIG_ADMIN
      • UPDATER_ADMIN
        • ORACLE_UPDATER
  • Add ManagedOffchainPriceAccumulator and ManagedOffchainLiquidityAccumulator.

Rates

  • Add RateController and related contracts: A contract that periodically computes and stores rates for tokens.
  • Add ManualRateComputer: A contract that computes rates based on manual input by an authorized rate configurator.

Compatibility

  • Add AdrastiaPoweredPriceOracle: A contract that adapts an IPriceOracle implementation to be used with AggregatorV3Interface.

v3.0.0

16 Feb 23:40
49affc6
Compare
Choose a tag to compare
  • Upgrade adrastia-core to v3.0.0