Skip to content

Releases: dl-solarity/solidity-lib

v2.6.9

07 Nov 15:24
ddaf3b0

Choose a tag to compare

Release notes v2.6.9 🎉

This is a minor release

  • Added MultiOwnable presents of ContractsRegistry and PoolContractsRegistry contracts.
  • Refactored naming of mock contracts.

v2.6.8

07 Nov 10:27
c373d30

Choose a tag to compare

Release notes v2.6.8 🎉

This is a minor release

  • Added internal _ownerOf() method to SBT contract to enable broader ownership mechanics.

v2.6.7

03 Nov 11:54
fcc56fe

Choose a tag to compare

Release notes v2.6.7 🎉

This is a minor release

  • Refactored DecimalsConverter.
  • Added round18() and round18Safe() function for tokens to DecimalsConverter.

v2.6.6

01 Nov 17:15
a353b5a

Choose a tag to compare

Release notes v2.6.6 🎉

This is a minor release

  • Removed DSMath library. Moved rpow() function to AbstractCompoundRateKeeper contract.
  • Moved DecimalsConverter library from decimals to utils directory.
  • Added virtual modifiers to all functions in SBT contract.

v2.6.5

20 Oct 08:21
dc6dff0

Choose a tag to compare

Release notes v2.6.5 🎉

This is a minor release

  • Added DiamondERC721 contract.

v2.6.4

16 Oct 16:42
914f4c1

Choose a tag to compare

Release notes v2.6.4 🎉

This is a bugfix release

Fixes

  • Made ProxyBeacon implementation() method public.
  • Removed implementation parameter from AbstractPoolContractsRegistry as it turned out to be useless.

v2.6.3

13 Oct 14:37
067e616

Choose a tag to compare

Release notes v2.6.3 🎉

This is a bugfix release

Fixes

  • Added implementation parameter to AbstractPoolContractsRegistry beacon deploy method.

v2.6.2

12 Oct 13:22
dc27299

Choose a tag to compare

Release notes v2.6.2 🎉

This is a bugfix release

Fixes

  • Fixed SBT incompatibility with Metamask and Opensea. Now tokens are properly indexed.

v2.6.1

11 Oct 15:15

Choose a tag to compare

Release notes v2.6.1 🎉

This is a bugfix release

Fixes

  • Fixed UniswapV2Oracle incompatibility with the Solidity 0.8.0 version which resulted in the revert when the desired overflow happened.

v2.6.0

10 Oct 10:45

Choose a tag to compare

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.