Skip to content

v2.6.0

Compare
Choose a tag to compare
@Arvolear Arvolear released this 10 Oct 10:45
· 95 commits to master since this release

Release notes v2.6.0 πŸŽ‰

This is a major release

What's new

  • The whole repository got rewritten to use typescript and ethers-v6.
  • Added flexible UniswapV2Oracle contract.
  • Added lightweight SBT contract.
  • Added BlockGuard contract that acts as a flash loan protection mechanism.
  • Added DiamondERC165 facet.

Changes

  • Diamond contracts got refactored to be compliant with ERC-2535 diamond standard.
  • PoolContractsRegistry now has an internal virtual function to override the default deployment of Beacons.
  • ContractsRegistry now also has an internal virtual function to override the default deployment of TransparentProxies.
  • ArrayHelper utility lowerBound() and upperBound() functions now work with storage arrays instead of memory ones.
  • DiamondERC20 got rid of non-standard increaseAllowance() and decreaseAllowance() functions.
  • DecimalsConverter received a syntax sugar upgrade which now allows decimals conversion directly to ERC20 tokens.

Fixes

  • Many internal functions became virtual to be easily overridable.
  • Fixed storage variables visibility to be more SOLID.